Payment
List all payment invoices
Changed onList all invoices attached to a given payment
get/billing/v1/payments/{paymentNumber}/invoices
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
paymentNumberinteger required
Payment number
Query parameters
countstring
Number of results to fetch. Used for paging.
excludeFreeboolean
Exclude free invoices
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'
Status of the related invoice(s)
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