Create a purchase from an invoice XML

Create a purchase

Body Params
string

Company id of the transaction owner in Brinta's system. Create a new company in the company section. If not sent, the owner will be Brinta's client.

file
required

XML containing the data of the purchase.

string
required

Type of the invoice document. See possibles values in Invoice document types

string
required

Country of the supplier in ISO 3166-1-alpha-2 code. See possible values in Country coverage and currencies

string
required

The currency code of the purchase amount. It can be the local currency or international_currency set for the transaction owner. Check Country Coverage and currencies

string

The exchange rate from the currency to the international currency set for the transaction owner.

string

The id of the purchase in the client's system.

Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json