Endpoints
GET /v1/journal-line-items/
GET /v1/journal-line-items/:id/
Journal Line Item object
Attributes | Type | Description |
---|
id | string | The id of the object. |
description | string | The description of the journal line item. |
contact | string | The id of the contact. |
currency | string | The currency of the journal line item. |
account | string | The id of the account. |
amount | number | The amount of the journal. Positive is debit, Negative is credit. |
Example
{
"id": "jli_Dz6coJqPVFRCrqaxUSYfoQ",
"description": "Example journal line item",
"contact": "co_ZUipbgE7DSxHPNCitmVfo6",
"currency": "SAR",
"account": "acc_dwhdnG9Y2zaWDvEexrCmxW",
"amount": -15.0
}
Get journal line item
Endpoint
GET /v1/journal-line-items/:id/
Response sample
{
"id": "jli_Dz6coJqPVFRCrqaxUSYfoQ",
"description": "Example journal line item",
"contact": "co_ZUipbgE7DSxHPNCitmVfo6",
"currency": "SAR",
"account": "acc_dwhdnG9Y2zaWDvEexrCmxW",
"amount": -15.0
}
List journal line items
Endpoint
GET /v1/journal-line-items/
Filters
Query param | Type | Description |
---|
account | string | The id of the account. |
account_classification | string | The classification of an associated account. |
currency | string | The currency of the associated journal. |
tax_rate | string | The id of the tax rate. |
contact | string | The id of the contact. |
date_before | string | The journal line items created on or after the date. |
date_before | string | The journal line items created on or before the date. |
journal | string | The id of the journal. |