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.

json definition with remarks:

{
    "Currency": "EURO",
    "CurrencyCode": "EUR",
    "invoiceTypeCode": "5.2",
    "specialInvoiceCategory": 0,
    "variationType": 0,
    "documentType": "ΠΙΣΤΩΤΙΚΟ ΤΙΜΟΛΟΓΙΟ ΕΠΙΣΤΡΟΦΗΣ",
    "documentTypeCode": "INVOICE",
    "copyTypeNamePurpose": "0000001",
    "series": "12ΠΕΠ",
    "number": "1",
    "dateIssued": "2023-04-24T00:00:00",
    "relativeDocuments": [],
    "Issuer": {
        "RegisteredName": "BEST FUEL-GAS",
        "Vat": "EL123456789",
        "TaxOffice": "ΑΘΗΝΩΝ",
        "Activities": [
            "ΕΤΑΙΡΕΙΑ ΚΑΥΣΙΜΩΝ ΚΑΙ ΥΓΡΑΕΡΙΟΥ"
        ],
        "Phones": [
            "210 999999"
        ],
        "Emails": [
            "info@fuel.eu"
        ],
        "Url": "www.fuel-gas.eu",
        "Address": {
            "Country": "GREECE",
            "CountryCode": "GR",
            "City": "ΑΘΗΝΑ",
            "Street": "ΑΘΗΝΑ",
            "Postal": "12345"
        },
        "Branch": "",
        "BranchCode": ""
    },
    "CounterParty": {
        "RegisteredName": "BEST FUEL-GAS",
        "Vat": "EL999999999",
        "TaxOffice": "ΑΘΗΝΩΝ",
        "Activities": [
            "ΕΤΑΙΡΕΙΑ ΚΑΥΣΙΜΩΝ ΚΑΙ ΥΓΡΑΕΡΙΟΥ"
        ],
        "Phones": [
            "210 999999"
        ],
        "Emails": [
            "info@fuel.eu"
        ],
        "Url": "www.fuel-gas.eu",
        "Address": {
            "Country": "GREECE",
            "CountryCode": "GR",
            "City": "ΑΘΗΝΑ",
            "Street": "ΑΘΗΝΑ",
            "Postal": "12345"
        },
        "Branch": "",
        "BranchCode": ""
    },
    "distributionDetails": {
        "internalDocumentId": "dc1234",
        "vehileNumber": ""
    },
    "PaymentDetails": {
        "TotalPieces": 1,
        "PaymentMethods": [
            {
                "PaymentMethodType": "ΠΙΣΤΩΣΗ",
                "PaymentMethodTypeCode": 5,
                "Amount": 4726.74,
                "Remarks": "ΟΛΟΚΛΗΡΩΜΕΝΗ ΣΥΝΑΛΛΑΓΗ"
            }
        ],
        "PaymentDate": "2023-03-15T14:50:00"
    },
    "AdditionalDetails": {
        "AccountingDepartmentEmails": [
            "Ccompanyn@gmail.com"
        ],
        "TransmissionMethod": "E",
        "AvoidEmailGrouping": false,
        "DocumentTemplate": "0"
    },
    "Details": [
        {
            "LineNo": 1,
            "Descriptions": [
                "ΠΡΟΠΑΝΙΟ"
            ],
            "MeasurementUnit": "ΛΙΤΡΑ",
            "MeasurementUnitCode": 3,
            "Quantity": 5243,
            "Quantity2": 2960,
            "NetTotal": 3811.89,
            "Total": 4726.74,
            "VATTotal": 914.85,
            "VatCategoryCode": 1,
            "IsInformative": false,
            "IsHidden": false,
            "RecordTypeCode": 0,
            "IncomeClassification": {
                "Id": 0,
                "ClassificationTypeCode": "E3_561_001",
                "ClassificationCategoryCode": "category1_1",
                "Amount": 3811.89
            },
            "FuelCode": 40
        }
    ],
    "Summaries": {
        "TotalNetAmount": 3811.89,
        "TotalVATAmount": 914.85,
        "TotalGrossValue": 4726.74
    },
    "VatAnalysis": [
        {
            "Name": "24",
            "Percentage": 24,
            "VatAmount": 914.85,
            "UnderlyingValue": 4726.74
        }
    ],
    "isDelayedCode": 0,
    "isFuelInvoice": true,
}

## 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.
  • 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 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.
  • FuelCode: This field is mandatory in fuel industry invoices and it declares the kind of fuel that is being selled in the line.
  • 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
  • IsFuelInvoice: This field is mandatory in case of issuing fuel invoices