Accounts Payable

Send a payment rule back to heavy mode

Changed on

Only heavy (the documents are read for each check) can be set: a rule moves to its field check on its own once that check agreed with full reads often enough. Every invoice is checked again when the mode changed.

post/v1/ap/rules/rules/{ruleId}/mode

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

ruleId, string uuid required

Request body

object required
mode, 'heavy' required

Response

The rule.

ApRule required

One payment rule.

id, string uuid
document_id, string uuid
code, string nullable
text, string
obligation, string
source_quote, string nullable

The words of the file the rule comes from.

origin, string
mode, 'heavy' | 'light' | 'light_then_heavy'

heavy the documents are read for each check; light its field check decides; light_then_heavy its field check decides what it can and the documents are read for the rest.

check, ComplianceRuleCheckView nullable

A field check as a person reads it.

light, ComplianceLightRecord nullable

How a rule's field check fares against full reads of the documents; it moves the rule to its field check once agree reaches needed.

Changes