Invoice InvoiceID GET
GET /api/account/{account}/accounting/{platform}/{id}/invoice/{invoiceId}
Gets an Invoice.
URL Parameters
account* | Account | |
---|---|---|
platform* | Connection Platform | |
id* | Connection ID | |
invoiceId* | string |
Responses
200 OK
date | string | |
---|---|---|
amount | number | |
amountDue | number | |
currency | string | |
invoiceNumber | string | |
invoiceId | string | |
debtorId | string | |
updatedDate | string | |
closedDate | string | |
dueDate | string | |
status | string | |
items | array[object] | |
description | string | |
ledger | string | |
quantity | number | |
amount | number | |
hasAttachments | boolean |
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
Example Success Response
{
"date": "string",
"amount": 1,
"amountDue": 1,
"currency": "string",
"invoiceNumber": "string",
"invoiceId": "string",
"debtorId": "string",
"updatedDate": "string",
"closedDate": "string",
"dueDate": "string",
"status": "string",
"items": [
{
"description": "string",
"ledger": "string",
"quantity": 1,
"amount": 1
}
],
"hasAttachments": true
}