Skip to navigation

Retrieve the approval policy chain for a specific invoice

Beta

Returns the ordered policy chain for an invoice, including hierarchical child policies, per-tier status, and approver rows. Each tier’s status is one of approved, pending, or NA.

Note: response is a bare JSON array (no version wrapper). Child policies are nested under children.

Authentication

AuthorizationBearer
OAuth2 authentication flows. Auth server URLs will vary by environment

Path parameters

idstringRequired
Ottimate invoice ID

Headers

X-Api-KeystringRequired
API key for authentication
X-API-VersionstringOptional

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Query parameters

sync_approvalbooleanOptionalDefaults to false

When true, re-applies policies before returning the chain (default false). Only effective when the invoice is not exported.

Response

Successful response with the ordered approval policy chain

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error