Invoice
Manage Invoices.
Download
Endpoint
HTTP
POST /invoice/downloadAuthorized User Role
ownerRequest Body
| Field | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | Invoice ID. |
Response
A PDF binary string.
Get
Endpoint
HTTP
POST /invoice/getAuthorized User Role
adminRequest Body
| Field | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | Invoice ID. |
Response
| Field | Type |
|---|---|
| accountId | string |
| amount | number |
| date | date |
| description | string |
| due | date |
| items | array |
| id | string |
| memo | string |
| nextReminder | date |
| number | string |
| order | string |
| paid | number |
| string | |
| receipt | string |
| submitted | date |
| tax | number |
| terms | number |
| total | number |
Find
Endpoint
HTTP
POST /invoice/findAuthorized User Role
adminRequest Body
None.
Query String Options
| Field | Type |
|---|---|
| filter | string |
| hidden | boolean |
| index | string |
| limit | number |
| log | boolean |
| next | object |
| prev | object |
| where | string |
Response
Paged response.
| Field | Type | Notes |
|---|---|---|
| data | array | An array of Invoice records. |
| next | string | Paged cursor to use for the next page of items. |
| prev | string | Pages cursor to use for the previous page of items. |
Invoice
| Field | Type |
|---|---|
| accountId | string |
| amount | number |
| date | date |
| description | string |
| due | date |
| items | array |
| id | string |
| memo | string |
| nextReminder | date |
| number | string |
| order | string |
| paid | number |
| string | |
| receipt | string |
| submitted | date |
| tax | number |
| terms | number |
| total | number |
FindOutstanding
Endpoint
HTTP
POST /invoice/findOutstandingAuthorized User Role
ownerRequest Body
None.
Query String Options
| Field | Type |
|---|---|
| filter | string |
| hidden | boolean |
| index | string |
| limit | number |
| log | boolean |
| next | object |
| prev | object |
| where | string |
Response
Paged response.
| Field | Type | Notes |
|---|---|---|
| data | array | An array of Invoice records. |
| next | string | Paged cursor to use for the next page of items. |
| prev | string | Pages cursor to use for the previous page of items. |
Invoice
| Field | Type |
|---|---|
| accountId | string |
| amount | number |
| date | date |
| description | string |
| due | date |
| items | array |
| id | string |
| memo | string |
| nextReminder | date |
| number | string |
| order | string |
| paid | number |
| string | |
| receipt | string |
| submitted | date |
| tax | number |
| terms | number |
| total | number |
Reissue
Endpoint
HTTP
POST /invoice/reissueAuthorized User Role
adminRequest Body
| Field | Type | Required | Notes |
|---|---|---|---|
| id | string | yes | Invoice ID. |
Response
A PDF binary string.
