Skip to main content

Create Approval Rule

POST 

/api/v1/approvals/rules

Create a new approval rule.

Rule Types:

  • amount_threshold: Invoice amount exceeds threshold
  • customer_new: First invoice to a customer
  • customer_list: Customer in specific list
  • invoice_type: Credit notes, corrections
  • all_invoices: All invoices require approval

Config Examples:

  • amount_threshold: {"threshold": 10000.00, "currency": "EUR"}
  • customer_list: {"customer_ids": ["buyer-1", "buyer-2"]}
  • invoice_type: {"types": ["credit_note"]}

Requestโ€‹

Responsesโ€‹

Successful Response