Import a purchase order.

Import a purchase order. This will create a purchase request with an existing purchase order attached. The purchase request will be automatically validated.

This endpoint requires the following scope: purchase_requests:all

Body Params
int64
required

File attachment id. This file attachment must contain the purchase order to import.

string
required

Reason of the purchase request

date

Estimated delivery date (ISO 8601)

int64
required

Supplier identifier

string
required

Purchase order number

string
enum
Defaults to EUR
string
required

Purchase request currency amount before tax (total value before tax of the purchase request in the currency of the purchase request)

string
required

Purchase request currency amount (total value of the purchase request in the currency of the purchase request)

string

Purchase request amount in euros (total value of the purchase request in euros). If the currency is euro, currency_amount and amount are identical.

string
required

Purchase request taxable amount (in purchase request currency)

string

Purchase request taxable amount (in euros). If the currency is euro, currency_tax and tax are identical.

delivery_address
object
required
purchase_request_lines
array of objects
required
length ≥ 1
purchase_request_lines*
string
required

Purchase request line total amount in the currency of the purchase request.

string

Purchase request line amount in euros. If the currency is euro, currency_amount and amount are identical.

string
required

Purchase request line taxable amount (in purchase request currency)

string

Purchase request line taxable amount (in euros). If the currency is euro, currency_tax and tax are identical.

string
required

Line item label

number
required

Line item quantity (number of items)

string
required

The unit price excluding taxes

string
enum
required
string
enum
required

Product VAT rate. A 20% VAT in France is FR_200.

string | null

The description of the purchase request line

Responses

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