API Reference

Create a purchase from an invoice XML

Create a purchase

You can also create a purchase from an invoice XML file.

Send the xml file on the API request and Brinta will:

  • process the xml file
  • recalculate all related taxes and amounts for the entire operation
  • notify when such taxes and amounts differ from the original xml. In these cases, the parameter matches_original will be set as false within the objects where amounts have been changed (taxes, items, transaction)

You must send the following parameters in the body of the request as a form-data:

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!