/invoices

Create an invoice.

  • If you create an invoice that will need to be edited afterwards, create a draft invoice with the is_draft parameter. Otherwise set is_draft to false.
  • This endpoint requires the base64-encoded value of the PDF of the invoice. You can for example use base64guru.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
buyer
object | null
string | null
enum
Defaults to EUR

Currency of the invoice. Use ISO 4217 currency code.

Allowed:
string
required

PDF binary (format base64 string)

date-time | null
Defaults to null
string | null
Defaults to null

Invoice number as displayed on the invoice

boolean | null
Defaults to false

True by default, set to false if you want to create and validate invoice in one API call.

date-time | null
Defaults to null
metadata
object | null

This object is yours, it enables you to add custom data.

integer | null
Defaults to null

Amount before tax, in cents

seller
object | null
integer | null
Defaults to null

Amount of tax, in cents

to_account
object | null

Beneficiary account as mentioned on the invoice. Note that this does not determine the account where the loan payment will be made.That is done separately when calling the POST /loans endpoint.

integer | null
Defaults to null

Remaining amount due by buyer to seller, in cents. Set at 0 for fully paid invoices.

integer | null
Defaults to null

Sum of net amount and tax amount, in cents

Response

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