/api/v1/accounting/auto-fiscalise
auth: jwt (administrator)Toggle the per-business Businesses.AutoFiscaliseInvoices flag (DB default 1). When on, every newly-inserted eligible invoice from any sync path (manual Sync Now, webhook, scheduled poll) is dispatched to TaxCore automatically. Fires AUTO_FISCALISE_ENABLED / AUTO_FISCALISE_DISABLED audit. Reflected on GET /accounting/{provider}/status.autoFiscaliseInvoices so the app can render the switch alongside connection state. Manual fiscalisation via POST /fiscalisation-jobs remains available regardless.
handlers: AutoFiscaliseController.update
Request body type: AutoFiscaliseUpdateBody
| name | required | default | description |
|---|---|---|---|
enabled bodyboolean | yes | — | true → auto-fiscalise on incoming invoices; false → manual review only. |
APIResponseDataObject<SetAutoFiscaliseResult>APIErrorAPIErrorAPIError