Billing

All invoices endpoints

Get details of all invoices of a user

get
Authorizations
PRIVATE-TOKENstringRequired
Query parameters
filterstringOptional

The filter to search for the description The filter parameter can be used to apply a more specific search, the only element that can be filtered is 'description'. The filter will be done on a part of the provided description (it should contain the searched element). E.g. we need to filter for a string "this is an example" Remember to urlencode the provided filter The final call would look like: /billing/invoice?filter=this%20is%20an%20example

Header parameters
RANGED-DATAstringOptional

Example header and default range: RANGED-DATA:start=0,results=25

Responses
chevron-right
200

OK

application/json
idstringRead-onlyRequired

The ID of the invoice

creationDateinteger · integerRead-onlyRequired

The date the invoice was created

dueDateinteger · integerRead-onlyRequired

The due date of the invoice

invoiceNumberstringRead-onlyRequired

The number of the invoice

invoiceHashstringRead-onlyRequired

A unique hash for this invoice

descriptionstringRequired

The description of the invoice

currencystringRequired

The currency that is being used

currencySignstringRequired

The currency sign that is being used

amountIncVATstringRequired

The amount of the invoice with VAT in cents

amountExclVATstringRequired

The amount of the invoice without VAT in cents

paymentStatusinteger · integerRequired

The payment status

paymentDateinteger · integerRequired

The timestamp that the invoice was paid, if paid

isCreditinteger · integerRequired

If this field is 1 it means that invoice is a credit invoice

remainingAmountstringRequired

The remaining amount of invoice

totalPaidAmountstringRequired

The total paid amount of invoice

get
/v3/account/invoice

Get details of all unpaid invoices for a user (excluding credit invoices)

get
Authorizations
PRIVATE-TOKENstringRequired
Query parameters
filterstringOptional

The filter to search for the description The filter parameter can be used to apply a more specific search, the only element that can be filtered is 'description'. The filter will be done on a part of the provided description (it should contain the searched element). E.g. we need to filter for a string "this is an example" Remember to urlencode the provided filter The final call would look like: /billing/invoice?filter=this%20is%20an%20example

Header parameters
RANGED-DATAstringOptional

Example header and default range: RANGED-DATA:start=0,results=25

Responses
chevron-right
200

OK

application/json
idstringRead-onlyRequired

The ID of the invoice

creationDateinteger · integerRead-onlyRequired

The date the invoice was created

dueDateinteger · integerRead-onlyRequired

The due date of the invoice

invoiceNumberstringRead-onlyRequired

The number of the invoice

invoiceHashstringRead-onlyRequired

A unique hash for this invoice

descriptionstringRequired

The description of the invoice

currencystringRequired

The currency that is being used

currencySignstringRequired

The currency sign that is being used

amountIncVATstringRequired

The amount of the invoice with VAT in cents

amountExclVATstringRequired

The amount of the invoice without VAT in cents

paymentStatusinteger · integerRequired

The payment status

paymentDateinteger · integerRequired

The timestamp that the invoice was paid, if paid

isCreditinteger · integerRequired

If this field is 1 it means that invoice is a credit invoice

remainingAmountstringRequired

The remaining amount of invoice

totalPaidAmountstringRequired

The total paid amount of invoice

get
/v3/account/invoice/unpaid

Get invoice details by invoice ID

get
Authorizations
PRIVATE-TOKENstringRequired
Path parameters
invoiceIdintegerRequired

ID of the invoice to fetch details about

Responses
chevron-right
200

OK

application/json
idinteger · integerRead-onlyRequired

The ID of the invoice

invoiceNumberstringRead-onlyRequired

Invoice number

invoiceHashstringRead-onlyRequired

A unique hash for this invoice

clientNumberstringRead-onlyRequired

Client number

creationDatestringRead-onlyRequired

The date the invoice was created

dueDatestringRead-onlyRequired

The due date of the invoice

paymentStatusinteger · integerRead-onlyRequired

Whether or not the invoice was paid

paymentDateinteger · integerRequired

The timestamp that the invoice was paid, if paid

isCreditinteger · integerRequired

If this field is 1 it means that invoice is a credit invoice

paymentTerminteger · integerRead-onlyRequired

The invoice must be paid in the given amount of time (days)

currencystringRead-onlyRequired

The name of the currency that is being used

currencySignstringRead-onlyRequired

The sign of the currency that is being used

vatPercentageinteger · integerRead-onlyRequired

Percentage of VAT applied

vatAmountstringRead-onlyRequired

Amount of VAT to pay in cents

amountIncVatstringRead-onlyRequired

The amount of the invoice with VAT included in cents

amountExclVatstringRead-onlyRequired

The amount of the invoice without VAT in cents

get
/v3/account/invoice/{invoiceId}

Get invoice details by invoice number

get
Authorizations
PRIVATE-TOKENstringRequired
Path parameters
invoiceNumberstringRequired

Number of the invoice to fetch details about

Responses
chevron-right
200

OK

application/json
idinteger · integerRead-onlyRequired

The ID of the invoice

invoiceNumberstringRead-onlyRequired

Invoice number

invoiceHashstringRead-onlyRequired

A unique hash for this invoice

clientNumberstringRead-onlyRequired

Client number

creationDatestringRead-onlyRequired

The date the invoice was created

dueDatestringRead-onlyRequired

The due date of the invoice

paymentStatusinteger · integerRead-onlyRequired

Whether or not the invoice was paid

paymentDateinteger · integerRequired

The timestamp that the invoice was paid, if paid

isCreditinteger · integerRequired

If this field is 1 it means that invoice is a credit invoice

paymentTerminteger · integerRead-onlyRequired

The invoice must be paid in the given amount of time (days)

currencystringRead-onlyRequired

The name of the currency that is being used

currencySignstringRead-onlyRequired

The sign of the currency that is being used

vatPercentageinteger · integerRead-onlyRequired

Percentage of VAT applied

vatAmountstringRead-onlyRequired

Amount of VAT to pay in cents

amountIncVatstringRead-onlyRequired

The amount of the invoice with VAT included in cents

amountExclVatstringRead-onlyRequired

The amount of the invoice without VAT in cents

get
/v3/account/invoice/number/{invoiceNumber}

Get invoice as PDF

get
Authorizations
PRIVATE-TOKENstringRequired
Path parameters
invoiceIdintegerRequired

ID of the invoice to fetch details about

Responses
chevron-right
200

OK

application/pdf
string · binaryOptional
get
/v3/account/invoice/{invoiceId}/pdf

Last updated

Was this helpful?