| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id |
?string | ➖ | Unique identifier for the journal line | line_123456789 |
accountId |
?string | ➖ | ID of the ledger account this line references | acc_123456789 |
accountType |
?Components\JournalLineAccountType | ➖ | Type of the account | |
description |
?string | ➖ | Description of the journal line | Payment for office supplies |
currencyCode |
?Components\JournalLineCurrencyCode | ➖ | Currency code for this line | |
exchangeRate |
?float | ➖ | Exchange rate to company base currency | 1 |
amount |
?float | ➖ | Amount of the journal line in minor units, e.g. 10010 for 100.10 USD. Positive for debit, negative for credit | 10010 |
taxAmount |
?float | ➖ | Tax amount of the line in minor units, e.g. 10010 for 100.10 USD | 2002 |
taxRatePercentage |
?float | ➖ | Tax rate percentage | 15 |