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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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
}