Skip to main content
GET
Get invoicing schedule

Authorizations

Authorization
string
header
required

Machine-to-machine clients use the OAuth 2.0 client credentials grant. Each tenant has its own authorization server: in the token URL below, replace tenant with your tenant identifier.

Headers

tenant
string
required

Your tenant identifier. Requests without it are rejected.

Path Parameters

customerId
string
required
Pattern: ^customer(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$

Query Parameters

whenAt
string<date-time>

Optional: the whenAt datetime

simulatedAt
string<date-time>

Optional: the simulatedAt datetime

branchId
string

Optional: the branchId

Pattern: ^branch(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$
excludeInvoiceIds
string[]

Invoice IDs to exclude from currentInvoiceIds when calculating the schedule

Response

data
object[]
required

Array invoice details

total
number

Optional: Total number of invoice details

offset
number

Optional: Number of invoice details the array has to star after

limit
number

Optional: Number of invoice details in the array