addrbookFor publishers
← The evidence ledger

Evidence row 291616

Observed , by probe.mcp/1.

Kind
mcp.tools
About
endpoint 3a8e4b99-de9c-468c-8f2a-e6a62c49a030
Recorded
Previous row
None: the first of its kind about this subject
Body SHA-256
246d1d7fb15d7144f0c0a96044eae7f87f9da1d8808b273d815634289a9da9bf
Leaf
0xed2b4bae952717424a8e9e69922e8f13876832b67c8ed450990586a4e403e38b

What was observed

{
  "count": 16,
  "tools": [
    {
      "description": "Cancel an authorized invoice.\n\nLegal cancellation, with fiscal and accounting effect, inside a window\nthe NFS-e authorizer enforces for the municipality. Ask the human to confirm before calling; never call it\nspeculatively. The reason reaches the tax authority verbatim and must\nbe at least 15 characters.\n\nPass idempotency_key to make a retry safe: repeating the same key with\nthe same access key and reason replays the first answer instead of\ncancelling a second time. Reuse the key only when retrying that exact\ncall; a genuinely new cancellation needs a new key, or none. Nothing\ngenerates one for you — two calls without a key are two cancellations.\n",
      "inputSchema": {
        "properties": {
          "access_key": {
            "title": "Access Key",
            "type": "string"
          },
          "document_type": {
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Idempotency Key"
          },
          "reason": {
            "maxLength": 256,
            "minLength": 15,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "access_key",
          "document_type",
          "reason"
        ],
        "title": "cancel_invoiceArguments",
        "type": "object"
      },
      "name": "cancel_invoice"
    },
    {
      "description": "Look up an invoice's current status by its access key.\n\nRead-only: it never changes the document.\n",
      "inputSchema": {
        "properties": {
          "access_key": {
            "title": "Access Key",
            "type": "string"
          },
          "document_type": {
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          }
        },
        "required": [
          "access_key",
          "document_type"
        ],
        "title": "consult_invoiceArguments",
        "type": "object"
      },
      "name": "consult_invoice"
    },
    {
      "description": "File an electronic correction letter (CC-e) against an NF-e.\n\nNF-e only: there is no correction letter for an NFS-e, where a wrong\ndocument is cancelled and issued again.\n\nIt corrects wording and non-fiscal fields only. It cannot change\nvalues, taxes, the recipient or the products — those still require\ncancelling and issuing again, and telling the user a CC-e will fix\nan amount is wrong in a way they only discover at an audit.\n\nEach letter supersedes the previous one and the SEFAZ keeps at most\n20 per document. The text reaches the tax authority verbatim.\n",
      "inputSchema": {
        "properties": {
          "access_key": {
            "title": "Access Key",
            "type": "string"
          },
          "correction": {
            "maxLength": 1000,
            "minLength": 15,
            "title": "Correction",
            "type": "string"
          }
        },
        "required": [
          "access_key",
          "correction"
        ],
        "title": "correct_invoiceArguments",
        "type": "object"
      },
      "name": "correct_invoice"
    },
    {
      "description": "Return the printable rendering of a document, as a PDF.\n\nWorks for both types — a DANFE for nfe, a DANFSe for nfse. The PDF\ncomes back base64-encoded in content_base64; the XML, not this, is\nthe legally valid document. A 502 from here means the authorizer is\nunavailable, not that the invoice is wrong.\n",
      "inputSchema": {
        "properties": {
          "access_key": {
            "title": "Access Key",
            "type": "string"
          },
          "document_type": {
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          }
        },
        "required": [
          "access_key",
          "document_type"
        ],
        "title": "get_invoice_pdfArguments",
        "type": "object"
      },
      "name": "get_invoice_pdf"
    },
    {
      "description": "Show every attempt made for one invoice and what came back.\n\nThis is the tool that answers \"why was it rejected\". consult_invoice\ngives the status; this gives the tax authority's own code, its\nmessage, and the request and response exactly as they went over the\nwire. Read-only.\n\nIt takes the invoice_id, like reissue_invoice — a rejected document\nhas no access key to look it up by. Get the id from list_invoices.\n\nThe rows are attempts, not documents: a reissued invoice has more\nthan one, oldest first, and only the last describes the current\nstate. Quote the authority's message rather than paraphrasing it;\nthe code is what the user will search for.\n",
      "inputSchema": {
        "properties": {
          "invoice_id": {
            "title": "Invoice Id",
            "type": "string"
          }
        },
        "required": [
          "invoice_id"
        ],
        "title": "get_invoice_submissionsArguments",
        "type": "object"
      },
      "name": "get_invoice_submissions"
    },
    {
      "description": "Declare an NF-e numbering range reserved but never used.\n\nNF-e numbering has to be continuous, so a gap left by a failed\nissuance is explained to the SEFAZ with this — not with a new\ndocument. Irreversible: a number declared unused can never be used.\n\nOnly for numbers that were never authorized. An authorized document\nis cancelled, never invalidated. Confirm the range with the user and\nread it back before calling: the range is inclusive, and one digit\nwrong burns numbers the company still needs.\n\nThe SDK refuses a backwards range and a reason outside 15-255\ncharacters before anything is transmitted.\n",
      "inputSchema": {
        "properties": {
          "number_end": {
            "minimum": 1,
            "title": "Number End",
            "type": "integer"
          },
          "number_start": {
            "minimum": 1,
            "title": "Number Start",
            "type": "integer"
          },
          "reason": {
            "maxLength": 255,
            "minLength": 15,
            "title": "Reason",
            "type": "string"
          },
          "series": {
            "title": "Series",
            "type": "string"
          }
        },
        "required": [
          "series",
          "number_start",
          "number_end",
          "reason"
        ],
        "title": "invalidate_numberingArguments",
        "type": "object"
      },
      "name": "invalidate_numbering"
    },
    {
      "description": "Issue a Brazilian fiscal document: NFS-e or NF-e.\n\nThis produces a legal fiscal document. Confirm the data with the\nuser before calling when you inferred any field.\n\nEvery item needs a price: unit_price is what one unit costs and\namount is the line's gross total. Send unit_price with quantity\nwhen the user quotes a price per unit, amount when they quote the\nline. Sending both asserts they agree and is refused if they do\nnot.\n\ndocument_type nfse is a service invoice: each item needs a\ndescription and a price, the recipient address is optional, and\nservice_code (LC 116/2003 item.subitem) falls back to the\ncompany's fiscal profile when omitted.\n\ndocument_type nfe is for goods, and the SEFAZ rejects a partial\none: every item needs ncm and cfop, and recipient_address is\nrequired with street, number, neighborhood, city, state, zip_code\nand city_code all filled. Call validate_invoice_payload first when\nany of that was inferred rather than given.\n\nPass idempotency_key when a retry is possible: repeating the same\nkey with the same payload replays the first answer instead of\nissuing a second document. Without one, a retry after a lost\nresponse issues again — another credit, another number burned,\nand undoing it means cancelling, which has a deadline. Nothing\ngenerates the key for you; use one per business event, not per\ncall.\n",
      "inputSchema": {
        "$defs": {
          "Address": {
            "description": "A plain postal address.",
            "properties": {
              "city": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "City"
              },
              "city_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "City Code"
              },
              "neighborhood": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Neighborhood"
              },
              "number": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Number"
              },
              "state": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "State"
              },
              "street": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Street"
              },
              "zip_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Zip Code"
              }
            },
            "title": "Address",
            "type": "object"
          },
          "CofinsAliq": {
            "description": "COFINS taxed by rate.",
            "properties": {
              "cst": {
                "enum": [
                  "01",
                  "02"
                ],
                "title": "Cst",
                "type": "string"
              },
              "p_cofins": {
                "title": "P Cofins",
                "type": "string"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_cofins": {
                "title": "V Cofins",
                "type": "string"
              }
            },
            "required": [
              "cst",
              "v_bc",
              "p_cofins",
              "v_cofins"
            ],
            "title": "CofinsAliq",
            "type": "object"
          },
          "CofinsNt": {
            "description": "COFINS not taxed.",
            "properties": {
              "cst": {
                "enum": [
                  "04",
                  "05",
                  "06",
                  "07",
                  "08",
                  "09"
                ],
                "title": "Cst",
                "type": "string"
              }
            },
            "required": [
              "cst"
            ],
            "title": "CofinsNt",
            "type": "object"
          },
          "CofinsOutr": {
            "description": "COFINS taxed some other way.",
            "properties": {
              "cst": {
                "enum": [
                  "49",
                  "50",
                  "51",
                  "52",
                  "53",
                  "54",
                  "55",
                  "56",
                  "60",
                  "61",
                  "62",
                  "63",
                  "64",
                  "65",
                  "66",
                  "67",
                  "70",
                  "71",
                  "72",
                  "73",
                  "74",
                  "75",
                  "98",
                  "99"
                ],
                "title": "Cst",
                "type": "string"
              },
              "p_cofins": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Cofins"
              },
              "q_bc_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Prod"
              },
              "v_aliq_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Aliq Prod"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_cofins": {
                "title": "V Cofins",
                "type": "string"
              }
            },
            "required": [
              "cst",
              "v_cofins"
            ],
            "title": "CofinsOutr",
            "type": "object"
          },
          "CofinsQtde": {
            "description": "COFINS taxed by quantity.",
            "properties": {
              "cst": {
                "const": "03",
                "default": "03",
                "title": "Cst",
                "type": "string"
              },
              "q_bc_prod": {
                "title": "Q Bc Prod",
                "type": "string"
              },
              "v_aliq_prod": {
                "title": "V Aliq Prod",
                "type": "string"
              },
              "v_cofins": {
                "title": "V Cofins",
                "type": "string"
              }
            },
            "required": [
              "q_bc_prod",
              "v_aliq_prod",
              "v_cofins"
            ],
            "title": "CofinsQtde",
            "type": "object"
          },
          "CofinsSt": {
            "description": "COFINS withheld by substitution.",
            "properties": {
              "ind_soma_cofins_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Soma Cofins St"
              },
              "p_cofins": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Cofins"
              },
              "q_bc_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Prod"
              },
              "v_aliq_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Aliq Prod"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_cofins": {
                "title": "V Cofins",
                "type": "string"
              }
            },
            "required": [
              "v_cofins"
            ],
            "title": "CofinsSt",
            "type": "object"
          },
          "IbsCbs": {
            "description": "The Reforma Tributária group for one item.",
            "properties": {
              "base": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Base"
              },
              "classification": {
                "pattern": "^\\d{6}$",
                "title": "Classification",
                "type": "string"
              },
              "cst": {
                "pattern": "^\\d{3}$",
                "title": "Cst",
                "type": "string"
              },
              "rate_city": {
                "minimum": 0,
                "title": "Rate City",
                "type": "number"
              },
              "rate_federal": {
                "minimum": 0,
                "title": "Rate Federal",
                "type": "number"
              },
              "rate_state": {
                "minimum": 0,
                "title": "Rate State",
                "type": "number"
              }
            },
            "required": [
              "cst",
              "classification",
              "rate_state",
              "rate_city",
              "rate_federal"
            ],
            "title": "IbsCbs",
            "type": "object"
          },
          "Icms00": {
            "description": "ICMS fully taxed.",
            "properties": {
              "cst": {
                "const": "00",
                "default": "00",
                "title": "Cst",
                "type": "string"
              },
              "mod_bc": {
                "title": "Mod Bc",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_icms": {
                "title": "P Icms",
                "type": "string"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_icms": {
                "title": "V Icms",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "mod_bc",
              "v_bc",
              "p_icms",
              "v_icms"
            ],
            "title": "Icms00",
            "type": "object"
          },
          "Icms02": {
            "description": "ICMS monofasico, taxed by unit.",
            "properties": {
              "ad_rem_icms": {
                "title": "Ad Rem Icms",
                "type": "string"
              },
              "cst": {
                "const": "02",
                "default": "02",
                "title": "Cst",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "q_bc_mono": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono"
              },
              "v_icms_mono": {
                "title": "V Icms Mono",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "ad_rem_icms",
              "v_icms_mono"
            ],
            "title": "Icms02",
            "type": "object"
          },
          "Icms10": {
            "description": "ICMS taxed with substitution.",
            "properties": {
              "cst": {
                "const": "10",
                "default": "10",
                "title": "Cst",
                "type": "string"
              },
              "mod_bc": {
                "title": "Mod Bc",
                "type": "string"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "mot_des_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms St"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms": {
                "title": "P Icms",
                "type": "string"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_bc_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms": {
                "title": "V Icms",
                "type": "string"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              },
              "v_icms_st_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St Deson"
              }
            },
            "required": [
              "orig",
              "mod_bc",
              "v_bc",
              "p_icms",
              "v_icms",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st"
            ],
            "title": "Icms10",
            "type": "object"
          },
          "Icms15": {
            "description": "ICMS monofasico with retention.",
            "properties": {
              "ad_rem_icms": {
                "title": "Ad Rem Icms",
                "type": "string"
              },
              "ad_rem_icms_reten": {
                "title": "Ad Rem Icms Reten",
                "type": "string"
              },
              "cst": {
                "const": "15",
                "default": "15",
                "title": "Cst",
                "type": "string"
              },
              "mot_red_ad_rem": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Red Ad Rem"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_red_ad_rem": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Ad Rem"
              },
              "q_bc_mono": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono"
              },
              "q_bc_mono_reten": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono Reten"
              },
              "v_icms_mono": {
                "title": "V Icms Mono",
                "type": "string"
              },
              "v_icms_mono_reten": {
                "title": "V Icms Mono Reten",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "ad_rem_icms",
              "v_icms_mono",
              "ad_rem_icms_reten",
              "v_icms_mono_reten"
            ],
            "title": "Icms15",
            "type": "object"
          },
          "Icms20": {
            "description": "ICMS with a reduced base.",
            "properties": {
              "cst": {
                "const": "20",
                "default": "20",
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mod_bc": {
                "title": "Mod Bc",
                "type": "string"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_icms": {
                "title": "P Icms",
                "type": "string"
              },
              "p_red_bc": {
                "title": "P Red Bc",
                "type": "string"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_bc_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_icms": {
                "title": "V Icms",
                "type": "string"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              }
            },
            "required": [
              "orig",
              "mod_bc",
              "p_red_bc",
              "v_bc",
              "p_icms",
              "v_icms"
            ],
            "title": "Icms20",
            "type": "object"
          },
          "Icms30": {
            "description": "ICMS exempt with substitution.",
            "properties": {
              "cst": {
                "const": "30",
                "default": "30",
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st"
            ],
            "title": "Icms30",
            "type": "object"
          },
          "Icms40": {
            "description": "ICMS exempt or not taxed.",
            "properties": {
              "cst": {
                "enum": [
                  "40",
                  "41",
                  "50"
                ],
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              }
            },
            "required": [
              "orig",
              "cst"
            ],
            "title": "Icms40",
            "type": "object"
          },
          "Icms51": {
            "description": "ICMS deferred.",
            "properties": {
              "c_benef_rbc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "C Benef Rbc"
              },
              "cst": {
                "const": "51",
                "default": "51",
                "title": "Cst",
                "type": "string"
              },
              "mod_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mod Bc"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Dif"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_fcp_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp Dif"
              },
              "p_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms"
              },
              "p_red_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_bc_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_fcp_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp Dif"
              },
              "v_fcp_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp Efet"
              },
              "v_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms"
              },
              "v_icms_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Dif"
              },
              "v_icms_op": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Op"
              }
            },
            "required": [
              "orig"
            ],
            "title": "Icms51",
            "type": "object"
          },
          "Icms53": {
            "description": "ICMS monofasico deferred.",
            "properties": {
              "ad_rem_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ad Rem Icms"
              },
              "ad_rem_icms_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ad Rem Icms Dif"
              },
              "cst": {
                "const": "53",
                "default": "53",
                "title": "Cst",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Dif"
              },
              "q_bc_mono": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono"
              },
              "q_bc_mono_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono Dif"
              },
              "v_icms_mono": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Mono"
              },
              "v_icms_mono_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Mono Dif"
              },
              "v_icms_mono_op": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Mono Op"
              }
            },
            "required": [
              "orig"
            ],
            "title": "Icms53",
            "type": "object"
          },
          "Icms60": {
            "description": "ICMS already charged by an earlier substitution.",
            "properties": {
              "cst": {
                "const": "60",
                "default": "60",
                "title": "Cst",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St Ret"
              },
              "p_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms Efet"
              },
              "p_red_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc Efet"
              },
              "p_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P St"
              },
              "v_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Efet"
              },
              "v_bc_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St Ret"
              },
              "v_bc_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc St Ret"
              },
              "v_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St Ret"
              },
              "v_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Efet"
              },
              "v_icms_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St Ret"
              },
              "v_icms_substituto": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Substituto"
              }
            },
            "required": [
              "orig"
            ],
            "title": "Icms60",
            "type": "object"
          },
          "Icms61": {
            "description": "ICMS monofasico already charged earlier.",
            "properties": {
              "ad_rem_icms_ret": {
                "title": "Ad Rem Icms Ret",
                "type": "string"
              },
              "cst": {
                "const": "61",
                "default": "61",
                "title": "Cst",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "q_bc_mono_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Mono Ret"
              },
              "v_icms_mono_ret": {
                "title": "V Icms Mono Ret",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "ad_rem_icms_ret",
              "v_icms_mono_ret"
            ],
            "title": "Icms61",
            "type": "object"
          },
          "Icms70": {
            "description": "ICMS with a reduced base and substitution.",
            "properties": {
              "cst": {
                "const": "70",
                "default": "70",
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mod_bc": {
                "title": "Mod Bc",
                "type": "string"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "mot_des_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms St"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms": {
                "title": "P Icms",
                "type": "string"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc": {
                "title": "P Red Bc",
                "type": "string"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_bc_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms": {
                "title": "V Icms",
                "type": "string"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              },
              "v_icms_st_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St Deson"
              }
            },
            "required": [
              "orig",
              "mod_bc",
              "p_red_bc",
              "v_bc",
              "p_icms",
              "v_icms",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st"
            ],
            "title": "Icms70",
            "type": "object"
          },
          "Icms90": {
            "description": "ICMS, other cases.",
            "properties": {
              "c_benef_rbc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "C Benef Rbc"
              },
              "cst": {
                "const": "90",
                "default": "90",
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mod_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mod Bc"
              },
              "mod_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mod Bc St"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "mot_des_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms St"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Dif"
              },
              "p_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp"
              },
              "p_fcp_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp Dif"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms"
              },
              "p_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms St"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_bc_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc St"
              },
              "v_fcp": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp"
              },
              "v_fcp_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp Dif"
              },
              "v_fcp_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp Efet"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              },
              "v_icms_dif": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Dif"
              },
              "v_icms_op": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Op"
              },
              "v_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St"
              },
              "v_icms_st_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St Deson"
              }
            },
            "required": [
              "orig"
            ],
            "title": "Icms90",
            "type": "object"
          },
          "IcmsPart": {
            "description": "ICMS split between the origin and destination states.",
            "properties": {
              "cst": {
                "enum": [
                  "10",
                  "20",
                  "90"
                ],
                "title": "Cst",
                "type": "string"
              },
              "ind_deduz_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Deduz Deson"
              },
              "mod_bc": {
                "title": "Mod Bc",
                "type": "string"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "mot_des_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mot Des Icms"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_bc_op": {
                "title": "P Bc Op",
                "type": "string"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms": {
                "title": "P Icms",
                "type": "string"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "uf_st": {
                "title": "Uf St",
                "type": "string"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms": {
                "title": "V Icms",
                "type": "string"
              },
              "v_icms_deson": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Deson"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "cst",
              "mod_bc",
              "v_bc",
              "p_icms",
              "v_icms",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st",
              "p_bc_op",
              "uf_st"
            ],
            "title": "IcmsPart",
            "type": "object"
          },
          "IcmsSn101": {
            "description": "Simples Nacional ICMS with a credit.",
            "properties": {
              "csosn": {
                "const": "101",
                "default": "101",
                "title": "Csosn",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_cred_sn": {
                "title": "P Cred Sn",
                "type": "string"
              },
              "v_cred_icms_sn": {
                "title": "V Cred Icms Sn",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "p_cred_sn",
              "v_cred_icms_sn"
            ],
            "title": "IcmsSn101",
            "type": "object"
          },
          "IcmsSn102": {
            "description": "Simples Nacional ICMS without a credit.",
            "properties": {
              "csosn": {
                "enum": [
                  "102",
                  "103",
                  "300",
                  "400"
                ],
                "title": "Csosn",
                "type": "string"
              },
              "orig": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Orig"
              }
            },
            "required": [
              "csosn"
            ],
            "title": "IcmsSn102",
            "type": "object"
          },
          "IcmsSn201": {
            "description": "Simples Nacional ICMS with a credit and substitution.",
            "properties": {
              "csosn": {
                "const": "201",
                "default": "201",
                "title": "Csosn",
                "type": "string"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_cred_sn": {
                "title": "P Cred Sn",
                "type": "string"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_cred_icms_sn": {
                "title": "V Cred Icms Sn",
                "type": "string"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st",
              "p_cred_sn",
              "v_cred_icms_sn"
            ],
            "title": "IcmsSn201",
            "type": "object"
          },
          "IcmsSn202": {
            "description": "Simples Nacional ICMS without a credit, with substitution.",
            "properties": {
              "csosn": {
                "enum": [
                  "202",
                  "203"
                ],
                "title": "Csosn",
                "type": "string"
              },
              "mod_bc_st": {
                "title": "Mod Bc St",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms_st": {
                "title": "P Icms St",
                "type": "string"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "title": "V Bc St",
                "type": "string"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms_st": {
                "title": "V Icms St",
                "type": "string"
              }
            },
            "required": [
              "orig",
              "csosn",
              "mod_bc_st",
              "v_bc_st",
              "p_icms_st",
              "v_icms_st"
            ],
            "title": "IcmsSn202",
            "type": "object"
          },
          "IcmsSn500": {
            "description": "Simples Nacional ICMS already charged by substitution.",
            "properties": {
              "csosn": {
                "const": "500",
                "default": "500",
                "title": "Csosn",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St Ret"
              },
              "p_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms Efet"
              },
              "p_red_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc Efet"
              },
              "p_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P St"
              },
              "v_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Efet"
              },
              "v_bc_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St Ret"
              },
              "v_bc_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc St Ret"
              },
              "v_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St Ret"
              },
              "v_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Efet"
              },
              "v_icms_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St Ret"
              },
              "v_icms_substituto": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Substituto"
              }
            },
            "required": [
              "orig"
            ],
            "title": "IcmsSn500",
            "type": "object"
          },
          "IcmsSn900": {
            "description": "Simples Nacional ICMS, other cases.",
            "properties": {
              "csosn": {
                "const": "900",
                "default": "900",
                "title": "Csosn",
                "type": "string"
              },
              "mod_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mod Bc"
              },
              "mod_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Mod Bc St"
              },
              "orig": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Orig"
              },
              "p_cred_sn": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Cred Sn"
              },
              "p_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St"
              },
              "p_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms"
              },
              "p_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms St"
              },
              "p_mva_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Mva St"
              },
              "p_red_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc"
              },
              "p_red_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc St"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_bc_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St"
              },
              "v_bc_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc St"
              },
              "v_cred_icms_sn": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Cred Icms Sn"
              },
              "v_fcp_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St"
              },
              "v_icms": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms"
              },
              "v_icms_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms St"
              }
            },
            "title": "IcmsSn900",
            "type": "object"
          },
          "IcmsSt": {
            "description": "ICMS charged earlier, for the substituted taxpayer.",
            "properties": {
              "cst": {
                "enum": [
                  "41",
                  "60"
                ],
                "title": "Cst",
                "type": "string"
              },
              "orig": {
                "title": "Orig",
                "type": "string"
              },
              "p_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp St Ret"
              },
              "p_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Icms Efet"
              },
              "p_red_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Red Bc Efet"
              },
              "p_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P St"
              },
              "v_bc_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Efet"
              },
              "v_bc_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp St Ret"
              },
              "v_bc_st_dest": {
                "title": "V Bc St Dest",
                "type": "string"
              },
              "v_bc_st_ret": {
                "title": "V Bc St Ret",
                "type": "string"
              },
              "v_fcp_st_ret": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp St Ret"
              },
              "v_icms_efet": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Efet"
              },
              "v_icms_st_dest": {
                "title": "V Icms St Dest",
                "type": "string"
              },
              "v_icms_st_ret": {
                "title": "V Icms St Ret",
                "type": "string"
              },
              "v_icms_substituto": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Icms Substituto"
              }
            },
            "required": [
              "orig",
              "cst",
              "v_bc_st_ret",
              "v_icms_st_ret",
              "v_bc_st_dest",
              "v_icms_st_dest"
            ],
            "title": "IcmsSt",
            "type": "object"
          },
          "IcmsUfDest": {
            "description": "Interstate ICMS share owed to the destination state.",
            "properties": {
              "p_fcp_uf_dest": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Fcp Uf Dest"
              },
              "p_icms_inter": {
                "title": "P Icms Inter",
                "type": "string"
              },
              "p_icms_inter_part": {
                "title": "P Icms Inter Part",
                "type": "string"
              },
              "p_icms_uf_dest": {
                "title": "P Icms Uf Dest",
                "type": "string"
              },
              "v_bc_fcp_uf_dest": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc Fcp Uf Dest"
              },
              "v_bc_uf_dest": {
                "title": "V Bc Uf Dest",
                "type": "string"
              },
              "v_fcp_uf_dest": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Fcp Uf Dest"
              },
              "v_icms_uf_dest": {
                "title": "V Icms Uf Dest",
                "type": "string"
              },
              "v_icms_uf_remet": {
                "title": "V Icms Uf Remet",
                "type": "string"
              }
            },
            "required": [
              "v_bc_uf_dest",
              "p_icms_uf_dest",
              "p_icms_inter",
              "p_icms_inter_part",
              "v_icms_uf_dest",
              "v_icms_uf_remet"
            ],
            "title": "IcmsUfDest",
            "type": "object"
          },
          "Ipi": {
            "description": "This item's IPI.",
            "properties": {
              "c_enq": {
                "title": "C Enq",
                "type": "string"
              },
              "c_selo": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "C Selo"
              },
              "cnpj_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Cnpj Prod"
              },
              "q_selo": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Selo"
              },
              "trib": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/IpiTrib"
                  },
                  {
                    "$ref": "#/$defs/IpiNt"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  }
                ],
                "title": "Trib"
              }
            },
            "required": [
              "c_enq",
              "trib"
            ],
            "title": "Ipi",
            "type": "object"
          },
          "IpiNt": {
            "description": "IPI not taxed.",
            "properties": {
              "cst": {
                "enum": [
                  "01",
                  "02",
                  "03",
                  "04",
                  "05",
                  "51",
                  "52",
                  "53",
                  "54",
                  "55"
                ],
                "title": "Cst",
                "type": "string"
              }
            },
            "required": [
              "cst"
            ],
            "title": "IpiNt",
            "type": "object"
          },
          "IpiTrib": {
            "description": "IPI taxed by rate or by quantity.",
            "properties": {
              "cst": {
                "enum": [
                  "00",
                  "49",
                  "50",
                  "99"
                ],
                "title": "Cst",
                "type": "string"
              },
              "p_ipi": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Ipi"
              },
              "q_unid": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Unid"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_ipi": {
                "title": "V Ipi",
                "type": "string"
              },
              "v_unid": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Unid"
              }
            },
            "required": [
              "cst",
              "v_ipi"
            ],
            "title": "IpiTrib",
            "type": "object"
          },
          "PisAliq": {
            "description": "PIS taxed by rate.",
            "properties": {
              "cst": {
                "enum": [
                  "01",
                  "02"
                ],
                "title": "Cst",
                "type": "string"
              },
              "p_pis": {
                "title": "P Pis",
                "type": "string"
              },
              "v_bc": {
                "title": "V Bc",
                "type": "string"
              },
              "v_pis": {
                "title": "V Pis",
                "type": "string"
              }
            },
            "required": [
              "cst",
              "v_bc",
              "p_pis",
              "v_pis"
            ],
            "title": "PisAliq",
            "type": "object"
          },
          "PisNt": {
            "description": "PIS not taxed.",
            "properties": {
              "cst": {
                "enum": [
                  "04",
                  "05",
                  "06",
                  "07",
                  "08",
                  "09"
                ],
                "title": "Cst",
                "type": "string"
              }
            },
            "required": [
              "cst"
            ],
            "title": "PisNt",
            "type": "object"
          },
          "PisOutr": {
            "description": "PIS taxed some other way.",
            "properties": {
              "cst": {
                "enum": [
                  "49",
                  "50",
                  "51",
                  "52",
                  "53",
                  "54",
                  "55",
                  "56",
                  "60",
                  "61",
                  "62",
                  "63",
                  "64",
                  "65",
                  "66",
                  "67",
                  "70",
                  "71",
                  "72",
                  "73",
                  "74",
                  "75",
                  "98",
                  "99"
                ],
                "title": "Cst",
                "type": "string"
              },
              "p_pis": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Pis"
              },
              "q_bc_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Prod"
              },
              "v_aliq_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Aliq Prod"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_pis": {
                "title": "V Pis",
                "type": "string"
              }
            },
            "required": [
              "cst",
              "v_pis"
            ],
            "title": "PisOutr",
            "type": "object"
          },
          "PisQtde": {
            "description": "PIS taxed by quantity.",
            "properties": {
              "cst": {
                "const": "03",
                "default": "03",
                "title": "Cst",
                "type": "string"
              },
              "q_bc_prod": {
                "title": "Q Bc Prod",
                "type": "string"
              },
              "v_aliq_prod": {
                "title": "V Aliq Prod",
                "type": "string"
              },
              "v_pis": {
                "title": "V Pis",
                "type": "string"
              }
            },
            "required": [
              "q_bc_prod",
              "v_aliq_prod",
              "v_pis"
            ],
            "title": "PisQtde",
            "type": "object"
          },
          "PisSt": {
            "description": "PIS withheld by substitution.",
            "properties": {
              "ind_soma_pis_st": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Soma Pis St"
              },
              "p_pis": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "P Pis"
              },
              "q_bc_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Q Bc Prod"
              },
              "v_aliq_prod": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Aliq Prod"
              },
              "v_bc": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Bc"
              },
              "v_pis": {
                "title": "V Pis",
                "type": "string"
              }
            },
            "required": [
              "v_pis"
            ],
            "title": "PisSt",
            "type": "object"
          },
          "PresumedCredit": {
            "description": "A presumed tax credit applied to this item.",
            "properties": {
              "amount": {
                "title": "Amount",
                "type": "number"
              },
              "code": {
                "pattern": "^[\\x21-\\xff]{8}$|^[\\x21-\\xff]{10}$",
                "title": "Code",
                "type": "string"
              },
              "percentage": {
                "title": "Percentage",
                "type": "number"
              }
            },
            "required": [
              "code",
              "percentage",
              "amount"
            ],
            "title": "PresumedCredit",
            "type": "object"
          },
          "Product": {
            "description": "One product or service line item on an invoice.",
            "properties": {
              "amount": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Amount"
              },
              "barcode": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Barcode"
              },
              "cest": {
                "anyOf": [
                  {
                    "pattern": "^\\d{7}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Cest"
              },
              "cfop": {
                "anyOf": [
                  {
                    "pattern": "^[123567]\\d{3}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Cfop"
              },
              "description": {
                "minLength": 1,
                "title": "Description",
                "type": "string"
              },
              "discount": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Discount"
              },
              "ex_tipi": {
                "anyOf": [
                  {
                    "pattern": "^\\d{2,3}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ex Tipi"
              },
              "extra_groups": {
                "anyOf": [
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Extra Groups"
              },
              "freight": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Freight"
              },
              "ibs_cbs": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/IbsCbs"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "import_content_control_number": {
                "anyOf": [
                  {
                    "pattern": "^[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Import Content Control Number"
              },
              "ind_escala": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ind Escala"
              },
              "insurance": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Insurance"
              },
              "manufacturer_cnpj": {
                "anyOf": [
                  {
                    "pattern": "^[0-9A-Z]{12}\\d{2}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Manufacturer Cnpj"
              },
              "ncm": {
                "anyOf": [
                  {
                    "pattern": "^\\d{2}$|^\\d{8}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ncm"
              },
              "nve_codes": {
                "anyOf": [
                  {
                    "items": {
                      "pattern": "^[A-Z]{2}\\d{4}$",
                      "type": "string"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Nve Codes"
              },
              "observations": {
                "anyOf": [
                  {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "nfse only.",
                "title": "Observations"
              },
              "other_expenses": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Other Expenses"
              },
              "presumed_credits": {
                "anyOf": [
                  {
                    "items": {
                      "$ref": "#/$defs/PresumedCredit"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Presumed Credits"
              },
              "purchase_order": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Purchase Order"
              },
              "purchase_order_item": {
                "anyOf": [
                  {
                    "pattern": "^\\d{1,6}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Purchase Order Item"
              },
              "quantity": {
                "default": 1,
                "exclusiveMinimum": 0,
                "title": "Quantity",
                "type": "number"
              },
              "recopi_number": {
                "anyOf": [
                  {
                    "pattern": "^\\d{20}$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Recopi Number"
              },
              "service_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "LC 116/2003 item.subitem, nfse only.",
                "title": "Service Code"
              },
              "service_discount": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Unconditional discount, nfse only.",
                "title": "Service Discount"
              },
              "tax": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Tax"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Tax"
              },
              "tax_benefit_code": {
                "anyOf": [
                  {
                    "pattern": "^(SEM CBENEF|[\\x21-\\xff]{8}|[\\x21-\\xff]{10})$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Tax Benefit Code"
              },
              "tax_retained": {
                "default": false,
                "description": "ISSQN retained by the tomador, nfse only.",
                "title": "Tax Retained",
                "type": "boolean"
              },
              "unit": {
                "default": "UN",
                "title": "Unit",
                "type": "string"
              },
              "unit_price": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Unit Price"
              },
              "used_movable_asset": {
                "default": false,
                "title": "Used Movable Asset",
                "type": "boolean"
              }
            },
            "required": [
              "description"
            ],
            "title": "Product",
            "type": "object"
          },
          "Tax": {
            "description": "This item's taxes, already computed by the caller.",
            "properties": {
              "cofins": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/CofinsAliq"
                  },
                  {
                    "$ref": "#/$defs/CofinsQtde"
                  },
                  {
                    "$ref": "#/$defs/CofinsNt"
                  },
                  {
                    "$ref": "#/$defs/CofinsOutr"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Cofins"
              },
              "cofins_st": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/CofinsSt"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "icms": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Icms00"
                  },
                  {
                    "$ref": "#/$defs/Icms02"
                  },
                  {
                    "$ref": "#/$defs/Icms10"
                  },
                  {
                    "$ref": "#/$defs/Icms15"
                  },
                  {
                    "$ref": "#/$defs/Icms20"
                  },
                  {
                    "$ref": "#/$defs/Icms30"
                  },
                  {
                    "$ref": "#/$defs/Icms40"
                  },
                  {
                    "$ref": "#/$defs/Icms51"
                  },
                  {
                    "$ref": "#/$defs/Icms53"
                  },
                  {
                    "$ref": "#/$defs/Icms60"
                  },
                  {
                    "$ref": "#/$defs/Icms61"
                  },
                  {
                    "$ref": "#/$defs/Icms70"
                  },
                  {
                    "$ref": "#/$defs/Icms90"
                  },
                  {
                    "$ref": "#/$defs/IcmsPart"
                  },
                  {
                    "$ref": "#/$defs/IcmsSt"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn101"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn102"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn201"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn202"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn500"
                  },
                  {
                    "$ref": "#/$defs/IcmsSn900"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Icms"
              },
              "icms_uf_dest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/IcmsUfDest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "ipi": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Ipi"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Ipi"
              },
              "pis": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/PisAliq"
                  },
                  {
                    "$ref": "#/$defs/PisQtde"
                  },
                  {
                    "$ref": "#/$defs/PisNt"
                  },
                  {
                    "$ref": "#/$defs/PisOutr"
                  },
                  {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Pis"
              },
              "pis_st": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/PisSt"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "v_tot_trib": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "V Tot Trib"
              }
            },
            "title": "Tax",
            "type": "object"
          }
        },
        "properties": {
          "client_name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Client Name",
            "type": "string"
          },
          "document_type": {
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Idempotency Key"
          },
          "items": {
            "items": {
              "$ref": "#/$defs/Product"
            },
            "title": "Items",
            "type": "array"
          },
          "number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Number"
          },
          "recipient_address": {
            "anyOf": [
              {
                "$ref": "#/$defs/Address"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "series": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Series"
          },
          "tax_id": {
            "maxLength": 18,
            "minLength": 11,
            "title": "Tax Id",
            "type": "string"
          }
        },
        "required": [
          "document_type",
          "client_name",
          "tax_id",
          "items"
        ],
        "title": "issue_invoiceArguments",
        "type": "object"
      },
      "name": "issue_invoice"
    },
    {
      "description": "Which classifications this country has data for, right now.\n\nAsk this before assuming a classification exists. The answer\ngrows as the source data does, so a name absent here is absent\ntoday rather than absent forever.\n",
      "inputSchema": {
        "properties": {
          "country": {
            "default": "BR",
            "description": "ISO 3166-1 alpha-2 code. A code means nothing without it, and Brazil is the default rather than a guess.",
            "maxLength": 2,
            "minLength": 2,
            "title": "Country",
            "type": "string"
          }
        },
        "title": "list_fiscal_kindsArguments",
        "type": "object"
      },
      "name": "list_fiscal_kinds"
    },
    {
      "description": "List the invoices this company issued, newest first.\n\nOne document type at a time: pass nfse for services or nfe for\ngoods. A company that issues both has to be asked twice.\n\nUse it for \"my last invoices\", \"what was rejected today\", and to find\na document whose access key the user does not have at hand. Read-only.\n\nAn authorized document is stored as issued, which is the value the\nrows carry; authorized is accepted as a synonym and asks for the\nsame thing.\n\nEvery row carries both identifiers the other tools need: id, which\nreissue_invoice takes, and access_key, which consult_invoice,\ncancel_invoice and get_invoice_pdf take. A rejected\nrow has an id and no access key — the authorizer never assigned one.\n",
      "inputSchema": {
        "properties": {
          "document_type": {
            "default": "nfse",
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "pending",
                  "issued",
                  "authorized",
                  "rejected",
                  "cancelled"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Status"
          }
        },
        "title": "list_invoicesArguments",
        "type": "object"
      },
      "name": "list_invoices"
    },
    {
      "description": "List NF-e documents other companies issued against this one.\n\nThe mirror of list_invoices: that one shows what this company issued,\nthis one what it received. Read-only.\n\nIt reads what the API already collected and never calls the tax\nauthority, which caps how often a company may ask per day. Each row\ncarries the issuer, the amount and, once one was filed, the\nmanifestation. Before a manifestation the authority sends a summary\nonly; the full document arrives after one.\n",
      "inputSchema": {
        "properties": {
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          }
        },
        "title": "list_received_invoicesArguments",
        "type": "object"
      },
      "name": "list_received_invoices"
    },
    {
      "description": "Resolve one code of one classification, when you know both.\n\nUse this to confirm a code before putting it on a document —\nan NCM that does not exist is rejected by the tax authority\nafter issuing, which costs a cancellation.\n\nA code that is not there answers 404. That means the code is\nwrong, not that the lookup failed; do not retry it.\n\n`metadata` differs per kind and is passed through as published:\nutrib on an NCM, ncm_code on a CEST, tax_type on a CST, and\nnothing at all on an ISS service.\n",
      "inputSchema": {
        "properties": {
          "code": {
            "description": "The code itself, as published: 84716052 for an NCM, 5102 for a CFOP. Digits only, no dots.",
            "title": "Code",
            "type": "string"
          },
          "country": {
            "default": "BR",
            "description": "ISO 3166-1 alpha-2 code. A code means nothing without it, and Brazil is the default rather than a guess.",
            "maxLength": 2,
            "minLength": 2,
            "title": "Country",
            "type": "string"
          },
          "kind": {
            "description": "cfop, ncm, cest, cst, csosn, ...",
            "title": "Kind",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "code"
        ],
        "title": "lookup_fiscal_codeArguments",
        "type": "object"
      },
      "name": "lookup_fiscal_code"
    },
    {
      "description": "Look up one taxpayer by exact tax id, to confirm who it is.\n\nUse it to check a recipient's name before issuing against them.\nIt takes the id exactly — punctuation is fine, but there is no\nsearch by name, by prefix or by state, and there will not be:\nthe registry holds the names and addresses of real people.\n\nA 404 does not mean the company does not exist. The registry\nreloads monthly from the RFB's dump, so a recently registered\nCNPJ is simply not in it yet. Say that to the user rather than\nreporting the tax id as invalid, and never turn a 404 here into\na validation rule.\n",
      "inputSchema": {
        "properties": {
          "country": {
            "default": "BR",
            "description": "ISO 3166-1 alpha-2 code. A code means nothing without it, and Brazil is the default rather than a guess.",
            "maxLength": 2,
            "minLength": 2,
            "title": "Country",
            "type": "string"
          },
          "tax_id": {
            "description": "The exact tax id. A CNPJ is 14 digits.",
            "title": "Tax Id",
            "type": "string"
          }
        },
        "required": [
          "tax_id"
        ],
        "title": "lookup_taxpayerArguments",
        "type": "object"
      },
      "name": "lookup_taxpayer"
    },
    {
      "description": "Declare this company's position on a document issued against it.\n\nLegally binding and irreversible once the tax authority accepts it —\nask the human to confirm before calling, and read back which\ndocument and which of the four positions is being filed.\n\nDenying a document (210220) or declaring the operation did not\nhappen (210240) is an accusation against whoever issued it. Never\npick either because the user sounds unsure — ask.\n\n210200 confirms the operation happened, 210210 acknowledges the\ndocument exists, 210220 denies knowing it, and 210240 states the\noperation was not carried out. Only 210240 takes a reason, and it\nrequires one; the others are refused if a reason is sent.\n",
      "inputSchema": {
        "properties": {
          "access_key": {
            "title": "Access Key",
            "type": "string"
          },
          "manifestation": {
            "enum": [
              "210200",
              "210210",
              "210220",
              "210240"
            ],
            "title": "Manifestation",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Reason"
          }
        },
        "required": [
          "access_key",
          "manifestation"
        ],
        "title": "manifest_received_invoiceArguments",
        "type": "object"
      },
      "name": "manifest_received_invoice"
    },
    {
      "description": "Retry a rejected invoice after the data that caused the rejection\nwas fixed.\n\nTakes the local invoice_id, not the access key: a rejected document\nnever got one. Consumes a credit like a new issuance, so it takes\nan idempotency_key for the same reason issue_invoice does. An\nauthorized invoice is corrected or cancelled, never reissued.\n",
      "inputSchema": {
        "properties": {
          "idempotency_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Idempotency Key"
          },
          "invoice_id": {
            "title": "Invoice Id",
            "type": "string"
          }
        },
        "required": [
          "invoice_id"
        ],
        "title": "reissue_invoiceArguments",
        "type": "object"
      },
      "name": "reissue_invoice"
    },
    {
      "description": "Find a code from a description, or page through a table.\n\nThis is the tool for \"what NCM is a keyboard\" — the one the\nuser actually asks. Prefer it over guessing a code from memory:\nthe tables change, and a plausible wrong code is worse than a\nlookup.\n\nLeaving `kind` unset searches every classification of that\ncountry at once, which is the most expensive call here. Set it\nwhenever the question already names one.\n\nRows come back ordered by kind then code; there is no sort\nargument, and asking for one changes nothing.\n",
      "inputSchema": {
        "properties": {
          "country": {
            "default": "BR",
            "description": "ISO 3166-1 alpha-2 code. A code means nothing without it, and Brazil is the default rather than a guess.",
            "maxLength": 2,
            "minLength": 2,
            "title": "Country",
            "type": "string"
          },
          "kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Narrows to one classification. All if unset.",
            "title": "Kind"
          },
          "limit": {
            "default": 20,
            "description": "Rows per page. 20 by default.",
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "Rows to skip. Use it to page, not to narrow — a term is cheaper than paging to find one row.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "term": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Matches the code or the description.",
            "title": "Term"
          }
        },
        "title": "search_fiscal_codesArguments",
        "type": "object"
      },
      "name": "search_fiscal_codes"
    },
    {
      "description": "Check invoice data against the field rules without issuing anything.\n\nNothing is sent to the tax authority and no document is created.\nThe SDK models check field formats, and for nfe the rules the SEFAZ\nrefuses a document over: ncm and cfop on every item, and a complete\nrecipient address. Worth calling before issue_invoice whenever a\nfield was inferred rather than given.\n\nThis does not replace issuing: the authorizer's cross-field and\nfiscal rules are only checked when the document is transmitted.\n",
      "inputSchema": {
        "properties": {
          "document_type": {
            "enum": [
              "nfse",
              "nfe"
            ],
            "title": "Document Type",
            "type": "string"
          },
          "items": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Items",
            "type": "array"
          },
          "recipient_address": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Recipient Address"
          }
        },
        "required": [
          "document_type",
          "items"
        ],
        "title": "validate_invoice_payloadArguments",
        "type": "object"
      },
      "name": "validate_invoice_payload"
    }
  ]
}

