The issued document is mainly used for the cancellation of billed services/products or for discount purposes under certain circumstances or even in case of error and is not associated with the billing document. For example, issue a Credit Invoice to cancel an incorrectly invoiced product or to return goods that did not meet the customer's expectations and is not associated with the initial purchase invoice.

json definition with remarks:

{
    "Currency": "€",
    "CurrencyCode": "EUR",
    "InvoiceType": "ΠΙΣΤΩΤΙΚΟ ΤΙΜΟΛΟΓΙΟ",
    "InvoiceTypeCode": "5.2",
    "DocumentTypeCode": "INVOICE",
    "Series": "D9439",
    "Number": "8",
    "DateIssued": "2023-03-24T00:00:00",
    "OrderCode": "50085538522",
    "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": "FOREIGN COMPANY",
        "Vat": "DE123456789",
        "TaxOffice": "Not used",
        "TaxOfficeCode": "NOT USED",
        "Phones": [
            ""
        ],
        "Faxes": [
            ""
        ],
        "Emails": [
            ""
        ],
        "Address": {
            "CountryCode": "DE",
            "City": "Reutlingen ",
            "Street": "STREET NUMBER ",
            "Postal": "12345"
        },
        "Code": "00001"
    },
    "DistributionDetails": {
        "InternalDocumentId": "9439_1_2_50085538522_102042419248"
    },
    "PaymentDetails": {
        "PaymentMethods": [
            {
                "PaymentMethodType": "VISA",
                "PaymentMethodTypeCode": 3,
                "Amount": 7.99
            }
        ]
    },
    "AdditionalDetails": {
        "AccountingDepartmentEmails": [
            "COMPANY@company.com"
        ],
        "AvoidEmailGrouping": false,
        "DocumentTemplate": "STRAD"
    },
    "Details": [
        {
            "LineNo": 1,
            "Descriptions": [
                "Φαρδιά ζώνη cowboy",
                "001",
                "70"
            ],
            "MeasurementUnit": "TMX",
            "MeasurementUnitCode": 1,
            "Quantity": 1,
            "InternalId": "0/3383/002/001/70",
            "CatalogUnitPrice": 7.99,
            "UnitPrice": 6.44,
            "CatalogNetTotal": 6.44,
            "CatalogTotal": 7.99,
            "NetTotalAfterInlineALCs": 6.44,
            "NetTotal": 6.44,
            "Total": 7.99,
            "VATTotal": 1.55,
            "VatCategory": "24.0",
            "VatCategoryCode": 1,
            "IsInformative": false,
            "IsHidden": false,
            "RecordTypeCode": 0,
            "IncomeClassification": {
                "Id": 0,
                "ClassificationTypeCode": "E3_561_001",
                "ClassificationCategoryCode": "category1_1",
                "Amount": 6.44
            }
        }
    ],
    "Summaries": {
        "TotalNetAmount": 6.44,
        "TotalVATAmount": 1.55,
        "TotalGrossValue": 7.99
    },
    "vatAnalysis": [
        {
            "name": "24",
            "percentage": 24,
            "vatAmount": 1.55,
            "underlyingValue": 6.44
        }
    ],
    "MiscellaneousData": {
        "PurchaseOrderNumber": "A9439 / 50"
    },
    "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 mandatory for the B2Β invoices.
  • InternalDocumentId: It is a unique document number in the issuer’s system
  • PaymethodTypeCode: This code corresponds to the paragraph 8.12 of IAPR myDATA manual
  • 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.
  • 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 IAPR side