← Files SudrelARCHIVED FILE

plugin.json

7.23 KB · Nov 30, 2026 · 07:49 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "sudrel",
  "version": "1.0.2",
  "description": "Ask about the Brazilian electronic invoices (NFS-e, NF-e, CT-e) your companies receive and issue in Sudrel, check rejections and batches, and prepare bulk NFS-e issuing from a spreadsheet.",
  "author": {
    "name": "Sudrel",
    "email": "suporte@sudrel.com.br",
    "url": "https://sudrel.com.br"
  },
  "homepage": "https://sudrel.com.br/conector-ia",
  "license": "MIT",
  "keywords": [
    "nota fiscal",
    "nfs-e",
    "nf-e",
    "ct-e",
    "brazil",
    "invoices",
    "tax"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Sudrel",
        "shortDescription": "Brazilian invoices (NFS-e)",
        "longDescription": "Sudrel monitors the electronic invoices (notas fiscais) that Brazilian companies receive and issue, straight from the government's national systems, and issues service invoices (NFS-e) in bulk from a spreadsheet, the API or payment integrations.\n\nWith this plugin, ChatGPT answers questions about your Sudrel account in plain language, in Portuguese or English:\n\n- What came in this month, by supplier, value or period (NFS-e, NF-e and CT-e received by your CNPJs)\n- Which service invoices you issued were rejected, why, and how to fix them\n- Which lines of a batch failed and the reason for each one\n- Whether a company is ready to issue invoices, item by item (digital certificate, tax settings, plan, city)\n- Your companies, the state of each certificate and plan usage\n\nIt can also turn a spreadsheet of clients identified by CNPJ into an issuing batch: it validates every line first and shows the result, and only issues after you confirm in a second, separate step. It never cancels, pauses or deletes anything, and never changes certificates. It does not ask for or show individual taxpayer numbers (CPF): those appear masked, and invoices for individuals stay in the Sudrel panel.\n\nConnecting takes one click: ChatGPT opens the Sudrel login, an account administrator approves, and the connection becomes an API key named after the assistant, which can be revoked at any time in the panel under Chaves de API.\n\nRequires a Sudrel account with at least one company registered. Accounts are created at sudrel.com.br.",
        "developerName": "Sudrel",
        "category": "Finance",
        "capabilities": [
          "Read",
          "Write"
        ],
        "websiteURL": "https://sudrel.com.br",
        "supportURL": "https://sudrel.com.br/conector-ia",
        "privacyPolicyURL": "https://sudrel.com.br/privacidade",
        "termsOfServiceURL": "https://sudrel.com.br/contrato-licenciamento",
        "defaultPrompt": [
          "Which invoices did my companies receive in the last 30 days, by supplier?",
          "Was any NFS-e I issued this week rejected? Why, and how do I fix it?",
          "Can my company issue invoices yet? What is missing?"
        ],
        "brandColor": "#1B2A4A",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Monthly review of received invoices",
              "prompt": "How much did my company receive in service invoices (NFS-e), by supplier? Show the total of each one.",
              "tools_triggered": "listar_empresas, listar_documentos",
              "expected_behavior": "Lists the NFS-e received by the demo company grouped by supplier, with totals in BRL, and offers to show the details of any invoice (detalhar_documento). Read only."
            },
            {
              "description": "Fixing rejected invoices",
              "prompt": "Was any service invoice (NFS-e) I issued rejected? Why, and how do I fix it?",
              "tools_triggered": "listar_empresas, listar_notas_emitidas",
              "expected_behavior": "Looks up the issued invoices with rejected status. In the demo account there are none, so it says no invoice was rejected. With rejections, it shows each one with the reason and how to fix it, already written in plain Portuguese by Sudrel."
            },
            {
              "description": "Checking bulk issuing batches",
              "prompt": "Which lines of my last issuing batch failed, and why?",
              "tools_triggered": "listar_lotes, listar_itens_lote",
              "expected_behavior": "Looks up the latest batch and its failed lines. In the demo account there is no batch yet, so it says so. With a batch, it lists each failed line with its error."
            },
            {
              "description": "Onboarding readiness and plan usage",
              "prompt": "Can my company issue invoices yet? What is missing? And how much of my plan have I used this month?",
              "tools_triggered": "listar_empresas, consultar_prontidao_emissao, consultar_consumo",
              "expected_behavior": "Explains item by item that the company is not ready to issue yet because the digital certificate is missing, and shows the plan and how many documents were counted this month."
            },
            {
              "description": "Issuing invoices from a spreadsheet, with a confirmation step",
              "prompt": "Issue these service invoices through Sudrel: client CNPJ 11.222.333/0001-81, R$ 100.00, \"consulting services\"; client CNPJ 11.444.777/0001-61, R$ 250.00, \"training\".",
              "tools_triggered": "listar_empresas, preparar_lote_emissao",
              "expected_behavior": "ChatGPT prepares a batch with preparar_lote_emissao, which validates the lines without issuing anything. In the demo account Sudrel answers that the company is not ready to issue (no digital certificate) and explains what is missing. emitir_lote is never called without the user confirmation, and no invoice is created."
            }
          ],
          "negative": [
            {
              "description": "General question about Brazilian invoice types. It needs no data from the user Sudrel account, so ChatGPT answers from general knowledge without calling any Sudrel tool.",
              "prompt": "What is the difference between an NFS-e and an NF-e in Brazil?"
            },
            {
              "description": "Simple tax arithmetic where the user supplies every input. No account lookup is needed, so no Sudrel tool is called.",
              "prompt": "If I bill R$ 5,000 for a service and the ISS rate is 5%, how much ISS is that?"
            },
            {
              "description": "Writing task that mentions an invoice but involves no fiscal document data from Sudrel. ChatGPT writes the email without calling any Sudrel tool.",
              "prompt": "Write a polite email asking my client to pay an overdue invoice."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "This plugin does not sell products or process payments."
      },
      "publication": {
        "release_notes": "Second submission: the plugin no longer requests or returns individual taxpayer numbers (CPF). Inputs accept only company numbers (CNPJ), the CPF validation tool became validar_cnpj, bulk issuing is for clients with a CNPJ, and any CPF in a response is masked."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 08b3156db0ef43de6c5fe51e9568f672755ff2a66ac8ccbb0d76afb793a510e2