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, 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

Table 1. ftSignatureType type/category (t) values.

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 optional.1.3.45
0020Do not print/visualize.1.3.45
0040Printed receipt only.1.3.45
0080Digital receipt only.1.3.45

Table 2. ftSignatureType global flags (gggg) values.

sss - SignatureCase​

ValueDescriptionCaption
001PosReceipt
The QR code of the document: the URL of the digital receipt rendered by fiskaltrust (https://receipts.fiskaltrust.eu/{ftQueueID}/{ftQueueItemID}, sandbox: receipts-sandbox). Format QR code. Mandatory on the printed document.
[www.fiskaltrust.gr]
003InitialOperationReceipt / OutOfOperationReceipt
Returned on the queue lifecycle receipts (4001, 4002) with the queue ID.
Initial-operation receipt / Out-of-operation receipt
010MyDataXML
The full XML payload submitted to AADE myDATA, enriched with MARK, UID and authentication code, returned for reference/audit. Flagged Do not print (0020).
mydata-xml
011ProviderSignature
The provider footer of the licensed eInvoicing provider the document was issued under. Returned as two items: the legal name of the licensee as caption with empty data, and the provider web address as caption with the licence identifier as data. Both must be printed at the bottom of the document. See Licensing.
VIVABANK ΑΝΩΝΥΜΗ ΤΡΑΠΕΖΙΚΗ ΕΤΑΙΡΕΙΑ / www.viva.com
012UniqueDocumentIdentifier
The human-readable document identifier, in the format AFM | Date | Branch | Type | Series | Serial (date as dd/MM/yyyy).
Μοναδικός αριθμός παραστατικού
013Uid
The invoiceUid — myDATA's unique hash identifier for the submitted document.
invoiceUid
014Mark
The invoiceMark (MARK) — the unique registration number AADE assigns once the document is accepted. The queue commits the document number only when this item is present.
invoiceMark
015AuthenticationCode
The authentication code returned by myDATA, allowing third parties to verify the document was registered by AADE.
authenticationCode
016TransmissionFailure
Returned when the document was sent with the late-signing flag (0001) and transmitted with transmissionFailure = 1 (loss of connection between the entity and the provider). Data: Απώλεια Διασύνδεσης Οντότητας - Παρόχου. Must be printed.
Transmission Failure_1
017MultipleConnectedMarks
The comma-separated MARKs of the referenced documents, e.g. on a retail credit receipt (11.4) or a cancelled order (8.6).
(empty)
018OrderReceiptSignature
Informational notice attached to an Order (8.6) slip, marking it as informational only and not a valid fiscal receipt (Greek and English text). Must be printed.
(empty)
019GenericMyDataInfo
Further elements of the myDATA response that have no dedicated type, e.g. on the payment-method (3005) and cancellation calls. Flagged Do not print on document responses.
name of the myDATA element
01AQRCode
The qrUrl returned by myDATA for the document. Flagged Do not print (0020); the QR code to print is item 001.
qrUrl
01BHandwrittenSignature
Link for a receipt recovered with the handwritten flag (0008). Format link, flagged Do not print.
(empty)

Table 3. Greece-specific SignatureCase codes (sss) of the ftSignatureType field.

The dedicated types 010 to 01B are returned since Middleware version 1.3.83. Earlier versions returned these items with type 010, and the handwritten link with type 000. See Receipt Printing for the print rules of every item.