Invoice Approvals
Overview
Ottimate’s approval system allows you to manage invoice approvers programmatically through the API. While approval policies are configured in the Ottimate UI, the API enables you to:
- View all approvers assigned to an invoice
- Add manual approvers to invoices
- Remove approvers from the approval chain
- Force approve invoices when authorized
For information on how to configure approval policies in Ottimate, see Approval Policy Configuration.
Note: The Approval API manages approvers and approval actions only. Approval policies themselves must be configured through the Ottimate user interface.
How Invoice Approvals Work
When an invoice enters the approval workflow, it receives a pending-approval status. The invoice must be approved by all assigned approvers before it can proceed to export. Approvers can be assigned either:
- Policy-based approvers: Automatically assigned based on approval policies configured in Ottimate
- Manual approvers: Added individually via the API or UI for ad-hoc review requirements
List Invoice Approvers
To view all approvers assigned to an invoice, including their approval status:
Where {id} is the Ottimate-generated invoice ID.
Response Details
The response includes an array of approvers, where each approver object contains:
id: The approval record ID (e.g.,pbjappr_xxx) - use this ID when removing an approver via the DELETE endpointapprover: User details including ID, email, and display namepolicy: Associated approval policy for policy-based approvers (empty for manual approvers)created_date: When this approver was added to the invoice
Example Response
Identifying Manual vs. Policy-Based Approvers: Manual approvers have empty policy.id and policy.name fields, while policy-based approvers include the policy details.
Use Cases
- Check who needs to approve an invoice
- Monitor approval progress
- Audit the approval chain
- Track policy-based vs. manual approvers
Add a Manual Approver
Add an ad-hoc approver to an invoice using:
Important Behavior
When you add a manual approver:
- The approver must be an authorized user of the location with permission to access the invoice.
Remove an Approver
Remove a specific approver from an invoice:
Parameters
id: The invoice IDapproval_id: The approval record ID to remove (e.g.,pbjappr_xxx) - this is theidfield from the approver object returned byGET /invoices/{id}/approvers
Approve an Invoice
Approve an invoice to mark it ready for export and payment:
Features
- Marks the invoice with an
approved_date - Automatically verifies the invoice if not already verified
- Updates invoice status to
ready-for-exportwhen all approvals are complete
Force Approval
For authorized users, you can bypass the normal approval chain:

