PosTicketTotals
The ticket's money columns in dollars, signed exactly as the POS stores them; nothing is clamped or derived. A figure whose column the store lacks, or that the POS left blank, is absent.
Type: object.
| Name | Type | Description |
|---|---|---|
change | number | Change given. |
codCharge | number | The COD part of onAccount. |
discount | number | The ticket percentage discount amount only; item discounts are on the lines. |
onAccount | number | Charged to the customer's account (COD included). |
paid | number | Every tender taken, over-tender included: the change is change, not subtracted here. |
paidOnAccount | number | A payment toward the customer's account balance taken on the ticket. |
paperBagFee | number | The paper-bag fee, included in sale. |
returns | number | Returns on the ticket, a positive amount (return tax and deposits included). |
sale | number | The receipt total: tax included, returns and the ticket discount taken off, deposits, the paper-bag fee and the up-charge included. Negative on a return-only ticket. It is filled in on voided and held tickets too, which is why only the sale types count. |
tax | number | Tax (both taxes), net of returns. |
upCharge | number | The up-charge amount, included in sale. |
No other fields appear.