Skip to content
Sections · Purchasing

API reference

Purchasing

Purchase orders, vendor invoices and vendor payments.

Endpoints

Paths are relative to https://your-workspace.reevio.app/api/public/v1. Every call needs a bearer token holding the scope shown.

The purchase order object

  • idstring (id)

    Unique identifier of the purchase document.

  • numberstringnullable

    Display number, assigned when the purchase document is issued.

  • statusenum

    Where the purchase order is in its life cycle.

    Possible values:draftissuedconvertedcanceled

  • vendorobject

    The vendor.

    Fields: id, code, name · details

  • branchobject

    The branch the purchase document belongs to.

    Fields: id, name · details

  • issued_onstring (date)nullable

    The purchase document's date, on the workspace calendar.

  • currencyobject

    The purchase document's currency.

    Fields: code, name, sign · details

  • exchange_ratestring (decimal)

    Rate from the purchase document's currency to the functional currency.

  • totalstring (decimal)

    Total including tax, in the purchase document's currency.

  • base_totalstring (decimal)nullable

    The total in the functional currency, fixed when the purchase document is issued.

  • approval_statusenumnullable

    Approval progress, when the workspace requires approval for the purchase document.

    Possible values:not_requiredpendingapprovedrejected

  • created_atstring (timestamp)

    When the purchase document was created.

  • updated_atstring (timestamp)

    When the purchase document last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

    When the purchase document was moved to Trash; null when it is not in Trash. Only updated_since syncs return trashed records.

  • receiving_statusenum

    How much of the order has been received.

    Possible values:not_receivedpartialreceivedclosed

  • invoice_statusenum

    How much of the order has been invoiced.

    Possible values:not_invoicedpartially_invoicedinvoicedover_invoiced

  • expected_onstring (date)nullable

    Expected delivery date.

  • closed_atstring (timestamp)nullable

    When the order was closed; null while open.

  • lineslist of objects

    Detail call only.

    Show child fields
    • line_numberinteger

      Position on the document, from 1.

    • productobjectnullable

      The product.

      Fields: id, sku, barcode, name · details

    • descriptionstringnullable

      The line's text as printed.

    • quantitystring (decimal)

      Quantity, in the line's unit.

    • unit_pricestring (decimal)

      At the scale Reevio stores it: 2 places on purchase orders, 6 on vendor invoices.

    • tax_rateobjectnullable

      The tax rate applied, if any.

      Fields: id, code, rate_percent, type · details

    • tax_amountstring (decimal)

      Tax on the line.

    • line_totalstring (decimal)

      Includes tax.

    • received_quantitystring (decimal)

      Quantity received so far.

    • invoiced_quantitystring (decimal)

      Quantity invoiced so far.

    • statusenum

      Receiving progress of the line.

      Possible values:pendingpartialreceivedclosed

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "number": "PO-2026-00009",
  "status": "draft",
  "vendor": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "code": "VND-000001",
    "name": "Gulf Packaging"
  },
  "branch": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main branch"
  },
  "issued_on": "2026-10-31",
  "currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "exchange_rate": "1.000000",
  "total": "10000.00",
  "base_total": "10000.00",
  "approval_status": "not_required",
  "created_at": "2026-10-31T09:15:00.000000Z",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null,
  "receiving_status": "not_received",
  "invoice_status": "not_invoiced",
  "expected_on": "2026-10-31",
  "closed_at": null,
  "lines": [
    {
      "line_number": 1,
      "product": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "sku": "TEA-500",
        "barcode": "6260000000017",
        "name": "Black tea 500 g"
      },
      "description": "Example description.",
      "quantity": "2.0000",
      "unit_price": "10000.00",
      "tax_rate": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VAT15",
        "rate_percent": "15.0000",
        "type": "exclusive"
      },
      "tax_amount": "10000.00",
      "line_total": "10000.00",
      "received_quantity": "2.0000",
      "invoiced_quantity": "2.0000",
      "status": "pending"
    }
  ]
}

