Create a purchase

Create a purchase

Body Params
int32

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.

string

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

string

The status of the purchase. Applicable only if the type is "purchase". It can be "pending", "invoiced", or "rejected".

string

It appears in RESPONSE. The type of the transaction. Will be "purchase".

float

It appears in RESPONSE. The amount of the purchase excluding taxes.

float

It appears in RESPONSE. The amount of the purchase including taxes.

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

float

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

payment_method
object

The payment method used for the purchase.

string

Additional information regarding the purchase.

string

Invoice number of the purchase.

date

Invoice date of the purchase. Required when status is "INVOICED".

supplier
object
required

The object containing the supplier's details.

items
array of objects
required

Array of items of the purchase

items*
Response

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