Fiscalization Software
Version 2.3.0 | Updated: 01/2026
This document provides comprehensive guidance for integrating with the easyPos system. Two main methods are supported:
easyPos is fiscalization software for normal and simple invoices in Albania. This guide demonstrates how to integrate with easyPos using either file-based integration or RESTful API calls.
http://[server-ip]:port/v1/...Content-Type: application/json Authorization: [your-authorization-string]| Method | Endpoint | Description |
|---|---|---|
GET | /v1 | Test connection |
POST | /v1/invoices/new | Create invoice(s) |
GET | /v1/invoices | Get all invoices |
GET | /v1/invoices/:id | Get single invoice |
GET | /v1/operators | Get operators |
GET | /v1/entities | Get entities |
GET | /v1/balance | Get cash balance |
POST | /v1/balance/initiate | Report initial balance |
POST | /v1/balance/deposit | Deposit |
POST | /v1/balance/withdraw | Withdraw |
Postman Documentation:https://documenter.getpostman.com/view/15718037/UyrDCam4
{
"status": 0,
"response": {
"nslf": "C352A1442630779BD016323CB4765331",
"nivf": "19d7cf18-9f2f-4501-b0d1-48830dfc0750",
"link": "https://efiskalizimi-app.tatime.gov.al/...",
"text": "Sukses"
}
}status: 0 = Success, 1 = Error, 2 = Pendingnslf: NSLF - Internal Invoice Counter (IIC)nivf: NIVF - Fiscal Invoice Number (FIC)link: Invoice verification URLPlace JSON files in the watched directory. easyPos will process them automatically.
When using JSON file integration, the "app" field is RECOMMENDED to identify the application/integration source.
{
"app": "",
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Product",
"soldIn": "cope",
"price": 500,
"units": 2
}
]
}{
"app": "",
"buyer": {
"buyerIDType": "NUIS",
"buyerIDNum": "L12345678A",
"buyerName": "Test Company",
"buyerAddress": "Test Street 123",
"buyerTown": "Tirana",
"buyerCountry": "ALB"
},
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Service",
"soldIn": "cope",
"price": 1000,
"units": 1
}
]
}easyPos supports two TXT file formats for legacy fiscal device integration:
CLEAR
KEY REG
SALE DPT=1,QTY=1,PRICE=500,DES='Product'
SALE DPT=1,QTY=2,PRICE=300,DES='Service'
SUBTOT
CLOSE TENDER=1The IVA format uses a structured line-based syntax with specific prefixes:
Basic Invoice:
H,1,______,_,__;
S,1,______,_,__;"Artikull";500.00;2.00;1;1;1;
T,1,______,_,__;
F,1,______,_,__;Invoice with Buyer (NUIS):
H,1,______,_,__;
B,1,______,_,__;"NUIS";"L00000000B";"Buyer Name";"Address";"Tirane";"ALB";
S,1,______,_,__;"Artikull";500.00;2.00;1;1;1;
T,1,______,_,__;
F,1,______,_,__;Card Payment:
H,1,______,_,__;
$ISWITHCARD=1
S,1,______,_,__;"Artikull";500.00;2.00;1;1;1;
T,1,______,_,__;
F,1,______,_,__;With Discount:
H,1,______,_,__;
S,1,______,_,__;"Product";150.00;2.00;1;1;2;
C,1,______,_,__;2;15.0;
T,1,______,_,__;
F,1,______,_,__;H - Header (start of invoice)B - Buyer informationS - Sale line (article)C - Discount/rebate for previous lineP - Invoice notesOP - Operator codeT - TotalF - Footer (end of invoice)| Value | Category | Description |
|---|---|---|
| BANKNOTE | CASH | Cash |
| CARD | CASH | Card |
| CHECK | CASH | Check |
| SVOUCHER | CASH | Voucher |
| COMPANY | CASH | Company |
| ACCOUNT | NONCASH | Bank transfer |
| FACTORING | NONCASH | Factoring |
| COMPENSATION | NONCASH | Compensation |
| KIND | NONCASH | Payment in kind (clearing) |
| OTHER | NONCASH | Other, non-cash |
For JSON file integration, use these simplified payment types:
CASH - Cash paymentCARD - Card paymentACCOUNT - Bank transfer (requires bankDetails)CHECK - Check paymentOTHER - Other non-cash payment{
"app": "",
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Product",
"soldIn": "cope",
"price": 500,
"units": 2
}
],
"payment": {
"type": "OTHER"
}
}| Code | Rate | Description |
|---|---|---|
| A | 0% | Tax free (TAX_FREE) |
| B | 20% | Standard rate |
| C | 0% | Exemption Type 2 |
| D | 10% | Reduced rate |
| E | 6% | Reduced rate |
| J | 0% | Export of goods |
| Value | Description |
|---|---|
| NUIS | NIPT (Tax ID) |
| ID | Personal ID number |
| PASS | Passport number |
| VAT | VAT number |
| TAX | Tax number |
| SOC | Social security number |
| Type | Description |
|---|---|
| (default) | Standard sales invoice |
| ORDER | Order |
| CANCEL | Invoice cancellation |
| CORRECTIVE | Corrective invoice |
| SUMMARY | Summary invoice |
| EXCHANGE | Currency exchange |
{
"app": "",
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Product",
"soldIn": "cope",
"price": 1000,
"units": 1
}
],
"payment": [
{ "type": "CASH", "amount": 600 },
{ "type": "CARD", "amount": 400 }
]
}{
"app": "",
"currency": {
"code": "EUR",
"exRate": 100.5
},
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Product",
"soldIn": "cope",
"price": 50,
"units": 2
}
],
"payment": { "type": "CASH" }
}{
"app": "",
"invoiceType": "CANCEL",
"iicRef": "3CA552F6475201847CF63E3499E74727"
}{
"app": "",
"buyer": {
"buyerIDType": "NUIS",
"buyerIDNum": "L12345678A",
"buyerName": "Company",
"buyerTown": "Tirana",
"buyerCountry": "ALB"
},
"articles": [
{
"articleId": "ART001",
"vatCode": "B",
"name": "Service",
"soldIn": "cope",
"price": 5000,
"units": 1
}
],
"payment": {
"type": "ACCOUNT",
"bankDetails": {
"country": "Albania",
"countryCode": "AL",
"currency": "ALL",
"idNumber": "AL123456789012345678"
}
}
}{
"app": "",
"articles": [
{
"articleId": "PROD001",
"vatCode": "B",
"name": "Product with % Discount",
"soldIn": "cope",
"price": 1000,
"units": 5,
"rebate": {
"inPercentage": 10
}
}
],
"payment": { "type": "CASH" }
}To test the integration, request a demo account from support staff.
© ESDP - easyPos Integration Guide v2.3.0