The vendor invoice object

  • idstring (id)

    Unique identifier of the purchase document.

  • numberstringnullable

    Display number, assigned when the purchase document is issued.

  • statusenum

    Where the vendor invoice is in its life cycle.

    Possible values:draftissuedcanceled

  • vendorobject

    The vendor.

    Fields: id, code, name · details

  • branchobject

    The branch the purchase document belongs to.

    Fields: id, name · details

  • issued_onstring (date)nullable

    The purchase document's date, on the workspace calendar.

  • currencyobject

    The purchase document's currency.

    Fields: code, name, sign · details

  • exchange_ratestring (decimal)

    Rate from the purchase document's currency to the functional currency.

  • totalstring (decimal)

    Total including tax, in the purchase document's currency.

  • base_totalstring (decimal)nullable

    The total in the functional currency, fixed when the purchase document is issued.

  • approval_statusenumnullable

    Approval progress, when the workspace requires approval for the purchase document.

    Possible values:not_requiredpendingapprovedrejected

  • created_atstring (timestamp)

    When the purchase document was created.

  • updated_atstring (timestamp)

    When the purchase document last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

    When the purchase document was moved to Trash; null when it is not in Trash. Only updated_since syncs return trashed records.

  • typeenum

    An invoice, or a debit or credit note from the vendor.

    Possible values:invoicedebit_notecredit_note

  • kindenum

    A supplier's own invoice, or a shipping company's bill.

    Possible values:supplier_invoicecarrier_bill

  • vendor_referencestringnullable

    The supplier's own number.

  • payment_statusenum

    How much of the invoice has been paid.

    Possible values:unpaidpartialpaid

  • match_statusenum

    How the invoice matched the purchase order and receipts (three-way match).

    Possible values:pendingmatchedexceptionoverriddennot_applicable

  • purchase_orderobjectnullable

    The purchase order invoiced, if any.

    Fields: id, number, status · details

  • source_invoiceobjectnullable

    For debit and credit notes.

    Fields: id, number, status · details

  • due_onstring (date)nullable

    When payment is due; null when no due date is set.

  • paidstring (decimal)

    Paid to the vendor so far.

  • balancestring (decimal)

    What is still to pay the vendor.

  • lineslist of objects

    Detail call only.

    Show child fields
    • line_numberinteger

      Position on the document, from 1.

    • productobjectnullable

      The product.

      Fields: id, sku, barcode, name · details

    • descriptionstringnullable

      The line's text as printed.

    • quantitystring (decimal)

      Quantity, in the line's unit.

    • unit_pricestring (decimal)

      At the scale Reevio stores it: 2 places on purchase orders, 6 on vendor invoices.

    • tax_rateobjectnullable

      The tax rate applied, if any.

      Fields: id, code, rate_percent, type · details

    • tax_amountstring (decimal)

      Tax on the line.

    • line_totalstring (decimal)

      Includes tax.

    • line_typestring

      What the line is for: goods, a landed cost or an expense.

    • unit_of_measurestringnullable

      The unit the vendor invoiced in.

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "number": "VI-2026-00004",
  "status": "draft",
  "vendor": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "code": "VND-000001",
    "name": "Gulf Packaging"
  },
  "branch": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main branch"
  },
  "issued_on": "2026-10-31",
  "currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "exchange_rate": "1.000000",
  "total": "10000.00",
  "base_total": "10000.00",
  "approval_status": "not_required",
  "created_at": "2026-10-31T09:15:00.000000Z",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null,
  "type": "invoice",
  "kind": "supplier_invoice",
  "vendor_reference": "GP-88/2026",
  "payment_status": "unpaid",
  "match_status": "pending",
  "purchase_order": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "number": "INV-2026-00007",
    "status": "Example status"
  },
  "source_invoice": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "number": "INV-2026-00007",
    "status": "Example status"
  },
  "due_on": "2026-10-31",
  "paid": "10000.00",
  "balance": "10000.00",
  "lines": [
    {
      "line_number": 1,
      "product": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "sku": "TEA-500",
        "barcode": "6260000000017",
        "name": "Black tea 500 g"
      },
      "description": "Example description.",
      "quantity": "2.0000",
      "unit_price": "10000.00",
      "tax_rate": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VAT15",
        "rate_percent": "15.0000",
        "type": "exclusive"
      },
      "tax_amount": "10000.00",
      "line_total": "10000.00",
      "line_type": "Example line type",
      "unit_of_measure": "box"
    }
  ]
}

