Gestiono
Referencia de APIAccounting / Pending Record

Create Pending Record create from

POST /v1/record/pending/create-from • validated by `postCreateFromPendingRecord`

← Back to full API reference
POST/v1/record/pending/create-fromAuthentication required

A 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: postCreateFromPendingRecord.

Request details

Path params

No path parameters for this endpoint.

Query params

No explicit query schema was captured for this endpoint.

Body fields

  • id (required)

    Type: number

  • type (required)

    Type: enum

    Example: INVOICE

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "id": 1,
  "type": "INVOICE"
}

Sample response

json
{
  "pendingRecordId": "<pendingRecordId>"
}

Test this endpoint now

Use your own credentials and execute a live request directly from this page.

1. Configure authentication for testing

You can test endpoints with signed API keys, a raw Authorization token, or browser cookies. Select one mode and fill in the required fields.

2. Select endpoint

POST/v1/record/pending/create-fromAuthentication required

Group: Accounting / Pending Record

POST /v1/record/pending/create-from • validated by `postCreateFromPendingRecord`

A 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: postCreateFromPendingRecord.

Body fields

  • idrequired
    Type: number
  • typerequired
    Type: enum
    Ejemplo: INVOICE

3. Prepare request payload

4. Server response

Run a request to inspect the real-time response for your environment.