How does an ERP integrate a tax API?
When your ERP posts a sales invoice, it maps the document to the canonical invoice shape and POSTs it to the tax API with the right authority header. The gateway files it and returns a fiscal number and QR, which the ERP stores against the document for reprints and audit.
ERP-to-authority flow
Implementation steps
Map your document
Map ERP fields to the canonical customer, items, tax and totals.
Choose the authority
Set X-Tax-Authority per company/branch (or per document for goods vs services).
Handle the response
Persist submissionId, authorityInvoiceNumber and qrCode on the document.
Reconcile monthly
Use logs and quota for month-end reconciliation.
Multi-company ERPs
Group and multi-tenant ERPs can manage many companies and branches under one TaxBridge account, each with isolated credentials and quota. See multi-branch integration and the ERP integration page.