Skip to main content
2026-07-13
FeatureRelease
Versioned /v1 paths

Tune the AP matching engine

Patch your AP settings to control how bills are matched against purchase orders and delivery notes. You can set the rounding tolerance, the fuzzy line and supplier thresholds, the supplier name and address weighting, the date-proximity window, and the header- and line-affinity weights. Only the fields you send change, and the settings apply to every Organisation under the Client — so you can dial matching in once for your whole book. Read the current values with get AP settings.

Upsert purchase orders by number

Replace a purchase order by its PO number instead of its internal id — the idempotent path for re-uploading a PO from an upstream system. Lines with a known id are updated, new lines are added, and omitted lines are removed. Closed and cancelled orders stay immutable, and a line already matched to a bill can’t be removed or reduced below the matched quantity, so re-ingesting a PO never disturbs work already reconciled against it.