PurchaseOrder
List all purchase order invoices
Changed onList all purchase order invoices
get/billing/v1/orders/{orderId}/invoices
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orderIdnumber required
The specific order id for which information is requested
Query parameters
countstring
Number of results to fetch. Used for paging.
excludeFreeboolean
Exclude invoices whose amount is zero
fromDatenumber
Filter by the start date of the invoice
sortField'DATE' | 'INVOICE_ID' | 'TOTAL'
The filed to be used for sorting com.appdirect.backend.api.billing.types.OrderSortWS.
sortOrder'ASC' | 'DESC'
Sort order org.springframework.data.domain.Sort.Direction.
startstring
First result index. Used for paging.
status'CARRIED' | 'PAID' | 'UNPAID' | 'VOIDED'
Filter by the status of the invoice
toDatenumber
Filter by the end date of the invoice
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