Examples of invoice accountings
Examples of how to use accountdate and accountrow for accounting exports.
Use accountdate and accountrow when you export invoice accounting entries to your ERP.
accountdate
accountdate controls the accounting period in your ERP.
It is not the same as the invoice date (billdate).
If you omit accountdate, the service uses billdate.
Send it under the invoice dataset.
{
"accountdate": "2026-02-18"
}accountrow
accountrow is an array of accounting rows for the invoice.
Each row typically maps to one debit or credit entry in your chart of accounts.
Send it under the invoice dataset.
Dimensions
You can pass dimensions using:
servicecode_nametype,type2, …,type10
type…type10 are strings with max length 10.
Example: Debit invoice (total 1250.00)
Expected behavior:
Receivable on the debit side.
Sales on the credit side.
netamountandvatamountare positive.Use the same dimensions, VAT data, and tax rate on both entries.
Example: Credit invoice (total -1250.00)
Expected behavior:
Receivable on the credit side.
Sales on the debit side.
netamountandvatamountare negative.Use the same dimensions, VAT data, and tax rate on both entries.
Last updated
Was this helpful?