The vendor payment object

  • idstring (id)

    Unique identifier of the vendor payment.

  • numberstringnullable

    The payment's reference, e.g. VP-2026-00005.

  • statusenum

    draft until issued; canceled once canceled.

    Possible values:draftissuedcanceled

  • vendorobject

    The vendor.

    Fields: id, code, name · details

  • branchobject

    The branch the vendor payment belongs to.

    Fields: id, name · details

  • paid_onstring (date)

    Date of the payment, on the workspace calendar.

  • methodenum

    How the money was paid.

    Possible values:cashbank_transfer

  • destinationobjectnullable

    Where the money came from.

    Fields: type, id, name · details

  • currencyobject

    The vendor payment's currency.

    Fields: code, name, sign · details

  • currency_amountstring (decimal)

    The payment in its own currency.

  • exchange_ratestring (decimal)

    Rate from the payment's currency to the functional currency.

  • base_amountstring (decimal)

    The payment in the functional currency.

  • unapplied_amountstring (decimal)

    What an advance (a payment issued against no invoice) still has to apply; 0 for a payment that settled invoices when issued.

  • approval_statusenumnullable

    Approval progress, when the workspace requires approval for the vendor payment.

    Possible values:not_requiredpendingapprovedrejected

  • applicationslist of objects

    Invoices settled when the payment was issued, then later applications of an advance.

    Show child fields
    • vendor_invoiceobjectnullable

      The vendor invoice paid.

      Fields: id, number, status · details

    • applied_amountstring (decimal)

      In the payment's currency.

    • applied_onstring (date)nullable

      Date the amount was applied.

    • statusenum

      posted, or reversed once unapplied.

      Possible values:postedreversed

  • notesstringnullable

    Notes on the vendor payment.

  • created_atstring (timestamp)

    When the vendor payment was created.

  • updated_atstring (timestamp)

    When the vendor payment last changed. updated_since syncs compare against this.

  • trashed_atstring (timestamp)nullable

    When the vendor payment was moved to Trash; null when it is not in Trash. Only updated_since syncs return trashed records.

Example
{
  "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
  "number": "VP-2026-00005",
  "status": "draft",
  "vendor": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "code": "VND-000001",
    "name": "Gulf Packaging"
  },
  "branch": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main branch"
  },
  "paid_on": "2026-10-31",
  "method": "cash",
  "destination": {
    "type": "treasury_location",
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "name": "Main vault"
  },
  "currency": {
    "code": "IQD",
    "name": "Iraqi Dinar",
    "sign": "IQD"
  },
  "currency_amount": "10000.00",
  "exchange_rate": "1.000000",
  "base_amount": "10000.00",
  "unapplied_amount": "10000.00",
  "approval_status": "not_required",
  "applications": [
    {
      "vendor_invoice": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "number": "INV-2026-00007",
        "status": "Example status"
      },
      "applied_amount": "10000.00",
      "applied_on": "2026-10-31",
      "status": "posted"
    }
  ],
  "notes": "Deliver before noon.",
  "created_at": "2026-10-31T09:15:00.000000Z",
  "updated_at": "2026-10-31T09:15:00.000000Z",
  "trashed_at": null
}

List purchase orders

GET/purchase-orders

Scope procurement.purchase_orders.read

Purchase order headers, without lines. Filter by date, status, vendor or branch.

Filters

  • issued_fromstring (date)

    First issue date, inclusive.

  • issued_tostring (date)

    Last issue date, inclusive.

  • statusstring

    Comma-separated statuses of the resource.

  • vendor_idstring (id)

    Only this vendor's records, by id.

  • branch_idstring (id)

    Only this branch's records, by id.

Returns

Returns a list of purchase order objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/purchase-orders" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "number": "PO-2026-00009",
      "status": "draft",
      "vendor": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VND-000001",
        "name": "Gulf Packaging"
      },
      "branch": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main branch"
      },
      "issued_on": "2026-10-31",
      "currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "exchange_rate": "1.000000",
      "total": "10000.00",
      "base_total": "10000.00",
      "approval_status": "not_required",
      "created_at": "2026-10-31T09:15:00.000000Z",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null,
      "receiving_status": "not_received",
      "invoice_status": "not_invoiced",
      "expected_on": "2026-10-31",
      "closed_at": null,
      "lines": [
        {
          "line_number": 1,
          "product": {
            "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
            "sku": "TEA-500",
            "barcode": "6260000000017",
            "name": "Black tea 500 g"
          },
          "description": "Example description.",
          "quantity": "2.0000",
          "unit_price": "10000.00",
          "tax_rate": {
            "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
            "code": "VAT15",
            "rate_percent": "15.0000",
            "type": "exclusive"
          },
          "tax_amount": "10000.00",
          "line_total": "10000.00",
          "received_quantity": "2.0000",
          "invoiced_quantity": "2.0000",
          "status": "pending"
        }
      ]
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a purchase order

