[Beta] Bulk-create SII tax reports (async batch)

[Beta] — staging only. This endpoint is currently available on the staging environment for integration testing; it is not yet enabled in production.

Submits up to 5000 SII tax reports in one request as a batch.

Processing is always asynchronous. This endpoint validates only the envelope (a tax_reports array within the size limit) and returns 202 Accepted immediately with a batch_id and a status_url; the per-record build, validation and ledger attach run in a background job. Use GET /accounts/{account}/tax_report_batches/{id} (the returned status_url) to poll for results, or subscribe to the sii_batch.finished webhook event to be notified when the batch finishes.

Each record is validated independently in the job — a failure on one record (bad book_type, XSD-invalid XML, unsupported type) does not abort the batch; it appears as a per-record error in the batch status. Non-SII type values are rejected per-record with the unsupported_type code.

For the same request shape on a single record, use POST /tax_reports instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Account identifier (ID)

Body Params

An array of SII tax report objects.

tax_reports
array of objects
required
length between 0 and 5000

Up to 5000 tax_report payloads. Each must carry type: 'SiiDocument' and a valid book_type. Other fields follow the same shape as the per-record POST /tax_reports.

tax_reports*
Headers
string
Defaults to 2026-04-20

Specifies the version of the API to use in this request. If not specified uses the API-Version set in the group conifguration B2Brouter UI Application -> Developers -> API Keys -> API Version

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json