{
	"info": {
		"_postman_id": "b6bad4f5-0742-40a2-866e-3848d1d7bcd3",
		"name": "easyPos Local API",
		"description": "easyPos Local API is a local integration API for connecting third-party ERP, accounting, e-commerce, kiosk, self-ordering, inventory, and back-office systems with easyPos.\n\nThis collection documents how external systems can communicate with easyPos over the local network, using the authorization string and listening port configured inside easyPos. It is intended for retail, restaurant, hospitality, and point-of-sale automation workflows, including local sales operations and Albania Fiscalization / Fiscalisation API integrations where fiscalization is enabled.\n\nConfigure the collection variables before running requests:\n\n- baseURL: local machine or LAN host where easyPos is running\n- port: local API port configured in easyPos\n- auth: authorization string configured in easyPos\n    \n\nUse the root endpoint `/` to test the connection.\n\nErrors JSON - [https://www.jsonkeeper.com/b/1ARS](https://www.jsonkeeper.com/b/1ARS)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "21155107"
	},
	"item": [
		{
			"name": "Invoices",
			"item": [
				{
					"name": "Get All Invoices",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "{{auth}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/invoices",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"invoices"
							]
						},
						"description": "Returns all the invoices."
					},
					"response": [
						{
							"name": "Get All Invoices",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "TpMW75Vg",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/invoices",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"invoices"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "[\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"36b0000d-041a-4939-ab0b-e00011cfe50e\",\n        \"issueDateTime\": \"2024-03-20T11:52:19+01:00\",\n        \"invoiceNumber\": \"39/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"ORDER\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"1232.00\",\n        \"totalVATAmount\": \"205.33\",\n        \"nslf\": \"0619C9A2FAA985D9449DBD6869AE56F1\",\n        \"nivf\": \"65b2c63e-e445-42ee-b261-d7c7fc069bb1\",\n        \"items\": [\n            {\n                \"id\": \"113\",\n                \"name\": \"test108\",\n                \"price\": \"1232.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"issueDateTime\": \"2024-04-04T17:56:34+02:00\",\n        \"invoiceNumber\": \"45/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"NORMAL\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"500.00\",\n        \"totalVATAmount\": \"83.33\",\n        \"nslf\": \"0980C2883420DBD945290B33757687B2\",\n        \"nivf\": \"5cd9cfc6-6d66-4ff6-89e1-f4eb48d941c9\",\n        \"items\": [\n            {\n                \"id\": \"65db1562e863f5f0ff8d2c18\",\n                \"name\": \"Test2\",\n                \"price\": \"500.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"a73665f0-4dca-4f5f-b519-bdb468e973b8\",\n        \"issueDateTime\": \"2024-03-20T11:42:28+01:00\",\n        \"invoiceNumber\": \"8/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"ORDER\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"4412.00\",\n        \"totalVATAmount\": \"735.33\",\n        \"nslf\": \"0B0089769A6585D7BCA9A5DA28931B5E\",\n        \"nivf\": \"55926c44-2129-467e-a52a-d2f5ec58a2a8\",\n        \"items\": [\n            {\n                \"id\": \"112\",\n                \"name\": \"test12323\",\n                \"price\": \"4412.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"fca1fe23-8856-42eb-9613-9a132b17c2cc\",\n        \"issueDateTime\": \"2024-03-20T11:52:16+01:00\",\n        \"invoiceNumber\": \"36/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"SUMMARY\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"5644.00\",\n        \"totalVATAmount\": \"940.66\",\n        \"nslf\": \"0B1F9DC9021B0019E4898E1A971F9123\",\n        \"nivf\": \"35ec2ea2-7a5a-4714-993c-c1d4367651c9\",\n        \"items\": [\n            {\n                \"id\": \"113\",\n                \"name\": \"test108\",\n                \"price\": \"1232.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"112\",\n                \"name\": \"test12323\",\n                \"price\": \"4412.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"40b3a710-006a-43d5-a8e6-2a8cf0e6763a\",\n        \"issueDateTime\": \"2024-03-20T11:51:36+01:00\",\n        \"invoiceNumber\": \"28/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"SUMMARY\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"1234.00\",\n        \"totalVATAmount\": \"205.67\",\n        \"nslf\": \"121DC6B1F19E3406D33928D3E5B43031\",\n        \"nivf\": \"7ba8b4e4-eda1-4689-928c-1e5742fdc161\",\n        \"items\": [\n            {\n                \"id\": \"8697415306340\",\n                \"name\": \"(10 PCS) CURLER SET 3CM\",\n                \"price\": \"1.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"8680742404636\",\n                \"name\": \"(36PCS) BOBBY PIN 3\",\n                \"price\": \"1.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"113\",\n                \"name\": \"test108\",\n                \"price\": \"1232.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"issueDateTime\": \"2024-04-04T17:59:18+02:00\",\n        \"invoiceNumber\": \"49/2024\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"NORMAL\",\n        \"typeOfInvoice\": \"NONCASH\",\n        \"totalPrice\": \"246.00\",\n        \"totalVATAmount\": \"41.00\",\n        \"nslf\": \"1496801B9013702717875ECB4C1DA59D\",\n        \"nivf\": \"c7a9885d-9b84-4e41-909a-86a577de11f4\",\n        \"items\": [\n            {\n                \"id\": \"65ca4c1bdf904548943f6032\",\n                \"name\": \"artikull peshore\",\n                \"price\": \"123.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"65cb3f0edf904548943f6033\",\n                \"name\": \"test scale article\",\n                \"price\": \"123.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"f405a6d3-5c2c-4c53-ae33-4cc321e79e03\",\n        \"issueDateTime\": \"2024-03-20T10:54:23+01:00\",\n        \"invoiceNumber\": \"3/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"SUMMARY\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"2.00\",\n        \"totalVATAmount\": \"0.34\",\n        \"nslf\": \"1510FE2519806BD3335FD3D125676EEA\",\n        \"nivf\": \"dbd51a09-4333-4276-b15d-93c7edd8df32\",\n        \"items\": [\n            {\n                \"id\": \"8680742404636\",\n                \"name\": \"(36PCS) BOBBY PIN 3\",\n                \"price\": \"1.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"5900249040704\",\n                \"name\": \"2 P CONDITIONER GREEN 200 GR\",\n                \"price\": \"1.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"fd3a8670-f708-40ee-9e90-47a47834fb44\",\n        \"issueDateTime\": \"2024-03-20T11:51:44+01:00\",\n        \"invoiceNumber\": \"33/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"ORDER\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"9.00\",\n        \"totalVATAmount\": \"1.50\",\n        \"nslf\": \"16AC0ED71D5969D4F5698586C183E63D\",\n        \"nivf\": \"699a2819-97f7-4d8d-ac0c-b83d2299d04f\",\n        \"items\": [\n            {\n                \"id\": \"8697415306340\",\n                \"name\": \"(10 PCS) CURLER SET 3CM\",\n                \"price\": \"1.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"8680742404636\",\n                \"name\": \"(36PCS) BOBBY PIN 3\",\n                \"price\": \"8.00\",\n                \"quantity\": \"8.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    },\n    {\n        \"status\": \"fiscalized\",\n        \"docId\": \"5f983178-419d-4766-b3db-c5606f0c390b\",\n        \"issueDateTime\": \"2024-03-20T11:51:14+01:00\",\n        \"invoiceNumber\": \"25/2024/jp299km423\",\n        \"tcrCode\": \"jp299km423\",\n        \"operatorCode\": \"gh537ez280\",\n        \"businessUnitCode\": \"vt081lx640\",\n        \"softwareCode\": \"wc801oy838\",\n        \"invoiceType\": \"ORDER\",\n        \"typeOfInvoice\": \"CASH\",\n        \"totalPrice\": \"0.00\",\n        \"totalVATAmount\": \"0.00\",\n        \"nslf\": \"19B0F55E6A1B687C095664495906EB1D\",\n        \"nivf\": \"bd37a308-f706-4ceb-961b-697982b1b368\",\n        \"items\": [\n            {\n                \"id\": \"8697415306340\",\n                \"name\": \"(10 PCS) CURLER SET 3CM\",\n                \"price\": \"0.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            },\n            {\n                \"id\": \"8680742404636\",\n                \"name\": \"(36PCS) BOBBY PIN 3\",\n                \"price\": \"0.00\",\n                \"quantity\": \"1.000\",\n                \"soldIn\": \"cope\",\n                \"rebate\": \"0.00\"\n            }\n        ]\n    }\n]"
						}
					]
				},
				{
					"name": "Get Filtered Invoices",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "{{auth}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n      \"date\": {\n          \"startDate\": 1704063600000,\n          \"endDate\": 1765993064994\n      },\n      \"search\": \"\"\n  }",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/invoices/filtered",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"invoices",
								"filtered"
							]
						},
						"description": "Returns all the invoices."
					},
					"response": [
						{
							"name": "Get Filtered Invoices",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "TpMW75Vg",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n      \"date\": {\n          \"startDate\": 1704063600000,\n          \"endDate\": 1765993064994\n      },\n      \"search\": \"\"\n  }",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/invoices",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"invoices"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "{\n    \"invoices\": [\n        {\n            \"status\": \"fiscalized\",\n            \"issueDateTime\": \"2025-12-17T12:26:04+01:00\",\n            \"invoiceNumber\": \"1460/2025/bx587ad808\",\n            \"tcrCode\": \"bx587ad808\",\n            \"operatorCode\": \"aa111aa222\",\n            \"businessUnitCode\": \"kl749av758\",\n            \"softwareCode\": \"wc801oy838\",\n            \"invoiceType\": \"NORMAL\",\n            \"typeOfInvoice\": \"CASH\",\n            \"totalPrice\": \"540.00\",\n            \"totalVATAmount\": \"90.00\",\n            \"nslf\": \"2DFF6005D3AC37DBDB8D42B10E301DC4\",\n            \"nivf\": \"c38699e3-8cee-49de-b6c5-af472cb8bd56\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=2DFF6005D3AC37DBDB8D42B10E301DC4&tin=L52101183A&crtd=2025-12-17T12:26:04+01:00&ord=1460&bu=kl749av758&cr=bx587ad808&sw=wc801oy838&prc=540.00\",\n            \"items\": [\n                {\n                    \"id\": \"0\",\n                    \"name\": \"Bravo\",\n                    \"price\": \"160.00\",\n                    \"quantity\": \"1.000\",\n                    \"soldIn\": \"cope\",\n                    \"rebate\": \"0.00\"\n                },\n                {\n                    \"id\": \"1\",\n                    \"name\": \"Kafe\",\n                    \"price\": \"80.00\",\n                    \"quantity\": \"1.000\",\n                    \"soldIn\": \"cope\",\n                    \"rebate\": \"0.00\"\n                },\n                {\n                    \"id\": \"2\",\n                    \"name\": \"Corona\",\n                    \"price\": \"300.00\",\n                    \"quantity\": \"1.000\",\n                    \"soldIn\": \"cope\",\n                    \"rebate\": \"0.00\"\n                }\n            ]\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Get Single Invoice",
					"protocolProfileBehavior": {
						"disableBodyPruning": true,
						"disabledSystemHeaders": {}
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/invoices/3064a4d1-b977-475e-ad99-579f2bad5938?idType=docId",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"invoices",
								"3064a4d1-b977-475e-ad99-579f2bad5938"
							],
							"query": [
								{
									"key": "idType",
									"value": "docId",
									"description": "(Optional) Default will be docId. Other types can be \"iic\" or \"nslf\"."
								}
							]
						},
						"description": "Returns an invoice by given docId or IIC/NSLF."
					},
					"response": [
						{
							"name": "Get Single Invoice by \"docId\"",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/invoices/3064a4d1-b977-475e-ad99-579f2bad5938?idType=docId",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"invoices",
										"3064a4d1-b977-475e-ad99-579f2bad5938"
									],
									"query": [
										{
											"key": "idType",
											"value": "docId",
											"description": "(Optional) Default will be docId. Other types can be \"iic\" or \"nslf\"."
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "756"
								},
								{
									"key": "ETag",
									"value": "W/\"2f4-Nk6jVZfwvXClbIvYZlIrdSyy7Vw\""
								},
								{
									"key": "Date",
									"value": "Tue, 26 Apr 2022 12:09:02 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "{\n    \"status\": \"fiscalized\",\n    \"docId\": \"3064a4d1-b977-475e-ad99-579f2bad5938\",\n    \"issueDateTime\": \"2022-04-26T12:30:43+02:00\",\n    \"invoiceNumber\": \"5398/2022/ln496ii835\",\n    \"tcrCode\": \"ln496ii835\",\n    \"operatorCode\": \"ih384gt454\",\n    \"businessUnitCode\": \"gm278xs280\",\n    \"softwareCode\": \"wc801oy838\",\n    \"invoiceType\": \"NORMAL\",\n    \"typeOfInvoice\": \"CASH\",\n    \"totalPrice\": \"3639.93\",\n    \"totalVATAmount\": \"256.67\",\n    \"nslf\": \"D44219D4A06EF82A28BC208C2869093F\",\n    \"nivf\": \"fa30cbae-8850-4904-8bf1-8ddd949afb93\",\n    \"items\": [\n        {\n            \"id\": \"312391\",\n            \"name\": \"Burger\",\n            \"price\": \"2099.93\",\n            \"quantity\": \"7.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        },\n        {\n            \"id\": \"233391\",\n            \"name\": \"Pepsi\",\n            \"price\": \"540.00\",\n            \"quantity\": \"3.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        },\n        {\n            \"id\": \"584819\",\n            \"name\": \"Cola\",\n            \"price\": \"1000.00\",\n            \"quantity\": \"4.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        }\n    ]\n}"
						},
						{
							"name": "Get Single Invoice by \"iic\"",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/D44219D4A06EF82A28BC208C2869093F?idType=iic",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"D44219D4A06EF82A28BC208C2869093F"
									],
									"query": [
										{
											"key": "idType",
											"value": "iic",
											"description": "(Optional) Default will be docId. Other types can be \"iic\" or \"nslf\"."
										}
									]
								}
							},
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "{\n    \"status\": \"fiscalized\",\n    \"docId\": \"3064a4d1-b977-475e-ad99-579f2bad5938\",\n    \"issueDateTime\": \"2022-04-26T12:30:43+02:00\",\n    \"invoiceNumber\": \"5398/2022/ln496ii835\",\n    \"tcrCode\": \"ln496ii835\",\n    \"operatorCode\": \"ih384gt454\",\n    \"businessUnitCode\": \"gm278xs280\",\n    \"softwareCode\": \"wc801oy838\",\n    \"invoiceType\": \"NORMAL\",\n    \"typeOfInvoice\": \"CASH\",\n    \"totalPrice\": \"3639.93\",\n    \"totalVATAmount\": \"256.67\",\n    \"nslf\": \"D44219D4A06EF82A28BC208C2869093F\",\n    \"nivf\": \"fa30cbae-8850-4904-8bf1-8ddd949afb93\",\n    \"items\": [\n        {\n            \"id\": \"312391\",\n            \"name\": \"Burger\",\n            \"price\": \"2099.93\",\n            \"quantity\": \"7.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        },\n        {\n            \"id\": \"233391\",\n            \"name\": \"Pepsi\",\n            \"price\": \"540.00\",\n            \"quantity\": \"3.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        },\n        {\n            \"id\": \"584819\",\n            \"name\": \"Cola\",\n            \"price\": \"1000.00\",\n            \"quantity\": \"4.000\",\n            \"soldIn\": \"cope\",\n            \"rebate\": \"0.00\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Send Invoices",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"3064a4d1-b977-475e-ad99-579f2bad5938\",\n            \"operatorCode\": \"ih384gt454\",\n            \"articles\": [\n                {\n                    \"articleId\": \"312391\",\n                    \"vatCode\": \"A\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 299.99,\n                    \"units\": 7\n                },\n                {\n                    \"articleId\": \"233391\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 180,\n                    \"units\": 3\n                },\n                {\n                    \"articleId\": \"584819\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Cola\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 250,\n                    \"units\": 4\n                }\n            ]\n        },\n        {\n            \"docId\": \"437122bc-e177-489a-a304-756d0d34ea76\",\n            \"operatorCode\": \"yu811yn819\",\n            \"articles\": [\n                {\n                    \"articleId\": \"481838\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"XPX\",\n                    \"price\": 199.99,\n                    \"units\": 8\n                },\n                {\n                    \"articleId\": \"948173\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"XPX\",\n                    \"price\": 250,\n                    \"units\": 3\n                },\n                {\n                    \"articleId\": \"848123\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Meat\",\n                    \"soldIn\": \"KGM\",\n                    \"price\": 441,\n                    \"units\": 2\n                }\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"invoices",
								"new"
							]
						},
						"description": "Sends an array of invoices.\n\nMake sure to add the operator code for each invoice.\n\nSetting a unique docId using the UUID V4 standard is highly recommended for each invoice."
					},
					"response": [
						{
							"name": "Normal & Order Invoices",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"9655414f-2c33-4e2e-8c80-4181d6f2ee14\",\n            \"operatorCode\": \"ih384gt454\",\n            \"articles\": [\n                {\n                    \"articleId\": \"312391\",\n                    \"vatCode\": \"A\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 299.99,\n                    \"units\": 7\n                },\n                {\n                    \"articleId\": \"233391\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 180,\n                    \"units\": 3\n                },\n                {\n                    \"articleId\": \"584819\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Cola\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 250,\n                    \"units\": 4\n                }\n            ],\n            \"invoiceNotes\": \"Note here...\"\n        },\n        {\n            \"invoiceType\": \"ORDER\",\n            \"docId\": \"ef460937-f6e0-470e-9a70-2ea1344f8e1e\",\n            \"operatorCode\": \"yu811yn819\",\n            \"articles\": [\n                {\n                    \"articleId\": \"481838\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"XPX\",\n                    \"price\": 199.99,\n                    \"units\": 8\n                },\n                {\n                    \"articleId\": \"948173\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"XPX\",\n                    \"price\": 250,\n                    \"units\": 3\n                },\n                {\n                    \"articleId\": \"848123\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Meat\",\n                    \"soldIn\": \"KGM\",\n                    \"price\": 441,\n                    \"units\": 2\n                }\n            ]\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/invoices/new",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "799"
								},
								{
									"key": "ETag",
									"value": "W/\"31f-LVoRhI7wiw6rDWjG52F0x1F3ZKg\""
								},
								{
									"key": "Date",
									"value": "Fri, 29 Apr 2022 12:29:29 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"F748FBEE1C532124220CC83890026462\",\n            \"nivf\": \"ceda110a-69fb-40a3-a75b-bb47a3b679be\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=F748FBEE1C532124220CC83890026462&tin=L52101183A&crtd=2022-04-29T14:29:29+02:00&ord=5474&bu=gm278xs280&cr=ln496ii835&sw=wc801oy838&prc=3639.93\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"9655414f-2c33-4e2e-8c80-4181d6f2ee14\"\n    },\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"6887778DFA7126C0955A0C96C2D83404\",\n            \"nivf\": \"01547228-ecd0-47d1-a61f-0a2548fed668\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=6887778DFA7126C0955A0C96C2D83404&tin=L52101183A&crtd=2022-04-29T14:29:29+02:00&ord=5475&bu=gm278xs280&cr=ln496ii835&sw=wc801oy838&prc=3231.92\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"ef460937-f6e0-470e-9a70-2ea1344f8e1e\"\n    }\n]"
						},
						{
							"name": "With buyer & Account payment type",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"4f651d38-840b-4bfc-8bd0-7e8d31859050\",\n            \"operatorCode\": \"gh537ez280\",\n            \"buyer\": {\n                \"buyerIDType\": \"ID\",\n                \"buyerIDNum\": \"K03HFM334\",\n                \"buyerName\": \"User Test\",\n                \"buyerAddress\": \"Address XYZ\",\n                \"buyerTown\": \"Tirana\",\n                \"buyerCountry\": \"ALB\"\n            },\n            \"articles\": [\n                {\n                    \"articleId\": \"13AFS241\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"cope\",\n                    \"price\": 199.99,\n                    \"units\": 8\n                },\n                {\n                    \"articleId\": \"18DJ1893\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"l\",\n                    \"price\": 120,\n                    \"units\": 4\n                },\n                {\n                    \"articleId\": \"3F001934\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Meat\",\n                    \"soldIn\": \"kg\",\n                    \"price\": 240,\n                    \"units\": 7\n                },\n                {\n                    \"articleId\": \"K5193813\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Cola\",\n                    \"soldIn\": \"cope\",\n                    \"price\": 250,\n                    \"units\": 7\n                }\n            ],\n            \"payment\": {\n                \"type\": \"ACCOUNT\",\n                \"bankDetails\": {\n                    \"country\": \"Albania\",\n                    \"countryCode\": \"AL\",\n                    \"currency\": \"ALL\",\n                    \"idNumber\": \"AL123412445\"\n                }\n            }\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "799"
								},
								{
									"key": "ETag",
									"value": "W/\"31f-LVoRhI7wiw6rDWjG52F0x1F3ZKg\""
								},
								{
									"key": "Date",
									"value": "Fri, 29 Apr 2022 12:29:29 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"6F3F145D91301C3E41B47762029D2E04\",\n            \"nivf\": \"fcd4aaa9-bb8e-4a92-9247-4f93a66a4aaa\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=6F3F145D91301C3E41B47762029D2E04&tin=L52101183A&crtd=2023-07-07T12:16:36+02:00&ord=7114&bu=gm278xs280&cr=bj117nn118&sw=wc801oy838&prc=5509.92\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"4f651d38-840b-4bfc-8bd0-7e8d31859050\"\n    }\n]"
						},
						{
							"name": "With buyer & multiple payment methods",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"1a931c7d-e024-4dec-919d-9dc79cb2d47e\",\n            \"operatorCode\": \"gh537ez280\",\n            \"buyer\": {\n                \"buyerIDType\": \"ID\",\n                \"buyerIDNum\": \"K03HFM334\",\n                \"buyerName\": \"User Test\",\n                \"buyerAddress\": \"Address XYZ\",\n                \"buyerTown\": \"Tirana\",\n                \"buyerCountry\": \"ALB\"\n            },\n            \"articles\": [\n                {\n                    \"articleId\": \"13AFS241\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Burger\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 199.99,\n                    \"units\": 8\n                },\n                {\n                    \"articleId\": \"18DJ1893\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Pepsi\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 120,\n                    \"units\": 4\n                },\n                {\n                    \"articleId\": \"3F001934\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Meat\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 240,\n                    \"units\": 7\n                },\n                {\n                    \"articleId\": \"K5193813\",\n                    \"vatCode\": \"B\",\n                    \"name\": \"Cola\",\n                    \"soldIn\": \"XPP\",\n                    \"price\": 250,\n                    \"units\": 7\n                }\n            ],\n            \"payment\": [\n                {\n                    \"type\": \"CASH\",\n                    \"amount\": 5200\n                },\n                {\n                    \"type\": \"CARD\",\n                    \"amount\": 309.92\n                }\n            ]\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "799"
								},
								{
									"key": "ETag",
									"value": "W/\"31f-LVoRhI7wiw6rDWjG52F0x1F3ZKg\""
								},
								{
									"key": "Date",
									"value": "Fri, 29 Apr 2022 12:29:29 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"6B06B77B9F3C945E664E8E90FB0A8C67\",\n            \"nivf\": \"66197d0d-eef8-44a3-ba83-dbd536497f10\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=6B06B77B9F3C945E664E8E90FB0A8C67&tin=L52101183A&crtd=2023-07-07T11:44:40+02:00&ord=7113&bu=gm278xs280&cr=bj117nn118&sw=wc801oy838&prc=5509.92\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"1a931c7d-e024-4dec-919d-9dc79cb2d47e\"\n    }\n]"
						},
						{
							"name": "Summary Invoice",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"c5ffedcd-8998-4723-97d3-8e0dd2d19ec7\",\n            \"operatorCode\": \"ih384gt454\",\n            \"invoiceType\": \"SUMMARY\",\n            \"iicRefs\": [\"CED1410D58E8D33D4DED331549727FF4\", \"6887778DFA7126C0955A0C96C2D83404\"]\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "353"
								},
								{
									"key": "ETag",
									"value": "W/\"161-n/1AOA+zBejryQhVgo+r/pgCZHw\""
								},
								{
									"key": "Date",
									"value": "Fri, 29 Apr 2022 12:34:48 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"4D85C97D8E8068DC26BEB21928415718\",\n            \"nivf\": \"2d52cef6-b98a-4e95-ae7c-b5ffd7301818\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=4D85C97D8E8068DC26BEB21928415718&tin=L52101183A&crtd=2022-04-29T14:34:47+02:00&ord=5478&bu=gm278xs280&cr=ln496ii835&sw=wc801oy838&prc=7401.92\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"c5ffedcd-8998-4723-97d3-8e0dd2d19ec7\"\n    }\n]"
						},
						{
							"name": "Cancel Invoice",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"docId\": \"821ed772-0ce0-4e76-9f83-d38e9fa7e593\",\n            \"operatorCode\": \"ih384gt454\",\n            \"invoiceType\": \"CANCEL\",\n            \"iicRef\": \"F748FBEE1C532124220CC83890026462\"\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "X-Powered-By",
									"value": "Express"
								},
								{
									"key": "Access-Control-Allow-Origin",
									"value": "*"
								},
								{
									"key": "Content-Type",
									"value": "application/json; charset=utf-8"
								},
								{
									"key": "Content-Length",
									"value": "354"
								},
								{
									"key": "ETag",
									"value": "W/\"162-8N58T5pP/7rgjvGa2jY8+NU9/6o\""
								},
								{
									"key": "Date",
									"value": "Fri, 29 Apr 2022 12:31:32 GMT"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"status\": 0,\n        \"response\": {\n            \"nslf\": \"7EA5AF06AC0BB1912B0ED852786D9DE2\",\n            \"nivf\": \"e720d1dc-3e96-4a80-a8ef-712f42010390\",\n            \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=7EA5AF06AC0BB1912B0ED852786D9DE2&tin=L52101183A&crtd=2022-04-29T14:31:31+02:00&ord=5476&bu=gm278xs280&cr=ln496ii835&sw=wc801oy838&prc=-3639.93\",\n            \"text\": \"Sukses\"\n        },\n        \"docId\": \"821ed772-0ce0-4e76-9f83-d38e9fa7e593\"\n    }\n]"
						},
						{
							"name": "Correct Invoice",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n   \"invoices\":[\n      {\n         \"iicRef\":\"C8669202CA50CE1A3A2560E1A1A4A7AB\",\n         \"invoiceType\":\"CORRECTIVE\",\n         \"docId\":\"7a032539-95c9-4d84-ab4d-1907fbea8d7f\",\n         \"articles\":[\n            {\n               \"articleId\":\"34\",\n               \"vatCode\":\"B\",\n               \"name\":\"Pepsi\",\n               \"soldIn\":\"XPP\",\n               \"price\":180,\n               \"units\":-2\n            },\n            {\n               \"articleId\":\"30\",\n               \"vatCode\":\"B\",\n               \"name\":\"Ujë\",\n               \"soldIn\":\"XPP\",\n               \"price\":80,\n               \"units\":1\n            }\n         ],\n         \"invoiceNotes\":\"\",\n         \"operatorCode\":\"gh537ez280\"\n      }\n   ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": "[\n   {\n      \"status\":0,\n      \"response\":{\n         \"nslf\":\"D7AD32F13CEEA7756F03D3D131EE2BA4\",\n         \"nivf\":\"8e11ed21-b1a6-4a84-bd67-b924c29f4049\",\n         \"link\":\"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=D7AD32F13CEEA7756F03D3D131EE2BA4&tin=L52101183A&crtd=2023-01-31T10:44:36+01:00&ord=5944&bu=gm278xs280&cr=bj117nn118&sw=wc801oy838&prc=-280.00\",\n         \"text\":\"Sukses\"\n      },\n      \"docId\":\"7a032539-95c9-4d84-ab4d-1907fbea8d7f\"\n   }\n]"
						},
						{
							"name": "Currency Exchange",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "{{auth}}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"invoices\": [\n        {\n            \"operatorCode\": \"ih384gt454\",\n            \"invoiceType\": \"EXCHANGE\",\n            \"inputCurrency\": {\n                \"quantity\": 200,\n                \"buyRate\": 107.6,\n                \"sellRate\": 108.4,\n                \"code\": \"USD\"\n            },\n            \"outputCurrency\": {\n                \"buyRate\": 115.3,\n                \"sellRate\": 115.9,\n                \"code\": \"EUR\"\n            },\n            \"commission\": {\n                \"percent\": 0\n            }\n        }\n    ]\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{baseURL}}:{{port}}/v1/invoices/new",
									"host": [
										"{{baseURL}}"
									],
									"port": "{{port}}",
									"path": [
										"v1",
										"invoices",
										"new"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": "[\n    [\n        {\n            \"status\": 0,\n            \"response\": {\n                \"nslf\": \"776E4D823B1D489238632CCC6FF2C9AB\",\n                \"nivf\": \"d5e0e918-8831-4ffc-8899-6ce761dad526\",\n                \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=776E4D823B1D489238632CCC6FF2C9AB&tin=L52101183A&crtd=2023-02-16T12:03:27+01:00&ord=6313&bu=gm278xs280&cr=bj117nn118&sw=wc801oy838&prc=-21520.00\",\n                \"text\": \"Sukses\"\n            }\n        },\n        {\n            \"status\": 0,\n            \"response\": {\n                \"nslf\": \"F98D9FAF891BD052ED395426CBA256BA\",\n                \"nivf\": \"bf638669-9e2d-4622-9e1f-ca5b3f8f0f88\",\n                \"link\": \"https://efiskalizimi-app-test.tatime.gov.al/invoice-check/#/verify?iic=F98D9FAF891BD052ED395426CBA256BA&tin=L52101183A&crtd=2023-02-16T12:03:28+01:00&ord=6314&bu=gm278xs280&cr=bj117nn118&sw=wc801oy838&prc=21519.96\",\n                \"text\": \"Sukses\"\n            }\n        }\n    ]\n]"
						}
					]
				}
			]
		},
		{
			"name": "Operators",
			"item": [
				{
					"name": "Get All Operators",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/operators",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"operators"
							]
						},
						"description": "Get all operators."
					},
					"response": [
						{
							"name": "Get All Operators",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/operators",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"operators"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "[\n    {\n        \"name\": \"Operator\",\n        \"email\": \"operator1@easypos.al\",\n        \"operatorCode\": \"gh537ez280\"\n    },\n    {\n        \"name\": \"Operator1\",\n        \"email\": \"operator2@easypos.al\",\n        \"operatorCode\": \"gh537ez288\"\n    }\n]"
						}
					]
				}
			]
		},
		{
			"name": "Entities",
			"item": [
				{
					"name": "Get All Entities",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/entities",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"entities"
							]
						},
						"description": "Get all entities registered in easyPos."
					},
					"response": [
						{
							"name": "Get All Entities",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/entities",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"entities"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "[\n    {\n        \"idType\": \"NUIS\",\n        \"idNumber\": \"L52101183A\",\n        \"name\": \"Embedded Systems Design and Production\",\n        \"country\": \"ALB\",\n        \"address\": \"Rruga \\\"Bernoca\\\", Nr.2 Kati i dyte, Lunder, Farke.   \",\n        \"town\": \"Lunder\",\n        \"email\": \"\",\n        \"phone\": \"\"\n    },\n    {\n        \"idType\": \"ID\",\n        \"idNumber\": \"K20304568N\",\n        \"name\": \"Trevi\",\n        \"country\": \"ALB\",\n        \"address\": \"Erseke\",\n        \"town\": \"Erseke\",\n        \"email\": \"\",\n        \"phone\": \"\"\n    },\n    {\n        \"idType\": \"VAT\",\n        \"idNumber\": \"43646303\",\n        \"name\": \"Transport\",\n        \"country\": \"RKS\",\n        \"address\": \"Transport\",\n        \"town\": \"Transport\",\n        \"email\": \"\",\n        \"phone\": \"\"\n    }\n]"
						}
					]
				},
				{
					"name": "Get Single Entity",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/entities/L52101183A",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"entities",
								"L52101183A"
							]
						},
						"description": "Get an entitity registered in easyPos by TIN (NUIS/ID/TAX NUMBER etc.)"
					},
					"response": [
						{
							"name": "Get Single Entity",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/entities/L52101183A",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"entities",
										"L52101183A"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "{\n    \"idType\": \"NUIS\",\n    \"idNumber\": \"L52101183A\",\n    \"name\": \"Embedded Systems Design and Production\",\n    \"country\": \"ALB\",\n    \"address\": \"Rruga \\\"Bernoca\\\", Nr.2 Kati i dyte, Lunder, Farke.   \",\n    \"town\": \"Lunder\",\n    \"email\": \"\",\n    \"phone\": \"\"\n}"
						}
					]
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "Cash Balance",
			"item": [
				{
					"name": "Get Latest",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/balance?operatorCode=ih384gt454",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"balance"
							],
							"query": [
								{
									"key": "operatorCode",
									"value": "ih384gt454"
								}
							]
						},
						"description": "Returns the latest balance report."
					},
					"response": [
						{
							"name": "Get Latest",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/balance",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"balance"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "{\n    \"status\": \"fiscalized\",\n    \"hasReportedBalance\": true,\n    \"availableCash\": 123,\n    \"deposit\": 0,\n    \"withdraw\": 0,\n    \"result\": \"117ac9e1-04a8-4117-a03d-47a4c12d96af\",\n    \"date\": 1760450625826,\n    \"createdAt\": 1760450635498,\n    \"transactions\": []\n}"
						}
					]
				},
				{
					"name": "Report Initial",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"1230.55\",\n    \"notes\": \"Initial balance report\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/balance/initiate",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"balance",
								"initiate"
							]
						},
						"description": "Report initial balance."
					},
					"response": [
						{
							"name": "Report Initial",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"1230.55\",\n    \"notes\": \"Initial balance report\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/balance/initiate",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"balance",
										"initiate"
									]
								}
							},
							"_postman_previewlanguage": "json",
							"header": null,
							"cookie": [],
							"body": "{\n    \"status\": \"fiscalized\",\n    \"hasReportedBalance\": true,\n    \"availableCash\": 123,\n    \"deposit\": 0,\n    \"withdraw\": 0,\n    \"result\": \"117ac9e1-04a8-4117-a03d-47a4c12d96af\",\n    \"date\": 1760450635000,\n    \"createdAt\": 1760450635498,\n    \"transactions\": []\n}"
						}
					]
				},
				{
					"name": "Withdraw",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"2500.5005\",\n    \"notes\": \"Withdraw note\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/balance/withdraw",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"balance",
								"withdraw"
							]
						},
						"description": "Withdraw from balance."
					},
					"response": [
						{
							"name": "Withdraw",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"2500.5005\",\n    \"notes\": \"Withdraw note\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/balance/withdraw",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"balance",
										"withdraw"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": null
						}
					]
				},
				{
					"name": "Deposit",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"19384.2\",\n    \"notes\": \"Deposit note\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/balance/deposit",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"balance",
								"deposit"
							]
						},
						"description": "Deposit to current balance."
					},
					"response": [
						{
							"name": "Deposit",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Authorization",
										"type": "text",
										"value": "TpMW75Vg"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"operatorCode\": \"ih384gt454\",\n    \"amount\": \"19384.2\",\n    \"notes\": \"Deposit note\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "localhost:5051/v1/balance/deposit",
									"host": [
										"localhost"
									],
									"port": "5051",
									"path": [
										"v1",
										"balance",
										"deposit"
									]
								}
							},
							"_postman_previewlanguage": null,
							"header": null,
							"cookie": [],
							"body": null
						}
					]
				}
			]
		},
		{
			"name": "eService",
			"item": [
				{
					"name": "Get Single Entity",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{auth}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{baseURL}}:{{port}}/v1/e-service/entities/L52101183A",
							"host": [
								"{{baseURL}}"
							],
							"port": "{{port}}",
							"path": [
								"v1",
								"e-service",
								"entities",
								"L52101183A"
							]
						},
						"description": "Get an entitity from eService by TIN (NUIS/ID/TAX NUMBER etc.)"
					},
					"response": []
				}
			]
		},
		{
			"name": "Ping",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "{{auth}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "{{baseURL}}:{{port}}/v1",
					"host": [
						"{{baseURL}}"
					],
					"port": "{{port}}",
					"path": [
						"v1"
					]
				},
				"description": "Check connection status."
			},
			"response": [
				{
					"name": "Ping",
					"originalRequest": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "TpMW75Vg",
								"type": "text"
							}
						],
						"url": {
							"raw": "localhost:5051/v1",
							"host": [
								"localhost"
							],
							"port": "5051",
							"path": [
								"v1"
							]
						}
					},
					"_postman_previewlanguage": "html",
					"header": null,
					"cookie": [],
					"body": "OK"
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "baseURL",
			"value": "localhost"
		},
		{
			"key": "port",
			"value": "5051"
		},
		{
			"key": "auth",
			"value": "TpMW75Vg"
		}
	]
}