Skip to main content
GET
/
invoice
/
validate-number
cURL
curl --request GET \
  --url https://api.slash.com/invoice/validate-number \
  --header 'X-API-Key: <api-key>'
{
  "isAvailable": true
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Query Parameters

The legal entity ID to check the invoice number against. Required if authenticating with access to multiple legal entities.

invoiceNumber
string
required

The invoice number to validate.

Response

OK

isAvailable
boolean
required

Whether the invoice number is available for use.