Skip to main content

Record Bill Duplicate Decision

POST 

/api/bills/duplicate-decisions

Record a person's answer for a pair of documents the duplicate check flagged, so the pair is never flagged again (in either order).

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body:

  • left_type (required) - bill, purchase_invoice or provider.
  • left_id (required, string or integer, max 191) - the document's id; for a provider bill, the match id from Check Bill for Duplicates.
  • right_type (required) - bill, purchase_invoice or provider.
  • right_id (required, string or integer, max 191).
  • decision (required) - not_duplicate or linked.

Authentication: Requires Bearer token. Permission: create or edit bills (bills.create or bills.update). Scope: purchase-orders (read/write).

Request​

Responses​

Created

Response Headers
    Content-Type