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_originalwill be set as
falsewithin the objects where amounts have been changed (
You must send the following parameters in the body of the request as a form-data: