The issued document reflects the value of the goods supplied by the entity to another enterprise. For example,issue of a document for the sale of clothing and accessories to another business.
json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "SALES INVOIE",
"invoiceTypeCode": "1.1",
"documentTypeCode": "INVOICE",
"series": "TEST",
"number": "163358",
"dateIssued": "2023-04-6T23:27:23",
"OrderCode": "102324",
"Issuer": {
"RegisteredName": "Name",
"ΒrandName": "Name LTD",
"RegistrationNumber": "", // Only LtD companies own this number
"Vat": "EL123456789",
"TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
"Activities": [
" Sales"
],
"GeneralCommercialRegistryNumber": "", // ΓΕΜΗ
"Phones": [
"2109999999"
],
"faxes": [
"2109999999"
],
"emails": [
"...@.....gr"
],
"Url": "www.url.gr....",
"Address": {
"Country": "GREECE",
"CountryCode": "GR",
"City": "ATHENS",
"Street": "ROAD NAME AND NUMBER",
"Postal": "15123"
}
},
"counterParty": {
"registeredName": "Customer's Brand name",
"Vat": "EL123456789",
"TaxOffice": "B' ATHENS",
"Activities": [
"SALES"
],
"Phones": [
"+30 2109999999"
],
"faxes": [
"+30 2109999999"
],
"address": {
"countryCode": "GR",
"city": "ΙΩΑΝΝΙΝΑ",
"Street": "Road name and number",
"postal": "45500"
}
},
"allowancesCharges": [], // extra charges or discounts applied on the full invoice
"DistributionDetails": {
"InternalDocumentId": "1000258", // generated internaly by your system
"Salesman": "Name",
"project": "", //Contract/Agreement's reference number
"RelativeDocuments": [
"356264487" // Delivery note's code
]
},
"deliveryOriginDetails": {
"Address": {
"City": "ATHENS",
"Street": "Λεωφ.Κυμης 132/ 15123/GR"
},
"Phones": [
"00302102880600"
]
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodTypeCode": 5,
"amount": 390.13,
"remarks": "Please settle within the next 60 days. "
}
]
},
"additionalDetails": {
"accountingDepartmentEmails": [
""
],
"transmissionMethod": "A", // "Ε" an e-mail send to the custmer's or elseware you wish automaticly
"avoidEmailGrouping": false
},
"details": [
{
"lineNo": 1,
"descriptions": [
"Gold Ring "
],
"category": "356264487", // Product number
"measurementUnit": "pieces",
"quantity": 5,
"UnitPrice": 89.44,
"netTotal": 299.62,
"total": 371.52,
"vatTotal": 71.91,
"vatCategory": "24",
"vatCategoryCode": 1,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_561_001",
"classificationCategoryCode": "category1_1"
}
},
{
"lineNo": 2,
"classificationLineNo": 1,
"descriptions": [
"Shipping Costs"
],
"quantity": 1,
"UnitPrice": 15.00,
"netTotal": 15.00,
"total": 18.60,
"allowancesTotal": 0,
"vatTotal": 3.6,
"vatCategory": "24",
"vatCategoryCode": 1,
"recordTypeCode": 0,
"incomeClassification": {
"classificationTypeCode": "E3_562",
"classificationCategoryCode": "category1_5"
}
}
],
"summaries": {
"totalNetAmount": 314.62,
"totalCharges": 15,
"totalVATAmount": 75.51,
"totalGrossValue": 390.13
},
"vatAnalysis": [
{
"name": "24%",
"vatAmount": 75.51,
"underlyingValue": 314.62
}
],
"banks": [ // Associated Banks
{
"bicCode": "",
"name": "",
"vat": "",
"branchCode": "",
"branch": "",
"account": "",
"iban": "GR290........",
"contactDetails": " "
},
{
"bicCode": "",
"name": "EΘΝΙΚΗ",
"vat": "",
"branchCode": "",
"branch": "",
"account": "",
"iban": "GR770110......",
"contactDetails": " "
},
{
"bicCode": "",
"name": "CITIBANK",
"vat": "",
"branchCode": "",
"branch": "",
"account": "",
"iban": "GR108...........",
"contactDetails": " "
}
],
"MiscellaneousData": {
"MoreInformation1": " Thank you for your purchase or any other informational messages"
},
"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
- banks: In this field you declare the banks accounts in case you support bank deposit as payment method, so that it can displayed on the template of the invoice
- IsDelayedCode: This field is used for heterochronous transmission. Value 0: Realtime, 1: Problem on the issuer side, 2: Problem on the IAPR side