Reports: create sums report
reports_create_sumsCreates a sums report (trial balance) covering all posting accounts for a specified date range. The report is generated asynchronously and returns an ID you can use to retrieve it once ready.
Instructions
๐ก WRITE ยท creates data โ Creates new records (receipts, transactions, postings, invoices, master data). Not idempotent โ calling twice may create duplicates. create sums report Triggers the creation of a sums report ("Summen- und Saldenliste"). The report is always created for all of the customer's postingaccounts.
The report is generated asynchronously in the background. The response contains the id_by_customer of the created report, which may be used to retrieve it once the generation has been finished.
A new report may only be requested once the generation of a previously requested report of the same type has been finished.
Endpoint: POST /reports/create/sums
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | The date the postings are taken into account by. Can be either 'date' ("Buchungsdatum") or 'date_delivery_else_date' ("Buchungs- und Leistungsdatum"). If specified, the field will be validated. | |
| api_key | No | Optional. The BB customer api_key to act on. Defaults to the BB_API_KEY configured on the server โ only set this to target a different customer. | |
| date_to | Yes | The last day of the period the report is created for, in format 'YYYY-MM-DD' (e.g. '2026-03-31'). | |
| file_csv | No | If true, a csv file will be created for the report additionally. If specified, the field will be validated. | |
| file_pdf | No | If true, a pdf file will be created for the report additionally. If specified, the field will be validated. | |
| date_from | Yes | The first day of the period the report is created for, in format 'YYYY-MM-DD' (e.g. '2026-01-01'). | |
| archive_export | No | If true, a zip archive containing the csv file and the postingaccount ledgers ("Kontenblätter") will be created for the report additionally. If specified, the field will be validated. |