Create Purchase Invoice Approval Level
POST/api/purchase-invoice-approval-levels
Create a bill payment approval level.
Authentication: Requires Bearer token.
Fields:
- level_order (required, integer, >= 1, unique): Position of this level in the approval chain. Must be unique across levels — reusing an existing order returns a 422 validation error.
- name (required, max 100): Display name for the level.
- threshold_amount (required, numeric, >= 0): Amount at or above which this level's approval is required.
- approver_user_id (optional, integer): Designated approver user ID.
- approver_role_id (optional, integer): Designated approver role ID.
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
Response Headers
Content-Type
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Content-Type
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.