AI tools — E-invoice

5 tools. The latest schema is always in einvoice_tool_catalog once connected.

E-invoice details

ReadScope: einvoice:read
einvoice_invoices_get

Details of one e-invoice: buyer, line items, tax and issuance status.

ParameterTypeRequiredDescription
idstringyesInvoice id (from einvoice_invoices_search)

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/einvoice/einvoice_invoices_get/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"id":"0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "einvoice_invoices_get",
  "arguments": {
    "args": {
      "id": "0199a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b"
    }
  }
}

Invoice summary by status

ReadScope: einvoice:read
einvoice_reports_summary

Invoice count and total value by status for a date range; all time when dates are omitted.

ParameterTypeRequiredDescription
fromDatestringnoFrom date (yyyy-MM-dd)
toDatestringnoTo date (yyyy-MM-dd)

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/einvoice/einvoice_reports_summary/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"fromDate":"2026-10-01","toDate":"2026-10-27"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "einvoice_reports_summary",
  "arguments": {
    "args": {
      "fromDate": "2026-10-01",
      "toDate": "2026-10-27"
    }
  }
}

Invoice series

ReadScope: einvoice:read
einvoice_series_list

The company's invoice series, active and disabled, filtered by e-invoice provider.

ParameterTypeRequiredDescription
providerCodestringnoProvider: Misa, Vnpt, Viettel, Fpt, Bkav or WinInvoice

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/einvoice/einvoice_series_list/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{"providerCode":"Misa"}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "einvoice_series_list",
  "arguments": {
    "args": {
      "providerCode": "Misa"
    }
  }
}

E-invoice provider accounts

ReadScope: einvoice:read
einvoice_settings_list

Connected e-invoice provider accounts: provider, test mode, auto-issue and seller info. Never returns keys or passwords.

No parameters.

Or call over REST with an API key

curl -X POST https://api.nextx.vn/api/v1/ai/tools/einvoice/einvoice_settings_list/read \
  -H "X-Api-Key: $API_KEY" -H "Content-Type: application/json" \
  -d '{}'
MCP call example (for AI assistants)

AI assistants send this call themselves when you ask in plain words; you only need it when debugging an MCP connection.

{
  "name": "einvoice_settings_list",
  "arguments": {
    "args": {}
  }
}