RevenueAccountAssignment
The revenue account a sale is posted to in one context: a tax zone, a tax class and a tax treatment, and for an override also the product group, shipping method or type of line item. The revenue account belongs to the tax code that applies in that context.
RevenueAccountAssignmentFields
The tax zone of the context.
The tax class of the context.
How the sale is taxed in the context.
Whether the assignment comes from the rate or from an override, and from which kind. Known values: RATE, PRODUCT_GROUP, SHIPPING_METHOD, LINE_ITEM_TYPE. New values can be added without a contract change.
The product group. Set only for the scope ProductGroup.
The shipping method. Set only for the scope ShippingMethod.
The type of line item. Set only for the scope LineItemType. Known values: CUSTOM, SHIPPING, COUPON, PAYMENT, SHIPPING_SURCHARGE, NEW_CUSTOMER_COUPON, CASH_ON_DELIVERY, SHIPPING_SURCHARGE_ITEM, PACKING, GIFT_FOR_FREE, TRUSTED_SHOPS, INTEREST_PREMIUM, PROCESSING_FEE, CARTON, RETURN_DELIVERY, MULTI_PURPOSE_VOUCHER, MULTI_PURPOSE_VOUCHER_DIGITAL, SINGLE_PURPOSE_VOUCHER, SINGLE_PURPOSE_VOUCHER_DIGITAL, SINGLE_PURPOSE_VOUCHER_REDEMPTION. New types can be added without a contract change.
The tax code that applies in the context. Empty when it is not fixed (see 'TaxCodeSource').
Where the tax code comes from when it is not fixed: the line with the highest value or with the highest rate. Set only for the scope ShippingMethod; then there is no tax code and no revenue account here. Known values: TAX_CODE, LINE_WITH_HIGHEST_VALUE, LINE_WITH_HIGHEST_RATE. New values can be added without a contract change.
The revenue account of the tax code. Empty when the tax code has none, which is a gap in the setup; filter for it to find such gaps.
Was this page helpful?