API Documentation
Endpoint Examples
- Authentication
- Companies
- Documents
- Products
- Price Lists
- Inbox
- Transfers
- Utils
Create a new document
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Document type ID according to document type table
If not entered, an automatic number will be assigned according to the document type.
Document date
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
Entered according to the type
Issuer legal name
Required for invoices
Required for invoices
Required for invoices
Required for invoices
Required for invoices
Country ID according to ID table
Tax ID type according to tax id table. Required when the document requires the receiver to be specified.
Entered according to the type
Receiver legal name
Required for invoices
Required for invoices
Required for invoices
Required for invoices
Required for invoices
Country ID according to ID table
Payment due dates separated by comma. Example: 0 = same day, 30 = 30 days 0,30 = 50% on issuance date, 50% 30 days later, 0,30,60 = 33% on issuance, 33% 30 days, 34% 60 days
Waybills only. 1 = Operation constitutes a sale 2 = Ventas por efectuar 3 = Consignaciones 4 = Entrega gratuita 5 = Traslados internos 6 = Otros traslados no venta 7 = Guía de devolución 8 = Traslado para exportación (no venta) 9 = Venta para exportación
Waybills only. 1 = Despacho por cuenta del receptor 2 = Despacho por cuenta del emisor a instalaciones del receptor 3 = Despacho por cuenta del emisor a otras instalaciones
Tax period where the documents should be accounted
Tax period where the documents should be accounted
0 = draft 1= document_issued 2=document sent to counterparty 3 = document accepted by counterparty
Read only. Null if not sent to tax bureau
Read only. Null if not sent to tax bureau
Currency ID according to currency table
Total of all net detail lines and modifiers
Total of all taxes
Document grand total
Base64 encoded XML
Base64 encoded PDF
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Base64 encoded XML
Base64 encoded PDF
Response
Base64 encoded XML
Base64 encoded PDF