Skip to main content

Type of Signature: ftSignatureType

The ftSignatureType indicates the type and origin of the signature. The data type is Int64 and can contain a country-specific code, a value following the ISO-3166-1-ALPHA-2 standard, converted from ASCII into hex and used as byte 8 and 7.

For definitions regarding national laws, please refer to the appropriate appendix.

Format

_CCCC_vlll_gggg_tsss

v - version

version 2

t - Type/Category

ValueDescriptionMiddleware-Version
0Uncategorized, Normal use (notification)1.3.45
1Information (notification), low priority1.3.45
2Alert (notification), high priority1.3.45
3Failure (notification), high priority1.3.45

gggg - global flags

ValueDescriptionMiddleware-Version
0001Archiving required.
Signatures marked with this flag are known to be archived related to market specific bookkeeping requirements. In case of offline usage or pure open-source usage, receipts/artefacts having this flag need to be handled as bookkeeping/accounting-relevant item.
1.3.45
0010Printing/Visualization is optional1.3.45
0020Do not print/visualize1.3.45
0040Printed receipt only1.3.45
0080Digital receipt only1.3.45

sss - SignatureCase

ValueDescriptionCaptionMiddleware-Version
001Print below [PayItemBlock] / Document fiscalization

RT-Printer
[DATE(DD-MM-YYYY)][TIME(HH:MM)][NEWLINE]
DOCUMENTO N. [z-Number]-[Document-Number][NEWLINE]
Codice Lotteria: [LotteryID][NEWLINE]
Codice Fiscale: [CustomerID][NEWLINE]
RT [SERIALNUMBER][NEWLINE]

RT-Server
[DATE(DD-MM-YYYY)][TIME(HH:MM)][NEWLINE]
DOCUMENTO N. [z-Number]-[Document-Number][NEWLINE]
Codice Lotteria: [LotteryID][NEWLINE]
Codice Fiscale: [CustomerID][NEWLINE]
Server RT [SERIALNUMBER][NEWLINE]
Cassa [ftCashboxIdentification][NEWLINE]
-----FIRMA ELETTRONICA-----[NEWLINE]
[SHA-METADATA][NEWLINE]
---------------------------[NEWLINE]

FE (Fattura Elettronica)
[DATE(DD-MM-YYYY)][TIME(HH:MM)][NEWLINE]
[VAT-ID][NEWLINE]
[ftReceiptIdentification][NEWLINE]
[ftCashboxIdentification][NEWLINE]
If number/signature is present/not null
[www.fiskaltrust.it]1.3.45
002Print below [Header] / Document Type

Document-Type (1) Vendita
di vendita o prestazione[NEWLINE]

Document-Type (3) Reso
emesso per ANNULLAMENTO[NEWLINE]
[NEWLINE]
Documento di riferimento:
N. [reference-z-Number]-[reference-Document-Number] del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]
N. [reference-z-Number]-[reference-Document-Number] del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]
RT [reference-RT-Printer-Serialnumber][NEWLINE]
Server RT [reference-RT-Server-Serialnumber][NEWLINE]
Cassa [reference-ftCashboxIdentification][NEWLINE]
XXX(*) del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]

Document-Type (5) Annullo
emesso per RESO MERCE[NEWLINE]
[NEWLINE]
Documento di riferimento:
N. [reference-z-Number]-[reference-Document-Number] del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]
N. [reference-z-Number]-[reference-Document-Number] del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]RT [reference-RT-Printer-Serialnumber][NEWLINE]
Server RT [reference-RT-Server-Serialnumber][NEWLINE]
Cassa [reference-ftCashboxIdentification][NEWLINE]
XXX(*) del [reference-Document-Date(DD-MM-YYYY)][NEWLINE]
If number is on same system

If number is on different system
If number is unknown XXX(*)
"POS" in the case of a POS receipt;
"VR" in the case of returnable containers;
“ND” in other cases
DOCUMENTO COMMERCIALE1.3.45
010RT printer/server serial number1.3.45
011RT printer/server Z-Number1.3.45
012RT printer/server Document-Number1.3.45
013RT printer/server Document-Moment1.3.45
014RT printer/server Document Type1.3.45
015RT printer/server LotteryID1.3.45
016RT printer/server CustomerID1.3.45
017RT server SHA Metadata1.3.45
018Amount1.3.45
020RT Reference ZNumber1.3.45
021RT Reference DocNumber1.3.45
022RT Reference Document Moment1.3.45