GET/purchase-orders/{id}

Scope procurement.purchase_orders.read

One purchase order by id, with what has been received and invoiced on each line.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the purchase order object.

curl "https://your-workspace.reevio.app/api/public/v1/purchase-orders/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "number": "PO-2026-00009",
    "status": "draft",
    "vendor": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VND-000001",
      "name": "Gulf Packaging"
    },
    "branch": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main branch"
    },
    "issued_on": "2026-10-31",
    "currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "exchange_rate": "1.000000",
    "total": "10000.00",
    "base_total": "10000.00",
    "approval_status": "not_required",
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null,
    "receiving_status": "not_received",
    "invoice_status": "not_invoiced",
    "expected_on": "2026-10-31",
    "closed_at": null,
    "lines": [
      {
        "line_number": 1,
        "product": {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "sku": "TEA-500",
          "barcode": "6260000000017",
          "name": "Black tea 500 g"
        },
        "description": "Example description.",
        "quantity": "2.0000",
        "unit_price": "10000.00",
        "tax_rate": {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "code": "VAT15",
          "rate_percent": "15.0000",
          "type": "exclusive"
        },
        "tax_amount": "10000.00",
        "line_total": "10000.00",
        "received_quantity": "2.0000",
        "invoiced_quantity": "2.0000",
        "status": "pending"
      }
    ]
  }
}

List vendor invoices, debit notes and credit notes

GET/vendor-invoices

Scope procurement.vendor_invoices.read

issued_from / issued_to read the invoice date.

Filters

  • issued_fromstring (date)

    First issue date, inclusive.

  • issued_tostring (date)

    Last issue date, inclusive.

  • statusstring

    Comma-separated statuses of the resource.

  • vendor_idstring (id)

    Only this vendor's records, by id.

  • branch_idstring (id)

    Only this branch's records, by id.

  • typeenum

    Only this type of document.

    Possible values:invoicedebit_notecredit_note

Returns

Returns a list of vendor invoice objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/vendor-invoices" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "number": "VI-2026-00004",
      "status": "draft",
      "vendor": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VND-000001",
        "name": "Gulf Packaging"
      },
      "branch": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main branch"
      },
      "issued_on": "2026-10-31",
      "currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "exchange_rate": "1.000000",
      "total": "10000.00",
      "base_total": "10000.00",
      "approval_status": "not_required",
      "created_at": "2026-10-31T09:15:00.000000Z",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null,
      "type": "invoice",
      "kind": "supplier_invoice",
      "vendor_reference": "GP-88/2026",
      "payment_status": "unpaid",
      "match_status": "pending",
      "purchase_order": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "number": "INV-2026-00007",
        "status": "Example status"
      },
      "source_invoice": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "number": "INV-2026-00007",
        "status": "Example status"
      },
      "due_on": "2026-10-31",
      "paid": "10000.00",
      "balance": "10000.00",
      "lines": [
        {
          "line_number": 1,
          "product": {
            "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
            "sku": "TEA-500",
            "barcode": "6260000000017",
            "name": "Black tea 500 g"
          },
          "description": "Example description.",
          "quantity": "2.0000",
          "unit_price": "10000.00",
          "tax_rate": {
            "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
            "code": "VAT15",
            "rate_percent": "15.0000",
            "type": "exclusive"
          },
          "tax_amount": "10000.00",
          "line_total": "10000.00",
          "line_type": "Example line type",
          "unit_of_measure": "box"
        }
      ]
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a vendor invoice

GET/vendor-invoices/{id}

Scope procurement.vendor_invoices.read

One vendor invoice, debit note or credit note by id, with its lines.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the vendor invoice object.

