{
  "info": {
    "name": "SpecGrid EU e-Invoicing & Regulatory Compliance API (v1.6.2)",
    "description": "Deterministic B2B REST API for European e-invoicing and regulatory compliance: Spanish AEAT VeriFactu SHA-256 hash chaining & Tributary QR generation (Orden HAC/1177/2024), EN 16931 Peppol BIS 3.0 UBL & Facturae 3.2.2 XML auditing and JSON-to-XML generation, EPC069-12 v002 SEPA Credit Transfer Payment QRs, EU GPSR (Regulation 2023/988) product safety packs, and IBAN / EU VAT / Spanish NIF-CIF-NIE checksum verification. Zero payload retention.\n\nGet a Polar.sh API key ($15/mo Starter or $39/mo Growth): https://buy.polar.sh/polar_cl_9MGwGCdbGGuIjdfeMwOUN8Mql2VCSeF5QCCYG13IOw1\nOr test free (50 req/mo) on RapidAPI Hub: https://rapidapi.com/specgrid-specgrid-default/api/specgrid-eu-e-invoicing-verifactu-sepa-qr\nGitHub SDK & Templates (MIT): https://github.com/SpecGrid-tools/specgrid-eu-compliance-sdk",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://eu.specgrid-api.workers.dev"
    },
    {
      "key": "polarApiKey",
      "value": "SPECGRID-YOUR-LICENSE-KEY"
    }
  ],
  "item": [
    {
      "name": "GET /api/v1/health — API Health & Standards Version Check",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/health",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "health"
          ]
        },
        "description": "API Health & Standards Version Check"
      },
      "response": []
    },
    {
      "name": "POST /api/v1/tax-id/validate — Validate IBAN (ISO 13616 Mod-97), EU VAT & Spanish NIF/NIE/CIF Checksum",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/tax-id/validate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "tax-id",
            "validate"
          ]
        },
        "description": "Validate IBAN (ISO 13616 Mod-97), EU VAT & Spanish NIF/NIE/CIF Checksum",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"spanishTaxId\": \"B85905495\",\n  \"euVat\": \"ESB85905495\",\n  \"iban\": \"ES9121000418450200051332\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/verifactu/fingerprint — Generate AEAT VeriFactu SHA-256 Huella & Official ValidarQR URL + SVG",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/verifactu/fingerprint",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "verifactu",
            "fingerprint"
          ]
        },
        "description": "Generate AEAT VeriFactu SHA-256 Huella & Official ValidarQR URL + SVG",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"issuerNif\": \"89890001K\",\n  \"seriesNumber\": \"INV-2026/0001\",\n  \"issueDate\": \"28-11-2026\",\n  \"invoiceType\": \"F1\",\n  \"taxAmount\": 21,\n  \"totalAmount\": 121,\n  \"previousHash\": \"\",\n  \"generationTimestamp\": \"2026-11-28T20:00:00+01:00\",\n  \"verifactuMode\": true,\n  \"environment\": \"production\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/verifactu/verify-chain — Audit an Ordered Sequence of Chained AEAT VeriFactu Records",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/verifactu/verify-chain",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "verifactu",
            "verify-chain"
          ]
        },
        "description": "Audit an Ordered Sequence of Chained AEAT VeriFactu Records",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"records\": [\n    {\n      \"issuerNif\": \"89890001K\",\n      \"seriesNumber\": \"INV-2026/0001\",\n      \"issueDate\": \"28-11-2026\",\n      \"invoiceType\": \"F1\",\n      \"taxAmount\": 21,\n      \"totalAmount\": 121,\n      \"previousHash\": \"\",\n      \"generationTimestamp\": \"2026-11-28T20:00:00+01:00\",\n      \"expectedHash\": \"FE2D81DACEE3C4D4236278A3A2972FDE6F48AA5E9F28C63656029C34D2D78437\"\n    },\n    {\n      \"issuerNif\": \"89890001K\",\n      \"seriesNumber\": \"INV-2026/0002\",\n      \"issueDate\": \"28-11-2026\",\n      \"invoiceType\": \"F1\",\n      \"taxAmount\": 42,\n      \"totalAmount\": 242,\n      \"previousHash\": \"FE2D81DACEE3C4D4236278A3A2972FDE6F48AA5E9F28C63656029C34D2D78437\",\n      \"generationTimestamp\": \"2026-11-28T20:05:00+01:00\",\n      \"expectedHash\": \"1C3CC69DDCA84CB35E7FD40A4CC7DF58F9E356AB9C2658CACACB1509169F4CC2\"\n    }\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/sepa/epc-qr — Generate Official EPC069-12 v002 European SEPA Instant Credit Transfer QR",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/sepa/epc-qr",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "sepa",
            "epc-qr"
          ]
        },
        "description": "Generate Official EPC069-12 v002 European SEPA Instant Credit Transfer QR",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"beneficiaryName\": \"SpecGrid Industrial SL\",\n  \"iban\": \"DE89370400440532013000\",\n  \"amountEur\": 145.2,\n  \"remittanceText\": \"Invoice INV-2026-0042\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/einvoice/validate — Audit Peppol BIS 3.0 / EN 16931 UBL 2.1 or Spanish Facturae 3.2.2 XML",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/einvoice/validate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "einvoice",
            "validate"
          ]
        },
        "description": "Audit Peppol BIS 3.0 / EN 16931 UBL 2.1 or Spanish Facturae 3.2.2 XML",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"xml\": \"<Invoice xmlns=\\\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\\\" xmlns:cac=\\\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\\\" xmlns:cbc=\\\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\\\"><cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID><cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID><cbc:ID>INV-100</cbc:ID><cbc:IssueDate>2026-11-28</cbc:IssueDate><cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode><cac:AccountingSupplierParty><cac:Party><cbc:EndpointID>ESB85905495</cbc:EndpointID><cac:PartyName><cbc:Name>SpecGrid SL</cbc:Name></cac:PartyName></cac:Party></cac:AccountingSupplierParty><cac:AccountingCustomerParty><cac:Party><cbc:EndpointID>DE123456789</cbc:EndpointID><cac:PartyName><cbc:Name>Buyer GmbH</cbc:Name></cac:PartyName></cac:Party></cac:AccountingCustomerParty><cac:TaxTotal><cbc:TaxAmount>21.00</cbc:TaxAmount></cac:TaxTotal><cac:LegalMonetaryTotal><cbc:LineExtensionAmount>100.00</cbc:LineExtensionAmount><cbc:TaxExclusiveAmount>100.00</cbc:TaxExclusiveAmount><cbc:TaxInclusiveAmount>121.00</cbc:TaxInclusiveAmount><cbc:PayableAmount>121.00</cbc:PayableAmount></cac:LegalMonetaryTotal><cac:InvoiceLine><cbc:ID>1</cbc:ID><cbc:LineExtensionAmount>100.00</cbc:LineExtensionAmount></cac:InvoiceLine></Invoice>\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/einvoice/generate — Generate Compliant Peppol BIS 3.0 UBL 2.1 XML or AEAT VeriFactu RegistroAlta XML + SHA-256 & QR from JSON",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/einvoice/generate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "einvoice",
            "generate"
          ]
        },
        "description": "Generate Compliant Peppol BIS 3.0 UBL 2.1 XML or AEAT VeriFactu RegistroAlta XML + SHA-256 & QR from JSON",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"format\": \"verifactu_registro_alta\",\n  \"invoiceNumber\": \"INV-2026/0105\",\n  \"issueDate\": \"2026-11-28\",\n  \"currency\": \"EUR\",\n  \"supplier\": {\n    \"name\": \"SpecGrid Systems SL\",\n    \"taxId\": \"B85905495\",\n    \"countryCode\": \"ES\"\n  },\n  \"customer\": {\n    \"name\": \"Nordic Automation GmbH\",\n    \"taxId\": \"DE123456789\",\n    \"countryCode\": \"DE\"\n  },\n  \"lines\": [\n    {\n      \"description\": \"Compliance API Annual License\",\n      \"quantity\": 1,\n      \"unitPrice\": 100,\n      \"vatRate\": 21\n    }\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "POST /api/v1/gpsr/compliance-pack — Validate & Generate EU GPSR (Regulation 2023/988) Product Safety Pack + Tracking-Free QR",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Authorization",
            "value": "Bearer {{polarApiKey}}",
            "description": "Replace {{polarApiKey}} with your SPECGRID-... Polar.sh license key (or set X-SpecGrid-Sandbox: demo to test)"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/gpsr/compliance-pack",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "gpsr",
            "compliance-pack"
          ]
        },
        "description": "Validate & Generate EU GPSR (Regulation 2023/988) Product Safety Pack + Tracking-Free QR",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"productName\": \"Industrial Sensor Hub X4\",\n  \"modelOrSku\": \"SG-HUB-X4\",\n  \"batchOrSerial\": \"BATCH-2026-11\",\n  \"manufacturer\": {\n    \"name\": \"SpecGrid Hardware Ltd\",\n    \"postalAddress\": \"14 Tech Park, Zurich 8005, CH\",\n    \"electronicAddress\": \"safety@example-brand.eu\"\n  },\n  \"euResponsiblePerson\": {\n    \"name\": \"SpecGrid EU Compliance GmbH\",\n    \"countryCode\": \"DE\",\n    \"postalAddress\": \"Friedrichstrasse 114, 10117 Berlin, Germany\",\n    \"electronicAddress\": \"eu-rep@example-brand.eu\"\n  },\n  \"safetySheetUrl\": \"https://docs.example-brand.eu/gpsr/x4\",\n  \"warningsByLang\": {\n    \"en\": \"Keep dry. Operating temperature 0-45C.\",\n    \"es\": \"Mantener seco. Temperatura de trabajo 0-45C.\"\n  }\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    }
  ]
}