AccountingLine
Type: object.
| Name | Type | Description |
|---|---|---|
kind required | string | What the line is. Kinds starting with info_ are informational and never mapped: info_returns, info_discounts, info_group_sales, info_paid_out_tenders, info_account_tenders, info_other_tenders, info_billed_to_account, info_change, info_paper_bags, info_order_deposits, info_non_revenue. |
amount | number | The amount with the register's sign (a net return is negative). Dollars, exact to the cent. |
changeDeducted | number | The change given, taken off this tender's total (the store's change tender). Dollars, exact to the cent. |
cost | number | The group's cost of goods sold. Dollars, exact to the cent. |
count | number | How many payments made a tender's total. |
department | string | The department of a department line, upper-cased (<Undefined> for a blank one). |
gross | number | The group's gross sales. Dollars, exact to the cent. |
group | integer | The register group (0-9) of an info_group_sales line. |
key | AccountingKey | |
net | number | Non-revenue net. Dollars, exact to the cent. |
returns | number | Non-revenue returns. Dollars, exact to the cent. |
revenueView | string | On a revenue line: the view it belongs to. The four views describe the same money; a journal entry uses exactly one. One of: total_incl_tax, tax_status, department, department_tax_status. |
side | string | The natural accounting side, a suggestion; the mapping decides in the journal entries. One of: debit, credit. |
source | string | The tender source: C payments on tickets, O paid-outs, A payments on the account screen. |
tenderCode | string | The tender's PayList code(s) on a tender line. |
tenderName | string | The tender's name on an informational tender line. |
No other fields appear.