API referenceReferenceDocuments
Entries - List
List entries for a single document. Entries are typically generated and maintained through the document `blueprint`, so update the document when you need to change accounting logic.
Path Parameters
business_slug*string
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
document_id*integer
Identifier of the target document. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.
Query Parameters
page?integer
A page number within the paginated result set.
page_size?integer
Number of results to return per page.
Response Body
application/json
curl -X GET "https://example.com/v1/business/string/document/0/entry/"{ "count": 123, "next": 2, "prev": 1, "size": 30, "results": [ { "id": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "account": 0, "account_name": "string", "account_number": "string", "amount": 0.1, "is_debet": true, "description": "string", "vat_code": 1, "vat_rate": "string" } ]}