Get document

One document with its lines, totals, status and reminders already sent.

MCP tool lexware_office_read → get_document

read

Returns one invoice or quote: customer, dates, line items, net, tax and gross totals, status, open amount and the reminders already sent. A draft has no number yet; the number appears when the document is finalised.

Parameters

Parameters: get_document
NameTypeDescription
document_id string required string Document ID from list_documents or create_invoice.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lexware_office_read",
    "arguments": {
      "operation": "get_document",
      "arguments": {
        "document_id": "document_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "document_id": "d_9c31be",
    "type": "invoice",
    "number": "RE1031",
    "status": "overdue",
    "contact": {
      "contact_id": "c_4f2a91",
      "name": "Nordlicht Design GmbH",
      "email": "buchhaltung@nordlicht.example"
    },
    "date": "2026-09-02",
    "due_date": "2026-09-16",
    "lines": [
      {
        "name": "Consulting, September",
        "quantity": 10,
        "unit_price_net": 95,
        "tax_rate": 19
      }
    ],
    "total_net": 950,
    "total_tax": 180.5,
    "total_gross": 1130.5,
    "open_amount": 1130.5,
    "currency": "EUR",
    "reminders": []
  },
  "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.