API Issuing
Issue invoices programmatically by integrating Brinta with your system or ERP — automated, real-time, and scalable.
API invoice creation is used when you need to issue invoices programmatically by integrating Brinta with your system or ERP.
This option is ideal when you:
- Want to automate invoice issuance
- Issue invoices in real time from your own system
- Work with large or continuous invoice volumes
- Need a scalable and fully integrated solution
With API invoice creation, you can:
- Send invoice data directly to Brinta via API
- Issue invoices without using the dashboard
- Handle multiple document types programmatically
- Receive real-time responses and validation results
This method follows the same validation rules as manual and bulk invoicing, including country-specific electronic invoicing requirements.
How it works
All invoice creation goes through a single endpoint:
POST https://api.brinta.com/invoices
The payload structure is the same across all countries and document types. What changes is which fields are required depending on the country and document type you're issuing.
The general flow is:
- Authenticate — include your API key in the request header.
- Build the payload — set
invoice_type,document_type, and the fields required for your country. - Send the request — Brinta validates, stamps, and returns the signed document.
- Handle the response — check the status and store the invoice ID and fiscal UUID returned.
Authentication
Include your API key in every request:
curl --request POST \
--url https://api.brinta.com/invoices \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{...}'Updated about 1 month ago
