Subscriptions
List all invoices for a subscription
Changed onList all of the invoices for the given subscription
get/billing/v1/subscriptions/{subscriptionId}/invoices
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscriptionIdstring required
Subscription ID
Query parameters
countinteger
Number of results to fetch. Used for paging.
excludeFreeboolean
Exclude invoices with no charges (free)
fromDatenumber
From date
sortField'DATE' | 'INVOICE_ID' | 'TOTAL'
Sort field
sortOrder'ASC' | 'DESC'
Sort order
startinteger
First result index. Used for paging.
status'CARRIED' | 'PAID' | 'UNPAID' | 'VOIDED'
Invoice status
toDatenumber
To date
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