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

NameDescriptionTypeAdditional information
customInvoiceNo

string

None.

Body Parameters

None.

Response Information

Resource Description

NextInvoiceNumberResultDataContract
NameDescriptionTypeAdditional information
NextPredictedNumber

integer

None.

InvoiceNoExists

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "NextPredictedNumber": 1,
  "InvoiceNoExists": true
}