The issued document reflects the value of the goods offered by the entity to an individual including plastic bag fees. For example, issue a document for the sale of clothing and accessories including the plastic bag fee which the customer wishes and bears the cost.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceType": "ΑΠ-ΛΙΑΝ",
"InvoiceTypeCode": "11.1",
"DocumentTypeCode": "INVOICE",
"Series": "Α",
"Number": "5229",
"DateIssued": "2023-01-18T15:47:46.403",
"Issuer": {
"RegisteredName": "BEST SHOPPING",
"Vat": "EL123456789",
"Activities": [
""
],
"Address": {
"Country": "ΕΛΛΑΔΑ",
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"Postal": "10551"
},
"BranchCode": 0,
"BranchId": "9713",
"BranchAddress": {
"Country": "ΕΛΛΑΔΑ",
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"Postal": "12345"
}
},
"CounterParty": {
"RegisteredName": "ΠΕΛΑΤΗΣ ΛΙΑΝΙΚΗΣ",
"vat": "",
"TaxOffice": "Φ.Α.E. ΑΘΗΝΩΝ",
"Activities": [
"ΙΔΙΩΤΗΣ"
],
"Address": {
"CountryCode": "GR",
"Municipality": "ΑΘΗΝΑ",
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"Postal": "12345"
},
"Code": "00"
},
"DistributionDetails": {
"InternalDocumentId": "2c525021-7a82-4b95-82a2-cdca5729e4f5"
},
"PaymentDetails": {
"PaymentMethods": [
{
"PaymentMethodType": "cash",
"PaymentMethodTypeCode": 3,
"Amount": 6.8
}
],
"PaymentDate": "2023-01-18T15:47:46.403"
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"test@example.gr"
],
"TransmissionMethod": "A" // "E" sent an e-mail to the requested mail registered on "AccountingDepartmentEmails" field.
},
"Details": [
{
"LineNo": 1,
"Code": "K000093",
"Descriptions": [
"RUNNING SHOES u-X 34 / Smast Watch"
],
"MeasurementUnit": "MU1",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 1.77,
"NetTotal": 1.77,
"Total": 2,
"VATTotal": 0.23,
"VatCategory": "Δ13",
"VatCategoryCode": 2,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_003",
"ClassificationCategoryCode": "category1_1",
"Amount": 1.77
}
},
{
"LineNo": 2,
"Code": "Π26",
"Descriptions": [
"ΣΑΚΟΥΛΑ ΜΕΤΑΦΟΡΑΣ / PLASTIC BAG"
],
"MeasurementUnit": "MU1",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 0.04,
"NetTotal": 0.04,
"Total": 0.05,
"VATTotal": 0.01,
"VatCategory": "Π24",
"VatCategoryCode": 1,
"FeesPercentCategoryCode": 8,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 2
}
],
"Summaries": {
"TotalNetAmount": 1.81,
"TotalVATAmount": 0.24,
"TotalGrossValue": 2.05,
"TotalAllowances": 0
},
"vatAnalysis": [
{
"Percentage": 13.00,
"vatAmount": 0.23,
"underlyingValue": 1.77
},
{
"Percentage": 24.00,
"vatAmount": 0.23,
"underlyingValue": 1.77
}
],
"IsDelayedCode": 0
}
Important remarks
- Issuer: Τhe details of the issuer are entered in this object and it is mandatory for all the invoices
- Counterparty: Τhe details of the counterparty are entered in this object. It is not mandatory for the B2C documents.
- InternalDocumentId: It is a unique document number in the issuer’s system
- PaymethodTypeCode: This code corresponds to the paragraph 8.12 of IAPR myDATA documentation
- TransmissionMethod: If this field has value “E”, an email with the invoice url will be sent to the email address that has being setted to the field “AccountingDepartmentEmails”. If it has value “A”, the invoice is only going to be archived.
- Details: In this object, each line is a product/service that you sell and all the details of it.
- RecordTypeCode: In this field you declare that the line is concerned fees, by setting the value 2. Value 0 is for a normal line that is an income.
- FeesPercentCategoryCode: In this field you declare the kind of the fee. In this example, by setting value 8, you declare that the fee is about ecotax/plastic bag tax. You can see the paragraph 8.7 of IAPR myDATA documentation
- Summaries: the summary ammounts
- VatAnalysis: The analysis of vat amounts by percentage
- IsDelayedCode: This field is used for heterochronous transmission. Value 0: Realtime, 1: Problem on the issuer side, 2: Problem on the AADE side