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 Processes this invoice API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customInvoiceNo |
The custom invoice no value supplied with the request. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
The response returned after the operation completes.
NextInvoiceNumberResultDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| NextPredictedNumber |
The next predicted number value. |
integer |
None. |
| InvoiceNoExists |
Indicates whether invoice no exists is true. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"NextPredictedNumber": 1,
"InvoiceNoExists": true
}