| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
Optional<String> | ➖ | A unique identifier for an object. | 12345 |
description |
JsonNullable<String> | ➖ | Free-text description of the line. | Sales revenue from Q3 batch |
netAmount |
JsonNullable<Double> | ➖ | The amount posted to the ledger account, tax-exclusive. Debit entries are positive, credit entries are negative. In general-ledger views the tax component lives in its own dedicated line against a tax payable/receivable account, so net_amount is the canonical figure for reporting. | 27500 |
type |
Optional<GeneralLedgerTransactionLineItemType> | ✔️ | Side of the entry. Redundant with the sign of net_amount but exposed as an explicit flag for filtering convenience. | debit |
taxAmount |
JsonNullable<Double> | ➖ | Tax embedded in the line. In GL views this is typically 0 or null because tax has its own dedicated line against a tax payable/receivable account. Exposed for completeness and for tax-inclusive setups. | 0 |
taxRate |
Optional<LinkedTaxRate> | ➖ | N/A | |
trackingCategories |
List<LinkedTrackingCategory> | ➖ | A list of linked tracking categories. | |
ledgerAccount |
Optional<LinkedLedgerAccount> | ✔️ | N/A | |
lineNumber |
JsonNullable<Long> | ➖ | Line number of the resource | 1 |