Tools
Purchaser MCP field reference and sample payloads (The Hotel Plus AUS, 210499). Snapshot Aug 2026, refreshed 9 Nov 2026 (prod).
get_* tools also return lines.
Coverage now includes org switch, delivery addresses, inventory,
stocktakes, transfers (read), recipes, catalogues,
invoice files, buy lists, and standard reports.
Most writes stay draft-only; exception: create_recipe_line is a live write.
List filters use snake_case. Entitlement may hide tools some users cannot use.
Never approve, place/send an order, or hard-delete through MCP.
Use the sidebar (or catalog links) to jump to a tool. Everything stays on this page.
Always allow (you can control): 39
Read / lookup tools. Default in Claude is Always allow; you can switch any of these to Ask or Never allow.
| Tool | Core fields (summary) | Best used for |
|---|---|---|
current_user | user id/email/name/isAdmin + org id/name | Confirm session org before any analysis |
list_requisitions | number, status, delivery, total, currency, requestor | Demand pipeline and approval backlog |
get_requisition | header + lines + dept/account + linked POs | Trace PR → lines / POs + GL coding |
list_purchase_orders | status, receivedStatus, invoicedStatus, totals, supplier + date filters | Send / receive / invoice lag + due dates |
get_purchase_order | tax totals, dept/account, requisition, lines | PO detail including product lines |
list_receiving_notes | status, receivedDate, value, lines count, PO/supplier | Open GRN / goods-in volume |
get_receiving_note | receiver, owner, destination, PO link, line items | Audit who received goods + line detail |
list_invoices | status, totals, supplier, flaggingMessages + invoice_number_like / snake_case filters | AP spend packs and flag queues |
get_invoice | tax, GL, flags, lineItems (match triad), linked PO | Flag diagnosis + PO vs invoice line diffs |
list_credit_notes | status, date, total, currency, supplier | Credit / AP cleanup queue |
get_credit_note | tax split, dept/account, linked invoice, line items | Credit coding vs invoice + lines |
list_statements | status, scope, date, totalAmount, linesTotal | Supplier period control |
get_statement | completedAt + header totals + statement lines | Close-out timestamps and line match |
list_buy_lists | id, title, buyListStrictMode, owner, department, account | Discover buy lists before hygiene checks |
get_buy_list | header + buyListProducts with availableQuotes | Buy-list product and quote hygiene |
list_reports | id, name, shortId, category, type, custom, owner | Discover runnable reports before export |
get_report | show* flags, availableColumns, defaultColumns, date ranges | Configure export_report correctly |
get_report_execution | id, status, downloadUrl, completedAt | Confirm export completion before download |
download_report_execution | id → downloadUrl + howToDownload | Get a fresh report download link |
list_products | id, brand, description, size/measure/pack/sell, category | Catalogue search with pack / UOM (not spend) |
list_suppliers | id, name, isVerified | Network directory (not spend rank) |
list_switchable_organisations | id, name, isCurrent | See which orgs you can activate without re-auth |
list_delivery_addresses | id, label, city, postal, country | Pick delivery_address_id for create_requisition |
list_stock_locations | id, name, type | Find where stock is held |
get_stock_location | header + stockLevels | On-hand at a location |
list_stock_items | product, totalBalanceQuantity, averageUnitValue | Find on-hand + WAC by product |
get_stock_item | totals + stockLevels by location | Where is this product held? |
list_stock_takes | status, periodEndingOn, location, creator | Find open or closed stocktakes |
get_stock_take | header + stockCounts | Inspect count lines and variance |
list_transfers | status, type, from/to locations | Trace stock movements |
get_transfer | header + transferItems | See quantities moved |
list_recipes | id, name, code, state, inventory, yield | Browse menus / recipes |
get_recipe | header + recipeLines | Inspect ingredients and portions |
list_catalogs | id, title, flags, supplier | Browse supplier catalogues |
get_catalog | title, flags, supplier, owner | Confirm catalogue settings |
list_catalog_products | sellUnitPrice, product, outOfStock | Browse catalogue lines / prices |
list_invoice_files | file id, label, contentType | See which invoice files are available |
get_invoice_file | invoice_id + optional file_id | Retrieve the supplier invoice PDF |
list_plugin_skills | name + full skill body | Load recommended skill instructions |
Needs permission (Ask): 14
Draft writes, report export, org switch, recipe line add, and document/catalogue imports. In Claude these need approval.
| Tool | Core fields (summary) | Best used for |
|---|---|---|
create_buy_list | title, optional department_id and account_id | Create a buy list in My Buy Lists |
create_buy_list_product | buy_list_id, product_id | Add a product to a buy list |
create_requisition | purchaser_organisation_id, delivery_address_id + optional header fields | Open a draft PR header |
create_requisition_line | requisition_id, product_id, supplier_id, quantity, unit_price | Add products to a draft PR |
export_report | report_id, output_format + optional filters/columns | Kick off a report the user can already run |
reorder_requisition | one source id + delivery_address_id + purchaser_organisation_id | Copy a prior order into a new draft |
update_requisition | id + optional sparse header fields | Correct draft PR header fields |
update_requisition_line | id (line) + optional sparse line fields | Correct draft PR line qty/price |
switch_organisation | organisation_id → current org | Change active org mid-session |
create_recipe_line | recipe_id, ingredient_id, portion [, measure] | Add ingredient to a recipe |
create_invoice_from_document | file_url [, supplier_id, document_number, currency] | Kick off invoice-from-PDF scanning |
create_catalogue_import | file_url, catalogue_id [, csv_separator, delete_unmatched_lines] | Import catalogue CSV |
create_self_managed_catalogue | supplier_id, title, and lines or file_url | Create a self-managed priced catalogue |
create_self_managed_suppliers | suppliers[]: name, country, supplier_number, optional business_number | Create self-managed suppliers in My Suppliers |
current_user
Session context — who is signed in and which organisation scopes every other tool.
Available fields
No input args. Two GraphQL roots returned together.
| Field | What it is | Sample data |
|---|---|---|
currentUser.id | Authenticated user id | 15587 |
currentUser.email | Login email | todd.heatly@marketboomer.com |
currentUser.fullName | Display name | Todd Heatly - P+ Admin |
currentUser.isAdmin | Admin flag for the user | true |
currentOrganisationUnit.id | Org that scopes every other tool | 210499 |
currentOrganisationUnit.name | Org display name | The Hotel Plus AUS |
How to use the data
- Confirm org first — Ask this before spend or backlog analysis so answers are not wrong-org.
- Audit trail — Log email + user id with any MCP-derived report.
- Admin check — Use
isAdminwhen deciding whether approval questions apply.
Live payload
Source: tools/payloads/current_user.json · The Hotel Plus AUS (210499).
{
"data": {
"currentUser": {
"id": 15587,
"email": "todd.heatly@marketboomer.com",
"fullName": "Todd Heatly - P+ Admin",
"isAdmin": true
},
"currentOrganisationUnit": {
"id": 210499,
"name": "The Hotel Plus AUS"
}
}
}
list_requisitions
List purchase requests — status, totals, requestor, delivery date.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Internal requisition id (use with get_requisition) | 12914538 |
requisitionNumber | Human number e.g. PR03404 | PR03404 |
status | OPEN, AWAITING_APPROVAL, APPROVED, DECLINED, CANCELLED, CLOSED | OPEN |
expectedDeliveryDate | Requested delivery date | 2026-08-21 |
totalValue | Header total value | 48.0 |
currency | Currency code | AUD |
purchaser.id / name | Purchaser org on the PR | 210499 / The Hotel Plus AUS |
requestor.id / fullName | Who raised the requisition | 20275 / Sandi Tognolini - P+ Admin |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Approval backlog — Filter
AWAITING_APPROVALto size the queue. - Demand by requestor — Group by
requestor.fullNamefor volume. - Drill-down — Pass
idtoget_requisitionfor lines, GL, and linked POs.
Live payload
Source: tools/payloads/list_requisitions.json · The Hotel Plus AUS (210499).
{
"data": {
"requisitions": {
"nodes": [
{
"id": 12914538,
"requisitionNumber": "PR03404",
"status": "OPEN",
"expectedDeliveryDate": "2026-08-21",
"totalValue": 48.0,
"currency": "AUD",
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"requestor": {
"id": 20275,
"fullName": "Sandi Tognolini - P+ Admin"
}
},
{
"id": 12908756,
"requisitionNumber": "PR03403",
"status": "OPEN",
"expectedDeliveryDate": "2026-08-20",
"totalValue": 70.0,
"currency": "AUD",
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"requestor": {
"id": 32217,
"fullName": "Mitch Hulst - P+ Admin"
}
},
{
"id": 12904962,
"requisitionNumber": "PR03402",
"status": "APPROVED",
"expectedDeliveryDate": "2026-08-19",
"totalValue": 3244.26,
"currency": "AUD",
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"requestor": {
"id": 9279,
"fullName": "Harriet Leijten - P+ Admin"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_requisition
Single requisition — header, GL coding, requisitionLines, and linked purchaseOrders.
requisitionLines (product, qty, price, supplier) and purchaseOrders when present. Sample PR03395 is awaiting approval with 4 lines.Available fields
Input: id (required). Linked POs paginate via purchase_orders_first / after.
| Field | What it is | Sample data |
|---|---|---|
id | Requisition id | 12888106 |
requisitionNumber | PR number | PR03395 |
status / state | Lifecycle status | AWAITING_APPROVAL / awaiting_approval |
reference | Free-text reference | Fruit & Veg Order |
currency | Currency | AUD |
expectedDeliveryDate | Delivery date | 2026-08-17 |
totalValue / totalValueExcludingTax / totalTaxValue | Header totals | 207.85 / 207.85 / 0.0 |
awaitingMyApproval | Whether current user must approve | false |
createdAt / updatedAt | Audit timestamps | 2026-08-16T16:29:56Z / 2026-08-16T16:31:10Z |
purchaser / owner / department / account | Org and GL coding | The Hotel Plus AUS · Food · Cost of Food |
requestor.id / fullName | Requestor | 9279 / Harriet Leijten - P+ Admin |
requisitionLines.nodes[] | Line qty, price, product, supplier | Carrot · qty 1 · 0.85 AUD (4 lines) |
purchaseOrders.nodes[] | Linked PO id / number (paginated) | [] (none linked yet) |
How to use the data
- Line review — Read product descriptions and supplier mix before approval.
- PR → PO trace — List linked
purchaseOrderNumbervalues when present. - Coding check — Confirm department + account before goods are ordered.
- Personal queue — Surface rows where
awaitingMyApprovalis true.
Live payload
Display shows first 2 line items only. Full JSON: tools/payloads/get_requisition.json.
{
"data": {
"requisition": {
"id": 12888106,
"requisitionNumber": "PR03395",
"status": "AWAITING_APPROVAL",
"state": "awaiting_approval",
"reference": "Fruit & Veg Order",
"currency": "AUD",
"expectedDeliveryDate": "2026-08-17",
"totalValue": 207.85,
"totalValueExcludingTax": 207.85,
"totalTaxValue": 0.0,
"awaitingMyApproval": false,
"createdAt": "2026-08-16T16:29:56Z",
"updatedAt": "2026-08-16T16:31:10Z",
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"owner": {
"id": 210499,
"name": "The Hotel Plus"
},
"department": {
"id": 210500,
"name": "Food"
},
"account": {
"id": 265555,
"name": "Cost of Food"
},
"requestor": {
"id": 9279,
"fullName": "Harriet Leijten - P+ Admin"
},
"requisitionLines": {
"nodes": [
{
"id": 69003622,
"quantity": 1.0,
"unitPrice": 0.85,
"total": 0.85,
"tax": 0.0,
"taxPercentage": 0.0,
"description": "Carrot 1 kg each of 1",
"purchaserProductCode": null,
"supplierProductCode": null,
"product": {
"id": 6479,
"itemDescription": "Carrot"
},
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
},
{
"id": 69003620,
"quantity": 5.0,
"unitPrice": 12.2,
"total": 61.0,
"tax": 0.0,
"taxPercentage": 0.0,
"description": "Banana Bell (Flower) Ea each of 1",
"purchaserProductCode": null,
"supplierProductCode": "BANBEL",
"product": {
"id": 2135038,
"itemDescription": "Banana Bell (Flower) Ea"
},
"supplier": {
"id": 188568,
"name": "Todd's Turnips"
}
}
],
"pageInfo": {
"endCursor": "NA",
"hasNextPage": false
},
"_displayNote": "… truncated for display (4 lines in full payload)"
},
"purchaseOrders": {
"nodes": [],
"pageInfo": {
"endCursor": null,
"hasNextPage": false
}
}
}
}
}
list_purchase_orders
List POs with send / receive / invoice status triad and supplier.
expected_delivery_date_from / expected_delivery_date_to, status_in, received_status_eq, invoiced_status_eq. Use for “POs due today” without client-side date filtering.Available fields
Filters use snake_case (e.g. expected_delivery_date_from, status_in: [SENT]).
| Field | What it is | Sample data |
|---|---|---|
id | PO id for get_purchase_order | 29903473 |
purchaseOrderNumber | PO number | PO02634 |
status | NOT_SENT, SENT, CLOSED, CANCELLED | SENT |
receivedStatus | NOT_RECEIVED, PARTLY_RECEIVED, FULLY_RECEIVED | FULLY_RECEIVED |
invoicedStatus | NOT_INVOICED, PARTLY_INVOICED, FULLY_INVOICED | FULLY_INVOICED |
expectedDeliveryDate / sentDate | Dates | 2026-08-11 / 2026-08-11 |
totalValue / currency | Header total | 33.0 / AUD |
supplier.id / name | Supplier on the PO | 210512 / Malcolm's Mushrooms |
purchaser.id / name | Purchaser org | 210499 / The Hotel Plus AUS |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- 3-way match backlog — SENT + FULLY_RECEIVED + NOT_INVOICED = goods in, invoice missing.
- Due today — Set expected_delivery_date_from and _to to today’s ISO date; optionally status_in SENT.
- Supplier volume — Count by
supplier.name.
Live payload
Source: tools/payloads/list_purchase_orders.json · The Hotel Plus AUS (210499).
{
"data": {
"purchaseOrders": {
"nodes": [
{
"id": 29903473,
"purchaseOrderNumber": "PO02634",
"status": "SENT",
"receivedStatus": "FULLY_RECEIVED",
"invoicedStatus": "FULLY_INVOICED",
"expectedDeliveryDate": "2026-08-11",
"sentDate": "2026-08-11",
"totalValue": 33.0,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 29902932,
"purchaseOrderNumber": "PO02632",
"status": "SENT",
"receivedStatus": "FULLY_RECEIVED",
"invoicedStatus": "FULLY_INVOICED",
"expectedDeliveryDate": "2026-08-11",
"sentDate": "2026-08-10",
"totalValue": 33.5,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 29287868,
"purchaseOrderNumber": "PO02574",
"status": "SENT",
"receivedStatus": "PARTLY_RECEIVED",
"invoicedStatus": "NOT_INVOICED",
"expectedDeliveryDate": "2026-06-19",
"sentDate": "2026-06-18",
"totalValue": 60.0,
"currency": "AUD",
"supplier": {
"id": 192310,
"name": "Maria's Chicken Ranch"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_purchase_order
Single PO — header finance fields plus lines (product, qty, receive/invoice status).
lines with product descriptions and receive/invoice status per line.Available fields
| Field | What it is | Sample data |
|---|---|---|
id / purchaseOrderNumber | PO identity | 29903473 / PO02634 |
status / receivedStatus / invoicedStatus | Lifecycle triad | SENT / FULLY_RECEIVED / FULLY_INVOICED |
cancelled | Cancelled flag | false |
currency / dates | Currency and delivery/sent dates | AUD / 2026-08-11 / 2026-08-11 |
totalValue / totalValueExcludingTax / totalTaxValue | Tax split | 33.0 / 33.0 / 0.0 |
outstandingTotal / receivingDocumentsCount | Open amount + GRN count | 0.0 / 1 |
supplier / purchaser / department / account | Parties and GL | Malcolm's Mushrooms / The Hotel Plus AUS / Outlet 2 |
requisition.id | Source requisition id | 12851477 |
lines.nodes[] | Qty, prices, product, receive/invoice status | Artichokes Jerusalem · qty 1 · 9.0 AUD |
How to use the data
- Line match — Compare ordered vs received quantities before chasing invoices.
- Header GL — Bucket by
account.namefor coarse commitment. - PR linkage — Follow
requisition.idback to get_requisition.
Live payload
Source: tools/payloads/get_purchase_order.json · The Hotel Plus AUS (210499).
{
"data": {
"purchaseOrder": {
"id": 29903473,
"purchaseOrderNumber": "PO02634",
"status": "SENT",
"receivedStatus": "FULLY_RECEIVED",
"invoicedStatus": "FULLY_INVOICED",
"cancelled": false,
"currency": "AUD",
"expectedDeliveryDate": "2026-08-11",
"sentDate": "2026-08-11",
"totalValue": 33.0,
"totalValueExcludingTax": 33.0,
"totalTaxValue": 0.0,
"outstandingTotal": 0.0,
"receivingDocumentsCount": 1,
"createdAt": "2026-08-11T00:29:14Z",
"updatedAt": "2026-08-11T00:29:18Z",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"department": {
"id": 210499,
"name": "The Hotel Plus"
},
"account": {
"id": 458125,
"name": "Outlet 2"
},
"requisition": {
"id": 12851477
},
"lines": {
"nodes": [
{
"id": 105983842,
"quantity": 1.0,
"receivedQuantity": 1.0,
"unitPrice": 9.0,
"lineTotal": 9.0,
"lineTax": 0.0,
"receivedStatus": "FULLY_RECEIVED",
"invoicedStatus": "FULLY_INVOICED",
"purchaserProductCode": null,
"supplierProductCode": "ARTJK",
"product": {
"id": 15511,
"itemDescription": "Artichokes Jerusalem Standard Quality"
}
},
{
"id": 105983843,
"quantity": 1.0,
"receivedQuantity": 1.0,
"unitPrice": 24.0,
"lineTotal": 24.0,
"lineTax": 0.0,
"receivedStatus": "FULLY_RECEIVED",
"invoicedStatus": "FULLY_INVOICED",
"purchaserProductCode": null,
"supplierProductCode": "BAN2",
"product": {
"id": 2133930,
"itemDescription": "Banana Cooking Ctn"
}
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
}
list_receiving_notes
List goods receipts — status, value, lines received count, linked PO/supplier.
Available fields
Max first = 25 for this list tool.
| Field | What it is | Sample data |
|---|---|---|
id | GRN / receiving document id | 11024946 |
receivingDocumentNumber | GR number | GR00675 |
status | OPEN, RECEIVED, CANCELLED, PROCESSING | RECEIVED |
receivedDate | Receive date | 2024-04-21T23:53:03Z |
receivingTotalValue | Header receiving value | 34.75 |
totalLinesReceived | Count of lines received | 1 |
purchaseOrder.id / purchaseOrderNumber | Linked PO | 21442839 / PO01201 |
purchaseOrder.supplier.id / name | Supplier via PO | 210512 / Malcolm's Mushrooms |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Incomplete receives — OPEN with zero receiving value flags unfinished goods-in.
- Accrual signal — High-value RECEIVED GRNs still NOT_INVOICED on the PO.
- Supplier volume — Group by nested supplier name.
Live payload
Source: tools/payloads/list_receiving_notes.json · The Hotel Plus AUS (210499).
{
"data": {
"receivingDocuments": {
"nodes": [
{
"id": 11024946,
"receivingDocumentNumber": "GR00675",
"status": "RECEIVED",
"receivedDate": "2024-04-21T23:53:03Z",
"receivingTotalValue": 34.75,
"totalLinesReceived": 1,
"purchaseOrder": {
"id": 21442839,
"purchaseOrderNumber": "PO01201",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
}
},
{
"id": 11024965,
"receivingDocumentNumber": "GR00676",
"status": "RECEIVED",
"receivedDate": "2024-04-21T23:54:55Z",
"receivingTotalValue": 34.75,
"totalLinesReceived": 1,
"purchaseOrder": {
"id": 21442839,
"purchaseOrderNumber": "PO01201",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
}
},
{
"id": 11025061,
"receivingDocumentNumber": "GR00677",
"status": "RECEIVED",
"receivedDate": "2024-04-22T00:07:48Z",
"receivingTotalValue": 53.1,
"totalLinesReceived": 4,
"purchaseOrder": {
"id": 21442838,
"purchaseOrderNumber": "PO01200",
"supplier": {
"id": 170915,
"name": "Marc Basil and Son"
}
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_receiving_note
Single GRN — receiver, PO link, and receivingDocumentLineItems.
receivingDocumentLineItems with product and quantities.Available fields
| Field | What it is | Sample data |
|---|---|---|
id / receivingDocumentNumber | GR identity | 11025061 / GR00677 |
status / receivedDate / physicalDate | Status and dates | RECEIVED / 2024-04-22T00:07:48Z / null |
receivingTotalValue / totalLinesReceived | Header value and line count | 53.1 / 4 |
cancelledAt / createdAt / updatedAt | Audit timestamps | null / 2024-04-22T00:07:48Z / 2024-04-22T00:07:47Z |
owner / destination / receiver | Who / where | The Hotel Plus AUS / null / Nathan Broadhead |
purchaseOrder.* | Linked PO + supplier | PO01200 / Marc Basil and Son |
receivingDocumentLineItems.nodes[] | Qty, price, product, progressStatus | Banana Lady Fnger Ctn · recv qty 1 · ALREADY_RECEIVED |
How to use the data
- Receiver audit — Attribute goods-in to
receiver.fullName. - Qty reconcile — Compare ordered vs received quantities on lines.
- Match prep — Confirm PO + supplier before invoice matching.
Live payload
Display shows first 2 line items only. Full JSON: tools/payloads/get_receiving_note.json.
{
"data": {
"receivingDocument": {
"id": 11025061,
"receivingDocumentNumber": "GR00677",
"status": "RECEIVED",
"receivedDate": "2024-04-22T00:07:48Z",
"physicalDate": null,
"receivingTotalValue": 53.1,
"totalLinesReceived": 4,
"cancelledAt": null,
"createdAt": "2024-04-22T00:07:48Z",
"updatedAt": "2024-04-22T00:07:47Z",
"owner": {
"id": 210499,
"name": "The Hotel Plus"
},
"destination": null,
"receiver": {
"id": 15499,
"fullName": "Nathan Broadhead"
},
"purchaseOrder": {
"id": 21442838,
"purchaseOrderNumber": "PO01200",
"status": "SENT",
"supplier": {
"id": 170915,
"name": "Marc Basil and Son"
}
},
"receivingDocumentLineItems": {
"nodes": [
{
"id": 37492186,
"quantity": 0.0,
"receivedQuantity": 1.0,
"unitPrice": 69.5,
"totalValue": 0.0,
"comment": null,
"temperature": null,
"vehicleTemperature": null,
"expiryDate": null,
"producedDate": null,
"progressStatus": "ALREADY_RECEIVED",
"product": {
"id": 2134042,
"itemDescription": "Banana Lady Fnger (Sugar) Ctn"
}
},
{
"id": 37492185,
"quantity": 1.0,
"receivedQuantity": 1.0,
"unitPrice": 6.2,
"totalValue": 6.2,
"comment": null,
"temperature": null,
"vehicleTemperature": null,
"expiryDate": null,
"producedDate": null,
"progressStatus": "FULLY_RECEIVING",
"product": {
"id": 2134945,
"itemDescription": "Apple Pink Lady Sml Kg"
}
}
],
"pageInfo": {
"endCursor": "NA",
"hasNextPage": false
},
"_displayNote": "… truncated for display (4 lines in full payload)"
}
}
}
}
list_invoices
List AP invoices — status, totals, supplier, and flaggingMessages on nodes.
flaggingMessages. Snake_case filters: state_in: [FLAGGED], invoice_date_from / _to, supplier_id_in, invoice_number_eq (exact) / invoice_number_like (contains). Sorts: total_value, supplier_name, invoice_date (payment-terms sort is not available).Available fields
Filters/sorts use snake_case. Use invoice_number_like for partial invoice-number matches. Drill to get_invoice for lines and PO match fields.
| Field | What it is | Sample data |
|---|---|---|
id | Invoice id for get_invoice | 22590390 |
invoiceNumber | Invoice number | INV-PO02637 |
status / workflowState | AP + workflow status | FLAGGED / flagged |
invoiceDate | Invoice date | 2026-08-18 |
totalValue / currency | Header total | 112.6 / AUD |
supplier.id / name | Billed supplier | 210512 / Malcolm's Mushrooms |
purchaser.id / name | Purchaser org | 210499 / The Hotel Plus AUS |
flaggingMessages[].type | Machine flag code | INVOICE_FLAGGED_LINE_BLOCKAGE |
flaggingMessages[].financeFlagSetting | ON_REGULAR / ON_SUPER | ON_REGULAR |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Exception queue — Filter FLAGGED and read
flaggingMessages.type. - Find by number — Pass
invoice_number_likefor contains, orinvoice_number_eqfor exact. - Spend by supplier — Sum totals by supplier per currency — do not mix FX.
- Drill — Pass id to
get_invoicefor lines and per-line flags.
Live payload
Source: tools/payloads/list_invoices.json · The Hotel Plus AUS (210499).
{
"data": {
"invoices": {
"nodes": [
{
"id": 22603844,
"invoiceNumber": "INV-PO02640",
"status": "PROCESSING",
"workflowState": "processing",
"invoiceDate": "2026-08-12",
"totalValue": 268.0,
"currency": "AUD",
"supplier": {
"id": 188568,
"name": "Todd's Turnips"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"flaggingMessages": []
},
{
"id": 22590390,
"invoiceNumber": "INV-PO02637",
"status": "FLAGGED",
"workflowState": "flagged",
"invoiceDate": "2026-08-11",
"totalValue": 112.6,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"flaggingMessages": [
{
"type": "INVOICE_FLAGGED_LINE_BLOCKAGE",
"values": [],
"financeFlagSetting": "ON_REGULAR"
}
]
},
{
"id": 22574554,
"invoiceNumber": "INV-PO02634",
"status": "RECONCILED",
"workflowState": "reconciled",
"invoiceDate": "2026-08-11",
"totalValue": 33.0,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"flaggingMessages": []
},
{
"id": 22573590,
"invoiceNumber": "INV-PO02625",
"status": "FLAGGED",
"workflowState": "flagged",
"invoiceDate": "2026-08-10",
"totalValue": 269.5,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"flaggingMessages": [
{
"type": "INVOICE_FLAGGED_LINE_BLOCKAGE",
"values": [],
"financeFlagSetting": "ON_REGULAR"
}
]
},
{
"id": 22573426,
"invoiceNumber": "INV-PO02632",
"status": "FLAGGED",
"workflowState": "flagged",
"invoiceDate": "2026-08-10",
"totalValue": 33.5,
"currency": "AUD",
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"flaggingMessages": [
{
"type": "INVOICE_ACCOUNT_BLOCKAGE",
"values": [],
"financeFlagSetting": "ON_SUPER"
}
]
}
],
"pageInfo": {
"endCursor": "NQ",
"hasNextPage": true
}
}
}
}
get_invoice
Single invoice — tax/GL, flaggingMessages, hasSuperFlag, lineItems with PO vs invoice match fields.
flaggingMessages, hasSuperFlag, linked purchaseOrder, and paginated lineItems with ordered / received / invoiced qty and prices for read-only PO vs invoice diffs. Sample INV-PO02637 is FLAGGED: Alfalfa Sprouts invoiced qty 10 vs received 8 (INVOICE_LINE_RECEIVED_QUANTITY_BLOCKAGE). MCP never creates credits or approves invoices.Available fields
Input: id (required). Paginate lines with line_items_first (default 25, max 50) and line_items_after from pageInfo.endCursor when hasNextPage is true. Line match fields: orderedQuantity, orderedPrice, invoicePrice, invoicePriceVariance, totalReceivedQuantity, totalInvoicedQuantity, receivedStatus.
| Field | What it is | Sample data |
|---|---|---|
id / invoiceNumber | Invoice identity | 22590390 / INV-PO02637 |
status / workflowState | AP status (OPEN, RECONCILED, PARKED, CANCELLED, FLAGGED, PROCESSED, PROCESSING) | FLAGGED / flagged |
invoiceDate / createdAt / updatedAt | Dates | 2026-08-11 · ISO timestamps |
reference / currency | Reference and currency | Giraffes are Cool / AUD |
totalValue / totalValueExTax / totalTaxValue | Tax split | 112.6 / 112.6 / 0.0 |
hasSuperFlag | Whether a super flag is present | false |
supplier / purchaser / department / account | Parties and GL | Malcolm's Mushrooms / The Hotel Plus AUS / Food / Cost of Food |
purchaseOrder.id / number / totalValue | Linked PO | 29917130 / PO02637 / 112.6 |
flaggingMessages[] | Header flag machine codes + financeFlagSetting | INVOICE_FLAGGED_LINE_BLOCKAGE |
lineItems.nodes[] | Qty, prices, product, receive status, line flags, PO line link | Alfalfa Sprouts · ordered 10 / received 8 / invoiced 10 |
lineItems.nodes[].flaggingMessages[] | Per-line flag codes and values | INVOICE_LINE_RECEIVED_QUANTITY_BLOCKAGE |
lineItems.nodes[].purchaseOrderLineItem | Linked PO line id / qty / unitPrice | id 106028883 · qty 10 · unitPrice 0.5 |
How to use the data
- Explain a flag — Read header + line
flaggingMessages.type(e.g.INVOICE_LINE_RECEIVED_QUANTITY_BLOCKAGEwith qty values). - PO vs invoice diffs — Compare
orderedQuantity/totalReceivedQuantity/totalInvoicedQuantityand prices on each line; followpurchaseOrderLineItem. A human raises credits. - Product spend — Aggregate by
lineItems.product.itemDescription. - Tax extract — Use ex-tax + tax header fields.
Live payload
Display shows first 2 line items only. Full JSON: tools/payloads/get_invoice.json.
{
"data": {
"invoice": {
"id": 22590390,
"invoiceNumber": "INV-PO02637",
"status": "FLAGGED",
"workflowState": "flagged",
"invoiceDate": "2026-08-11",
"createdAt": "2026-08-11T15:17:28Z",
"updatedAt": "2026-08-11T15:17:29Z",
"reference": "Giraffes are Cool",
"currency": "AUD",
"totalValue": 112.6,
"totalValueExTax": 112.6,
"totalTaxValue": 0.0,
"hasSuperFlag": false,
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"department": {
"id": 210500,
"name": "Food"
},
"account": {
"id": 265555,
"name": "Cost of Food"
},
"purchaseOrder": {
"id": 29917130,
"purchaseOrderNumber": "PO02637",
"totalValue": 112.6
},
"flaggingMessages": [
{
"type": "INVOICE_FLAGGED_LINE_BLOCKAGE",
"values": [],
"financeFlagSetting": "ON_REGULAR"
}
],
"lineItems": {
"nodes": [
{
"id": 75412521,
"quantity": 10.0,
"unitPrice": 0.5,
"invoicePrice": 0.5,
"lineTotal": 5.0,
"orderedQuantity": 10.0,
"orderedPrice": 0.5,
"invoicePriceVariance": 0.0,
"totalReceivedQuantity": 8.0,
"totalInvoicedQuantity": 10,
"receivedStatus": "PARTLY_RECEIVED",
"flaggingMessages": [
{
"type": "INVOICE_LINE_RECEIVED_QUANTITY_BLOCKAGE",
"values": {
"quantity": 10.0,
"which_quantity": "received",
"quantity_to_match": 8.0,
"threshold": 0.5
},
"financeFlagSetting": "ON_REGULAR"
}
],
"purchaseOrderLineItem": {
"id": 106028883,
"quantity": 10.0,
"unitPrice": 0.5
},
"product": {
"id": 16969,
"itemDescription": "Alfalfa Sprouts"
}
},
{
"id": 75412520,
"quantity": 1.0,
"unitPrice": 68.5,
"invoicePrice": 68.5,
"lineTotal": 68.5,
"orderedQuantity": 1.0,
"orderedPrice": 68.5,
"invoicePriceVariance": 0.0,
"totalReceivedQuantity": 1.0,
"totalInvoicedQuantity": 1,
"receivedStatus": "FULLY_RECEIVED",
"flaggingMessages": [],
"purchaseOrderLineItem": {
"id": 106028882,
"quantity": 1.0,
"unitPrice": 68.5
},
"product": {
"id": 23971,
"itemDescription": "Artichokes : Jerusalem"
}
}
],
"pageInfo": {
"endCursor": "NQ",
"hasNextPage": false
},
"_displayNote": "… truncated for display (5 lines in full payload)"
}
}
}
}
list_credit_notes
List supplier credits — status, date, total, currency, supplier.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Credit note id | 190700 |
creditNoteNumber | CN number | CN-20512 |
status / workflowState | AP status set | FLAGGED / flagged |
creditNoteDate | Credit date | 2026-08-03 |
totalValue / currency | Amount (sign can be negative) | 3.85 / AUD |
supplier.id / name | Supplier | 188568 / Todd's Turnips |
purchaser.id / name | Purchaser | 210499 / The Hotel Plus AUS |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- AP cleanup — OPEN credits sorted by absolute value.
- Net spend — Subtract credits from invoice supplier totals in the same currency.
- FX care — Keep USD credits separate from AUD nets.
Live payload
Source: tools/payloads/list_credit_notes.json · The Hotel Plus AUS (210499).
{
"data": {
"creditNotes": {
"nodes": [
{
"id": 159584,
"creditNoteNumber": "7313/99810767",
"status": "OPEN",
"workflowState": "open",
"creditNoteDate": "2025-12-31",
"totalValue": -47.26,
"currency": "USD",
"supplier": {
"id": 75635,
"name": "Bunnings Warehouse"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 159583,
"creditNoteNumber": "121572347",
"status": "OPEN",
"workflowState": "open",
"creditNoteDate": "2026-01-05",
"totalValue": 1815.65,
"currency": "AUD",
"supplier": {
"id": 329057,
"name": "Origin Energy Electricity Ltd"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 50432,
"creditNoteNumber": "CN-001",
"status": "RECONCILED",
"workflowState": "reconciled",
"creditNoteDate": "2022-08-25",
"totalValue": 152.02,
"currency": "AUD",
"supplier": {
"id": 210569,
"name": "Brad's Booze"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_credit_note
Single credit — tax split, GL, linked invoice, and creditNoteLineItems.
creditNoteLineItems with product and tax per line.Available fields
| Field | What it is | Sample data |
|---|---|---|
id / creditNoteNumber | CN identity | 168200 / CNTEST |
status / workflowState / creditNoteDate | Status and date | OPEN / open / 2026-06-03 |
reference / currency | Reference and currency | "" / AUD |
totalValue / totalValueExTax / totalTaxValue | Tax split | 110.0 / 100.0 / 10.0 |
supplier / purchaser / department / account | Parties and GL | Zeus Wholesale · F&B · Beverage COGS |
invoice.id / invoiceNumber | Linked invoice when present | null (no linked invoice) |
creditNoteLineItems.nodes[] | Qty, price, tax, product | Dumpling Chicken & Vegetable · qty 10 · 110.0 |
How to use the data
- Invoice link — Follow
invoice.invoiceNumberwhen present. - Line product mix — See what was credited at product level.
- Coding review — Compare department / account to the related invoice.
Live payload
Source: tools/payloads/get_credit_note.json · The Hotel Plus AUS (210499).
{
"data": {
"creditNote": {
"id": 159584,
"creditNoteNumber": "7313/99810767",
"status": "OPEN",
"workflowState": "open",
"creditNoteDate": "2025-12-31",
"reference": "",
"currency": "USD",
"totalValue": -47.26,
"totalValueExTax": -42.96,
"totalTaxValue": -4.3,
"createdAt": "2026-04-22T10:17:39Z",
"updatedAt": "2026-04-22T10:22:26Z",
"supplier": {
"id": 75635,
"name": "Bunnings Warehouse"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"department": {
"id": 210499,
"name": "The Hotel Plus"
},
"account": {
"id": 526702,
"name": "F&B - Beverage Cost of Goods"
},
"invoice": {
"id": 19903343,
"invoiceNumber": "7313/99810767"
},
"creditNoteLineItems": {
"nodes": [
{
"id": 235467,
"quantity": -1.0,
"unitPrice": 5.0,
"taxPercentage": 10.0,
"taxAmount": 0.5,
"lineTotal": -5.5,
"lineTax": -0.5,
"product": {
"id": 11286229,
"itemDescription": "PARCEL NATIONAL ECONOMY"
}
},
{
"id": 235466,
"quantity": -2.0,
"unitPrice": 18.9818,
"taxPercentage": 10.0,
"taxAmount": 1.8982,
"lineTotal": -41.76,
"lineTax": -3.7964,
"product": {
"id": 10675077,
"itemDescription": "Batteries 9V Duracell 6Pk Coppertop Mn1604B6"
}
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
}
list_statements
List supplier statements: status, scope, date, totalAmount, linesTotal.
purchaser_id_eq, supplier_id_eq, status_eq (open, reconciled, deleted), scope_eq, statement_date_from / statement_date_to, search_text_fuzzy. There is no is_deleted filter. Use status_eq: deleted for deleted statements.Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Statement id | 4162 |
statementNumber | Statement number | SUPP-040826-STMT-1 |
status / scope | Lifecycle and org scope | reconciled / single_org |
statementDate | Period date | 2026-06-30 |
totalAmount / linesTotal | Header vs lines totals | 745.75 / 913.69 |
supplier.id / name | Supplier | 210569 / Brad's Booze |
purchaser.id / name | Purchaser | 210499 / The Hotel Plus AUS |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Period control — Compare
totalAmountvslinesTotalfor gaps. - Supplier reconcile — Open statements first, then drill with get_statement.
Live payload
Source: tools/payloads/list_statements.json · The Hotel Plus AUS (210499).
{
"data": {
"statements": {
"nodes": [
{
"id": 4162,
"statementNumber": "SUPP-040826-STMT-1",
"status": "reconciled",
"scope": "single_org",
"statementDate": "2026-06-30",
"totalAmount": 745.75,
"linesTotal": 913.69,
"supplier": {
"id": 210569,
"name": "Brad's Booze"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 4161,
"statementNumber": "SUPP-042026-STMT-1",
"status": "reconciled",
"scope": "single_org",
"statementDate": "2026-04-30",
"totalAmount": 43941.41,
"linesTotal": 43941.41,
"supplier": {
"id": 210569,
"name": "Brad's Booze"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
},
{
"id": 4158,
"statementNumber": "SUPP-012026-STMT-1",
"status": "reconciled",
"scope": "single_org",
"statementDate": "2026-01-31",
"totalAmount": 3170.25,
"linesTotal": 3271.8,
"supplier": {
"id": 210569,
"name": "Brad's Booze"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_statement
Single statement — completedAt plus lines (invoice/credit references and match status).
lines with documentType, amounts, and match status.Available fields
| Field | What it is | Sample data |
|---|---|---|
id / statementNumber | Statement identity | 15391 / STMT-2026-05 |
status / scope / statementDate | Lifecycle | open / single_org / 2026-05-31 |
totalAmount / linesTotal | Totals | 0.0 / 695.2 |
completedAt / createdAt / updatedAt | Close-out timestamps | null / 2026-08-01T04:01:53Z |
supplier / purchaser | Parties | Todd's Turnips / The Hotel Plus AUS |
lines.nodes[] | reference, amount, documentType, dynamicStatus, matchedDocumentId | INV-20388 · 62.9 · invoice · pending (6 lines) |
How to use the data
- Outstanding lines — Filter
dynamicStatus = pending. - Force-reconciled audit — Inspect
forceReconciledrows. - Doc drill — Use matchedDocumentId with get_invoice / get_credit_note.
Live payload
Display shows first 2 line items only. Full JSON: tools/payloads/get_statement.json.
{
"data": {
"statement": {
"id": 4162,
"statementNumber": "SUPP-040826-STMT-1",
"status": "reconciled",
"scope": "single_org",
"statementDate": "2026-06-30",
"totalAmount": 745.75,
"linesTotal": 913.69,
"completedAt": "2026-08-01T03:55:18Z",
"createdAt": "2026-06-25T23:01:24Z",
"updatedAt": "2026-08-01T03:55:18Z",
"supplier": {
"id": 210569,
"name": "Brad's Booze"
},
"purchaser": {
"id": 210499,
"name": "The Hotel Plus"
},
"lines": {
"nodes": [
{
"id": 5484,
"reference": "PO02569",
"amount": 83.97,
"lineDate": "2026-06-19",
"documentType": "invoice",
"dynamicStatus": "pending",
"matchedDocumentId": 21965737,
"forceReconciled": false,
"attentionReasons": []
},
{
"id": 5485,
"reference": "PO02572",
"amount": 83.97,
"lineDate": "2026-06-19",
"documentType": "invoice",
"dynamicStatus": "pending",
"matchedDocumentId": 21965740,
"forceReconciled": false,
"attentionReasons": []
}
],
"pageInfo": {
"endCursor": "NQ",
"hasNextPage": false
},
"_displayNote": "… truncated for display (5 lines in full payload)"
}
}
}
}
list_buy_lists
List buy lists for the current organisation — title, strict mode, owner, department, account.
get_buy_list and inspect availableQuotes on products — empty or missing quotes mean no valid price.Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Buy list id for get_buy_list | 359278 |
title | Buy list name | Master Metric Products |
buyListStrictMode | Whether strict mode is on | false |
createdAt / updatedAt | Timestamps | 2026-07-31T06:03:27Z |
owner.id / name | Owning organisation | 210499 / The Hotel Plus AUS |
department.id / name | Department (may be null) | 210503 / Beverage |
account.id / codedName | Account coding (may be null) | 526702 / F&B Beverage COGS |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Find a list — Search by title or filter by owner, then open with get_buy_list.
- Prep reorder — Confirm the list before adding products or building a draft PR.
Live payload
Source: tools/payloads/list_buy_lists.json · The Hotel Plus AUS (210499).
{
"data": {
"buyLists": {
"nodes": [
{
"id": 359278,
"title": "Master Metric Products",
"buyListStrictMode": false,
"createdAt": "2026-07-31T06:03:27Z",
"updatedAt": "2026-07-31T06:03:27Z",
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"department": {
"id": 210503,
"name": "Beverage"
},
"account": {
"id": 526702,
"codedName": "1002025 - F&B - Beverage Cost of Goods"
}
},
{
"id": 342480,
"title": "Whisky Order",
"buyListStrictMode": false,
"createdAt": "2026-06-20T14:09:32Z",
"updatedAt": "2026-06-20T14:25:07Z",
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"department": {
"id": 210501,
"name": "Food & Beverage"
},
"account": {
"id": 526702,
"codedName": "1002025 - F&B - Beverage Cost of Goods"
}
},
{
"id": 328530,
"title": "CCG KIT",
"buyListStrictMode": false,
"createdAt": "2026-03-24T22:46:38Z",
"updatedAt": "2026-03-24T23:04:54Z",
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"department": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"account": {
"id": 526702,
"codedName": "1002025 - F&B - Beverage Cost of Goods"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_buy_list
Single buy list — header plus buyListProducts with availableQuotes.
availableQuotes have lost or missing quotes.Available fields
Page buyListProducts with buy_list_products_after when hasNextPage is true.
| Field | What it is | Sample data |
|---|---|---|
id / title | Buy list identity | 185623 / Kitchen - Fruit & Vegetables |
buyListStrictMode | Strict mode flag | false |
createdAt / updatedAt | Timestamps | 2022-04-20 · 2026-06-16 |
owner / department / account | Owner and coding | The Hotel Plus AUS · Food · Cost of Food |
buyListProducts.nodes[] | product, department, account, availableQuotes | product + availableQuotes (uuid, unitPrice, supplier) |
availableQuotes[] | uuid, unitPrice, supplier — empty means no valid price | empty/missing = no valid price |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Quote hygiene — Flag products where availableQuotes is empty or missing.
- Draft from list — Use product + supplier + unitPrice when calling create_requisition_line.
Live payload
Display shows first 2 line items only. Full JSON: tools/payloads/get_buy_list.json.
{
"data": {
"buyList": {
"id": 185623,
"title": "Kitchen - Fruit & Vegetables",
"buyListStrictMode": false,
"createdAt": "2022-04-20T00:27:16Z",
"updatedAt": "2026-06-16T22:55:48Z",
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"department": {
"id": 210500,
"name": "Food"
},
"account": {
"id": 265555,
"name": "Cost of Food"
},
"buyListProducts": {
"nodes": [
{
"id": 66393855,
"product": {
"id": 3,
"itemDescription": "Watermelon Seedless Fresh Whole Standard Quality",
"brand": "",
"productCode": "Pastèque Sans Pépins (6 kg) 1 kg"
},
"department": {
"id": 210502,
"name": "Rooms Division"
},
"account": {
"id": 265626,
"name": "Entertainment"
},
"availableQuotes": [
{
"uuid": "883290_66393860",
"unitPrice": 0.79,
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
}
]
},
{
"id": 22959894,
"product": {
"id": 13,
"itemDescription": "Lemon Thyme",
"brand": null,
"productCode": null
},
"department": null,
"account": null,
"availableQuotes": [
{
"uuid": "883290_74273787",
"unitPrice": 1.8,
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
}
]
}
],
"pageInfo": {
"endCursor": "NA",
"hasNextPage": true
},
"_displayNote": "… truncated for display (4 lines in full payload)"
}
}
}
}
list_reports
List standard report definitions the current user can run.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Report id for get_report / export_report | 53 |
name / reportName | Display name | My Products Report |
reportShortId | Short code e.g. MYPROD | MYPROD |
reportClassName | Internal report class | Reports_ProductsReport |
reportCategory / reportType | Category and purchaser/supplier type | other / purchaser |
custom | Whether the report is custom | false |
reportDescription | Human description (may be null) | Products the org has created |
owner.id / name | Report owner | 1 / PurchasePlus |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Pick a report — Filter by category/type, then call get_report for argument flags.
- Not BI invent — Only export reports the user can already run in PurchasePlus.
Live payload
Source: tools/payloads/list_reports.json · The Hotel Plus AUS (210499).
{
"data": {
"reports": {
"nodes": [
{
"id": 53,
"name": "My Products Report",
"reportName": "My Products Report",
"reportShortId": "MYPROD",
"reportClassName": "Reports_ProductsReport",
"reportCategory": "other",
"reportType": "purchaser",
"custom": false,
"reportDescription": "Report identifying all Products that the Organisation has created",
"owner": {
"id": 1,
"name": "PurchasePlus"
}
},
{
"id": 23,
"name": "Marketshare Report",
"reportName": "Marketshare Report",
"reportShortId": "SMKTSH",
"reportClassName": "Reports_SupplierMarketshareReport",
"reportCategory": "purchasing",
"reportType": "supplier",
"custom": false,
"reportDescription": "A powerful tool for analyzing your \"share of basket\" and customer procurement habits, by comparing won vs. lost quotes, for selected customers, in a selected date range. Discover sales opportunities and areas for growth. Viewable on screen or downloadable as a CSV.",
"owner": {
"id": 1,
"name": "PurchasePlus"
}
},
{
"id": 51,
"name": "My Suppliers Report",
"reportName": "My Suppliers Report",
"reportShortId": "MYSUPP",
"reportClassName": "Reports_GraphqlCustomReport",
"reportCategory": "purchasing",
"reportType": "purchaser",
"custom": true,
"reportDescription": "Report identifying current Suppliers added to your Organisation and whether they are Enabled",
"owner": {
"id": 1,
"name": "PurchasePlus"
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
get_report
Single report definition — argument flags, columns, and date-range defaults.
Available fields
Use these flags and columns when calling export_report.
| Field | What it is | Sample data |
|---|---|---|
id / name | Report identity | 53 / My Products Report |
show*Argument flags | Which export args apply | all false on this report |
availableColumns | Columns you may select | owner_name, pp_product_id, description, … |
defaultColumns | Default column set | same as available on this report |
defaultDateRange / maximumDateRange | Date-range defaults and limits | last_30_days / 1 year |
How to use the data
- Prep export — Read show* flags and pick selected_columns from availableColumns.
- Date limits — Respect maximumDateRange when choosing custom dates.
Live payload
Source: tools/payloads/get_report.json · The Hotel Plus AUS (210499).
{
"data": {
"report": {
"id": 53,
"name": "My Products Report",
"reportName": "My Products Report",
"reportShortId": "MYPROD",
"reportClassName": "Reports_ProductsReport",
"reportCategory": "other",
"reportType": "purchaser",
"reportDescription": "Report identifying all Products that the Organisation has created",
"showDateRangeArgument": false,
"showOwnershipArgument": false,
"showPurchaserIdsArgument": false,
"showStatusArgument": false,
"showSupplierIdsArgument": false,
"showTypeArgument": false,
"availableColumns": [
"owner_name",
"owner_id",
"pp_product_id",
"product_code",
"external_id",
"owner_code",
"canonical_product_id",
"brand",
"description",
"long_description",
"master",
"stock_item",
"unit_size",
"unit_measure",
"unit_name",
"pack_qty",
"pack_name",
"category",
"subcategory",
"inception_type",
"image_file_size_kb",
"created_at",
"updated_at"
],
"defaultColumns": [
"owner_name",
"owner_id",
"pp_product_id",
"product_code",
"external_id",
"owner_code",
"canonical_product_id",
"brand",
"description",
"long_description",
"master",
"stock_item",
"unit_size",
"unit_measure",
"unit_name",
"pack_qty",
"pack_name",
"category",
"subcategory",
"inception_type",
"image_file_size_kb",
"created_at",
"updated_at"
],
"defaultDateRange": "last_30_days",
"maximumDateRange": "1 year"
}
}
}
get_report_execution
Poll a report execution until completed, then call download_report_execution for a fresh URL.
download_report_execution for a fresh time-limited S3 downloadUrl (URL redacted in this guide).Available fields
downloadUrl is redacted in the sample JSON — poll live, then call download_report_execution for a fresh URL.
| Field | What it is | Sample data |
|---|---|---|
id | Required — execution id from export_report | 54253 (from export_report) |
reportNumber / status | Execution number and status | MYPROD00003 / completed |
downloadUrl | Presigned URL when completed (prefer download_report_execution) | presigned S3 URL when completed |
completedAt | Completion timestamp when ready | 2026-08-25T03:33:15Z |
outputFormat / dateRange | Export options used | — |
How to use the data
- Wait for completed — Retry until status is completed before downloading.
- Fresh URL — Call download_report_execution next — open the URL in the browser promptly.
Live payload
Source: tools/payloads/get_report_execution.json · The Hotel Plus AUS (210499).
{
"data": {
"execution": {
"id": 54253,
"reportNumber": "MYPROD00003",
"status": "completed",
"downloadUrl": "https://…presigned-s3…",
"outputFormat": "csv",
"dateRange": "last_30_days",
"completedAt": "2026-08-25T03:33:15Z",
"organisationHierarchy": "self",
"report": {
"id": 53,
"name": "My Products Report",
"reportClassName": "Reports_ProductsReport"
},
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
},
"user": {
"id": 15587,
"fullName": "Todd Heatly - P+ Admin"
}
}
}
}
download_report_execution
Return a fresh presigned downloadUrl for a completed report execution. Open it in the browser.
get_report_execution shows completed, call this tool for a fresh S3 downloadUrl plus howToDownload. Open the URL as a top-level browser navigation (address bar / open URL). Do not fetch() / XHR / WebFetch — S3 CORS blocks sandbox origins. Does not return file bytes or a preview.Available fields
downloadUrl is redacted in the sample JSON — call live for a fresh URL. If status is still processing, keep polling get_report_execution.
| Field | What it is | Sample data |
|---|---|---|
id | Required — execution id from export_report / get_report_execution | 54253 (from export_report / get_report_execution) |
reportNumber / status | Execution number and status | MYPROD00003 / completed |
downloadUrl | Fresh presigned S3 URL (Content-Disposition: attachment) | fresh presigned S3 URL |
howToDownload | Guidance: open in browser, do not sandbox-fetch | Open downloadUrl in the browser (no fetch / XHR) |
outputFormat | Export format used | csv |
How to use the data
- After completed — Pass the execution id once get_report_execution reports completed.
- Browser only — Paste or open downloadUrl in the browser — do not fetch from Claude's sandbox.
Live payload
Source: tools/payloads/download_report_execution.json · The Hotel Plus AUS (210499).
{
"data": {
"execution": {
"id": 54253,
"reportNumber": "MYPROD00003",
"status": "completed",
"downloadUrl": "https://…presigned-s3…",
"outputFormat": "csv",
"report": {
"id": 53,
"name": "My Products Report"
},
"howToDownload": "Open downloadUrl as a top-level browser navigation (address bar / open URL). Do not fetch() / XHR / WebFetch — S3 CORS blocks sandbox origins. The browser saves the file (Content-Disposition: attachment), same as the PurchasePlus UI."
}
}
}
list_products
Catalogue search — pack, measure, sell unit, category. Not a spend ranking.
itemMeasure g, itemSellPackName carton, itemSellQuantity 40, category Muffins / Bakery. Still no dedicated get_product — use this list or a nested document line product. Pair with invoice/PO gets for product spend.Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Product id | 3631135 |
brand | Brand (may be null) | Silly Yaks |
itemDescription | Product description | Muffin Cocktail : Blueberry Gluten Free Frozen |
itemSize | Unit size numeric | 40.0 |
itemMeasure | Unit of measure (e.g. g, ml) | g |
itemPackName | Pack name (may be null) | null |
itemSellPackName | Sell pack name (e.g. carton) | carton |
itemSellQuantity | Sell pack size | 40.0 |
productCode | Product code when present | null |
category.id / name | Subcategory | 109623 / Muffins |
category.parent.id / name | Parent category | 109445 / Bakery |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Find a SKU — Fuzzy search then confirm pack / measure / sell unit.
- Answer UOM questions — Read itemMeasure + itemSellPackName + itemSellQuantity (e.g. carton of 40 × 40 g).
- Not spend — Do not treat list order as top-spend ranking.
Live payload
Source: tools/payloads/list_products.json · The Hotel Plus AUS (210499).
{
"data": {
"products": {
"nodes": [
{
"id": 3631135,
"brand": "Silly Yaks",
"itemDescription": "Muffin Cocktail : Blueberry Gluten Free Frozen",
"itemSize": 40.0,
"itemMeasure": "g",
"itemPackName": null,
"itemSellPackName": "carton",
"itemSellQuantity": 40.0,
"productCode": null,
"category": {
"id": 109623,
"name": "Muffins",
"parent": {
"id": 109445,
"name": "Bakery"
}
}
},
{
"id": 923101,
"brand": null,
"itemDescription": "Dumpling Chicken & Vegetable : (60 Pieces)",
"itemSize": 500.0,
"itemMeasure": "g",
"itemPackName": null,
"itemSellPackName": "each",
"itemSellQuantity": 1.0,
"productCode": null,
"category": {
"id": 109532,
"name": "Finger Food",
"parent": {
"id": 109438,
"name": "Prepared Food and Meals"
}
}
},
{
"id": 1948334,
"brand": "Tooheys - Extra Dry",
"itemDescription": "Pale Lager : (10 Pack) [Australian]",
"itemSize": 330.0,
"itemMeasure": "ml",
"itemPackName": "can",
"itemSellPackName": "carton",
"itemSellQuantity": 3.0,
"productCode": null,
"category": {
"id": 109628,
"name": "Lager",
"parent": {
"id": 109446,
"name": "Beer"
}
}
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
list_suppliers
Supplier directory — id, name, isVerified. Not a spend ranking.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Supplier id | 290883 |
name | Supplier display name | CTY TNHH TV KT TM GIA VU |
isVerified | Verified network flag | false |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Lookup — Resolve supplier id before filtering invoices/POs.
- Verified filter — Use
isVerifiedwhen building preferred-supplier lists. - Accounts payable — Filter with
eligible_for_accounts_payable_system_id_eqto list suppliers this organisation can add to that accounts payable system. Suppliers already on the system are left out.
Live payload
Source: tools/payloads/list_suppliers.json · The Hotel Plus AUS (210499).
{
"data": {
"suppliers": {
"nodes": [
{
"id": 290883,
"name": "CTY TNHH TV KT TM GIA VU",
"isVerified": false
},
{
"id": 204189,
"name": "A & J Air Pty Ltd T/as Pacific Ice",
"isVerified": false
},
{
"id": 323558,
"name": "Shibli Sadik",
"isVerified": false
}
],
"pageInfo": {
"endCursor": "Mw",
"hasNextPage": true
}
}
}
}
list_switchable_organisations
Organisations you can switch into for this MCP session.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Organisation id | — |
name | Display name | — |
isCurrent | Whether this is the active MCP org | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Before switching — Call this, then pass an id to
switch_organisation. - Multi-site users — Confirm which property is current before stock or invoice questions.
Live payload
Source: tools/payloads/list_switchable_organisations.json · The Hotel Plus AUS (210499).
{
"data": {
"organisations": {
"nodes": [
{
"id": 210499,
"name": "The Hotel Plus AUS",
"isCurrent": true
},
{
"id": 210500,
"name": "Food",
"isCurrent": false
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
list_delivery_addresses
Delivery addresses available for draft requisitions.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Pass as delivery_address_id on create/reorder requisition | — |
label / city / stateProvince / postalCode / country | Address fields | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Draft PR — Resolve an address id before
create_requisitionorreorder_requisition. - Site matching — Match kitchen / dock labels to the receiving site.
Live payload
Source: tools/payloads/list_delivery_addresses.json · The Hotel Plus AUS (210499).
{
"data": {
"deliveryAddresses": {
"nodes": [
{
"id": 88421,
"label": "Main kitchen receiving",
"city": "Sydney",
"stateProvince": "NSW",
"postalCode": "2000",
"country": "AU"
},
{
"id": 88422,
"label": "Loading dock B",
"city": "Sydney",
"stateProvince": "NSW",
"postalCode": "2000",
"country": "AU"
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
list_stock_locations
Inventory stores / locations for the current organisation.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Location id for get_stock_location | — |
name | Location name | — |
type | Location type | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- On-hand — Pass id to
get_stock_locationfor nested stock levels. - Stocktakes — Match location before
list_stock_takes.
Live payload
Source: tools/payloads/list_stock_locations.json · The Hotel Plus AUS (210499).
{
"data": {
"stockLocations": {
"nodes": [
{
"id": 1201,
"name": "Dry store",
"type": "STORE"
},
{
"id": 1202,
"name": "Cold room",
"type": "STORE"
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
get_stock_location
One stock location with paginated stock levels (qty + product).
Available fields
Input: id. Optional stock_levels_first / stock_levels_after.
| Field | What it is | Sample data |
|---|---|---|
id / name / type | Location header | — |
stockLevels.nodes[] | balanceQuantity + product | — |
How to use the data
- Balance check — Sum balanceQuantity for a product at this location.
- Drill to item — Follow product id into
get_stock_itemfor WAC.
Live payload
Source: tools/payloads/get_stock_location.json · The Hotel Plus AUS (210499).
{
"data": {
"stockLocation": {
"id": 1201,
"name": "Dry store",
"type": "STORE",
"stockLevels": {
"nodes": [
{
"id": 9001,
"balanceQuantity": 24.0,
"product": {
"id": 6479,
"itemDescription": "Carrot"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": true
}
}
}
}
}
list_stock_items
Stock items (products held in inventory) with total balance and average unit value (WAC).
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Stock item id | — |
totalBalanceQuantity | On-hand across locations | — |
averageUnitValue | Weighted average cost | — |
product | Product identity / description | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Search — Filter by product name / location when supported.
- Costing — Use averageUnitValue with care — confirm currency in the UI if unsure.
Live payload
Source: tools/payloads/list_stock_items.json · The Hotel Plus AUS (210499).
{
"data": {
"stockItems": {
"nodes": [
{
"id": 5501,
"totalBalanceQuantity": 40.0,
"averageUnitValue": 1.25,
"product": {
"id": 6479,
"itemDescription": "Carrot",
"itemMeasure": "kg"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
get_stock_item
One stock item with balances by location.
Available fields
Input: id. Optional stock_levels_first / after.
| Field | What it is | Sample data |
|---|---|---|
id | Stock item id | — |
totalBalanceQuantity / averageUnitValue | Totals / WAC | — |
stockLevels.nodes[] | Per-location balances | — |
How to use the data
- Multi-location — Compare Dry store vs Cold room balances.
- Transfers — Use quantities when inspecting related transfers.
Live payload
Source: tools/payloads/get_stock_item.json · The Hotel Plus AUS (210499).
{
"data": {
"stockItem": {
"id": 5501,
"totalBalanceQuantity": 40.0,
"averageUnitValue": 1.25,
"product": {
"id": 6479,
"itemDescription": "Carrot"
},
"stockLevels": {
"nodes": [
{
"balanceQuantity": 24.0,
"stockLocation": {
"id": 1201,
"name": "Dry store"
}
},
{
"balanceQuantity": 16.0,
"stockLocation": {
"id": 1202,
"name": "Cold room"
}
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
}
list_stock_takes
Physical inventory counts (in progress or closed).
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Stock take id | — |
status / countStatus | Lifecycle | — |
periodEndingOn / closedAt | Period | — |
varianceValue | Header variance when present | — |
stockLocation | Location counted | — |
creator | Who started it | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Open counts — Filter IN_PROGRESS to see active takes.
- Drill-down — Pass id to
get_stock_takefor counted lines.
Live payload
Source: tools/payloads/list_stock_takes.json · The Hotel Plus AUS (210499).
{
"data": {
"stockTakes": {
"nodes": [
{
"id": 31001,
"status": "IN_PROGRESS",
"countStatus": "COUNTING",
"periodEndingOn": "2026-09-30",
"stockLocation": {
"id": 1201,
"name": "Dry store"
},
"creator": {
"id": 15587,
"fullName": "Todd Heatly - P+ Admin"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
get_stock_take
One stock take with paginated count lines (counted vs expected).
Available fields
Input: id. Optional stock_counts_first / after.
| Field | What it is | Sample data |
|---|---|---|
id / status / periodEndingOn | Header | — |
stockCounts.nodes[] | countedQuantity, expectedQuantity, variance, product | — |
How to use the data
- Variance review — Sort lines by absolute variance before investigating.
- Product follow-up — Open
get_stock_itemfor the product on large variances.
Live payload
Source: tools/payloads/get_stock_take.json · The Hotel Plus AUS (210499).
{
"data": {
"stockTake": {
"id": 31001,
"status": "IN_PROGRESS",
"periodEndingOn": "2026-09-30",
"stockLocation": {
"id": 1201,
"name": "Dry store"
},
"stockCounts": {
"nodes": [
{
"id": 1,
"countedQuantity": 20.0,
"expectedQuantity": 24.0,
"variance": -4.0,
"product": {
"id": 6479,
"itemDescription": "Carrot"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
}
list_transfers
Inventory transfers / movements (list and inspect only).
Available fields
MCP does not create, complete, or cancel transfers.
| Field | What it is | Sample data |
|---|---|---|
id | Transfer id | — |
status | Lifecycle | — |
transferType | LOCATION / variance / recipe / … | — |
fromLocation / toLocation | Endpoints | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- History — Filter by location or date when supported.
- Detail — Pass id to
get_transferfor line quantities.
Live payload
Source: tools/payloads/list_transfers.json · The Hotel Plus AUS (210499).
{
"data": {
"transfers": {
"nodes": [
{
"id": 77001,
"status": "COMPLETED",
"transferType": "LOCATION",
"fromLocation": {
"id": 1201,
"name": "Dry store"
},
"toLocation": {
"id": 1202,
"name": "Cold room"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
get_transfer
One transfer with paginated transfer items.
Available fields
Input: id. Optional transfer_items_first / after. Read-only.
| Field | What it is | Sample data |
|---|---|---|
id / status / transferType | Header | — |
transferItems.nodes[] | quantity + product | — |
How to use the data
- Line check — Confirm products and quantities between locations.
- No writes — Creating or completing transfers stays in the PurchasePlus UI.
Live payload
Source: tools/payloads/get_transfer.json · The Hotel Plus AUS (210499).
{
"data": {
"transfer": {
"id": 77001,
"status": "COMPLETED",
"transferType": "LOCATION",
"fromLocation": {
"id": 1201,
"name": "Dry store"
},
"toLocation": {
"id": 1202,
"name": "Cold room"
},
"transferItems": {
"nodes": [
{
"id": 1,
"quantity": 5.0,
"product": {
"id": 6479,
"itemDescription": "Carrot"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
}
list_recipes
Recipes visible in the current organisation hierarchy.
state (draft, active, archived) and inventory. Filter with state_in and inventory (true = inventory recipes only). create_recipe_line is a live write.Available fields
Filters (snake_case): search_text_fuzzy, product_id_eq, organisation_id_eq, tag_id_in, allergen_tag_id_in, recipe_section_id_in, recipe_section_uncategorised, state_in (draft, active, archived), inventory (true, false, or omit for both). Omit state_in, or send an empty list, to include every state.
| Field | What it is | Sample data |
|---|---|---|
id | Recipe id | — |
name / code | Identity | — |
state | draft, active, or archived | — |
inventory | True when the recipe is an inventory recipe | — |
measure / size / yieldQuantity | Yield | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Active menus — Pass
state_in: ["active"]to hide drafts and archived recipes. - Add ingredient — Use
create_recipe_lineafter confirming recipe_id + product id.
Live payload
Source: tools/payloads/list_recipes.json · The Hotel Plus AUS (210499).
{
"data": {
"recipes": {
"nodes": [
{
"id": 8801,
"name": "Garden salad",
"code": "GS01",
"measure": "portion",
"size": 1.0,
"yieldQuantity": 10.0,
"inventory": false,
"state": "active"
},
{
"id": 8802,
"name": "Chicken stock",
"code": "ST01",
"measure": "L",
"size": 5.0,
"yieldQuantity": 5.0,
"inventory": true,
"state": "draft"
}
],
"pageInfo": {
"endCursor": "Mg",
"hasNextPage": false
}
}
}
}
get_recipe
One recipe with ingredient lines.
state (draft, active, archived) and inventory. Ingredient lines are lineItems (up to 100).Available fields
Input: id (required).
| Field | What it is | Sample data |
|---|---|---|
id / name / code | Identity | — |
state | draft, active, or archived | — |
inventory | Inventory recipe flag | — |
measure / size / yieldQuantity | Yield | — |
lineItems.nodes[] | portion, measure, ingredient/product | — |
How to use the data
- Costing prep — List ingredients before adjusting portions.
- Add line — Pass recipe_id into
create_recipe_line.
Live payload
Source: tools/payloads/get_recipe.json · The Hotel Plus AUS (210499).
{
"data": {
"recipe": {
"id": 8801,
"name": "Garden salad",
"code": "GS01",
"measure": "portion",
"size": 1.0,
"yieldQuantity": 10.0,
"inventory": false,
"state": "active",
"lineItems": {
"nodes": [
{
"id": 1,
"portion": 0.05,
"measure": "kg",
"ingredient": {
"id": 6479,
"itemDescription": "Carrot"
}
}
]
}
}
}
}
list_catalogs
Priced catalogues visible to the current organisation.
Available fields
| Field | What it is | Sample data |
|---|---|---|
id | Catalogue id | — |
title | Name | — |
isContracted / isPublic / isSelfManaged | Flags | — |
supplier / owner | Parties | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Find a book — Search by supplier then open products.
- Lines — Pass id as catalogue_id to
list_catalog_products.
Live payload
Source: tools/payloads/list_catalogs.json · The Hotel Plus AUS (210499).
{
"data": {
"pricedCatalogues": {
"nodes": [
{
"id": 501,
"title": "Fresh produce — Malcolm's",
"isContracted": true,
"isPublic": false,
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
get_catalog
Catalogue header / settings (no product lines).
Available fields
Input: id. Use list_catalog_products for lines.
| Field | What it is | Sample data |
|---|---|---|
id / title / flags / externalId | Header | — |
supplier / owner | Parties | — |
How to use the data
- Before import — Confirm catalogue_id before
create_catalogue_import. - Contracted flag — Check isContracted when explaining pricing.
Live payload
Source: tools/payloads/get_catalog.json · The Hotel Plus AUS (210499).
{
"data": {
"pricedCatalogue": {
"id": 501,
"title": "Fresh produce — Malcolm's",
"isContracted": true,
"isPublic": false,
"isSelfManaged": false,
"supplier": {
"id": 210512,
"name": "Malcolm's Mushrooms"
},
"owner": {
"id": 210499,
"name": "The Hotel Plus AUS"
}
}
}
}
list_catalog_products
Paginated product lines on a priced catalogue.
search_text, product_id, category_ids, supplier_product_code, purchaser_product_code, is_master. Sorts: created_at, updated_at.Available fields
Requires catalogue_id. Optional first (1 to 100), after, filters, sorts.
| Field | What it is | Sample data |
|---|---|---|
id | Line id | — |
sellUnitPrice / outOfStock | Price and availability | — |
product | Product details | — |
pageInfo.endCursor | Cursor for next page | Mw |
pageInfo.hasNextPage | True when more nodes exist | true |
How to use the data
- Price check — Filter with
search_text, then compare sellUnitPrice. - Stock flag — Respect outOfStock before drafting a PR.
Live payload
Source: tools/payloads/list_catalog_products.json · The Hotel Plus AUS (210499).
{
"data": {
"pricedCataloguedProducts": {
"nodes": [
{
"id": 90001,
"sellUnitPrice": 12.5,
"outOfStock": false,
"product": {
"id": 6479,
"itemDescription": "Carrot"
}
}
],
"pageInfo": {
"endCursor": "MQ",
"hasNextPage": false
}
}
}
}
list_invoice_files
Files on an invoice (supplier PDF + attachments).
Available fields
Requires invoice_id.
| Field | What it is | Sample data |
|---|---|---|
id | Pass to get_invoice_file (or "supplier") | — |
label | Display name | — |
contentType | MIME type | — |
How to use the data
- Supplier PDF — Use file_id
supplieror omit for the main invoice document. - Attachments — User-added files appear alongside the supplier document.
Live payload
Source: tools/payloads/list_invoice_files.json · The Hotel Plus AUS (210499).
{
"data": {
"invoiceFiles": [
{
"id": "supplier",
"label": "Supplier invoice PDF",
"contentType": "application/pdf"
},
{
"id": "att-12",
"label": "Delivery docket scan",
"contentType": "image/jpeg"
}
]
}
}
get_invoice_file
Fetch one invoice file (supplier PDF as base64 by default; attachments may return a URL).
Available fields
Default file is the supplier document. Large base64 payloads — prefer opening download URLs when provided.
| Field | What it is | Sample data |
|---|---|---|
invoice_id | Required | — |
file_id | Optional — from list_invoice_files | — |
How to use the data
- Review — Pull the PDF before querying mismatched lines.
- Size — Do not paste huge base64 blobs back into chat — summarise or open the file.
Live payload
Source: tools/payloads/get_invoice_file.json · The Hotel Plus AUS (210499).
{
"data": {
"invoiceFile": {
"invoiceId": 412001,
"fileId": "supplier",
"contentType": "application/pdf",
"encoding": "base64",
"contentBase64": "…redacted…"
}
}
}
list_plugin_skills
Published PurchasePlus plugin skill texts for connectors without the native plugin.
Available fields
No input args. Call once per session when the client does not install purchaseplus-mcp skills.
| Field | What it is | Sample data |
|---|---|---|
name | Skill name | — |
body | Full markdown including frontmatter | — |
How to use the data
- First call — Connectors without the plugin should call this and follow the returned skill texts.
- Do not invent — Prefer these texts over guessing workflows.
Live payload
Source: tools/payloads/list_plugin_skills.json · The Hotel Plus AUS (210499).
{
"data": {
"skills": [
{
"name": "purchaseplus-invoice-triage",
"body": "---\nname: purchaseplus-invoice-triage\n---\n…skill text…"
}
]
}
}
create_buy_list
Live write. Create a buy list owned by the current organisation. It appears in My Buy Lists.
create_buy_list_product.Available fields
Returns the buy list id. Pass it as buy_list_id to create_buy_list_product.
| Field | What it is | Sample data |
|---|---|---|
title | Required. Name of the buy list | — |
department_id | Optional. Default department for requisitions from this list | — |
account_id | Optional. Default account for requisitions from this list | — |
How to use the data
- Create then add — Create the list, then add products with
create_buy_list_product. - No rename or delete — Rename or delete the list in the PurchasePlus UI.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_buy_list.json.
{
"title": "Kitchen - Fruit & Vegetables",
"department_id": 210503,
"account_id": 526702
}
create_buy_list_product
Draft write — add a product to a buy list. No delete via MCP.
Available fields
Input args only — example request shown below. No live create in this guide.
| Field | What it is | Sample data |
|---|---|---|
buy_list_id | Required — target buy list | 185623 |
product_id | Required — product to add | 6479 |
How to use the data
- Extend a list — Pass buy_list_id + product_id after confirming the product with list_products.
- No delete — Remove products in the PurchasePlus UI if needed.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_buy_list_product.json.
{
"buy_list_id": 185623,
"product_id": 6479
}
create_requisition
Create a draft requisition (status OPEN). Does not submit or approve.
Available fields
Input args only — example request shown below. No live create in this guide.
| Field | What it is | Sample data |
|---|---|---|
purchaser_organisation_id | Required — purchaser org id | 210499 |
delivery_address_id | Required — delivery address id | 999001 (placeholder) |
department_id | Optional department | optional |
account_id | Optional account | optional |
expected_delivery_date | Optional expected delivery date | optional ISO date |
reference | Optional free-text reference | MCP draft |
requisition_number | Optional custom PR number | optional |
tax_code_id | Optional tax code | optional |
origin_id / origin_type | Optional origin | optional |
advanced | Optional advanced mode flag | optional boolean |
source_application | Optional source application | optional |
How to use the data
- Start a draft — Pass org + delivery address, then add lines with create_requisition_line.
- Human review — Leave status OPEN — approve/send stays in the PurchasePlus UI.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_requisition.json.
{
"purchaser_organisation_id": 210499,
"delivery_address_id": 999001,
"reference": "MCP draft"
}
create_requisition_line
Add a line to a draft (OPEN) requisition.
Available fields
Input args only — example request shown below. No live create in this guide.
| Field | What it is | Sample data |
|---|---|---|
requisition_id | Required — target requisition | 12914538 |
product_id | Required — product | 6479 |
supplier_id | Required — supplier | 210512 |
quantity | Required — quantity | 1.0 |
unit_price | Required — unit price | 0.85 |
catalogued_product_id | Optional catalogued product / quote | optional |
account_id / department_id | Optional line coding | optional |
tax_percentage | Optional tax percentage | optional |
order_instruction | Optional line instruction | optional |
How to use the data
- Build the basket — Create header first, then add one line per product/supplier.
- Price hygiene — Prefer quoted unit_price from get_buy_list availableQuotes when ordering from a buy list.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_requisition_line.json.
{
"requisition_id": 12914538,
"product_id": 6479,
"supplier_id": 210512,
"quantity": 1.0,
"unit_price": 0.85
}
export_report
Start an async report export. Poll get_report_execution, then download_report_execution. No email delivery.
export_report → poll get_report_execution until completed → download_report_execution for a fresh presigned downloadUrl (My Products MYPROD00003). Open the URL in the browser — do not fetch from a sandbox. Email delivery is not available via MCP.Available fields
Input args only — example request shown below. Live completion shape is under get_report_execution; fresh URL under download_report_execution.
| Field | What it is | Sample data |
|---|---|---|
report_id | Required — report to run | 53 |
output_format | Required — csv | pdf | json | csv | pdf | json |
date_range / start_date / end_date | Optional date filters | optional (e.g. last_30_days) |
organisation_hierarchy | Optional self / ancestors / descendants | self | self_and_ancestors | self_and_descendants |
selected_columns | Optional column names | optional column names |
selected_* filters | Optional purchaser/supplier/status/type/user/location ids | optional id / status filters |
How to use the data
- Start then poll — Call export_report, then poll get_report_execution with the returned id.
- Then download — When completed, call download_report_execution and open downloadUrl in the browser.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/export_report.json.
{
"report_id": 53,
"output_format": "csv",
"date_range": "last_30_days",
"organisation_hierarchy": "self",
"selected_columns": [
"owner_name",
"pp_product_id",
"description",
"brand"
]
}
reorder_requisition
Repeat a previous order into a new OPEN draft.
Available fields
Input args only — example request shown below. No live create in this guide.
| Field | What it is | Sample data |
|---|---|---|
invoice_id | purchase_order_id | requisition_id | Exactly one source document | exactly one — e.g. requisition_id 12888106 |
delivery_address_id | Required — delivery address | 999001 (placeholder) |
purchaser_organisation_id | Required — purchaser org | 210499 |
department_id / account_id | Optional GL | optional |
expected_delivery_date / reference | Optional header | optional |
requisition_number | Optional custom number | optional |
How to use the data
- Repeat last order — Pass a prior requisition_id (or PO / invoice) to copy lines into a new draft.
- Human finish — Review the new OPEN PR in PurchasePlus before any approval or send.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/reorder_requisition.json.
{
"requisition_id": 12888106,
"delivery_address_id": 999001,
"purchaser_organisation_id": 210499,
"reference": "MCP reorder draft"
}
update_requisition
Sparse-patch header fields on a draft/open requisition.
Available fields
Input args only — example request shown below. No live update in this guide.
| Field | What it is | Sample data |
|---|---|---|
id | Required — requisition id | 12914538 |
account_id / department_id | Optional sparse GL | optional sparse |
delivery_address_id | Optional delivery address | optional |
expected_delivery_date | Optional delivery date | 2026-08-28 |
reference | Optional reference | MCP draft update |
currency | Optional currency | optional AUD |
tax_code_id / advanced | Optional tax / advanced | optional |
How to use the data
- Fix coding — Patch department/account before human approval.
- Change date/ref — Update expected delivery or reference without recreating the PR.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/update_requisition.json.
{
"id": 12914538,
"reference": "MCP draft update",
"expected_delivery_date": "2026-08-28"
}
update_requisition_line
Correct a line on a draft requisition. No delete via MCP.
Available fields
Input args only — example request shown below. No live update in this guide.
| Field | What it is | Sample data |
|---|---|---|
id | Required — requisition line id | 69003622 (line id) |
quantity | Optional quantity | 2.0 |
unit_price | Optional unit price | 0.85 |
product_id / supplier_id | Optional product / supplier | optional |
catalogued_product_id | Optional catalogued product | optional |
account_id / department_id | Optional line coding | optional |
tax_percentage / tax_code_id | Optional tax | optional |
order_instruction | Optional instruction | optional |
requisition_id | Optional parent requisition | optional |
How to use the data
- Qty / price fix — Patch quantity or unit_price on the line id from get_requisition.
- No delete — To remove a line, use the PurchasePlus UI — MCP has no delete.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/update_requisition_line.json.
{
"id": 69003622,
"quantity": 2.0,
"unit_price": 0.85
}
switch_organisation
Set the active organisation for later tool calls on this session.
Available fields
Write/session mutation. Needs Claude Ask approval.
| Field | What it is | Sample data |
|---|---|---|
organisation_id | Required — from list_switchable_organisations | — |
How to use the data
- Workflow — list_switchable_organisations → switch_organisation → continue with stock/invoice tools.
- Permissions — Same Pundit can_switch rules as the PurchasePlus UI.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/switch_organisation.json.
{
"data": {
"switchOrganisation": {
"ok": true,
"currentOrganisationUnit": {
"id": 210500,
"name": "Food"
}
}
}
}
create_recipe_line
Add an ingredient line to a recipe — live write (same as Recipes UI).
Available fields
Live mutation — not a draft. Needs Claude Ask approval.
| Field | What it is | Sample data |
|---|---|---|
recipe_id | Required | — |
ingredient_id | Required product/ingredient id | — |
portion | Required quantity | — |
measure | Optional ItemMeasurementEnum | — |
ingredient_type / yield_percentage | Optional | — |
How to use the data
- Confirm first — Show the recipe + ingredient to the user before approving.
- No delete here — Removing lines stays in the PurchasePlus Recipes UI.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_recipe_line.json.
{
"recipe_id": 8801,
"ingredient_id": 6479,
"portion": 0.05,
"measure": "kg"
}
create_invoice_from_document
Start create-invoice-from-uploaded-document (AI scanning job) via HTTPS file_url.
Available fields
Write. Needs Ask approval. Same path as the app Invoice AI scanning job.
| Field | What it is | Sample data |
|---|---|---|
file_url | Required HTTPS PDF URL — never paste bytes | — |
supplier_id / document_number / currency | Optional | — |
How to use the data
- HTTPS only — Host the PDF at an HTTPS URL the server can fetch.
- Poll progress — Follow up in the PurchasePlus UI / process documents as today.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_invoice_from_document.json.
{
"file_url": "https://example.com/invoice.pdf",
"supplier_id": 210512,
"currency": "AUD"
}
create_catalogue_import
Start priced-catalogue CSV import via HTTPS file_url.
Available fields
Write. Needs Ask approval. Do not paste CSV bytes.
| Field | What it is | Sample data |
|---|---|---|
file_url | Required HTTPS CSV URL | — |
catalogue_id | Required | — |
csv_separator / delete_unmatched_lines | Optional | — |
How to use the data
- Confirm catalogue — get_catalog first, then import.
- Destructive option — delete_unmatched_lines removes unmatched lines — treat as dangerous.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_catalogue_import.json.
{
"file_url": "https://example.com/catalogue.csv",
"catalogue_id": 501,
"csv_separator": ","
}
create_self_managed_catalogue New
Create a self-managed priced catalogue for a supplier you already trade with.
product_id and that product is used. Otherwise the line matches on supplier code or description. Pass each line's tax when the source has it. A percentage such as 10 is stored as that percentage. 0 or tax free is stored as tax free. Unit prices exclude tax and freight. Do not include freight or invoice totals. Unmatched lines, and a product id that cannot be used, are reported and skipped with no fallback. This does not replace create_catalogue_import.Available fields
Provide lines or file_url, not both.
| Field | What it is | Sample data |
|---|---|---|
supplier_id | Required. A supplier you already trade with | — |
title | Required. Catalogue title | — |
lines[].product_id | Optional. When present, that product is used. Code and description are not used to match | — |
lines[].description | Product description from the file. Not used when product_id is present | — |
lines[].unit_price | Unit price, excluding tax and freight | — |
lines[].tax | Optional. Percentage from the source line, or tax free. Omit when the source line has no tax | — |
lines[].supplier_code | Supplier item code. Not used to match when product_id is present | — |
file_url | HTTPS CSV or Excel URL, instead of lines. May include product_id and tax columns | — |
is_contracted / is_public / external_id | Optional | — |
How to use the data
- Known product — Pass product_id when you already know the product. An id that cannot be used is left off, with no fallback to code or description.
- Tax on the line — Pass the tax from the source line. Omit it only when that line has no tax.
- Match rule — Without a product id, the product must belong to that supplier, your organisation, or the platform catalogue. Otherwise the line is skipped.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_self_managed_catalogue.json.
{
"supplier_id": 210512,
"title": "Malcolm's Mushrooms",
"lines": [
{
"supplier_code": "CAR-1KG",
"description": "Carrot",
"product_id": 6479,
"unit_price": 2.4,
"tax": 10
}
]
}
create_self_managed_suppliers New
Live write. Create one or more self-managed suppliers for the current organisation. Same result as Create a New Self Managed Supplier.
Available fields
Needs permission to manage suppliers. No approve, and no supplier deactivation. Duplicate responses include a source: My Suppliers, Supplier Directory, or another row in the same call.
| Field | What it is | Sample data |
|---|---|---|
suppliers[].name | Required | — |
suppliers[].country | Required. ISO country code, for example AU | — |
suppliers[].supplier_number | Required. Stored as the vendor code | — |
suppliers[].business_number | Optional. Saved on the supplier | — |
How to use the data
- Several at once — Send a vendor list in one call. Each row needs name, country, and supplier number.
- Already connected — If the duplicate source is My Suppliers, the supplier is already connected. Do not create it again.
- Directory only — If the duplicate source is Supplier Directory, connect that supplier from the directory instead.
Example request
Example tool arguments only — not a live mutate. Source: tools/payloads/create_self_managed_suppliers.json.
{
"suppliers": [
{
"name": "Joe's Fish Market",
"country": "AU",
"supplier_number": "V001",
"business_number": "12345678901"
}
]
}