{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Spain ( ES )","description":"Complete documentation for integrating Cheqi's digital receipt platform","keywords":["cheqi","digital receipts","api","sdk","java","javascript"]},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"spain--es-","__idx":0},"children":["Spain (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES"]},")"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES_SIF"]}," for the applicable SIF output mode and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES_VERIFACTU"]}," when the"," ","taxpayer's invoicing system is operating under its VERI",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["FACTU configuration."," ","VERI"]},"FACTU is not selected independently for each receipt."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"before-cheqi","__idx":1},"children":["Before Cheqi"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Configure the taxpayer's invoicing system for the applicable SIF modality."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Have that system allocate the invoice type, series, and number and produce"," ","the chained-record hash."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Complete any required AEAT operation and retain its response."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Obtain the final software identity, wording, fiscal evidence, and QR payload"," ","before generating the receipt."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"in-the-cheqi-request","__idx":2},"children":["In the Cheqi request"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Request location"},"children":["Request location"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SIF regime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jurisdictionalData.regime = ES_SIF"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["VERI*FACTU regime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jurisdictionalData.regime = ES_VERIFACTU"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Regime contract version"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jurisdictionalData.regimeVersion"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invoice type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES:INVOICE_TYPE"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Series"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES:SERIES"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Chained-record hash"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fiscal field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES:CHAINED_RECORD_HASH"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Software version"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fiscal field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ES:SIF_SOFTWARE_VERSION"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authority reference"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fiscalization.authorityReference"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["VERI*FACTU wording"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legalTexts[]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verification QR"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Top-level ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["barcodes[]"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verifactu-example","__idx":3},"children":["VERI*FACTU example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"barcodes\": [\n    {\n      \"type\": \"QR_CODE\",\n      \"data\": \"exact-verifactu-qr-payload\",\n      \"label\": \"VERI*FACTU\"\n    }\n  ],\n  \"jurisdictionalData\": {\n    \"countryCode\": \"ES\",\n    \"regime\": \"ES_VERIFACTU\",\n    \"regimeVersion\": \"2026-07\",\n    \"fiscalization\": {\n      \"system\": \"ES_VERIFACTU\",\n      \"status\": \"FISCALIZED\",\n      \"fiscalDocumentNumber\": \"F2026-000042\",\n      \"authorityReference\": \"opaque-aeat-reference\",\n      \"softwareId\": \"ES-SIF-SOFTWARE-01\",\n      \"timestamp\": \"2026-07-29T08:15:30Z\",\n      \"additionalFields\": [\n        {\n          \"code\": \"ES:CHAINED_RECORD_HASH\",\n          \"value\": \"opaque-chain-hash\"\n        },\n        {\n          \"code\": \"ES:SIF_SOFTWARE_VERSION\",\n          \"value\": \"1.0.0\"\n        }\n      ]\n    },\n    \"legalTexts\": [\n      {\n        \"code\": \"VERIFACTU_NOTICE\",\n        \"text\": \"Exact wording produced by the configured invoicing system\",\n        \"languageCode\": \"es-ES\"\n      }\n    ],\n    \"additionalFields\": [\n      {\n        \"code\": \"ES:INVOICE_TYPE\",\n        \"value\": \"F1\"\n      },\n      {\n        \"code\": \"ES:SERIES\",\n        \"value\": \"F2026\"\n      }\n    ]\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Cheqi does not create the chained record, elect the SIF modality, report to"," ","AEAT, or generate the QR payload."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related","__idx":4},"children":["Related"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/countries/jurisdictional-data"},"children":["Supplying jurisdiction data"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/countries/overview"},"children":["Country support boundary"]}]}]}]},"headings":[{"value":"Spain ( ES )","id":"spain--es-","depth":1},{"value":"Before Cheqi","id":"before-cheqi","depth":2},{"value":"In the Cheqi request","id":"in-the-cheqi-request","depth":2},{"value":"VERI*FACTU example","id":"verifactu-example","depth":2},{"value":"Related","id":"related","depth":2}],"frontmatter":{"title":"Spain","description":"Create Spanish SIF and VERI*FACTU receipt variants","seo":{"title":"Spain ( ES )"}},"lastModified":"2026-07-29T20:49:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/countries/es","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}