{
  "info": {
    "_postman_id": "58c67955-aba5-473d-8866-c92c9afd4dcb",
    "name": "fiskaly SIGN FR (Version 2026-02-03) Postman Collection",
    "description": "This postman collection consists the basic workflow of SIGN FR. Further information is provided in the [developer documentation](https://workspace.fiskaly.com/api/sign-fr).\n\nWhen this collection is executed with Postman, important parts of the results will be stored in the current selected Postman environment.\n\nPostman Collection version: 1.02",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "11988349",
    "_collection_link": "https://go.postman.co/collection/11988349-58c67955-aba5-473d-8866-c92c9afd4dcb?source=collection_link"
  },
  "item": [
    {
      "name": "tokens (management)",
      "item": [
        {
          "name": "Create a Token",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"apiBearerToken\", data.content.authentication.bearer);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "prerequest",
              "script": {
                "exec": [""],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"API_KEY\",\n    \"key\": \"{{apiKey}}\",\n    \"secret\": \"{{apiSecret}}\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/tokens",
              "host": ["{{apiBaseUrl}}"],
              "path": ["tokens"]
            },
            "description": "Create a token\n"
          },
          "response": []
        }
      ]
    },
    {
      "name": "organizations",
      "item": [
        {
          "name": "Create an Organization::UNIT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"organizationUnitId\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              },
              {
                "key": "X-Scope-Identifier",
                "value": "f36c82aa-7193-467d-bb49-58610bc5d737",
                "type": "text",
                "disabled": true
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"UNIT\",\n    \"name\": \"{{$randomCompanyName}}\"\n  },\n  \"metadata\": {\n    \"key\": \"value\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/organizations",
              "host": ["{{apiBaseUrl}}"],
              "path": ["organizations"]
            },
            "description": "This endpoint is used to create Assets, which represent a given resource. The Asset creation allows the management of organizational structures and access permissions.\n"
          },
          "response": []
        },
        {
          "name": "Retrieve an Organization::UNIT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "body": {
              "mode": "urlencoded",
              "urlencoded": []
            },
            "url": {
              "raw": "{{apiBaseUrl}}/organizations/{{organizationUnitId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["organizations", "{{organizationUnitId}}"]
            },
            "description": "Retrieve one asset\n"
          },
          "response": []
        },
        {
          "name": "Update an Organization::UNIT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"name\": \"{{$randomCompanyName}} 2.0\"\n  },\n  \"metadata\": {\n    \"label\": \"kd8s0nd72jf\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/organizations/{{organizationUnitId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["organizations", "{{organizationUnitId}}"]
            },
            "description": "Asset update\n"
          },
          "response": []
        },
        {
          "name": "List Organizations",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/organizations",
              "host": ["{{apiBaseUrl}}"],
              "path": ["organizations"],
              "query": [
                {
                  "key": "limit",
                  "value": "10",
                  "disabled": true
                },
                {
                  "key": "token",
                  "value": "8c2=",
                  "disabled": true
                }
              ]
            },
            "description": "List assets\n"
          },
          "response": []
        }
      ]
    },
    {
      "name": "subjects",
      "item": [
        {
          "name": "Create a Subject::API_KEY",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"subjectApiKey\", data.content.credentials.key);",
                  "    pm.environment.set(\"subjectApiSecret\", data.content.credentials.secret);",
                  "    pm.environment.set(\"subjectApiKeyId\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              },
              {
                "key": "X-Scope-Identifier",
                "value": "{{organizationUnitId}}",
                "description": "Scope identifier\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"API_KEY\",\n    \"name\": \"api-key-{{$timestamp}}\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/subjects",
              "host": ["{{apiBaseUrl}}"],
              "path": ["subjects"]
            },
            "description": "Create a subject"
          },
          "response": []
        },
        {
          "name": "Retrieve a Subject::API_KEY",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/subjects/{{subjectApiKeyId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["subjects", "{{subjectApiKeyId}}"]
            },
            "description": "Retrieve a subject"
          },
          "response": []
        },
        {
          "name": "Update a Subject::API_KEY (not implemented yet)",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 501\", function () {",
                  "    pm.response.to.have.status(501);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"name\": \"api-key-{{$timestamp}}\"\n  },\n  \"metadata\": {\n    \"key\": \"value\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/subjects/{{subjectApiKeyId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["subjects", "{{subjectApiKeyId}}"]
            },
            "description": "Update a subject"
          },
          "response": []
        },
        {
          "name": "List Subjects",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{apiBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Scope-Identifier",
                "value": "{{organizationUnitId}}",
                "description": "Scope identifier\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/subjects",
              "host": ["{{apiBaseUrl}}"],
              "path": ["subjects"],
              "query": [
                {
                  "key": "limit",
                  "value": "10",
                  "disabled": true
                },
                {
                  "key": "token",
                  "value": "8c2=",
                  "disabled": true
                }
              ]
            },
            "description": "List subjects"
          },
          "response": []
        }
      ]
    },
    {
      "name": "tokens (operation)",
      "item": [
        {
          "name": "Create a Token",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"subjectBearerToken\", data.content.authentication.bearer);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            },
            {
              "listen": "prerequest",
              "script": {
                "exec": [""],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"API_KEY\",\n    \"key\": \"{{subjectApiKey}}\",\n    \"secret\": \"{{subjectApiSecret}}\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/tokens",
              "host": ["{{apiBaseUrl}}"],
              "path": ["tokens"]
            },
            "description": "Create a token\n"
          },
          "response": []
        }
      ]
    },
    {
      "name": "taxpayers",
      "item": [
        {
          "name": "Create a Taxpayer::COMPANY",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"taxpayerCompanyId\", data.content.id); ",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"COMPANY\",\n        \"name\": {\n            \"legal\": \"Boulangerie Dupont SARL\",\n            \"trade\": \"Boulangerie Dupont\"\n        },\n        \"address\": {\n            \"line\": {\n                \"type\": \"STREET_NUMBER\",\n                \"street\": \"Rue de la République\",\n                \"number\": \"12\"\n            },\n            \"code\": \"75001\",\n            \"city\": \"Paris\",\n            \"country\": \"FR\"\n        },\n        \"fiscalization\": {\n            \"type\": \"FR\",\n            \"tax_id_number\": \"123456789\",\n            \"credentials\": {\n                \"type\": \"LNE\",\n                \"properties\": {\n                    \"NAF/APE\": \"47.11A\"\n                }\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers"]
            },
            "description": "Create a new entity in the system. This can represent a company, location, or individual."
          },
          "response": []
        },
        {
          "name": "Retrieve a Taxpayer::COMPANY",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers/{{taxpayerCompanyId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers", "{{taxpayerCompanyId}}"]
            },
            "description": "Fetch details about a specific entity using its entity ID."
          },
          "response": []
        },
        {
          "name": "Update a Taxpayer::COMPANY",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"state\": \"COMMISSIONED\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers/{{taxpayerCompanyId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers", "{{taxpayerCompanyId}}"]
            },
            "description": "Update the details of an existing entity. You can modify the state or mode associated with the entity."
          },
          "response": []
        },
        {
          "name": "Create a Taxpayer::INDIVIDUAL",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"taxpayerIndividualId\", data.content.id); ",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INDIVIDUAL\",\n        \"name\": {\n            \"legal\": \"Acme Services SAS\",\n            \"person\": {\n                \"gender\": \"FEMALE\",\n                \"forename\": \"Marie\",\n                \"surname\": \"Durand\"\n            }\n        },\n        \"address\": {\n            \"line\": {\n                \"type\": \"STREET_NUMBER\",\n                \"street\": \"Rue des Fleurs, Bât. A\",\n                \"number\": \"12\"\n            },\n            \"code\": \"75001\",\n            \"city\": \"Paris\",\n            \"country\": \"FR\"\n        },\n        \"fiscalization\": {\n            \"type\": \"FR\",\n            \"tax_id_number\": \"123456789\",\n            \"credentials\": {\n                \"type\": \"LNE\",\n                \"properties\": {\n                    \"NAF/APE\": \"47.11A\"\n                }\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers"]
            },
            "description": "Create a new entity in the system. This can represent a company, location, or individual."
          },
          "response": []
        },
        {
          "name": "Retrieve a Taxpayer::INDIVIDUAL",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers/{{taxpayerIndividualId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers", "{{taxpayerIndividualId}}"]
            },
            "description": "Fetch details about a specific entity using its entity ID."
          },
          "response": []
        },
        {
          "name": "Update a Taxpayer::INDIVIDUAL",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"state\": \"COMMISSIONED\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers/{{taxpayerIndividualId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers", "{{taxpayerIndividualId}}"]
            },
            "description": "Update the details of an existing entity. You can modify the state or mode associated with the entity."
          },
          "response": []
        },
        {
          "name": "List Taxpayers",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers"]
            },
            "description": "Retrieve a list of entities."
          },
          "response": []
        },
        {
          "name": "List Taxpayers with pagination (first page)",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"next_token\", data.pagination.next); ",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/taxpayers?limit=1",
              "host": ["{{apiBaseUrl}}"],
              "path": ["taxpayers"],
              "query": [
                {
                  "key": "limit",
                  "value": "1"
                }
              ]
            },
            "description": "Retrieve a list of entities."
          },
          "response": []
        },
        {
          "name": "List Taxpayers with pagination (second page)",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}{{next_token}}",
              "host": ["{{apiBaseUrl}}{{next_token}}"]
            },
            "description": "Retrieve a list of entities."
          },
          "response": []
        }
      ],
      "description": "An `Entity` resource represents a particular `Asset::UNIT` with the relevant legal entity (taxpayer) data. A legal entity consists of two main parts: taxpayer information and country-specific fiscalization details."
    },
    {
      "name": "locations",
      "item": [
        {
          "name": "Create a Location::BRANCH",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"locationBranchId\", data.content.id); ",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"BRANCH\",\n        \"taxpayer\": {\n            \"id\": \"{{taxpayerCompanyId}}\"\n        },\n        \"name\": \"Paris Branch 01\",\n        \"address\": {\n            \"line\": {\n                \"type\": \"STREET_NUMBER\",\n                \"street\": \"Boulevard Saint-Germain\",\n                \"number\": \"145\"\n            },\n            \"code\": \"75006\",\n            \"city\": \"Paris\",\n            \"country\": \"FR\"\n        },\n        \"coordinates\": {\n            \"latitude\": \"48.853400\",\n            \"longitude\": \"2.333600\"\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/locations",
              "host": ["{{apiBaseUrl}}"],
              "path": ["locations"]
            },
            "description": "Create a new entity in the system. This can represent a company, location, or individual."
          },
          "response": []
        },
        {
          "name": "Retrieve a Location::BRANCH",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/locations/{{locationBranchId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["locations", "{{locationBranchId}}"]
            },
            "description": "Fetch details about a specific entity using its entity ID."
          },
          "response": []
        },
        {
          "name": "Update a Location::BRANCH",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"state\": \"COMMISSIONED\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/locations/{{locationBranchId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["locations", "{{locationBranchId}}"]
            },
            "description": "Update the details of an existing entity. You can modify the state or mode associated with the entity."
          },
          "response": []
        },
        {
          "name": "List Locations",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/locations",
              "host": ["{{apiBaseUrl}}"],
              "path": ["locations"]
            },
            "description": "Retrieve a list of entities."
          },
          "response": []
        }
      ]
    },
    {
      "name": "systems",
      "item": [
        {
          "name": "Create a System::FISCAL_DEVICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceId\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Retrieve a System::FISCAL_DEVICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems/{{systemFiscalDeviceId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems", "{{systemFiscalDeviceId}}"]
            },
            "description": "Fetch details about a specific system using its system ID."
          },
          "response": []
        },
        {
          "name": "Update a System::FISCAL_DEVICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"state\": \"COMMISSIONED\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems/{{systemFiscalDeviceId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems", "{{systemFiscalDeviceId}}"]
            },
            "description": "Update the details of an existing system. You can modify the state."
          },
          "response": []
        },
        {
          "name": "List Systems",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        }
      ],
      "description": "A `System` represents an Electronic Recording System (ERS), such as a Point of Sale (PoS) or any other system capable of performing business operations.\n\nThe lifecycle of a `System` resource is depicted in the following `state` and `mode` transitions:\n\n<img src=\"https://workspace.fiskaly.com/static/docs/entity_system_state_mode_en.png\">"
    },
    {
      "name": "systems (Pagination)",
      "item": [
        {
          "name": "Create system #1 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Create system #2 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Create system #3 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Create system #4 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Create system #5 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "Create system #6 Connected to Location",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemFiscalDeviceIdListTest\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"FISCAL_DEVICE\",\n    \"location\": {\n      \"id\": \"{{locationBranchId}}\"\n    },\n    \"producer\": {\n      \"type\": \"MPN\",\n      \"number\": \"MPN123456\",\n      \"details\": {\n        \"name\": \"Fiscal X200\",\n        \"brand\": \"PrinterCo\",\n        \"date_of_entry\": \"2023-07-01\",\n        \"model\": \"X200-Rev2\",\n        \"serial\": \"SN123456789\",\n        \"label\": \"FISCAL-DEV-001\",\n        \"date_of_production\": \"2023-01-15\"\n      }\n    },\n    \"software\": {\n      \"name\": \"FiscalSoft\",\n      \"version\": \"v5.2.1\"\n    }\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/systems",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"]
            },
            "description": "Use this endpoint to create a new system."
          },
          "response": []
        },
        {
          "name": "List Systems With Limit",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemNextUrl\", data.pagination.next);",
                  "    pm.environment.set(\"paginationToken\", data.pagination.token);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems?limit=3",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"],
              "query": [
                {
                  "key": "limit",
                  "value": "3"
                }
              ]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List paginated Systems by the next url",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}{{systemNextUrl}}",
              "host": ["{{apiBaseUrl}}{{systemNextUrl}}"]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List Systems With Limit and Token",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems?limit=2&token={{paginationToken}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"],
              "query": [
                {
                  "key": "limit",
                  "value": "2"
                },
                {
                  "key": "token",
                  "value": "{{paginationToken}}"
                }
              ]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List Systems With Limit and Location Identifier",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"systemWithEntityIdNextUrl\", data.pagination.next);",
                  "    pm.environment.set(\"paginationTokenWithEntityId\", data.pagination.token);",
                  "",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems?limit=3&location_id={{locationBranchId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"],
              "query": [
                {
                  "key": "limit",
                  "value": "3"
                },
                {
                  "key": "location_id",
                  "value": "{{locationBranchId}}"
                }
              ]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List paginated Systems with Location Identifier filter by the next ur",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}{{systemWithEntityIdNextUrl}}",
              "host": ["{{apiBaseUrl}}{{systemWithEntityIdNextUrl}}"]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List Systems With Limit, Token and Location Id",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems?token={{paginationTokenWithEntityId}}&limit=2&location_id={{locationBranchId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"],
              "query": [
                {
                  "key": "token",
                  "value": "{{paginationTokenWithEntityId}}"
                },
                {
                  "key": "limit",
                  "value": "2"
                },
                {
                  "key": "location_id",
                  "value": "{{locationBranchId}}"
                }
              ]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        },
        {
          "name": "List Systems With Company Taxpayer Id without limit and token",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/systems?taxpayer_id={{taxpayerCompanyId}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["systems"],
              "query": [
                {
                  "key": "taxpayer_id",
                  "value": "{{taxpayerCompanyId}}"
                }
              ]
            },
            "description": "Retrieve a list of systems."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (RECEIPT)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"type\": \"PERSON\",\n                        \"label\": \"John Doe\"\n                    }\n                ]\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Update a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"metadata\": {\n    \"label\": \"aliqua_978\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdA}}"]
            },
            "description": "Update a the state of an existing record."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdA}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"81.96721311\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"100.00\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"type\": \"PERSON\",\n                        \"label\": \"1023\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Update a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"metadata\": {\n    \"label\": \"aliq88s978\"\n  }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Update a the state of an existing record."
          },
          "response": []
        },
        {
          "name": "List Records",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 501\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Retrieve a list of records."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (DRAFT_RECEIPT)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"type\": \"PERSON\",\n                        \"label\": \"John Doe\"\n                    }\n                ]\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::DRAFT_RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdA}}\"\n        },\n        \"operation\": {\n            \"type\": \"DRAFT_RECEIPT\",\n            \"document\": {\n                \"number\": \"1234\",\n                \"total_vat\": {\n                    \"amount\": \"2.59\",\n                    \"exclusive\": \"12.375\",\n                    \"inclusive\": \"14.974\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Coffee\",\n                        \"unit\": {\n                            \"quantity\": \"3\",\n                            \"measure\": \"cups\",\n                            \"factor\": \"1\",\n                            \"price\": \"2.50\"\n                        },\n                        \"value\": {\n                            \"base\": \"7.50\",\n                            \"discount\": \"0.150\",\n                            \"surcharge\": \"0.075\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"amount\": \"1.559\",\n                            \"exclusive\": \"7.425\",\n                            \"inclusive\": \"8.984\"\n                        },\n                        \"product\": {\n                            \"type\": \"MPN\",\n                            \"number\": \"PSP20U-99P98R\",\n                            \"details\": {\n                                \"name\": \"Coffee speciality imported Brazil beans\",\n                                \"brand\": \"Starbucks\",\n                                \"model\": \"N/A\",\n                                \"serial\": \"N/A\",\n                                \"date_of_entry\": \"2019-01-02\"\n                            }\n                        }\n                    },\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    }\n                }\n            ]\n        }\n    },\n    \"metadata\": {\n        \"foo\": \"bar\"\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::DRAFT_RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (CANCELLATION)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdB0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdB0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdB0}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"100.00\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"100\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdB1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::CANCELLATION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdB1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdB1}}\"\n        },\n        \"operation\": {\n            \"type\": \"CANCELLATION\",\n            \"record\": {\n                \"id\": \"{{recordTransactionIdB0}}\"\n            },\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::CANCELLATION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (ABORT)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdB1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::ABORT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdB1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdB1}}\"\n        },\n        \"operation\": {\n            \"type\": \"ABORT\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::ABORT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (CORRECTION)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdC0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdC0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdC0}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"81.96721311\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"100\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdC1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::CORRECTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdC1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdC1}}\"\n        },\n        \"operation\": {\n            \"type\": \"CORRECTION\",\n            \"record\": {\n                \"id\": \"{{recordTransactionIdC0}}\"\n            },\n            \"data\": {\n                \"type\": \"RECEIPT\",\n                \"document\": {\n                    \"number\": \"INV-12345\",\n                    \"series\": \"C\",\n                    \"total_vat\": {\n                        \"amount\": \"18.03278689\",\n                        \"exclusive\": \"81.96721311\",\n                        \"inclusive\": \"100\"\n                    }\n                },\n                \"entries\": [\n                    {\n                        \"type\": \"RETURN\",\n                        \"details\": {\n                            \"concept\": \"GOOD\",\n                            \"number\": \"1\"\n                        },\n                        \"data\": {\n                            \"type\": \"ITEM\",\n                            \"text\": \"Product XYZ\",\n                            \"unit\": {\n                                \"quantity\": \"1\",\n                                \"price\": \"100.00\"\n                            },\n                            \"value\": {\n                                \"base\": \"81.96721311\"\n                            },\n                            \"vat\": {\n                                \"type\": \"VAT_RATE\",\n                                \"code\": \"STANDARD\",\n                                \"percentage\": \"22.00\",\n                                \"exclusive\": \"81.96721311\",\n                                \"inclusive\": \"100\",\n                                \"amount\": \"18.03278689\"\n                            }\n                        }\n                    }\n                ],\n                \"customer\": {\n                    \"type\": \"EXTERNAL\"\n                },\n                \"payments\": [\n                    {\n                        \"type\": \"CASH\",\n                        \"details\": {\n                            \"amount\": \"100.00\"\n                        }\n                    }\n                ],\n                \"details\": {\n                    \"creators\": [\n                        {\n                            \"label\": \"Employee no. 21001\",\n                            \"name\": {\n                                \"forename\": \"Claire\",\n                                \"gender\": \"FEMALE\",\n                                \"infix\": \"de\",\n                                \"prefix\": \"Mme\",\n                                \"suffix\": \"PhD\",\n                                \"surname\": \"Moreau\"\n                            },\n                            \"type\": \"PERSON\"\n                        }\n                    ],\n                    \"training\": false\n                }\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::CORRECTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (DUPLICATE)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdD0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"type\": \"PERSON\",\n                        \"label\": \"1023\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdD0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdD0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdC0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdD0}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"81.96721311\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"100\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::INTENTION::DUPLICATE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdC1\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"DUPLICATE\",\n            \"record\": {\n                \"id\": \"{{recordTransactionIdC0}}\"\n            },\n            \"number\": \"2\",\n            \"reason\": \"Original perdu\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": false,\n                \"properties\": {\n                    \"original_document_number\": \"INV-2025-000123\",\n                    \"chaining_with_previous_signature\": \"true\",\n                    \"previous_duplicate_signature\": \"MEUCIQDg...p9Z==\",\n                    \"unique_original_document_number\": \"INV-2025-000123-ORI\",\n                    \"original_document_type\": \"INVOICE\",\n                    \"string_before_hash\": \"INV-2025-000123|2025-09-29|EUR|999.00\",\n                    \"duplicate_signature\": \"MEYCIQDf...L==\",\n                    \"duplicate_signature_restitution\": \"MEYCIQDf...L==\"\n                }\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION::DUPLICATE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdC1}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdC1}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (EVENT)",
      "item": [
        {
          "name": "Create a Record::INTENTION::EVENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdE0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"EVENT\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"properties\": {\n                    \"my_key\": \"my_value\"\n                },\n                \"training\": true\n            },\n            \"code\": \"EC1234567890\",\n            \"description\": \"opened cash register\",\n            \"occurred_at\": \"2025-01-02T15:04:05+00:00\"\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION::EVENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdE0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdE0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (INVOICE)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdI0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\"\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdI0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdI0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::INVOICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdI0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdI0}}\"\n        },\n        \"operation\": {\n            \"type\": \"INVOICE\",\n            \"document\": {\n                \"number\": \"1234\",\n                \"total_vat\": {\n                    \"amount\": \"2.59\",\n                    \"exclusive\": \"12.375\",\n                    \"inclusive\": \"14.974\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Coffee\",\n                        \"unit\": {\n                            \"quantity\": \"3\",\n                            \"measure\": \"cups\",\n                            \"factor\": \"1\",\n                            \"price\": \"2.50\"\n                        },\n                        \"value\": {\n                            \"base\": \"7.50\",\n                            \"discount\": \"0.150\",\n                            \"surcharge\": \"0.075\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"amount\": \"1.559\",\n                            \"exclusive\": \"7.425\",\n                            \"inclusive\": \"8.984\"\n                        },\n                        \"product\": {\n                            \"type\": \"MPN\",\n                            \"number\": \"PSP20U-99P98R\",\n                            \"details\": {\n                                \"name\": \"Coffee speciality imported Brazil beans\",\n                                \"brand\": \"Starbucks\",\n                                \"model\": \"N/A\",\n                                \"serial\": \"N/A\",\n                                \"date_of_entry\": \"2019-01-02\"\n                            }\n                        }\n                    },\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    }\n                }\n            ],\n            \"recipients\": [\n                {\n                    \"type\": \"BUSINESS\",\n                    \"name\": \"Max Mustermann\",\n                    \"address\": {\n                        \"line\": {\n                            \"type\": \"STREET_NUMBER\",\n                            \"street\": \"Mariahilferstraße\",\n                            \"number\": \"1\"\n                        },\n                        \"code\": \"1070\",\n                        \"city\": \"Vienna\",\n                        \"country\": \"AT\"\n                    },\n                    \"shipping\": {\n                        \"address\": {\n                            \"line\": {\n                                \"type\": \"STREET_NUMBER\",\n                                \"street\": \"Mariahilferstraße\",\n                                \"number\": \"321\"\n                            },\n                            \"code\": \"1070\",\n                            \"city\": \"Vienna\",\n                            \"country\": \"AT\"\n                        },\n                        \"date\": \"2024-06-20\"\n                    },\n                    \"identification\": {\n                        \"type\": \"VAT\",\n                        \"number\": \"ATU99999999\"\n                    }\n                }\n            ],\n            \"payments\": [\n                {\n                    \"type\": \"CARD\",\n                    \"details\": {\n                        \"amount\": \"2.0\",\n                        \"currency\": \"EUR\",\n                        \"date\": \"2006-01-02\",\n                        \"discount\": \"0.5\"\n                    },\n                    \"number\": \"***************1234\",\n                    \"kind\": \"CREDIT\"\n                }\n            ],\n            \"breakdown\": [\n                {\n                    \"percentage\": \"10.0\",\n                    \"amount\": \"20.12\"\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": true,\n                \"properties\": {\n                    \"my_key\": \"my_value\"\n                }\n            }\n        }\n    },\n    \"metadata\": {\n        \"foo\": \"bar\"\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::INVOICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdI0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdI0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (PRO_FORMA_INVOICE)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\"\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::PRO_FORMA_INVOICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdA}}\"\n        },\n        \"operation\": {\n            \"type\": \"PRO_FORMA_INVOICE\",\n            \"document\": {\n                \"number\": \"1234\",\n                \"total_vat\": {\n                    \"amount\": \"2.59\",\n                    \"exclusive\": \"12.375\",\n                    \"inclusive\": \"14.974\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Coffee\",\n                        \"unit\": {\n                            \"quantity\": \"3\",\n                            \"measure\": \"cups\",\n                            \"factor\": \"1\",\n                            \"price\": \"2.50\"\n                        },\n                        \"value\": {\n                            \"base\": \"7.50\",\n                            \"discount\": \"0.150\",\n                            \"surcharge\": \"0.075\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"amount\": \"1.559\",\n                            \"exclusive\": \"7.425\",\n                            \"inclusive\": \"8.984\"\n                        },\n                        \"product\": {\n                            \"type\": \"MPN\",\n                            \"number\": \"PSP20U-99P98R\",\n                            \"details\": {\n                                \"name\": \"Coffee speciality imported Brazil beans\",\n                                \"brand\": \"Starbucks\",\n                                \"model\": \"N/A\",\n                                \"serial\": \"N/A\",\n                                \"date_of_entry\": \"2019-01-02\"\n                            }\n                        }\n                    },\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    }\n                }\n            ],\n            \"recipients\": [\n                {\n                    \"type\": \"BUSINESS\",\n                    \"name\": \"Max Mustermann\",\n                    \"address\": {\n                        \"line\": {\n                            \"type\": \"STREET_NUMBER\",\n                            \"street\": \"Mariahilferstraße\",\n                            \"number\": \"1\"\n                        },\n                        \"code\": \"1070\",\n                        \"city\": \"Vienna\",\n                        \"country\": \"AT\"\n                    },\n                    \"shipping\": {\n                        \"address\": {\n                            \"line\": {\n                                \"type\": \"STREET_NUMBER\",\n                                \"street\": \"Mariahilferstraße\",\n                                \"number\": \"321\"\n                            },\n                            \"code\": \"1070\",\n                            \"city\": \"Vienna\",\n                            \"country\": \"AT\"\n                        },\n                        \"date\": \"2024-06-20\"\n                    },\n                    \"identification\": {\n                        \"type\": \"VAT\",\n                        \"number\": \"ATU99999999\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": true,\n                \"properties\": {\n                    \"my_key\": \"my_value\"\n                }\n            }\n        }\n    },\n    \"metadata\": {\n        \"foo\": \"bar\"\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::PRO_FORMA_INVOICE",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (PROOF_OF_PAYMENT)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\"\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdC\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdA}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"81.96721311\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"100.00\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"type\": \"PERSON\",\n                        \"label\": \"1023\"\n                    }\n                ],\n                \"training\": false\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdB0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdB0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdB\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\"\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordIntentionIdB}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordIntentionIdB}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::PROOF_OF_PAYMENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdB}}\"\n        },\n        \"operation\": {\n            \"type\": \"PROOF_OF_PAYMENT\",\n            \"record\": {\n                \"id\": \"{{recordTransactionIdC}}\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\": \"12.34\",\n                        \"currency\": \"EUR\"\n                    }\n                }\n            ],\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"training\": true,\n                \"properties\": {\n                    \"my_key\": \"my_value\"\n                }\n            }\n        }\n    },\n    \"metadata\": {\n        \"foo\": \"bar\"\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::PROOF_OF_PAYMENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (EXPORT)",
      "item": [
        {
          "name": "Create a Record::INTENTION::EXPORT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdC0\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"EXPORT\",\n            \"details\": {\n                \"creators\": [\n                    {\n                        \"label\": \"Employee no. 21001\",\n                        \"name\": {\n                            \"forename\": \"Claire\",\n                            \"gender\": \"FEMALE\",\n                            \"infix\": \"de\",\n                            \"prefix\": \"Mme\",\n                            \"suffix\": \"PhD\",\n                            \"surname\": \"Moreau\"\n                        },\n                        \"type\": \"PERSON\"\n                    }\n                ],\n                \"properties\": {\n                    \"my_key\": \"example export FIRST\"\n                },\n                \"training\": true\n            },\n            \"range\": {\n                \"start\": \"2025-01-02T15:04:05+00:00\",\n                \"end\": \"2025-12-20T09:06:05+00:00\"\n            }\n        }\n    }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::INTENTION::EXPORT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "        var data = pm.response.json();",
                  "       pm.environment.set(\"exportId\", data.content.used_in.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdC0}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdC0}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::EXPORT::RECORDS",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"exportFilePath\", data.content.data.artifact.path);",
                  "});"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{exportId}}?data-artifact",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{exportId}}"],
              "query": [
                {
                  "key": "data-artifact",
                  "value": null
                }
              ]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        },
        {
          "name": "Download a Record::EXPORT::RECORDS File",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}{{exportFilePath}}",
              "host": ["{{apiBaseUrl}}{{exportFilePath}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    },
    {
      "name": "records (ENRICHMENT)",
      "item": [
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"INTENTION\",\n    \"system\": {\n      \"id\": \"{{systemFiscalDeviceId}}\"\n    },\n    \"operation\": {\n      \"type\": \"TRANSACTION\"\n    }\n  }\n}\n\n             \n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::RECEIPT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionReceipt\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"TRANSACTION\",\n        \"record\": {\n            \"id\": \"{{recordIntentionIdA}}\"\n        },\n        \"operation\": {\n            \"type\": \"RECEIPT\",\n            \"document\": {\n                \"number\": \"INV-12345\",\n                \"total_vat\": {\n                    \"amount\": \"18.03278689\",\n                    \"exclusive\": \"81.96721311\",\n                    \"inclusive\": \"100\"\n                }\n            },\n            \"entries\": [\n                {\n                    \"type\": \"SALE\",\n                    \"details\": {\n                        \"concept\": \"GOOD\"\n                    },\n                    \"data\": {\n                        \"type\": \"ITEM\",\n                        \"text\": \"Product XYZ\",\n                        \"unit\": {\n                            \"quantity\": \"1\",\n                            \"price\": \"100.00\"\n                        },\n                        \"value\": {\n                            \"base\": \"81.96721311\"\n                        },\n                        \"vat\": {\n                            \"type\": \"VAT_RATE\",\n                            \"code\": \"STANDARD\",\n                            \"percentage\": \"22.00\",\n                            \"exclusive\": \"81.96721311\",\n                            \"inclusive\": \"100\",\n                            \"amount\": \"18.03278689\"\n                        }\n                    }\n                }\n            ],\n            \"customer\": {\n                \"type\": \"EXTERNAL\"\n            },\n            \"payments\": [\n                {\n                    \"type\": \"CASH\",\n                    \"details\": {\n                        \"amount\":\"100.00\"\n                    }\n                }\n            ]\n        }\n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Create a Record::INTENTION",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordIntentionForEnrichment\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"content\": {\n        \"type\": \"INTENTION\",\n        \"system\": {\n            \"id\": \"{{systemFiscalDeviceId}}\"\n        },\n        \"operation\": {\n            \"type\": \"TRANSACTION\"\n        }\n       \n    }\n}\n",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create an intention record."
          },
          "response": []
        },
        {
          "name": "Create a Record::TRANSACTION::ENRICHMENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "    var data = pm.response.json();",
                  "    pm.environment.set(\"recordTransactionIdA\", data.content.id);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              },
              {
                "key": "X-Idempotency-Key",
                "value": "{{$guid}}",
                "description": "(Required) Idempotency key ...\n\n"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"content\": {\n    \"type\": \"TRANSACTION\",\n    \"record\": {\n      \"id\": \"{{recordIntentionForEnrichment}}\"\n    },\n    \"operation\": {\n      \"type\": \"ENRICHMENT\",\n      \"record\": {\n        \"id\": \"{{recordTransactionReceipt}}\"\n      },\n      \"recipients\": [\n        {\n          \"type\": \"BUSINESS\",\n          \"name\": \"Max Mustermann\",\n          \"address\": {\n            \"line\": {\n              \"type\": \"STREET_NUMBER\",\n              \"street\": \"Mariahilferstraße\",\n              \"number\": \"1\"\n            },\n            \"code\": \"1070\",\n            \"city\": \"Vienna\",\n            \"country\": \"AT\"\n          },\n          \"shipping\": {\n            \"address\": {\n              \"line\": {\n                \"type\": \"STREET_NUMBER\",\n                \"street\": \"Mariahilferstraße\",\n                \"number\": \"321\"\n              },\n              \"code\": \"1070\",\n              \"city\": \"Vienna\",\n              \"country\": \"AT\"\n            },\n            \"date\": \"2024-06-20\"\n          },\n          \"identification\": {\n            \"type\": \"VAT\",\n            \"number\": \"ATU99999999\"\n          }\n        }\n      ],\n      \"breakdown\": [\n        {\n          \"percentage\": \"21.00\",\n          \"amount\": \"22.00\"\n        }\n      ],\n      \"details\": {\n        \"creators\": [\n          {\n            \"type\": \"PERSON\",\n            \"label\": \"hello world\",\n            \"name\": {\n              \"gender\": \"DIVERSE\",\n              \"prefix\": \"e1\",\n              \"forename\": \"e2\",\n              \"infix\": \"e3\",\n              \"surname\": \"e4\",\n              \"suffix\": \"e5\"\n            }\n          }\n        ],\n        \"training\": true,\n        \"properties\": {\n          \"my_key\": \"my_value\"\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"foo\": \"bar\"\n  }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{apiBaseUrl}}/records",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records"]
            },
            "description": "Create a transaction recored."
          },
          "response": []
        },
        {
          "name": "Retrieve a Record::TRANSACTION::ENRICHMENT",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.test(\"Status code is 200\", function () {",
                  "    pm.response.to.have.status(200);",
                  "});",
                  ""
                ],
                "type": "text/javascript",
                "packages": {}
              }
            }
          ],
          "request": {
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{subjectBearerToken}}",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Api-Version",
                "value": "{{apiVersion}}",
                "description": "API version ...\n"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/records/{{recordTransactionIdA}}",
              "host": ["{{apiBaseUrl}}"],
              "path": ["records", "{{recordTransactionIdA}}"]
            },
            "description": "Fetch details about a specific record using its record ID."
          },
          "response": []
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [""]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [""]
      }
    }
  ]
}
