Invoices

Import a bank statement completely: expenses and invoices in one call

One upload, both halves of the bank statement. Outgoing debits go through the expense importer (/expenses/import) and incoming credits through the invoice importer (/invoices/import) — settling existing unpaid invoices first, then creating invoices for the revenue that has none. This is the endpoint to use for any bank file; the per-entity import endpoints remain available and unchanged. Each half runs independently, so a failure in one still returns the other, and both can be disabled per request.

post/statements/import

Request

Request body multipart/form-data

createInvoicesstring

Set to false to skip the invoice half. Defaults to true.

dryRunstring

Set to true to report what would be imported without writing anything.

filesstring binary required

One or more CSV/Excel/CAMT bank-statement files (repeat the field for multiple files).

importExpensesstring

Set to false to skip the expense half. Defaults to true.

localestring

Locale hint for AI text (e.g. en, de, fr). Defaults to the user's profile locale.

markPaidstring

Set to false to record payments on matched invoices without flipping isPaid. Defaults to true.

Response

Statement processed; returns a combined summary plus the full result of each half.

Changes

No recorded changes to this operation across all 5 revisions of this API.