Get list of invoices

Query Params
string

Time range from (inclusive). Local date and time (according to account timezone) on the form yyyy-MM-dd, yyyyMMdd, yyyy-MM-ddTHH:mm, yyyy-MM-ddTHH:mm:ss or yyyy-MM-ddTHH:mm:ss.SSS. Default from if no interval is given depends on the query. If the query limits on relation e.g. customer and/or subscription, the default from will be epoch 1970-01-01, otherwise one month before to

string

Time range to (exclusive). Local date and time (according to account timezone) on the form yyyy-MM-dd, yyyyMMdd, yyyy-MM-ddTHH:mm, yyyy-MM-ddTHH:mm:ss or yyyy-MM-ddTHH:mm:ss.SSS. Defaults to now.

string

Limit from to and interval back in time. E.g. one week. Will take precedence over from. Defined in ISO 8601 duration. See https://en.wikipedia.org/wiki/ISO_8601#Durations

int32
10 to 100
Defaults to 20

Page size between 10 and 100 (default 20)

string

Next page token from previous response to get next page

string
enum
Defaults to created

Time and date attribute to time limit. Either created or settled. Default is created.

Allowed:
string

Invoice exact handle

string

Invoice handle prefix

string

Invoice handle contains

string

Invoice exact accounting number

string

Invoice accounting number prefix

string

Invoice accounting number contains

state
array of strings
enum

Invoice state, multiple can be defined

exclude_state
array of strings
enum

Invoice state to exclude, multiple can be defined

string

Invoices for customer by customer handle

string

Amount in minor unit interval. See documentation of intervals.

string

Refunded amount in minor unit interval. See documentation of intervals.

string

Authorized amount in minor unit interval. See documentation of intervals.

currency
array of strings

Invoice currency in ISO 4217 three letter alpha code. Multiple can be defined.

currency
boolean

Filter invoices based on partial settled. If true invoices where authorized_amount < settled_amount is returned. If false invoices where settled_amount = authorized_amount is returned.

string

Filter invoices by settled amount.

string

Invoices for customer by debtor id

type
array of strings
enum

Invoice type, multiple can be defined. s - subscription recurring, so - subscription one-time, soi - subscription one-time instant, co - customer one-time, ch - charge

string

Invoices for subscription by subscription handle

string

Invoices for subscription plan by subscription plan handle

string

Dunning start date and time in local date time interval for account timezone. Date time given in ISO-8601 local date or local date time. See documentation of intervals.

string

Dunning success date and time in local date time interval for account timezone. Date time given in ISO-8601 local date or local date time. See documentation of intervals.

int32
≥ 1

Invoice number if subscription invoice

string

Due date if due date defined for subscription invoice

string

Customer name filter. The name will be split by spaces, and invoices will be filtered where customer's first_name or last_name starts with any of these substrings.

Responses

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