Create Invoice

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use Case:

  • Submit the invocie PDF, when the order status changes to shipped in your system.
  • Send the API request invoice_url to invoice PDF or PDF file.
    • in case you send the invoice_url - set the Content-Type in request header to application/json
    • in case you send the PDF file - set the Content-Type in request header to multipart/form-data and send the payload in form-data layout
  • Send the invoice amount in gross_amount_cents.
  • Send invoice ID in external_reference_id.
  • lines object is optional, but recommended.

Important:

  • The invoice can be sumtitted for the order in status confirmed.
  • If the invoice amount is equal to the order amount, the order status will change to shipped.
  • If the invoice amount is lower than the order amount, the order status will change to partially_shipped.
  • You can submit multiple invoices, if the sum of invoice amounts is lower/equal to the order amount.
  • If the invoice amount (or sum of all invoice amounts) is higher than the order amount, the API will return 422 error.
  • external_reference_id must match your payment reference on the legal invoice document.
  • The invoice can be uploaded to the Mondu system no later than 90 days after the order is created.

Payload Examples

Check Mondu Guide:

Path Params
string
required
Body Params
string
required
length between 1 and 1024
string
length between 1 and 1024
string
required
string
integer
required
≥ 1
integer
≥ 0
integer
≥ 0
integer
≥ 0
integer
≥ 0
date-time
line_items
array of objects
length ≥ 1
line_items
string
required
length between 1 and 1024
integer
required
≥ 1
Defaults to 1
shipping_info
object
string
enum
Defaults to api
Allowed:
file
file
Headers
string
enum
Defaults to application/json
Allowed:
Responses

403

Forbidden

422

Unprocessable Entity

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