latestOpenAPI 3.0.12026-08-192092911.2 MB
916e669fc527
Invoices
Get an invoice
Retrieve the details of a single invoice (required scope finance:read)
get/v1/finance/invoices/{invoiceId}
Path parameters
invoiceIdinteger required
The unique identifier of the invoice
Headers
Customer-Idinteger required
The customer identifier
Response
OK
Example response
{
"id": 12345,
"jobId": 54321,
"jobGroupId": 67890,
"contractId": 101112,
"createdAt": "2022-11-29T16:50:16.0000000+00:00",
"dueAt": "2022-12-29T16:50:16.0000000+00:00",
"reference": "InvoiceNote101",
"currencyCode": "EUR",
"deliverySiteContactId": 56789,
"nominalCodeId": 45678,
"bankAccountId": 34567,
"departmentCodeId": 23456,
"clientNotes": "Please pay within 30 days",
"internalNotes": "Follow up in two weeks",
"sentAt": "2024-01-15T10:30:00.0000000+00:00",
"cancelledAt": "2024-02-20T14:45:00.0000000+00:00",
"paidAt": "2024-01-30T09:15:00.0000000+00:00",
"acceptedAt": "2024-01-20T11:00:00.0000000+00:00",
"cost": 850.5,
"totalExclTax": 1000,
"totalInclTax": 1200,
"totalPaid": 1200,
"paymentLink": "{bookingSiteBaseUrl}/pay/{invoiceUid}/{invoiceId}/{customerId}",
"customFields": [
{
"definitionId": 5514123,
"value": "Purple",
"definition": {
"caption": "Favourite colour",
"type": "boolean",
"listOptions": [
"Red",
"Blue",
"Green",
"Purple"
],
"isRequired": true,
"isEditable": true,
"default": "10"
},
"systemListValueMetadata": {
"label": "John Doe",
"entityType": "resource"
}
}
]
}