Wrapp MCP by usefulapi
v1.4.0Read invoices, PDFs and myDATA status; save and delete draft invoices in Wrapp.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wrapp_get_account Get account details
Get the Wrapp account details: the primary user, plan name, whether invoicing and API access are active, and the myDATA state. Good first call. Wrapp API: GET /tenant_details.
wrapp_list_branches List branches
List the branches (business locations) of the company, with their ids. Wrapp API: GET /branches.
wrapp_list_billing_books List billing books
List the billing books (numbered document series) with their ids. Each invoice belongs to one billing book. Wrapp API: GET /billing_books.
wrapp_list_vat_exemptions List VAT exemption reasons
List the VAT exemption reasons that an invoice line can cite. Wrapp API: GET /vat_exemptions.
wrapp_search_vat Look up a company by VAT number
Look up a company by its VAT number and country, to fill in a customer's name and address. Wrapp API: GET /vat_search.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | Country ISO 2 code, for example EL for Greece. |
vat * | string | The company VAT number, without the country prefix. |
wrapp_list_invoices List invoices
List issued invoices (or drafts), 50 per page, with their full myDATA-formatted details. Filter by issue date range. Wrapp API: GET /invoices/find_all_invoices.
| Parameter | Type | Description |
|---|---|---|
end_date | string | Only invoices issued on or before this date. |
page | integer | Page number (default 1). |
start_date | string | Only invoices issued on or after this date. |
status | string | Set to draft to list drafts instead of issued invoices. |
wrapp_get_invoice Get an invoice and its myDATA status
Get one invoice by id with its status and myDATA mark, so you can see whether it reached AADE. Wrapp API: GET /invoices/{id}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The id (from the matching list tool). |
wrapp_get_invoice_details Get an issued invoice in full
Get the full myDATA-formatted details of one issued invoice: lines, taxes, counterpart and marks. Wrapp API: GET /invoices/{invoice_id}/find_invoice_by_id.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The id (from the matching list tool). |
wrapp_get_invoice_pdf Get the invoice PDF
Get the PDF of an issued invoice. The first call starts generation, and Wrapp sends a webhook when the PDF is ready; later calls return the download link. Only issued invoices have a PDF. Wrapp API: GET /invoices/{invoice_id}/generate_pdf.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The id (from the matching list tool). |
locale | string | PDF language (default el). |
wrapp_count_issued_invoices Count issued invoices
Count all issued invoices on the account. Wrapp API: GET /invoices/issued_count.
wrapp_list_open_catering_order_notes List open catering order notes
List the open catering order notes (restaurant orders not yet invoiced). Wrapp API: GET /invoices/list_open_catering_order_notes.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
wrapp_list_pos_devices List POS devices
List the POS devices registered to the account, with their ids. A POS device id is needed to issue an invoice paid on a terminal. Wrapp API: GET /pos_devices.
wrapp_list_catering_tables List catering tables
List the catering tables (restaurant tables) and their status: available, open, closed or alert. Wrapp API: GET /catering_tables.
wrapp_get_catering_table Get a catering table
Get one catering table by id, with its status and open order notes. Wrapp API: GET /catering_tables/{id}.
| Parameter | Type | Description |
|---|---|---|
table_id * | string | The id (from the matching list tool). |
wrapp_list_digital_transports List digital transports
List digital transports (delivery notes for goods in transit), 10 per page. category: shipping (default), receiving or carrying. Wrapp API: GET /digital_transports.
| Parameter | Type | Description |
|---|---|---|
category | string | Which transports to list (default shipping). |
page | integer | Page number (default 1). |
wrapp_get_digital_transport Get a digital transport
Get one digital transport (delivery note) by id, with its status and goods. Wrapp API: GET /digital_transports/{id}.
| Parameter | Type | Description |
|---|---|---|
transport_id * | string | The id (from the matching list tool). |
wrapp_get_digital_clientele Get a digital clientele entry
Get one digital clientele entry (a myDATA service record) by id. Wrapp API: GET /digital_clienteles/{id}.
| Parameter | Type | Description |
|---|---|---|
clientele_id * | string | The id (from the matching list tool). |
wrapp_create_draft_invoice Save an invoice as a draft
Save an invoice as a DRAFT. It is NOT sent to myDATA and gets no tax mark. The tool forces draft to true. Send every total yourself: Wrapp computes none. Use a unique external_id, so a retry cannot create a second document. Wrapp API: POST /invoices with draft: true.
| Parameter | Type | Description |
|---|---|---|
invoice * | object |
wrapp_set_invoice_external_id Set your own reference on an invoice
Set your own permanent reference (external_id) on an invoice that has none yet. It cannot be changed later and must be unique on the account. Wrapp API: PUT /invoices/{invoice_id}/set_external_id.
| Parameter | Type | Description |
|---|---|---|
external_id * | string | Your own unique reference. |
invoice_id * | string | The id (from the matching list tool). |
wrapp_delete_draft_invoice Delete a draft invoice
Delete a draft invoice. Only drafts that were never sent to myDATA can be deleted; an issued invoice is refused. Wrapp API: DELETE /invoices/{invoice_id}/delete_draft.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | string | The id (from the matching list tool). |