Check for possible duplicate bills

GET/api/v1/bills/duplicate-check

Advisory, read-only check used during bill entry. Returns existing bills that may duplicate the one being entered (same bill number, or same vendor and amount within ~90 days). Never blocks creation — it is purely a heads-up so the user can confirm before saving.

Operation ID: check_duplicate_bills_api_v1_bills_duplicate_check_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

bill_numberstring

In-progress bill/invoice number to match (optional).

vendor_idstring

In-progress vendor UUID to match (optional).

amountinteger

In-progress amount in cents to match (optional).

received_onstring · date

Invoice date (YYYY-MM-DD); bounds the vendor+amount lookback window.

Responses

200Successful Response

successboolean
messagestring
codestring
dataDuplicateBillCheckResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject