Create

POST

Create an invoice approval policy associated with an entity

Path parameters

entityIdstringRequired

Entity ID or Entity ForeignID

Request

This endpoint expects an object.
triggerlist of objectsRequired

List of triggers that will cause this policy to be evaluated. If no triggers are provided, the policy will be evaluated for all invoices.

ruleobjectRequired
upstreamPolicyIdstringRequired

The policy ID of the previous approval policy in the chain of policies. Use ‘root’ if no upstreamPolicyId is intended to be set.

Response

This endpoint returns an object.
idstring
triggerlist of objects
ruleobject
upstreamPolicyIdstring
createdAtdatetime
updatedAtdatetime