Create
Create an invoice approval policy associated with an entity
Path parameters
entityId
Entity ID or Entity ForeignID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
trigger
List of triggers that will cause this policy to be evaluated. If no triggers are provided, the policy will be evaluated for all invoices.
rule
upstreamPolicyId
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.
id
trigger
rule
upstreamPolicyId
createdAt
updatedAt