GET api/invoice/nextinvoiceno?customInvoiceNo={customInvoiceNo}
Gets the next predicted invoice number to show in the UI Checks existing invoices for provided custom invoice number
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customInvoiceNo | string |
None. |
Body Parameters
None.
Response Information
Resource Description
NextInvoiceNumberResultDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| NextPredictedNumber | integer |
None. |
|
| InvoiceNoExists | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"NextPredictedNumber": 1,
"InvoiceNoExists": true
}