post https://api.brinta.com/invoices/
Create an invoice
Create invoices through API.
You can create Sale Invoices, Credit Notes, or even Purchase Invoices in some countries that require to.
Just change the invoice type, and you are ready.
In order to obtain the invoice, you will need to use our Invoice webhooks.
Response
In the response, you will have the following parameters attached to the entire info of the invoice sent in the Request
Parameter | Type | Description |
---|---|---|
id | integer | ID of the invoice request in Brinta's system. |
status | string | Status of the invoice. Check Invoice status codes |
status_description | string | Description of the status. Check Invoice status codes |
pdf_url | string | URI that links to the invoice in pdf format. It appears when the status is "created". |
xml_url | string | URI that links to the invoice in xml format. It appears when the status is "created". |
pdf_base_64 | string | PDF of the invoice in base64. Sent if param files_base_64 is TRUE in GET |
xml_base_64 | string | XML of the invoice in base64. Sent if param files_base_64 is TRUE in GET |