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_name

  • type, type2, …, type10

typetype10 are strings with max length 10.

Example: Debit invoice (total 1250.00)

Expected behavior:

  • Receivable on the debit side.

  • Sales on the credit side.

  • netamount and vatamount are 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.

  • netamount and vatamount are negative.

  • Use the same dimensions, VAT data, and tax rate on both entries.

circle-info

vatcode is an accounting VAT code. Map it to your ERP’s VAT logic.

Last updated

Was this helpful?