Get purchase invoice

One purchase invoice with rows, stamps, comments and duplicate warnings.

GET https://cotlet.dev/api/v1/procountor/invoices/{invoice_id}/purchase-invoice

read

Returns supplier, amounts, dates, the verification and approval stamps already on the invoice, the invoice comments and any duplicate warning that matches by dates, invoice number, bank reference, sender or total sum. Use it before verify_purchase_invoice or approve_purchase_invoice.

Parameters

Parameters: get_purchase_invoice
NameTypeDescription
invoice_id string required string Purchase invoice ID from list_purchase_invoices.

Request

cURL
curl https://cotlet.dev/api/v1/procountor/invoices/invoice_8c41d2/purchase-invoice \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("procountor", "get_purchase_invoice", {"invoice_id":"invoice_8c41d2"})
Node.js
const result = await cotlet.call('procountor', 'get_purchase_invoice', {"invoice_id":"invoice_8c41d2"});
CLI
cotlet call procountor get_purchase_invoice --data '{"invoice_id":"invoice_8c41d2"}'

Example response

JSON

{
  "invoice_id": "pi_77120",
  "supplier": "Papertrail Oy",
  "invoice_number": "PT-5521",
  "status": "received",
  "total": 372,
  "currency": "EUR",
  "due_date": "2026-10-30",
  "stamps": [],
  "comments": [],
  "duplicate_warning": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.