What the leaf hashes

{"body":"246d1d7fb15d7144f0c0a96044eae7f87f9da1d8808b273d815634289a9da9bf","id":291616,"kind":"mcp.tools","method":"probe.mcp/1","observed_us":1793048203644345,"prev":null,"subject":"3a8e4b99-de9c-468c-8f2a-e6a62c49a030","subject_kind":"endpoint"}

Proof

Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (296695 rows).

  1. 0xed2b8ddc7e4ead89449fe0458eb6b17121cbcb645a907953ba7dbf17aafb169d
  2. 0xb26d1c0a337b3417aa2b1c4b5106789bd6e5556b60eadad2d772d7a3a88f0591
  3. 0xe1f9ee00ebcbf89785e456b6e13a227dc7c4481373a2b6cae9a7728270db6ecd
  4. 0xfafe659651bb1275b9eef27592e98ec2db21a401b50ac9d2c1a544efaeb74ec0
  5. 0x46751dad462407d1b86c9c737e8014546b15c326afcabfe7d97a13a48f459bc1
  6. 0xa0c1d92bbb9a68fa4da8b8e37385299db57db1fb5135be6da5d5cb966ad30978
  7. 0xf26d1bc5d0a480ea4911f0681aa9412299f246e674e2663665ca52fd444d53a6
  8. 0x0047c598fe474f999abb7758a961de615a6fac18514463b3fcd8ceaf56349236
  9. 0x3e7454bbcb68b3bb36b1b68423bfef297cf86ab769286341444c6f2ea3d72f4e
  10. 0xf333b1fb4291fc66aba3c2430863d37b43610cc7bcfcad50c56770f5a796facc
  11. 0x3f07a2115848067024e2992cb2c05a86eb8d02df5abfcead8bc47854e501603e
  12. 0xe158f09cdbfb4f7be1bfd45fce3afcad32c2b3bb2fc2e181dadc193bbf194bfc
  13. 0x746e9e5b6765727b6b96f41204cc115b0302259f6c67be0cf0efbf245601d500
  14. 0x614d844c9e0509d9f9e63697aa2935555bce5f13695a8dc0047aa9e9898d70b3
  15. 0x95657a7d540ed6cac0bde9995782333b2562a9a6641853269ac95148827410f0
  16. 0x5fb5dda563336cd1bc1b9f44c52b76237ae72ed2145cb9290f39f304ca7dd678
  17. 0x74a0a08e4e7ab9aa5bfbead33dec7e1c7e8e364cff69a63720d764bbe987aadc
Day root
0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8
Chained
0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a
Published
On Arc Testnet, block 69251483: 0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae

How to check it · This row as JSON