Mediloop
DocsAPIsProcurement APIInvoices
Procurement API

Invoices

Retrieve procurement invoices and reconcile them against purchase orders and fulfilment records.

Lifecycle

Issued → reconciled

Reconciliation

PO + delivery matching

Totals

Tax-aware amounts

Documents

Invoice attachments

Invoice lifecycle

issued
matching
reconciled
settled

Invoice records

FieldDescriptionExample
invoice_numberSupplier invoice identifierINV-2026-00191
purchase_order_idLinked Mediloop POpo_42
supplier_idIssuersup_42
currencyInvoice currencyEUR
subtotal / tax / totalFinancial totals178 / 30.26 / 208.26
statusInvoice stateissued

Order reconciliation

Purchase order

Expected products, quantities and commercial terms.

Fulfilment

Actually delivered quantities and exceptions.

Invoice

Amounts billed and reconciliation outcome.

Tax & totals

AmountDescription
subtotalLine totals before taxes
discount_totalAgreement / commercial discounts
tax_totalApplicable taxes
shipping_totalShipping / handling when applicable
totalFinal invoice amount

Documents

Invoice documents can be referenced from the procurement invoice record while access control, audit and retention are handled by the Mediloop Files/Documents capability.

Example request

cURLJavaScriptPython
curl "https://api.mediloop.com/v1/procurement/invoices/inv_91" \
  -H "Authorization: Bearer $MEDILOOP_API_KEY" \
  -H "X-Tenant-Id: $TENANT_ID"
Get invoice
Response200 OK
{
  "id":"inv_91", "invoice_number":"INV-2026-00191", "purchase_order_id":"po_42",
  "status":"reconciled", "total":{"amount":208.26,"currency":"EUR"}
}