API reference › Finance › Payables
Update payable inline fields
PUT /v1/finance/payables/{id}
- Scope
finance:edit- Roles
- admin, scheduler
Update specific payable fields (financial status) for inline editing.
Parameters
Path parameters
| Name | Type | Description |
|---|---|---|
id required | string | Payable ID Example |
Every call also sends Authorization and X-Tenant-ID; see Getting started.
Request body required
14 top-level fields; 3 hold nested fields, listed below.
| Field | Type | Description |
|---|---|---|
override_locks | boolean or null | Edit a paid document past its locks. Send on the retry after a save asks. |
override_reason | object (2 nested) | |
override_reason_text | string or null | max length 1000. |
override_delivery | string or null | One of: |
confirmation | boolean or null | Confirms the resend prompt a save on a sent document raises. |
resend_delivery | string or null | One of: |
overpayment_confirmation | boolean or null | Accept a payment that exceeds the balance due. |
payment_terms | object or null (3 nested) | |
payment_amount | number or null | Records a payment against the payable. min 0. Example |
payment_method | string or null | max length 50. Example |
transaction_id | string or null | max length 255. |
reason | string or null | Why the status changed. max length 500. |
status | object or null (3 nested) | Financial status to update |
is_published | boolean | Whether the payable is published (inline toggle) Example |
Nested fields
override_reason 2 fields
| Field | Type | Description |
|---|---|---|
override_reason.id | integer or string | Example |
override_reason.label | string or null | Example |
payment_terms 3 fields
| Field | Type | Description |
|---|---|---|
payment_terms.id | integer | Example |
payment_terms.label | string | Example |
payment_terms.isCustom | boolean or null | Example |
status 3 fields
| Field | Type | Description |
|---|---|---|
status.id | integer | Financial status ID Example |
status.label | string | Financial status label Example |
status.isCustom | boolean | Whether status is custom Example |
Example
{
"override_locks": true,
"override_reason": {
"id": 1,
"label": "Example"
},
"override_reason_text": "string",
"override_delivery": "internal_only",
"confirmation": true,
"resend_delivery": "send_updated",
"overpayment_confirmation": true,
"payment_terms": {
"id": 1,
"label": "Net 15",
"isCustom": false
},
"payment_amount": 120,
"payment_method": "ach",
"transaction_id": "string",
"reason": "string",
"status": {
"id": 4,
"label": "Paid",
"isCustom": false
},
"is_published": false
}Example request
curl -X PUT "https://api.fetchfido.ai/v1/finance/payables/{id}" \
-H "Authorization: Bearer $FIDO_API_KEY" \
-H "X-Tenant-ID: $FIDO_TENANT_ID" \
-H "Content-Type: application/json" \
-d '{"override_locks":true,"override_reason":{"id":1,"label":"Example"},"override_reason_text":"string","override_delivery":"internal_only","confirmation":true,"resend_delivery":"send_updated","overpayment_confirmation":true,"payment_terms":{"id":1,"label":"Net 15","isCustom":false},"payment_amount":120,"payment_method":"ach","transaction_id":"string","reason":"string","status":{"id":4,"label":"Paid","isCustom":false},"is_published":false}'Try it
Responses
200 Payable updated successfully
Payable updated successfully
{
"success": true,
"message": "Payable updated successfully.",
"data": {
"id": "PAYB-EWDM3W",
"status": {
"id": 2,
"label": "Approved"
},
"is_published": false
}
}Response fields (8)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
data | object | |
data.id | string | Example |
data.status | object | |
data.status.id | integer | Example |
data.status.label | string | Example |
data.is_published | boolean | Whether the payable is published Example |
401 Not signed in
Missing, invalid or expired API key.
{
"success": false,
"message": "Invalid API key. Org and user tier keys must send an X-Tenant-ID header naming the organization the key was issued for.",
"errors": null,
"code": "API_KEY_MISSING"
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Machine-readable reason, for branching on in client code. One of: |
403 Not allowed
Scope, tenant, IP allow-list or RBAC check failed.
{
"success": false,
"message": "You don't have permission to access this endpoint. This API key is missing the 'finance:edit' scope.",
"errors": null,
"code": ""
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Always empty on this status. Example |
404 Not found
Payable not found
{
"success": false,
"message": "Payable not found."
}Response fields (2)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
422 Validation failed
Validation error
{
"success": false,
"message": "Validation failed",
"errors": {
"status": [
"Status is invalid."
]
}
}Response fields (3)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | object |
429 Too many requests
Rate limit exceeded. See Retry-After.
{
"success": false,
"message": "You've exceeded this API key's rate limit of 120 requests per minute. Try again in 37 seconds.",
"errors": null,
"code": "RATE_LIMITED"
}Response fields (4)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
message | string | Example |
errors | any or null | Null on this status. |
code | string | Machine-readable reason, for branching on in client code. One of: |
500 Server error
Unexpected error
{
"success": false,
"errors": "Payable update failed",
"message": "An unexpected error occurred — please try again."
}Response fields (3)
| Field | Type | Description |
|---|---|---|
success | boolean | Example |
errors | string or null | Null in production. The exception message only when the application runs with debug on. Example |
message | string | Example |