Get a customer invoice

One customer invoice with its lines, payments and matched bank transactions.

MCP tool pennylane_read → get_customer_invoice

read

Returns one invoice with every line, the payments Pennylane recorded and the bank transactions matched to it. A payment is one made through Pennylane, such as the payment link; a matched transaction is one made outside Pennylane, such as a bank transfer. An invoice sent through e-invoicing also returns its e-invoicing status.

Parameters

Parameters: get_customer_invoice
NameTypeDescription
invoice_id integer required integer Invoice ID from list_customer_invoices or create_customer_invoice.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "pennylane_read",
    "arguments": {
      "operation": "get_customer_invoice",
      "arguments": {
        "invoice_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": 118277,
    "invoice_number": "F-2026-0131",
    "customer": {
      "customer_id": 4012,
      "name": "Brasserie du Port"
    },
    "status": "late",
    "deadline": "2026-10-08",
    "amount": "1368.00",
    "remaining_amount_with_tax": "1368.00",
    "lines": [
      {
        "label": "Menu consulting, September",
        "quantity": 12,
        "unit": "hour",
        "unit_price": "95.00",
        "vat_rate": 20,
        "amount_before_tax": "1140.00"
      }
    ],
    "payments": [],
    "matched_transactions": [
      {
        "transaction_id": 5529874,
        "date": "2026-10-10",
        "label": "VIR BRASSERIE DU PORT F-2026-0131",
        "amount": "1368.00"
      }
    ]
  },
  "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.