Recompute the three-way match for a bill

POST/api/v1/inventory/accounts-payable/{bill_id}/three-way-match

Forces a fresh PO -> Receipt -> Invoice comparison for the bill and writes the outcome onto bill.match_status and the variance columns. Idempotent.

Operation ID: recompute_three_way_match_api_v1_inventory_accounts_payable__bill_id__three_way_match_post·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

Path

bill_idstringrequired

Query

qty_toleranceintegerdefault: 0

Unit tolerance before a qty drift is flagged.

price_tolerance_centsintegerdefault: 500

Cents tolerance before a price drift is flagged.

price_tolerance_pctnumberdefault: 0.01

Percent-of-PO-total tolerance (combined with cents floor).

Responses

201Successful Response

successboolean
messagestring
codestring
dataThreeWayMatchResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

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