A Tax Inclusive transaction specifies the desired total amount of the transaction with the sale amount and expected taxes included. REST v2 determines the appropriate base sale amount required to arrive at the total desired charge.
The Tax Inclusive flag (incl
) is set individually on each LineItem included in an Invoice.
To set a LineItem as tax inclusive:
incl
) to true
chg
)The desired total must be a positive value sufficiently large to cover any fixed taxes that may apply.
The calculated base charge can be found for each LineItem in the BaseCharge (base
) field in the CalcTaxes response.
Tax Inclusive functionality is not supported with these line items:
qty
) greater than 1In this example, Line Item 001 is designated as TaxInclusive (incl
= true
) with a desired total charge of 100 (chg
= 100).
The base sale amount (base
) is set to 87.64509. The desired total charge (100) = base sale amount (87.64509) + total taxes returned (12.35491).
In this example, Line Item 001 and Line Item 002 are designated as TaxInclusive (incl
= true
), both with a desired total charge of 100 (chg
= 100).
The base sale amount (base
) is set for Line Item 001 and Line Item 002, but not for Line Item 003 (incl
= true
).