Referencia de APIAccounting / Pending Record
Update Pending Record pay
← Back to full API reference
PATCH
/v1/record/pending/payAuth requiredA pending record refers to documents (invoice, quote, order, loan) that can later be linked to records such as payments, credits, and accounting movements.
- Requires organization permissions for this resource.
- Validated by Zod schema: payPendingRecord.
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| paymentMethod | Yes | Type: enumExample: CASH |
| accountId | Yes | Type: number |
| amount | No | Type: number |
| state | No | Type: enumExample: PENDING |
| reference | No | Type: string |
| amountConversion | No | Type: number |
| receivedFrom | No | Type: number |
| description | No | Type: string |
| labels | No | Type: arrayExample: |
| labels[] | Yes | Type: string |
| clientdata | No | Type: object |
| date | No | Type: string |
| metadata | No | Type: unknown |
| generateTaxId | No | Type: enumExample: none |
| pendingRecordId | Yes | Type: number |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"paymentMethod": "CASH",
"accountId": 1,
"pendingRecordId": 1
}Sample response
json
{}