curl "https://your-workspace.reevio.app/api/public/v1/vendor-invoices/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "number": "VI-2026-00004",
    "status": "draft",
    "vendor": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VND-000001",
      "name": "Gulf Packaging"
    },
    "branch": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main branch"
    },
    "issued_on": "2026-10-31",
    "currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "exchange_rate": "1.000000",
    "total": "10000.00",
    "base_total": "10000.00",
    "approval_status": "not_required",
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null,
    "type": "invoice",
    "kind": "supplier_invoice",
    "vendor_reference": "GP-88/2026",
    "payment_status": "unpaid",
    "match_status": "pending",
    "purchase_order": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "number": "INV-2026-00007",
      "status": "Example status"
    },
    "source_invoice": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "number": "INV-2026-00007",
      "status": "Example status"
    },
    "due_on": "2026-10-31",
    "paid": "10000.00",
    "balance": "10000.00",
    "lines": [
      {
        "line_number": 1,
        "product": {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "sku": "TEA-500",
          "barcode": "6260000000017",
          "name": "Black tea 500 g"
        },
        "description": "Example description.",
        "quantity": "2.0000",
        "unit_price": "10000.00",
        "tax_rate": {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "code": "VAT15",
          "rate_percent": "15.0000",
          "type": "exclusive"
        },
        "tax_amount": "10000.00",
        "line_total": "10000.00",
        "line_type": "Example line type",
        "unit_of_measure": "box"
      }
    ]
  }
}

List vendor payments

GET/vendor-payments

Scope procurement.vendor_payments.read

issued_from / issued_to read the payment date.

Filters

  • issued_fromstring (date)

    First issue date, inclusive.

  • issued_tostring (date)

    Last issue date, inclusive.

  • statusstring

    Comma-separated statuses of the resource.

  • vendor_idstring (id)

    Only this vendor's records, by id.

  • branch_idstring (id)

    Only this branch's records, by id.

Returns

Returns a list of vendor payment objects, a page at a time.

curl "https://your-workspace.reevio.app/api/public/v1/vendor-payments" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": [
    {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "number": "VP-2026-00005",
      "status": "draft",
      "vendor": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "code": "VND-000001",
        "name": "Gulf Packaging"
      },
      "branch": {
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main branch"
      },
      "paid_on": "2026-10-31",
      "method": "cash",
      "destination": {
        "type": "treasury_location",
        "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
        "name": "Main vault"
      },
      "currency": {
        "code": "IQD",
        "name": "Iraqi Dinar",
        "sign": "IQD"
      },
      "currency_amount": "10000.00",
      "exchange_rate": "1.000000",
      "base_amount": "10000.00",
      "unapplied_amount": "10000.00",
      "approval_status": "not_required",
      "applications": [
        {
          "vendor_invoice": {
            "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
            "number": "INV-2026-00007",
            "status": "Example status"
          },
          "applied_amount": "10000.00",
          "applied_on": "2026-10-31",
          "status": "posted"
        }
      ],
      "notes": "Deliver before noon.",
      "created_at": "2026-10-31T09:15:00.000000Z",
      "updated_at": "2026-10-31T09:15:00.000000Z",
      "trashed_at": null
    }
  ],
  "meta": {
    "page_size": 50,
    "has_more": false,
    "next_page_cursor": null
  }
}

Retrieve a vendor payment

GET/vendor-payments/{id}

Scope procurement.vendor_payments.read

One vendor payment by id, with the invoices it paid.

Parameters

  • idstring (id)required

    The record's id.

Returns

Returns the vendor payment object.

curl "https://your-workspace.reevio.app/api/public/v1/vendor-payments/01K2ZQ7M4X8N6P3R9T5V7W1Y2A" \
  -H "Authorization: Bearer $REEVIO_TOKEN"
Response
{
  "data": {
    "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
    "number": "VP-2026-00005",
    "status": "draft",
    "vendor": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "code": "VND-000001",
      "name": "Gulf Packaging"
    },
    "branch": {
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main branch"
    },
    "paid_on": "2026-10-31",
    "method": "cash",
    "destination": {
      "type": "treasury_location",
      "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
      "name": "Main vault"
    },
    "currency": {
      "code": "IQD",
      "name": "Iraqi Dinar",
      "sign": "IQD"
    },
    "currency_amount": "10000.00",
    "exchange_rate": "1.000000",
    "base_amount": "10000.00",
    "unapplied_amount": "10000.00",
    "approval_status": "not_required",
    "applications": [
      {
        "vendor_invoice": {
          "id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
          "number": "INV-2026-00007",
          "status": "Example status"
        },
        "applied_amount": "10000.00",
        "applied_on": "2026-10-31",
        "status": "posted"
      }
    ],
    "notes": "Deliver before noon.",
    "created_at": "2026-10-31T09:15:00.000000Z",
    "updated_at": "2026-10-31T09:15:00.000000Z",
    "trashed_at": null
  }
}