RemoteOrderTaxCollectedAmount Model

Represents a collected amount of tax for a specific RemoteOrderTax

Required
remoteOrderTaxID : number (int)

Reference to a RemoteOrderTax.RemoteOrderTaxID

Nullable decimal(18, 7)
totalInclusiveAmount : number (decimal)

The total amount of tax collected that was included in the displayed amount to the consumer. It is the TOTAL across all quantity items being ordered. It is NOT the individual quantity inclusive tax amount.

For example - If the price was $5, quantity was 2 and the inclusive tax rate was 10%, this value would read $0.91 and the customer would've paid $10 after summing everything

Nullable decimal(18, 7)
totalExclusiveAmount : number (decimal)

The total amount of tax collected that was paid in addition in the displayed amount to the consumer. It is the TOTAL across all quantity items being ordered. It is NOT the individual quantity exclusive tax amount.

For example - If the price was $5, quantity was 2 and the inclusive tax rate was 10%, this value would read $1.00 and the customer would've paid $11 after summing everything

Nullable decimal(18, 7)
totalTaxableSales : number (decimal)

The sales amount that the tax calculations were calculated against. This will normally be Amount UNLESS operating in a jurisdiction that compounds multiple taxes in which case
it will vary for each Tax.

example #1: If the price was $5, quantity was 2 and the inclusive tax rate was 10%, this value would read $10 (but the amount paid is $10 and $0.91 of tax is witheld)
example #2: If the price was $5, quantity was 2 and the exclusive tax rate was 10%, this value would read $10 (but the amount paid is $11, and $1 of tax is withheld)

This is to support jurisdictions that compound multiple taxes (eg - Tax2 is calculated on the amount after applying Tax1 -

Example
{
  "remoteOrderTaxID": 321,
  "totalInclusiveAmount": 1.23,
  "totalExclusiveAmount": 1.23,
  "totalTaxableSales": 1.23
}