| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
Optional[str] | ➖ | A unique identifier for an object. | 12345 |
description |
OptionalNullable[str] | ➖ | Free-text description of the line. | Sales revenue from Q3 batch |
net_amount |
OptionalNullable[float] | ➖ | 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 |
Nullable[models.GeneralLedgerTransactionLineItemType] | ✔️ | Side of the entry. Redundant with the sign of net_amount but exposed as an explicit flag for filtering convenience. | debit |
tax_amount |
OptionalNullable[float] | ➖ | 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 |
tax_rate |
Optional[models.LinkedTaxRate] | ➖ | N/A | |
tracking_categories |
List[Nullable[models.LinkedTrackingCategory]] | ➖ | A list of linked tracking categories. | |
ledger_account |
Nullable[models.LinkedLedgerAccount] | ✔️ | N/A | |
line_number |
OptionalNullable[int] | ➖ | Line number of the resource | 1 |