Create Invoice

Submit Invoice PDF to Mondu

Path Params
string
required

Order identifier.

Body Params
string
required
length between 1 and 1024

Invoice ID set by the merchant.

string
length between 1 and 1024

Reference ID of resource in external service

string
required

An URL pointing to a file containing an invoice.

integer
required
≥ 1

Invoice amount including taxes, discounts, shipping or any other cost. It has to be lower or equal to a line sent to Mondu in create order request. gross_amount_cents = net_amount_cents + tax_cents + shipping_price_cents + extra_fee_cents - discount_cents

integer
≥ 0

Amount of tax to be applied to the invoice.

integer
≥ 0

Discount applied to the invoice.

integer
≥ 0

Shipping price to be applied on this invoice.

integer
≥ 0

Extra fee to be applied on this invoice.

date-time

Timestamp invoice was issued at.

line_items
array of objects
length ≥ 1

Invoice details.

line_items
string
required
length between 1 and 1024

Reference ID of resource in external service

integer
required
≥ 1
Defaults to 1

Number of items. It must be >= 1.

shipping_info
object

Information about the shipment.

string
enum
Defaults to api

The source where the invoice came from.

Allowed:
file
file

Proof of delivery file which is required if the relevant flag is enabled on merchant level.

Responses

403

Forbidden

422

Unprocessable Entity

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