{"id":119663,"plugin_id":"plugin_asdk_app_6b05e90d9338819185f4b0da432f732f","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T18:15:10.845Z","digest":"b14b9d171aba636cb520b05f16b55450c8c007504590f236cf6158fa3e717b4d","against":null,"payload":{"description":"Check the status of e-invoices and other documents sent or received through GoRoute, explain a failed delivery, resend it, fetch the PDF or XML, email a copy, and count activity for a period. Use when the user asks whether an invoice was delivered, what failed, for a copy of a document, or how many documents were sent or received.","included_files":[],"name":"track-documents","skill_md_contents":"---\nname: track-documents\ndescription: Check the status of e-invoices and other documents sent or received through GoRoute, explain a failed delivery, resend it, fetch the PDF or XML, email a copy, and count activity for a period. Use when the user asks whether an invoice was delivered, what failed, for a copy of a document, or how many documents were sent or received.\n---\n\nUse this skill for questions about documents that already exist in GoRoute.\n\n## Finding documents\n\n- A specific document: `get_transaction` with its invoice number or id. It returns the parties, amounts, delivery status, timestamps, the error if delivery failed, and a PDF link.\n- A list: `list_transactions`, newest first. Filter by `direction` (sent or received), `status`, `invoice_number`, `document_type` and dates in ISO 8601. To filter by company, first find its Peppol identifier with `search_saved_parties` or `lookup_participant`; the `participant` filter takes an identifier, not a name.\n- Counts for a period: `get_transaction_stats` with `date_from` and `date_to`. Sent documents are sales (accounts receivable); received documents are purchases (accounts payable).\n\n## Acting on a document\n\n- **Failed delivery:** read the error from `get_transaction` and explain it in plain words. If the cause is fixed or was temporary, offer `resend_transaction`; resend only when the user agrees.\n- **PDF:** `get_invoice_pdf`. The link is valid for 15 minutes; say so.\n- **XML:** `get_document_xml`.\n- **Email a copy:** `email_document` with the addresses the user gives. Confirm the addresses first.\n\n## What to tell the user\n\nAnswer the question first (for example \"All five were delivered\" or \"INV-204 failed: the buyer is not registered on the network\"), then the supporting detail: number, counterparty, date, amount, status.\n\n## Rules\n\n- Report statuses exactly as returned. \"Queued\" or \"submitted\" is not \"delivered\", and \"delivered\" says nothing about payment.\n- Sent and received documents are records and cannot be deleted through this plugin. If the user asks to delete them, explain this.\n- Show only this organisation's documents. If asked about another company's documents, explain that the connection sees only the signed-in account.\n- If nothing matches, say so and suggest a wider date range or a different filter. Do not present unrelated documents as the answer.\n- The user's explicit instructions take priority over these steps.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}