Skip to main content

Bills, Orders and Rule Importance

Read one bill or purchase order with its documents, the counts per status, set the reviewers' language and mark a payment rule important, via /v1/ap.

Read one bill by its key or one purchase order by its number, the documents a bill links to and why, and the counts and amounts per status. Every read follows the document visibility of the person behind the credential. The language and rule-importance writes need apps:payables:write.

Endpoints

GET/v1/ap/bill

Parameters

key*stringThe bill key from the inbox (for an order, its number).
GET/v1/ap/bill/file

Parameters

key*stringThe bill key from the inbox (for an order, its number).
GET/v1/ap/order

Parameters

key*stringThe bill key from the inbox (for an order, its number).
GET/v1/ap/summary
PUT/v1/ap/language

Body

language*stringen, es, de, fr, it, pt or pt-PT.
POST/v1/ap/rules/rules/{ruleId}/important

Parameters

ruleId*stringPath. The rule id.

Body

important*booleanWhether the rule is important.