Invoice
List All Invoices
Changed onList all invoice data
get/billing/v1/invoices
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
countstring
Number of results to fetch. Used for paging.
excludeFreeboolean
Exclude invoices with no charges.
fromDatenumber
From date.
sortField'DATE' | 'INVOICE_ID' | 'TOTAL'
Sort field.
sortOrder'ASC' | 'DESC'
Sort order.
startstring
First result index. Used for paging.
status'CARRIED' | 'PAID' | 'UNPAID' | 'VOIDED'
Invoice status.
toDatenumber
To date.
buyerRole'ALL' | 'CUSTOMER' | 'RESELLER' | 'SALES_SUPPORT'
Filter invoices with purchases made by user with this role.
Response
OK
Example response
[
{
"company": {
"href": "...",
"id": "..."
},
"creationDate": 12345,
"currency": "DKK",
"dueDate": 12345,
"invoiceId": 12345,
"links": [
{
"href": "...",
"rel": "..."
},
{
"href": "...",
"rel": "..."
}
],
"referenceNumber": "...",
"status": "PAID",
"total": 12345,
"user": {
"href": "...",
"id": "..."
}
}
]Changes
- info
endpoint added
- info