Accounts Payable

Propose field checks for the payment rules

Changed on

For every payment rule still checked in heavy mode (or only those in rule_ids, up to 100 per call, so a long list can be sent in parts), proposes a field check: a test over the invoice, purchase order, delivery note and contract fields that can decide the rule without reading the documents. A proposal is kept unconfirmed until a person puts it in force; a rule that needs its documents read stays heavy and says why. A rule with a proposal already kept answers with it again.

post/v1/ap/rules/compile

Request

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

Request body

ApRuleCompileInput required
locale, string

The language the checks' wording is written in (de, en, es, fr, it, pt; English otherwise).

rule_ids, string[]

Only these rules; every heavy rule when absent.

Response

One proposal per rule.

ComplianceRuleProposal[] required
union required

What proposing a field check for a rule returns.

Changes