Get invoice

One sales invoice with lines, tax, payments applied and activity history.

MCP tool myob_read → get_invoice

read

Returns one invoice with every line, the tax, the balance due and the payments already applied. The activity history shows whether it was emailed and when the customer opened the email. Read it before record_invoice_payment so a short payment is not mistaken for a full one.

Parameters

Parameters: get_invoice
NameTypeDescription
invoice_number string required string Invoice number from list_invoices or create_invoice.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "myob_read",
    "arguments": {
      "operation": "get_invoice",
      "arguments": {
        "invoice_number": "invoice number"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_number": "00000139",
    "customer_id": "CUS000014",
    "customer": "Coast Hardware",
    "status": "open",
    "date": "2026-09-02",
    "due_date": "2026-09-16",
    "lines": [
      {
        "description": "Shopfront signage",
        "quantity": 1,
        "amount": 1200,
        "tax_code": "GST"
      }
    ],
    "subtotal": 1200,
    "tax": 120,
    "total": 1320,
    "payments_applied": [],
    "balance_due": 1320,
    "activity": [
      "Emailed 2026-09-02",
      "Viewed by customer 2026-09-03"
    ]
  },
  "isError": false
}

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.