{"openapi":"3.1.0","info":{"title":"Wrapp API","version":"1.31.0","description":"Issue Greek invoices and receipts to AADE myDATA from your own software. Human-readable reference: https://wrapp.ai/api/documentation. Every total is sent by you; the platform computes none. Every message the API returns, errors included, is in English, and an error names the field you sent, as in \"counterpart.vat can't be blank\". Each error carries a code to match on, and the field when it is about one."},"servers":[{"url":"https://wrapp.ai/api/v1","description":"Production"},{"url":"https://staging.wrapp.ai/api/v1","description":"Staging. Open it yourself: sign up free at https://wrapp.ai/en/users/new, then press \"Try the API\"."}],"security":[{"bearer":[]}],"tags":[{"name":"Login"},{"name":"VAT"},{"name":"Account"},{"name":"Branches"},{"name":"Billing books"},{"name":"Invoices"},{"name":"POS devices"},{"name":"Payment links"},{"name":"Catering tables"},{"name":"POS sessions"},{"name":"Digital clientele"},{"name":"Digital transports"},{"name":"Partners"},{"name":"Webhooks"}],"paths":{"/login":{"post":{"operationId":"login","tags":["Login"],"summary":"Log in and get a token","description":"To use the API, first log in with the correct credentials.\n\nNotice: The JWT Token expires after **24 hours**","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"api_key":{"type":"string","description":"(required) Your API key."},"email":{"type":"string","description":"(required if no wrapp_user_id is provided) The email address of the client"},"wrapp_user_id":{"type":"string","description":"(required if no email is provided) The ID of wrapp user"}}},"example":{"email":"tenant@example.com","api_key":"xxxxxxxx"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"data":{"type":"jwt","attributes":{"jwt":"eyJhbGciOi...QZCe8F9xd3Xqu0"}}}}}},"422":{"description":"Refused. The errors array says why."}}}},"/vat_search":{"get":{"operationId":"searchVat","tags":["VAT"],"summary":"Look up a company by VAT number","description":"Search company details using vat number","parameters":[{"name":"vat","in":"query","required":false,"description":"(required) Company vat number","schema":{"type":"string"}},{"name":"country_code","in":"query","required":false,"description":"(required) Country ISO2, for example for Greece is EL","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"vat_no":"xxxxxxxxx","name":"Company name","city":"City","address":"Address","postal_code":"11111","street_number":"11"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/tenant_details":{"get":{"operationId":"getTenantDetails","tags":["Account"],"summary":"Get the account details","description":"Get the account details.","responses":{"200":{"description":"Success","content":{"application/json":{"example":{"wrapp_user_id":"xxxxx-xxxxx-xxxxx-xxxxx","partner_user_id":"some-id-123","issue_invoice_status":true,"email":"some-test999@email.com","has_plan":true,"plan_name":"Basic","next_payment_date":"2026-10-01","next_payment_amount":12.4,"billing":{"status":"overdue","overdue_since":"2026-10-23","reason":"authentication_required","reason_title":"The bank asked to confirm the payment (3D Secure)","amount_due":209.56,"currency":"EUR","access_until":"2026-10-28","next_retry_at":null,"ended_on":null,"pay_url":"https://wrapp.ai/el/pay/xxxxxxxx"}}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/vat_exemptions":{"get":{"operationId":"listVatExemptions","tags":["VAT"],"summary":"List VAT exemption reasons","description":"To retrieve a list of all available VAT exemptions.","responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}}},"/branches":{"get":{"operationId":"listBranches","tags":["Branches"],"summary":"List branches","description":"To retrieve a list of all available branches for the authenticated user's company.","responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"createBranch","tags":["Branches"],"summary":"Create a branch","description":"To create a new branch for the authenticated user's company.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"(required) The name of the branch."},"code":{"type":"integer","description":"(required) The branch code as registered with AADE. Must be unique within the company."},"address":{"type":"string","description":"(required) The street address of the branch."},"street_number":{"type":"string","description":"(required) The street number of the branch address."},"city":{"type":"string","description":"(required) The city of the branch."},"postal_code":{"type":"string","description":"(required) The postal code of the branch."},"phone":{"type":"string","description":"(optional) A contact phone number for the branch."},"address_en":{"type":"string","description":"(optional) The address in Latin characters, used on English invoices."},"city_en":{"type":"string","description":"(optional) The city in Latin characters, used on English invoices."},"default_option":{"type":"boolean","description":"(optional) Marks this branch as the company's default. Only one branch can be the default; enabling it removes the flag from any other branch."},"company_activity":{"type":"string","description":"(optional) The business activity displayed for this branch."},"company_activity_en":{"type":"string","description":"(optional) The business activity in English."},"vat_authority":{"type":"string","description":"(optional) The tax office (ΔΟΥ) displayed for this branch."},"vat_authority_en":{"type":"string","description":"(optional) The tax office in English."}}},"example":{"name":"Υποκατάστημα Αθήνας","code":2,"address":"Ερμού","street_number":"10","city":"Αθήνα","postal_code":"10563","phone":"2101234567"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"Υποκατάστημα Αθήνας","code":2}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/branches/{id}":{"put":{"operationId":"updateBranch","tags":["Branches"],"summary":"Update a branch","description":"To update an existing branch.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"(required) The id of the branch to update, as returned by Branches \u003e Index or Branches \u003e Create."}}},"example":{"name":"Υποκατάστημα Πειραιά","city":"Πειραιάς"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"Υποκατάστημα Πειραιά","code":2}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/billing_books":{"get":{"operationId":"listBillingBooks","tags":["Billing books"],"summary":"List billing books","description":"To retrieve a list of all available billing books.","responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"createBillingBook","tags":["Billing books"],"summary":"Create a billing book","description":"To create a new billing book.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"(required) The name of the billing book."},"series":{"type":"string","description":"(required) The serial identifier of the billing book."},"number":{"type":"integer","description":"(required) The unique number associated with the new billing book entry."},"invoice_type_code":{"type":"string","description":"(required) The invoice type code for the invoices this billing book will handle. Examples include 1.1, 9.3 etc."},"company_activity":{"type":"string","description":"(optional) The business activity printed on every document issued from this billing book, instead of the branch or company activity. Leave it out to print the branch or company activity. It can be set, changed or cleared only while the book has no documents; after that the API answers 422. Not sent to myDATA."},"company_activity_en":{"type":"string","description":"(optional) The same activity in English, printed on documents rendered in English. When it is empty, English documents print the branch or company English activity, then the Greek one. Same rule as company_activity."}}},"example":{"name":"Λιανική e-shop","series":"ΕΣ","number":1,"invoice_type_code":"11.1","company_activity":"Λιανικό εμπόριο μέσω διαδικτύου","company_activity_en":"Online retail"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"Λιανική e-shop","series":"ΕΣ","invoice_type_code":"11.1","number":1,"company_activity":"Λιανικό εμπόριο μέσω διαδικτύου","company_activity_en":"Online retail","branches":[]}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/billing_books/{id}":{"put":{"operationId":"updateBillingBook","tags":["Billing books"],"summary":"Update a billing book","description":"To update a billing book's next number or its own activity. Only the fields sent change; name, series and type cannot be changed.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"number":{"type":"integer","description":"(optional) The number the next invoice of this billing book will get."},"company_activity":{"type":"string","description":"(optional) The business activity printed on every document issued from this billing book, instead of the branch or company activity. Leave it out to print the branch or company activity. It can be set, changed or cleared only while the book has no documents; after that the API answers 422. Not sent to myDATA."},"company_activity_en":{"type":"string","description":"(optional) The same activity in English, printed on documents rendered in English. When it is empty, English documents print the branch or company English activity, then the Greek one. Same rule as company_activity."}}},"example":{"number":123}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"Τιμολόγιο","series":"ΕΤΠΑ","invoice_type_code":"2.1","number":123,"company_activity":null,"company_activity_en":null,"branches":[]}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"A field is invalid. Among them: the billing book has documents and the request changes company_activity or company_activity_en, answered with the title \"company_activity can't change once the book has documents\"."},"404":{"description":"Not Found: no billing book of yours has this id."}}}},"/invoices":{"post":{"operationId":"createInvoice","tags":["Invoices"],"summary":"Issue an invoice or save a draft","description":"Issues a document to AADE myDATA, or saves it as a draft with `draft: true`; a draft is issued later with POST /invoices/{invoice_id}/issue_draft.\n\nSend every total yourself, on each line and on the document: the platform computes none, and a document without them is refused or stored at 0.00.\n\nPick `invoice_type_code` and each line's classification from the common documents table (https://wrapp.ai/api/documentation#api-invoices-create) or the guide (https://wrapp.ai/en/resources/mydata-document-type-classification-guide). The examples below are complete bodies for the 13 most used documents.\n\n`external_id` is your own reference and must be unique on your account: a second document with the same one is refused, so a retry with the same `external_id` can never issue a document twice.\n\nA field the API does not accept, or one sent with a value of the wrong type (an object where a value is expected, or the reverse), is ignored. The answer, success or error, then lists every such field under `warnings`, so a typo such as `payment_method` for `payment_method_type` does not go unnoticed. The document is issued or refused exactly as it would be without the field.\n\nNothing reaches myDATA until the company has completed its own myDATA credentials in Wrapp, even with the Wrapp provider enabled. Until then an issued document comes back as myDATA errors with the code `my_data_credentials_required` and is not kept: send the user to complete the credentials, then send it again.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"},"examples":{"goods_to_a_consumer_e-shop_included_retail_sales_receipt_11_1_alp":{"summary":"Goods to a consumer, e-shop included: Retail Sales Receipt 11.1 (ΑΛΠ)","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"invoice_lines":[{"line_number":1,"name":"Κάλτσες βαμβακερές","code":"SOCK-COT-01","quantity":2,"quantity_type":1,"unit_price":8.0,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":16.0,"vat_total":3.84,"subtotal":19.84},{"line_number":2,"name":"Μέλι θυμαρίσιο 450gr","code":"HONEY-450","quantity":1,"quantity_type":1,"unit_price":9.0,"vat_rate":13,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":9.0,"vat_total":1.17,"subtotal":10.17},{"line_number":3,"name":"Μεταφορικά","quantity":1,"quantity_type":1,"unit_price":3.5,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":3.5,"vat_total":0.84,"subtotal":4.34}],"net_total_amount":28.5,"vat_total_amount":5.85,"total_amount":34.35,"payable_total_amount":34.35}},"paid_on_a_pos_terminal_the_same_11_1_with_pos_device_id":{"summary":"Paid on a POS terminal: the same 11.1 with pos_device_id","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","invoice_lines":[{"line_number":1,"name":"Είδη λιανικής","quantity":2,"quantity_type":1,"unit_price":10.08,"net_total_price":20.16,"vat_rate":24,"vat_total":4.84,"subtotal":25.0,"classification_category":"category1_1","classification_type":"E3_561_003"}],"net_total_amount":20.16,"vat_total_amount":4.84,"total_amount":25.0,"payable_total_amount":25.0}},"an_order_at_a_restaurant_table_catering_order_note_8_6":{"summary":"An order at a restaurant table: Catering Order Note 8.6","value":{"invoice_type_code":"8.6","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","catering_table_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","net_total_amount":19.11,"vat_total_amount":2.99,"total_amount":22.1,"payable_total_amount":22.1,"invoice_lines":[{"line_number":1,"name":"Μπριάμ","quantity":2,"quantity_type":1,"unit_price":8.85,"net_total_price":17.7,"vat_rate":13,"vat_total":2.3,"subtotal":20.0,"classification_category":"category1_95","classification_type":"_"},{"line_number":2,"name":"Νερό 1lt","quantity":1,"quantity_type":1,"unit_price":1.41,"net_total_price":1.41,"vat_rate":24,"vat_total":0.69,"subtotal":2.1,"classification_category":"category1_95","classification_type":"_"}]}},"services_to_a_consumer_service_rendered_receipt_11_2_apy":{"summary":"Services to a consumer: Service Rendered Receipt 11.2 (ΑΠΥ)","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"invoice_lines":[{"line_number":1,"name":"Παροχή υπηρεσίας","quantity":1,"quantity_type":1,"unit_price":50.0,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":50.0,"vat_total":12.0,"subtotal":62.0}],"net_total_amount":50.0,"vat_total_amount":12.0,"total_amount":62.0,"payable_total_amount":62.0}},"services_to_a_business_services_invoice_2_1":{"summary":"Services to a business: Services Invoice 2.1","value":{"invoice_type_code":"2.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"net_total_amount":300.0,"vat_total_amount":72.0,"total_amount":372.0,"payable_total_amount":372.0,"invoice_lines":[{"line_number":1,"name":"Παροχή υπηρεσίας μηνός","quantity":1,"quantity_type":1,"unit_price":300.0,"net_total_price":300.0,"vat_rate":24,"vat_total":72.0,"subtotal":372.0,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"goods_to_a_business_sales_invoice_1_1":{"summary":"Goods to a business: Sales Invoice 1.1","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"net_total_amount":500.0,"vat_total_amount":120.0,"total_amount":620.0,"payable_total_amount":620.0,"invoice_lines":[{"line_number":1,"name":"Εμπορεύματα","quantity":10,"quantity_type":1,"unit_price":50.0,"net_total_price":500.0,"vat_rate":24,"vat_total":120.0,"subtotal":620.0,"classification_category":"category1_1","classification_type":"E3_561_001"}]}},"goods_you_sell_for_a_principal_sale_on_behalf_of_third_parties_1_4":{"summary":"Goods you sell for a principal: Sale on Behalf of Third Parties 1.4","value":{"invoice_type_code":"1.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"currency":"EUR","net_total_amount":1000.0,"vat_total_amount":130.0,"total_amount":1130.0,"payable_total_amount":1130.0,"invoice_lines":[{"line_number":1,"name":"Πώληση για λογαριασμό τρίτου","quantity":1000,"quantity_type":2,"unit_price":1.0,"net_total_price":1000.0,"vat_rate":13,"vat_total":130.0,"subtotal":1130.0,"classification_category":"category1_7","classification_type":"E3_881_001"}]}},"a_card_payment_for_documents_already_issued_pos_payment_receipt_8_4":{"summary":"A card payment for documents already issued: POS Payment Receipt 8.4","value":{"invoice_type_code":"8.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"net_total_amount":3.0,"vat_total_amount":0.0,"total_amount":3.0,"payable_total_amount":3.0,"invoice_lines":[{"line_number":1,"name":"Είσπραξη κατανάλωσης μπαρ","quantity":1,"quantity_type":1,"unit_price":3.0,"net_total_price":3.0,"vat_rate":0,"vat_total":0.0,"subtotal":3.0,"classification_category":"category1_95","classification_type":"_","vat_exemption_code":"0"}]}},"a_credit_to_a_business_credit_invoice_5_2":{"summary":"A credit to a business: Credit Invoice 5.2","value":{"invoice_type_code":"5.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"net_total_amount":100.0,"vat_total_amount":24.0,"total_amount":124.0,"payable_total_amount":124.0,"invoice_lines":[{"line_number":1,"name":"Πίστωση προμήθειας πλατφόρμας","quantity":1,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":24,"vat_total":24.0,"subtotal":124.0,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"goods_on_the_move_delivery_note_9_3":{"summary":"Goods on the move: Delivery Note 9.3","value":{"invoice_type_code":"9.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"invoice_lines":[{"line_number":1,"name":"Εμπορεύματα προς αποστολή","quantity":1,"quantity_type":1,"unit_price":0.0,"vat_rate":24,"classification_category":"category3","classification_type":"_"}],"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"ABC1234","purpose_of_movement":"1","issuer_of_movement":"WRAPP","from_address":"Νέστορος","from_number":"1","from_city":"Αθήνα","from_zipcode":"15231","to_address":"ΠΑΤΗΣΙΩΝ","to_number":"112","to_city":"ΑΘΗΝΑ","to_zipcode":"11257"},"is_delivery_note":true}},"a_refund_on_a_receipt_retail_credit_note_11_4":{"summary":"A refund on a receipt: Retail Credit Note 11.4","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"invoice_lines":[{"line_number":1,"name":"Ακύρωση απόδειξης","quantity":1,"quantity_type":1,"unit_price":50.0,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":50.0,"vat_total":12.0,"subtotal":62.0}],"net_total_amount":50.0,"vat_total_amount":12.0,"total_amount":62.0,"payable_total_amount":62.0}},"the_climate_resilience_fee_8_2":{"summary":"The climate resilience fee: 8.2","value":{"invoice_type_code":"8.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"net_total_amount":0.0,"vat_total_amount":0.0,"total_amount":2.0,"payable_total_amount":2.0,"other_taxes_amount":2.0,"invoice_lines":[{"line_number":1,"name":"Τέλος ανθεκτικότητας κλιματικής κρίσης","quantity":1,"quantity_type":1,"unit_price":0.0,"net_total_price":0.0,"vat_total":0.0,"subtotal":0.0,"accommodation_tax":2.0,"other_taxes_amount":2.0,"other_taxes_percent_category":24,"classification_category":"category1_95","classification_type":"_"}]}},"settling_a_principal_s_sales_clearance_1_5":{"summary":"Settling a principal's sales: Clearance 1.5","value":{"invoice_type_code":"1.5","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"currency":"EUR","net_total_amount":1000.0,"vat_total_amount":117.0,"total_amount":1117.0,"payable_total_amount":1117.0,"counterpart":{"name":"ΠΑΡΑΓΩΓΟΣ","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Εκκαθάριση πωλήσεων τρίτων","quantity":1,"quantity_type":1,"unit_price":900.0,"net_total_price":900.0,"vat_rate":13,"vat_total":117.0,"subtotal":1017.0,"invoice_detail_type":1,"expense":true,"classification_category":"category2_9","classification_type":"_"},{"line_number":2,"name":"Αμοιβή από πωλήσεις τρίτων","quantity":1,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":0,"vat_total":0.0,"subtotal":100.0,"vat_exemption_code":"2","invoice_detail_type":2,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"retail_receipt_11_1_at_the_counter":{"summary":"Retail receipt 11.1 at the counter","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΘΕΣΣΑΛΟΝΙΚΗ","street":"ΠΑΡΜΕΝΙΔΟΥ","number":"4","postal_code":"54352"},"invoice_lines":[{"line_number":1,"name":"Τροφή ζώων","quantity":2,"quantity_type":1,"unit_price":12.5,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":25.0,"vat_total":6.0,"subtotal":31.0}],"net_total_amount":25.0,"vat_total_amount":6.0,"total_amount":31.0,"payable_total_amount":31.0}},"retail_receipt_11_1_on_credit_paid_partly_in_cash_and_partly_by_card":{"summary":"Retail receipt 11.1 on credit, paid partly in cash and partly by card","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Μπριάμ","quantity":4,"quantity_type":1,"unit_price":8.85,"vat_rate":13,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":35.4,"vat_total":4.6,"subtotal":40.0},{"line_number":2,"name":"Νερό 1lt","quantity":2,"quantity_type":1,"unit_price":1.41,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":2.82,"vat_total":1.38,"subtotal":4.2}],"net_total_amount":38.22,"vat_total_amount":5.98,"total_amount":44.2,"payable_total_amount":44.2}},"retail_receipt_11_1_e-shop_order_with_skus_and_goods_sold_by_weight":{"summary":"Retail receipt 11.1, e-shop order with SKUs and goods sold by weight","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΑΘΗΝΑ","street":"ΕΡΜΟΥ","number":"12","postal_code":"10563"},"invoice_lines":[{"line_number":1,"name":"Κερί σόγιας 200gr","code":"CNDL-SOY-200","quantity":2,"quantity_type":1,"unit_price":12.5,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":25.0,"vat_total":6.0,"subtotal":31.0},{"line_number":2,"name":"Αποξηραμένα άνθη χύμα","code":"FLW-DRY-BULK","quantity":0.43,"quantity_type":2,"unit_price":18.0,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":7.74,"vat_total":1.86,"subtotal":9.6}],"net_total_amount":32.74,"vat_total_amount":7.86,"total_amount":40.6,"payable_total_amount":40.6}},"retail_receipt_11_1_that_is_also_the_delivery_note_e-shop":{"summary":"Retail receipt 11.1 that is also the delivery note, e-shop","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΑΘΗΝΑ","street":"ΕΡΜΟΥ","number":"12","postal_code":"10563"},"invoice_lines":[{"line_number":1,"name":"Κάλτσες βαμβακερές","code":"SOCK-COT-01","quantity":2,"quantity_type":1,"unit_price":8.0,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":16.0,"vat_total":3.84,"subtotal":19.84},{"line_number":2,"name":"Μεταφορικά","quantity":1,"quantity_type":1,"unit_price":3.5,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":3.5,"vat_total":0.84,"subtotal":4.34}],"net_total_amount":19.5,"vat_total_amount":4.68,"total_amount":24.18,"payable_total_amount":24.18,"is_delivery_note":true,"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"COURIER","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"ΒΕΡΟΛΙΝΟΥ","from_number":"13","from_city":"ΡΟΔΟΣ","from_zipcode":"85100","to_address":"ΕΡΜΟΥ","to_number":"12","to_city":"ΑΘΗΝΑ","to_zipcode":"10563"}}},"retail_receipt_11_1_that_is_also_the_delivery_note_sent_by_courier":{"summary":"Retail receipt 11.1 that is also the delivery note, sent by courier","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΘΕΣΣΑΛΟΝΙΚΗ","street":"ΠΑΡΜΕΝΙΔΟΥ","number":"4","postal_code":"54352"},"invoice_lines":[{"line_number":1,"name":"Unisex μπλουζάκι","quantity":2,"quantity_type":1,"unit_price":12.5,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":25.0,"vat_total":6.0,"subtotal":31.0}],"net_total_amount":25.0,"vat_total_amount":6.0,"total_amount":31.0,"payable_total_amount":31.0,"is_delivery_note":true,"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"COURIER","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"Νέστορος","from_number":"1","from_city":"Αθήνα","from_zipcode":"15231","to_address":"ΠΑΡΜΕΝΙΔΟΥ","to_number":"4","to_city":"ΘΕΣΣΑΛΟΝΙΚΗ","to_zipcode":"54352","non_obligated_recipient":true},"other_correlated_entities":[{"entity_type":3,"vat_number":"801562739","country_code":"GR","branch_code":0,"name":"ΕΤΑΙΡΕΙΑ ΤΑΧΥΜΕΤΑΦΟΡΩΝ Α.Ε.","street":"ΟΔΟΣ_COURIER","number":"1","postal_code":"11523","city":"ΑΘΗΝΑ"}]}},"retail_receipt_11_1_for_a_delivery_or_take-away_order":{"summary":"Retail receipt 11.1 for a delivery or take-away order","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Γύρος χοιρινός μερίδα","quantity":2,"quantity_type":1,"unit_price":10.62,"vat_rate":13,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":21.24,"vat_total":2.76,"subtotal":24.0},{"line_number":2,"name":"Αναψυκτικό 330ml","quantity":2,"quantity_type":1,"unit_price":1.61,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":3.22,"vat_total":0.78,"subtotal":4.0}],"net_total_amount":24.46,"vat_total_amount":3.54,"total_amount":28.0,"payable_total_amount":28.0}},"retail_receipt_11_1_that_settles_a_table_s_order_notes":{"summary":"Retail receipt 11.1 that settles a table's order notes","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","correlated_invoices":["400001xxxxxxxx1"],"catering_table_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Μπριάμ","quantity":4,"quantity_type":1,"unit_price":8.85,"vat_rate":13,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":35.4,"vat_total":4.6,"subtotal":40.0},{"line_number":2,"name":"Νερό 1lt","quantity":2,"quantity_type":1,"unit_price":1.41,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":2.82,"vat_total":1.38,"subtotal":4.2}],"net_total_amount":38.22,"vat_total_amount":5.98,"total_amount":44.2,"payable_total_amount":44.2}},"retail_receipt_11_1_with_an_item_on_the_house":{"summary":"Retail receipt 11.1 with an item on the house","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":0,"net_total_amount":10.0,"vat_total_amount":1.3,"total_amount":11.3,"payable_total_amount":11.3,"invoice_lines":[{"line_number":1,"name":"Μπιφτέκι μερίδα","quantity":1,"quantity_type":1,"unit_price":10.0,"net_total_price":10.0,"vat_rate":13,"vat_total":1.3,"subtotal":11.3,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":2,"name":"Πατάτες κέρασμα","quantity":1,"quantity_type":1,"unit_price":3.5,"net_total_price":0.0,"vat_rate":13,"vat_total":0.0,"subtotal":0.0,"classification_category":"category1_95","classification_type":"_"}]}},"retail_receipt_11_1_for_materials_and_installation_work":{"summary":"Retail receipt 11.1 for materials and installation work","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"net_total_amount":400.0,"vat_total_amount":96.0,"total_amount":496.0,"payable_total_amount":496.0,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΘΕΣΣΑΛΟΝΙΚΗ","street":"ΠΑΡΜΕΝΙΔΟΥ","number":"4","postal_code":"54352"},"invoice_lines":[{"line_number":1,"name":"Καλώδιο συναγερμού 4x0,22","quantity":50,"quantity_type":4,"unit_price":1.2,"net_total_price":60.0,"vat_rate":24,"vat_total":14.4,"subtotal":74.4,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":2,"name":"Ανιχνευτής καπνού","quantity":4,"quantity_type":1,"unit_price":35.0,"net_total_price":140.0,"vat_rate":24,"vat_total":33.6,"subtotal":173.6,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":3,"name":"Εργασία εγκατάστασης","quantity":1,"quantity_type":1,"unit_price":200.0,"net_total_price":200.0,"vat_rate":24,"vat_total":48.0,"subtotal":248.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"retail_receipt_11_1_at_a_fuel_station":{"summary":"Retail receipt 11.1 at a fuel station","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"fuel_invoice":true,"net_total_amount":113.53,"vat_total_amount":27.25,"total_amount":140.78,"payable_total_amount":140.78,"counterpart":{"name":"Ιδιώτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Αμόλυβδη 95","fuel_code":10,"quantity":45.5,"quantity_type":3,"unit_price":1.729,"net_total_price":78.67,"vat_rate":24,"vat_total":18.88,"subtotal":97.55,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":2,"name":"Πετρέλαιο κίνησης","fuel_code":20,"quantity":20,"quantity_type":3,"unit_price":1.493,"net_total_price":29.86,"vat_rate":24,"vat_total":7.17,"subtotal":37.03,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":3,"name":"Λοιπές χρεώσεις","fuel_code":999,"quantity":1,"quantity_type":1,"unit_price":5.0,"net_total_price":5.0,"vat_rate":24,"vat_total":1.2,"subtotal":6.2,"classification_category":"category1_1","classification_type":"E3_561_003"}]}},"retail_receipt_11_1_for_heating_oil":{"summary":"Retail receipt 11.1 for heating oil","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"fuel_invoice":true,"special_invoice_category":11,"notes":"Επίδομα Θέρμανσης","net_total_amount":525.0,"vat_total_amount":126.0,"total_amount":651.0,"payable_total_amount":651.0,"counterpart":{"name":"ΙΔΙΩΤΗΣ ΠΕΛΑΤΗΣ","vat":"123456783","country_code":"GR","city":"ΑΘΗΝΑ","street":"ΕΡΜΟΥ","number":"12","postal_code":"10563","supply_account_no":"12345678901"},"invoice_lines":[{"line_number":1,"name":"Πετρέλαιο θέρμανσης","fuel_code":30,"quantity":500,"quantity_type":3,"unit_price":1.05,"net_total_price":525.0,"vat_rate":24,"vat_total":126.0,"subtotal":651.0,"classification_category":"category1_1","classification_type":"E3_561_003"}]}},"retail_receipt_11_1_distance_sale_to_an_eu_consumer_under_oss":{"summary":"Retail receipt 11.1, distance sale to an EU consumer under OSS","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","country_code":"IT","city":"MILANO","street":"VIA DANTE","number":"12","postal_code":"20121"},"net_total_amount":122.0,"vat_total_amount":0,"total_amount":122.0,"payable_total_amount":122.0,"invoice_lines":[{"line_number":1,"name":"Πώληση αγαθών εξ αποστάσεως (OSS)","quantity":1,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":0,"vat_exemption_code":30,"discount_option":true,"vat_total":0,"subtotal":100.0,"classification_category":"category1_1","classification_type":"E3_561_003"},{"line_number":2,"name":"ΦΠΑ χώρας προορισμού (IT 22%)","quantity":1,"quantity_type":1,"unit_price":22.0,"net_total_price":22.0,"vat_rate":0,"vat_exemption_code":30,"vat_total":0,"subtotal":22.0,"classification_category":"category1_95","classification_type":"_"}]}},"retail_receipt_11_1_export_to_a_consumer_outside_the_eu":{"summary":"Retail receipt 11.1, export to a consumer outside the EU","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","country_code":"GB","city":"LONDON","street":"OXFORD STREET","number":"12","postal_code":"W1D 1AN"},"net_total_amount":110.0,"vat_total_amount":0,"total_amount":110.0,"payable_total_amount":110.0,"invoice_lines":[{"line_number":1,"name":"Εμπορεύματα","quantity":1,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":0,"vat_exemption_code":8,"vat_total":0,"subtotal":100.0,"classification_category":"category1_1","classification_type":"E3_561_006"},{"line_number":2,"name":"Μεταφορικά","quantity":1,"quantity_type":1,"unit_price":10.0,"net_total_price":10.0,"vat_rate":0,"vat_exemption_code":8,"vat_total":0,"subtotal":10.0,"classification_category":"category1_3","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"retail_receipt_11_1_for_an_export_that_is_also_the_delivery_note":{"summary":"Retail receipt 11.1 for an export that is also the delivery note","value":{"invoice_type_code":"11.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","country_code":"GB","city":"LONDON","street":"OXFORD STREET","number":"12","postal_code":"W1D 1AN"},"net_total_amount":110.0,"vat_total_amount":0,"total_amount":110.0,"payable_total_amount":110.0,"invoice_lines":[{"line_number":1,"name":"Εμπορεύματα","quantity":1,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":0,"vat_exemption_code":8,"vat_total":0,"subtotal":100.0,"classification_category":"category1_1","classification_type":"E3_561_006"},{"line_number":2,"name":"Μεταφορικά","quantity":1,"quantity_type":1,"unit_price":10.0,"net_total_price":10.0,"vat_rate":0,"vat_exemption_code":8,"vat_total":0,"subtotal":10.0,"classification_category":"category1_3","classification_type":"E3_561_006"}],"is_delivery_note":true,"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"COURIER","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"ΝΕΣΤΟΡΟΣ","from_number":"1","from_city":"ΑΘΗΝΑ","from_zipcode":"15231","to_address":"OXFORD STREET","to_number":"12","to_city":"LONDON","to_zipcode":"W1D1AN"}},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"catering_order_note_8_6_at_a_hotel_bar_opening_the_table_by_name":{"summary":"Catering order note 8.6 at a hotel bar, opening the table by name","value":{"invoice_type_code":"8.6","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"","vat":"","city":"","street":"","number":"","postal_code":""},"net_total_amount":4.84,"vat_total_amount":1.16,"total_amount":6.0,"payable_total_amount":6.0,"invoice_lines":[{"line_number":1,"name":"Αναψυκτικό 330ml","quantity":1,"quantity_type":1,"unit_price":4.84,"net_total_price":4.84,"vat_rate":24,"vat_total":1.16,"subtotal":6.0,"classification_category":"category1_95","classification_type":"_"}]}},"service_receipt_11_2_for_accommodation_with_the_city_tax_line":{"summary":"Service receipt 11.2 for accommodation, with the city tax line","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","vat":"","city":"","street":"","number":"","postal_code":""},"net_total_amount":637.16,"vat_total_amount":82.84,"total_amount":720.0,"payable_total_amount":720.0,"invoice_lines":[{"line_number":1,"name":"Διαμονή, Accommodation 4 βρ. Double or Twin Room","quantity":1,"quantity_type":1,"unit_price":714.64,"net_total_price":632.42,"vat_rate":13,"vat_total":82.22,"subtotal":714.64,"classification_category":"category1_3","classification_type":"E3_561_003"},{"line_number":2,"name":"Δημοτικός φόρος, City tax","quantity":1,"quantity_type":1,"unit_price":5.36,"net_total_price":4.74,"vat_rate":13,"vat_total":0.62,"subtotal":5.36,"classification_category":"category1_95","classification_type":"_"}]}},"service_receipt_11_2_for_accommodation_on_credit_paid_in_parts":{"summary":"Service receipt 11.2 for accommodation on credit, paid in parts","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":17.7,"vat_total_amount":2.3,"total_amount":20.0,"payable_total_amount":20.0,"invoice_lines":[{"line_number":1,"name":"Διαμονή, Double Room","quantity":1,"quantity_type":1,"unit_price":17.7,"net_total_price":17.7,"vat_rate":13,"vat_total":2.3,"subtotal":20.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"service_receipt_11_2_for_a_short-term_rental":{"summary":"Service receipt 11.2 for a short-term rental","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","vat":"","city":"","street":"","number":"","postal_code":""},"net_total_amount":238.94,"vat_total_amount":31.06,"total_amount":270.0,"payable_total_amount":270.0,"invoice_lines":[{"line_number":1,"name":"Διαμονή 3 νύχτες - Accommodation 3 nights","quantity":1,"quantity_type":1,"unit_price":270.0,"net_total_price":238.94,"vat_rate":13,"vat_total":31.06,"subtotal":270.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"service_receipt_11_2_with_several_service_lines":{"summary":"Service receipt 11.2 with several service lines","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":2,"payment_details":"Κατάθεση σε τραπεζικό λογαριασμό","notes":"Εξόφληση","net_total_amount":2200.0,"vat_total_amount":528.0,"total_amount":2728.0,"payable_total_amount":2728.0,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Κατασκευή ιστοσελίδας","quantity":1,"quantity_type":1,"unit_price":1500.0,"net_total_price":1500.0,"vat_rate":24,"vat_total":360.0,"subtotal":1860.0,"classification_category":"category1_3","classification_type":"E3_561_003"},{"line_number":2,"name":"Email setup","quantity":1,"quantity_type":1,"unit_price":200.0,"net_total_price":200.0,"vat_rate":24,"vat_total":48.0,"subtotal":248.0,"classification_category":"category1_3","classification_type":"E3_561_003"},{"line_number":3,"name":"Ετήσιο πακέτο φιλοξενίας","quantity":1,"quantity_type":1,"unit_price":300.0,"net_total_price":300.0,"vat_rate":24,"vat_total":72.0,"subtotal":372.0,"classification_category":"category1_3","classification_type":"E3_561_003"},{"line_number":4,"name":"Λογαριασμός email, ένα έτος","quantity":1,"quantity_type":1,"unit_price":200.0,"net_total_price":200.0,"vat_rate":24,"vat_total":48.0,"subtotal":248.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"service_receipt_11_2_for_a_monthly_subscription_price_including_vat":{"summary":"Service receipt 11.2 for a monthly subscription, price including VAT","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Μηνιαία συνδρομή","quantity":1,"quantity_type":1,"unit_price":3.23,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":3.23,"vat_total":0.77,"subtotal":4.0}],"net_total_amount":3.23,"vat_total_amount":0.77,"total_amount":4.0,"payable_total_amount":4.0}},"service_receipt_11_2_at_a_courier_counter_cash":{"summary":"Service receipt 11.2 at a courier counter, cash","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":0,"net_total_amount":5.65,"vat_total_amount":1.36,"total_amount":7.01,"payable_total_amount":7.01,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΑΙΓΑΛΕΩ","street":"ΙΕΡΑ ΟΔΟΣ","number":"300","postal_code":"12242"},"invoice_lines":[{"line_number":1,"name":"Αποστολή δέματος εσωτερικού, έως 2 kg","code":"PARCEL-2KG","quantity":1,"quantity_type":1,"unit_price":5.65,"net_total_price":5.65,"vat_rate":24,"vat_total":1.36,"subtotal":7.01,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"service_receipt_11_2_subscription_to_an_eu_consumer_under_oss":{"summary":"Service receipt 11.2, subscription to an EU consumer under OSS","value":{"invoice_type_code":"11.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","country_code":"CY","city":"LIMASSOL","street":"ARCH. MAKARIOU","number":"10","postal_code":"3030"},"invoice_lines":[{"line_number":1,"name":"Monthly subscription EU consumer OSS","quantity":1,"quantity_type":1,"unit_price":20.0,"net_total_price":20.0,"vat_rate":0,"vat_exemption_code":30,"discount_option":true,"vat_total":0,"subtotal":20.0,"classification_category":"category1_3","classification_type":"E3_561_003"},{"line_number":2,"name":"VAT of member state CY 19%","quantity":1,"quantity_type":1,"unit_price":3.8,"net_total_price":3.8,"vat_rate":0,"vat_exemption_code":30,"vat_total":0,"subtotal":3.8,"classification_category":"category1_95","classification_type":"_"}],"net_total_amount":23.8,"vat_total_amount":0,"total_amount":23.8,"payable_total_amount":23.8}},"services_invoice_2_1_monthly_statement_with_one_line_per_shipment":{"summary":"Services invoice 2.1, monthly statement with one line per shipment","value":{"invoice_type_code":"2.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"notes":"Συγκεντρωτικό τιμολόγιο αποστολών 01-30/09/2026","net_total_amount":20.6,"vat_total_amount":4.95,"total_amount":25.55,"payable_total_amount":25.55,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Αποστολή AWB 7001234501 Αθήνα-Θεσσαλονίκη, 2 τεμ.","code":"AWB7001234501","quantity":1,"quantity_type":1,"unit_price":6.4,"net_total_price":6.4,"vat_rate":24,"vat_total":1.54,"subtotal":7.94,"classification_category":"category1_3","classification_type":"E3_561_001"},{"line_number":2,"name":"Αποστολή AWB 7001234502 Αθήνα-Πάτρα, 1 τεμ.","code":"AWB7001234502","quantity":1,"quantity_type":1,"unit_price":4.9,"net_total_price":4.9,"vat_rate":24,"vat_total":1.18,"subtotal":6.08,"classification_category":"category1_3","classification_type":"E3_561_001"},{"line_number":3,"name":"Αποστολή AWB 7001234503 Αθήνα-Ηράκλειο, αντικαταβολή","code":"AWB7001234503","quantity":1,"quantity_type":1,"unit_price":7.8,"net_total_price":7.8,"vat_rate":24,"vat_total":1.87,"subtotal":9.67,"classification_category":"category1_3","classification_type":"E3_561_001"},{"line_number":4,"name":"Επιβάρυνση αντικαταβολής AWB 7001234503","code":"COD-FEE","quantity":1,"quantity_type":1,"unit_price":1.5,"net_total_price":1.5,"vat_rate":24,"vat_total":0.36,"subtotal":1.86,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"services_invoice_2_1_for_compensation_outside_the_scope_of_vat":{"summary":"Services invoice 2.1 for compensation outside the scope of VAT","value":{"invoice_type_code":"2.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":45.0,"vat_total_amount":0.0,"total_amount":45.0,"payable_total_amount":45.0,"counterpart":{"name":"ΕΤΑΙΡΕΙΑ ΤΑΧΥΜΕΤΑΦΟΡΩΝ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"invoice_lines":[{"line_number":1,"name":"Αποζημίωση για κατεστραμμένη αποστολή","quantity":1,"quantity_type":1,"unit_price":45.0,"net_total_price":45.0,"vat_rate":0,"vat_exemption_code":"27","vat_total":0.0,"subtotal":45.0,"classification_category":"category1_5","classification_type":"E3_562"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"services_invoice_2_2_services_to_a_business_in_another_eu_country":{"summary":"Services invoice 2.2, services to a business in another EU country","value":{"invoice_type_code":"2.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":1350.0,"vat_total_amount":0.0,"total_amount":1350.0,"payable_total_amount":1350.0,"counterpart":{"name":"EXAMPLE PARTNER SRL","country_code":"RO","vat":"RO12345678","city":"TIMISOARA","street":"STRADA EXEMPLU","number":"1","postal_code":"300055"},"invoice_lines":[{"line_number":1,"name":"Online marketing services \u0026 website content management","quantity":1,"quantity_type":1,"unit_price":1350.0,"net_total_price":1350.0,"vat_rate":0,"vat_total":0.0,"subtotal":1350.0,"vat_exemption_code":"4","classification_category":"category1_3","classification_type":"E3_561_005"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"services_invoice_2_3_services_to_a_business_outside_the_eu":{"summary":"Services invoice 2.3, services to a business outside the EU","value":{"invoice_type_code":"2.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":2000.0,"vat_total_amount":0.0,"total_amount":2000.0,"payable_total_amount":2000.0,"counterpart":{"name":"EXAMPLE CLIENT LLC","country_code":"US","vat":"981234567","city":"NEW YORK","street":"BROADWAY","number":"120","postal_code":"10271"},"invoice_lines":[{"line_number":1,"name":"Software development \u0026 support services","quantity":1,"quantity_type":1,"unit_price":2000.0,"net_total_price":2000.0,"vat_rate":0,"vat_total":0.0,"subtotal":2000.0,"vat_exemption_code":"4","classification_category":"category1_3","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"services_invoice_2_3_in_us_dollars":{"summary":"Services invoice 2.3 in US dollars","value":{"invoice_type_code":"2.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"currency":"USD","exchange_rate":1.16,"net_total_amount":2000.0,"vat_total_amount":0.0,"total_amount":2000.0,"payable_total_amount":2000.0,"counterpart":{"name":"EXAMPLE CLIENT LLC","country_code":"US","vat":"981234567","city":"NEW YORK","street":"BROADWAY","number":"120","postal_code":"10271"},"invoice_lines":[{"line_number":1,"name":"Software development \u0026 support services","quantity":1,"quantity_type":1,"unit_price":2000.0,"net_total_price":2000.0,"vat_rate":0,"vat_total":0.0,"subtotal":2000.0,"vat_exemption_code":"4","classification_category":"category1_3","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"services_invoice_2_3_in_pounds_sterling":{"summary":"Services invoice 2.3 in pounds sterling","value":{"invoice_type_code":"2.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"currency":"GBP","exchange_rate":0.86,"net_total_amount":2000.0,"vat_total_amount":0.0,"total_amount":2000.0,"payable_total_amount":2000.0,"counterpart":{"name":"EXAMPLE CLIENT LTD","country_code":"GB","vat":"123456789","city":"LONDON","street":"OLD STREET","number":"1","postal_code":"EC1V 9HL"},"invoice_lines":[{"line_number":1,"name":"Software engineering services","quantity":1,"quantity_type":1,"unit_price":2000.0,"net_total_price":2000.0,"vat_rate":0,"vat_total":0.0,"subtotal":2000.0,"vat_exemption_code":"4","classification_category":"category1_3","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"sales_invoice_1_1_that_is_also_the_delivery_note":{"summary":"Sales invoice 1.1 that is also the delivery note","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":1200.0,"vat_total_amount":288.0,"total_amount":1488.0,"payable_total_amount":1488.0,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Firewall appliance","code":"FW-1000-SN","quantity":2,"quantity_type":1,"unit_price":600.0,"net_total_price":1200.0,"vat_rate":24,"vat_total":288.0,"subtotal":1488.0,"classification_category":"category1_1","classification_type":"E3_561_001"}],"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"ABC1234","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"Νέστορος","from_number":"1","from_city":"Αθήνα","from_zipcode":"15231","to_address":"ΛΙΟΣΙΩΝ","to_number":"298","to_city":"ΑΘΗΝΑ","to_zipcode":"10445"},"is_delivery_note":true}},"sales_invoice_1_1_and_delivery_note_recipient_without_a_street_address":{"summary":"Sales invoice 1.1 and delivery note, recipient without a street address","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"is_delivery_note":true,"net_total_amount":420.0,"vat_total_amount":54.6,"total_amount":474.6,"payable_total_amount":474.6,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΧΑΝΙΩΤΗ","street":"ΧΑΝΙΩΤΗ","number":"-","postal_code":"63085"},"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"ΝΧ1234","purpose_of_movement":"1","issuer_of_movement":"1","from_address":"ΝΕΑ ΜΟΥΔΑΝΙΑ","from_number":"1","from_city":"ΝΕΑ ΜΟΥΔΑΝΙΑ","from_zipcode":"63200","to_address":"ΧΑΝΙΩΤΗ","to_number":"-","to_city":"ΧΑΝΙΩΤΗ","to_zipcode":"63085"},"invoice_lines":[{"line_number":1,"name":"Ντομάτες Χαλκιδικής","quantity":180,"quantity_type":1,"unit_price":1.2,"net_total_price":216.0,"vat_rate":13,"vat_total":28.08,"subtotal":244.08,"classification_category":"category1_1","classification_type":"E3_561_001"},{"line_number":2,"name":"Αγγούρια","quantity":170,"quantity_type":1,"unit_price":1.2,"net_total_price":204.0,"vat_rate":13,"vat_total":26.52,"subtotal":230.52,"classification_category":"category1_1","classification_type":"E3_561_001"}]}},"sales_invoice_1_1_and_delivery_note_producer_shipping_its_own_products":{"summary":"Sales invoice 1.1 and delivery note, producer shipping its own products","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":154.8,"vat_total_amount":37.15,"total_amount":191.95,"payable_total_amount":191.95,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Σαπούνι χειροποίητο λεβάντα 100gr","code":"SOAP-LAV-100","quantity":24,"quantity_type":1,"unit_price":3.2,"net_total_price":76.8,"vat_rate":24,"vat_total":18.43,"subtotal":95.23,"classification_category":"category1_2","classification_type":"E3_561_001"},{"line_number":2,"name":"Αφρόλουτρο 250ml","code":"BATH-250","quantity":12,"quantity_type":1,"unit_price":6.5,"net_total_price":78.0,"vat_rate":24,"vat_total":18.72,"subtotal":96.72,"classification_category":"category1_2","classification_type":"E3_561_001"}],"is_delivery_note":true,"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"ABC1234","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"ΑΡΙΣΤΟΤΕΛΟΥΣ","from_number":"103","from_city":"ΑΧΑΡΝΕΣ","from_zipcode":"13671","to_address":"ΛΙΟΣΙΩΝ","to_number":"298","to_city":"ΑΘΗΝΑ","to_zipcode":"10445"}}},"sales_invoice_1_1_for_materials_and_installation_work":{"summary":"Sales invoice 1.1 for materials and installation work","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":400.0,"vat_total_amount":96.0,"total_amount":496.0,"payable_total_amount":496.0,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Καλώδιο συναγερμού 4x0,22","quantity":50,"quantity_type":4,"unit_price":1.2,"net_total_price":60.0,"vat_rate":24,"vat_total":14.4,"subtotal":74.4,"classification_category":"category1_1","classification_type":"E3_561_001"},{"line_number":2,"name":"Ανιχνευτής καπνού","quantity":4,"quantity_type":1,"unit_price":35.0,"net_total_price":140.0,"vat_rate":24,"vat_total":33.6,"subtotal":173.6,"classification_category":"category1_1","classification_type":"E3_561_001"},{"line_number":3,"name":"Εργασία εγκατάστασης","quantity":1,"quantity_type":1,"unit_price":200.0,"net_total_price":200.0,"vat_rate":24,"vat_total":48.0,"subtotal":248.0,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"sales_invoice_1_1_saved_as_a_draft_to_use_as_a_quote":{"summary":"Sales invoice 1.1 saved as a draft, to use as a quote","value":{"invoice_type_code":"1.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","draft":true,"payment_method_type":1,"net_total_amount":154.8,"vat_total_amount":37.15,"total_amount":191.95,"payable_total_amount":191.95,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Σαπούνι χειροποίητο λεβάντα 100gr","code":"SOAP-LAV-100","quantity":24,"quantity_type":1,"unit_price":3.2,"net_total_price":76.8,"vat_rate":24,"vat_total":18.43,"subtotal":95.23,"classification_category":"category1_2","classification_type":"E3_561_001"},{"line_number":2,"name":"Αφρόλουτρο 250ml","code":"BATH-250","quantity":12,"quantity_type":1,"unit_price":6.5,"net_total_price":78.0,"vat_rate":24,"vat_total":18.72,"subtotal":96.72,"classification_category":"category1_2","classification_type":"E3_561_001"}]}},"sales_invoice_1_2_goods_to_a_business_in_another_eu_country":{"summary":"Sales invoice 1.2, goods to a business in another EU country","value":{"invoice_type_code":"1.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":480.0,"vat_total_amount":0.0,"total_amount":480.0,"payable_total_amount":480.0,"counterpart":{"name":"EXAMPLE ROBOTICS GMBH","country_code":"DE","vat":"DE123456789","city":"MUENCHEN","street":"BEISPIELSTRASSE","number":"10","postal_code":"80331"},"invoice_lines":[{"line_number":1,"name":"Motor controller","quantity":4,"quantity_type":1,"unit_price":120.0,"net_total_price":480.0,"vat_rate":0,"vat_total":0.0,"subtotal":480.0,"vat_exemption_code":"14","classification_category":"category1_1","classification_type":"E3_561_005"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"sales_invoice_1_3_goods_to_a_business_outside_the_eu":{"summary":"Sales invoice 1.3, goods to a business outside the EU","value":{"invoice_type_code":"1.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":480.0,"vat_total_amount":0.0,"total_amount":480.0,"payable_total_amount":480.0,"counterpart":{"name":"EXAMPLE ROBOTICS INC","country_code":"US","vat":"US-EIN-000000000","city":"BOSTON","street":"EXAMPLE STREET","number":"100","postal_code":"02110"},"invoice_lines":[{"line_number":1,"name":"Motor controller","quantity":4,"quantity_type":1,"unit_price":120.0,"net_total_price":480.0,"vat_rate":0,"vat_total":0.0,"subtotal":480.0,"vat_exemption_code":"8","classification_category":"category1_1","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"pos_payment_receipt_8_4_paying_two_receipts_issued_on_credit":{"summary":"POS payment receipt 8.4 paying two receipts issued on credit","value":{"invoice_type_code":"8.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1","400001xxxxxxxx2"],"net_total_amount":26.0,"vat_total_amount":0.0,"total_amount":26.0,"payable_total_amount":26.0,"counterpart":{"name":"Private customer","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Είσπραξη κατανάλωσης, Δωμάτιο 204","quantity":1,"quantity_type":1,"unit_price":26.0,"net_total_price":26.0,"vat_rate":0,"vat_total":0.0,"subtotal":26.0,"vat_exemption_code":"0","classification_category":"category1_95","classification_type":"_"}]}},"pos_payment_receipt_8_4_collecting_the_whole_bill_on_the_terminal_first":{"summary":"POS payment receipt 8.4 collecting the whole bill on the terminal first","value":{"invoice_type_code":"8.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","currency":"EUR","counterpart":{"name":"Επισκέπτης","country_code":"GR"},"net_total_amount":10.0,"vat_total_amount":0.0,"total_amount":10.0,"payable_total_amount":10.0,"invoice_lines":[{"line_number":1,"name":"Είσπραξη έναντι διαμονής και τέλους ανθεκτικότητας","quantity":1,"quantity_type":1,"unit_price":10.0,"net_total_price":10.0,"vat_rate":0,"vat_total":0.0,"subtotal":10.0,"classification_category":"category1_95","classification_type":"_","vat_exemption_code":"0"}]}},"pos_payment_receipt_8_4_for_the_card_part_of_a_receipt_on_credit":{"summary":"POS payment receipt 8.4 for the card part of a receipt on credit","value":{"invoice_type_code":"8.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","correlated_invoices":["400001xxxxxxxx1"],"payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Είσπραξη με κάρτα","quantity":1,"quantity_type":1,"unit_price":24.2,"net_total_price":24.2,"vat_rate":0,"vat_total":0,"subtotal":24.2,"classification_category":"category1_95","classification_type":"_","vat_exemption_code":"0"}],"net_total_amount":24.2,"vat_total_amount":0,"total_amount":24.2,"payable_total_amount":24.2}},"pos_payment_receipt_8_4_paying_two_receipts_on_the_terminal":{"summary":"POS payment receipt 8.4 paying two receipts on the terminal","value":{"invoice_type_code":"8.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","correlated_invoices":["400001xxxxxxxx1","400001xxxxxxxx2"],"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":15.0,"vat_total_amount":0.0,"total_amount":15.0,"payable_total_amount":15.0,"invoice_lines":[{"line_number":1,"name":"Είσπραξη με κάρτα, Δωμάτιο 204","quantity":1,"quantity_type":1,"unit_price":15.0,"net_total_price":15.0,"vat_rate":0,"vat_total":0.0,"subtotal":15.0,"vat_exemption_code":"0","classification_category":"category1_95","classification_type":"_"}]}},"delivery_note_9_3_ahead_of_a_later_invoice":{"summary":"Delivery note 9.3 ahead of a later invoice","value":{"invoice_type_code":"9.3","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Σαπούνι χειροποίητο λεβάντα 100gr","code":"SOAP-LAV-100","quantity":24,"quantity_type":1,"unit_price":0.0,"vat_rate":24,"classification_category":"category3","classification_type":"_"},{"line_number":2,"name":"Αφρόλουτρο 250ml","code":"BATH-250","quantity":12,"quantity_type":1,"unit_price":0.0,"vat_rate":24,"classification_category":"category3","classification_type":"_"}],"is_delivery_note":true,"delivery_detail":{"dispatch_date":"DD-MM-YYYY","dispatch_time":"HH:MM","vehicle_number":"ABC1234","purpose_of_movement":"1","issuer_of_movement":"ΚΑΤΑΣΤΗΜΑ","from_address":"ΑΡΙΣΤΟΤΕΛΟΥΣ","from_number":"103","from_city":"ΑΧΑΡΝΕΣ","from_zipcode":"13671","to_address":"ΛΙΟΣΙΩΝ","to_number":"298","to_city":"ΑΘΗΝΑ","to_zipcode":"10445"}}},"retail_credit_note_11_4_for_a_partial_e-shop_return":{"summary":"Retail credit note 11.4 for a partial e-shop return","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΑΘΗΝΑ","street":"ΕΡΜΟΥ","number":"12","postal_code":"10563"},"invoice_lines":[{"line_number":1,"name":"Κερί σόγιας 200gr","code":"CNDL-SOY-200","quantity":1,"quantity_type":1,"unit_price":12.5,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":12.5,"vat_total":3.0,"subtotal":15.5}],"net_total_amount":12.5,"vat_total_amount":3.0,"total_amount":15.5,"payable_total_amount":15.5}},"retail_credit_note_11_4_reversing_a_restaurant_receipt":{"summary":"Retail credit note 11.4 reversing a restaurant receipt","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Γύρος χοιρινός μερίδα","quantity":2,"quantity_type":1,"unit_price":10.62,"vat_rate":13,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":21.24,"vat_total":2.76,"subtotal":24.0},{"line_number":2,"name":"Αναψυκτικό 330ml","quantity":2,"quantity_type":1,"unit_price":1.61,"vat_rate":24,"classification_category":"category1_1","classification_type":"E3_561_003","net_total_price":3.22,"vat_total":0.78,"subtotal":4.0}],"net_total_amount":24.46,"vat_total_amount":3.54,"total_amount":28.0,"payable_total_amount":28.0}},"retail_credit_note_11_4_refunding_a_service_booking":{"summary":"Retail credit note 11.4 refunding a service booking","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"net_total_amount":50.0,"vat_total_amount":12.0,"total_amount":62.0,"payable_total_amount":62.0,"invoice_lines":[{"line_number":1,"name":"Επιστροφή κράτησης - Παροχή υπηρεσίας","quantity":1,"quantity_type":1,"unit_price":50.0,"net_total_price":50.0,"vat_rate":24,"vat_total":12.0,"subtotal":62.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"retail_credit_note_11_4_for_a_cancelled_booking":{"summary":"Retail credit note 11.4 for a cancelled booking","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":238.94,"vat_total_amount":31.06,"total_amount":270.0,"payable_total_amount":270.0,"invoice_lines":[{"line_number":1,"name":"Ακύρωση κράτησης - Διαμονή 3 νύχτες","quantity":1,"quantity_type":1,"unit_price":270.0,"net_total_price":238.94,"vat_rate":13,"vat_total":31.06,"subtotal":270.0,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"retail_credit_note_11_4_refunding_a_subscription":{"summary":"Retail credit note 11.4 refunding a subscription","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR"},"invoice_lines":[{"line_number":1,"name":"Ακύρωση μηνιαίας συνδρομής","quantity":1,"quantity_type":1,"unit_price":3.23,"vat_rate":24,"classification_category":"category1_3","classification_type":"E3_561_003","net_total_price":3.23,"vat_total":0.77,"subtotal":4.0}],"net_total_amount":3.23,"vat_total_amount":0.77,"total_amount":4.0,"payable_total_amount":4.0}},"retail_credit_note_11_4_refunding_a_courier_charge":{"summary":"Retail credit note 11.4 refunding a courier charge","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":0,"net_total_amount":5.65,"vat_total_amount":1.36,"total_amount":7.01,"payable_total_amount":7.01,"counterpart":{"name":"Ιδιώτης πελάτης","country_code":"GR","city":"ΑΙΓΑΛΕΩ","street":"ΙΕΡΑ ΟΔΟΣ","number":"300","postal_code":"12242"},"invoice_lines":[{"line_number":1,"name":"Επιστροφή χρέωσης αποστολής δέματος","code":"PARCEL-2KG","quantity":1,"quantity_type":1,"unit_price":5.65,"net_total_price":5.65,"vat_rate":24,"vat_total":1.36,"subtotal":7.01,"classification_category":"category1_3","classification_type":"E3_561_003"}]}},"retail_credit_note_11_4_refunded_to_the_card_on_the_terminal":{"summary":"Retail credit note 11.4 refunded to the card on the terminal","value":{"invoice_type_code":"11.4","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","refund_invoice_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":10.0,"vat_total_amount":0.0,"total_amount":10.0,"payable_total_amount":10.0,"invoice_lines":[{"line_number":1,"name":"Πιστωτικό Τέλους Ανθεκτικότητας","quantity":1,"quantity_type":1,"unit_price":10.0,"net_total_price":10.0,"vat_rate":0,"vat_total":0.0,"subtotal":10.0,"vat_exemption_code":"27","classification_category":"category1_95","classification_type":"_"}]}},"climate_resilience_fee_8_2_on_credit":{"summary":"Climate resilience fee 8.2 on credit","value":{"invoice_type_code":"8.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"other_taxes_amount":10.0,"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":0.0,"vat_total_amount":0.0,"total_amount":10.0,"payable_total_amount":10.0,"invoice_lines":[{"line_number":1,"name":"Τέλος ανθεκτικότητας κλιματικής κρίσης","quantity":1,"quantity_type":1,"unit_price":0.0,"net_total_price":0.0,"vat_total":0.0,"subtotal":0.0,"accommodation_tax":2.0,"other_taxes_amount":10.0,"other_taxes_percent_category":24,"classification_category":"category1_95","classification_type":"_"}]}},"climate_resilience_fee_8_2_for_a_short-term_rental":{"summary":"Climate resilience fee 8.2 for a short-term rental","value":{"invoice_type_code":"8.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"counterpart":{"name":"Private customer","vat":"","city":"","street":"","number":"","postal_code":""},"net_total_amount":0.0,"vat_total_amount":0.0,"total_amount":24.0,"payable_total_amount":24.0,"other_taxes_amount":24.0,"invoice_lines":[{"line_number":1,"name":"Τέλος ανθεκτικότητας κλιματικής κρίσης - 3 νύχτες","quantity":1,"quantity_type":1,"unit_price":0.0,"net_total_price":0.0,"vat_total":0.0,"subtotal":0.0,"accommodation_tax":8.0,"other_taxes_amount":24.0,"other_taxes_percent_category":25,"classification_category":"category1_95","classification_type":"_"}]}},"climate_resilience_fee_8_2_paid_on_a_pos_terminal":{"summary":"Climate resilience fee 8.2 paid on a POS terminal","value":{"invoice_type_code":"8.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","other_taxes_amount":10.0,"counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":0.0,"vat_total_amount":0.0,"total_amount":10.0,"payable_total_amount":10.0,"invoice_lines":[{"line_number":1,"name":"Τέλος ανθεκτικότητας κλιματικής κρίσης","quantity":1,"quantity_type":1,"unit_price":0.0,"net_total_price":0.0,"vat_total":0.0,"subtotal":0.0,"accommodation_tax":2.0,"other_taxes_amount":10.0,"other_taxes_percent_category":24,"classification_category":"category1_95","classification_type":"_"}]}},"credit_invoice_5_1_cancelling_an_invoice":{"summary":"Credit invoice 5.1 cancelling an invoice","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"correlated_invoices":["400001xxxxxxxx1"],"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Ακύρωση τιμολογίου","quantity":1,"quantity_type":1,"unit_price":300.0,"net_total_price":300.0,"vat_rate":24,"vat_total":72.0,"subtotal":372.0,"classification_category":"category1_3","classification_type":"E3_561_001"}],"net_total_amount":300.0,"vat_total_amount":72.0,"total_amount":372.0,"payable_total_amount":372.0}},"credit_invoice_5_1_for_returned_goods":{"summary":"Credit invoice 5.1 for returned goods","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":24.0,"vat_total_amount":3.12,"total_amount":27.12,"payable_total_amount":27.12,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΧΑΝΙΩΤΗ","street":"ΧΑΝΙΩΤΗ","number":"-","postal_code":"63085"},"invoice_lines":[{"line_number":1,"name":"Επιστροφή - Ντομάτες Χαλκιδικής","quantity":20,"quantity_type":1,"unit_price":1.2,"net_total_price":24.0,"vat_rate":13,"vat_total":3.12,"subtotal":27.12,"classification_category":"category1_1","classification_type":"E3_561_001"}]}},"credit_invoice_5_1_for_a_partial_return_of_goods":{"summary":"Credit invoice 5.1 for a partial return of goods","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":100.0,"vat_total_amount":24.0,"total_amount":124.0,"payable_total_amount":124.0,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Επιστροφή εμπορευμάτων","quantity":2,"quantity_type":1,"unit_price":50.0,"net_total_price":100.0,"vat_rate":24,"vat_total":24.0,"subtotal":124.0,"classification_category":"category1_1","classification_type":"E3_561_001"}]}},"credit_invoice_5_1_for_returned_products":{"summary":"Credit invoice 5.1 for returned products","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":19.2,"vat_total_amount":4.61,"total_amount":23.81,"payable_total_amount":23.81,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Επιστροφή: Σαπούνι χειροποίητο λεβάντα 100gr","code":"SOAP-LAV-100","quantity":6,"quantity_type":1,"unit_price":3.2,"net_total_price":19.2,"vat_rate":24,"vat_total":4.61,"subtotal":23.81,"classification_category":"category1_2","classification_type":"E3_561_001"}]}},"credit_invoice_5_1_for_one_shipment_of_a_monthly_statement":{"summary":"Credit invoice 5.1 for one shipment of a monthly statement","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":4.9,"vat_total_amount":1.18,"total_amount":6.08,"payable_total_amount":6.08,"counterpart":{"name":"ΠΕΛΑΤΗΣ Α.Ε.","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΛΙΟΣΙΩΝ","number":"298","postal_code":"10445"},"invoice_lines":[{"line_number":1,"name":"Πίστωση χρέωσης AWB 7001234502 (ακύρωση αποστολής)","code":"AWB7001234502","quantity":1,"quantity_type":1,"unit_price":4.9,"net_total_price":4.9,"vat_rate":24,"vat_total":1.18,"subtotal":6.08,"classification_category":"category1_3","classification_type":"E3_561_001"}]}},"credit_invoice_5_1_in_pounds_sterling_to_a_business_outside_the_eu":{"summary":"Credit invoice 5.1 in pounds sterling, to a business outside the EU","value":{"invoice_type_code":"5.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"currency":"GBP","exchange_rate":0.86,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":290.7,"vat_total_amount":0.0,"total_amount":290.7,"payable_total_amount":290.7,"counterpart":{"name":"EXAMPLE CLIENT LTD","country_code":"GB","vat":"123456789","city":"LONDON","street":"OLD STREET","number":"1","postal_code":"EC1V 9HL"},"invoice_lines":[{"line_number":1,"name":"Credit: 1 day not worked (GBP 250.00)","quantity":1,"quantity_type":1,"unit_price":290.7,"net_total_price":290.7,"vat_rate":0,"vat_total":0.0,"subtotal":290.7,"vat_exemption_code":"4","classification_category":"category1_3","classification_type":"E3_561_006"}]},"description":"The VAT exemption code in this example is one myDATA accepts for this case, not a ruling on which applies to you. Which exemption article covers your transaction is a tax decision: confirm it with your accountant before you send it."},"self-delivery_6_1":{"summary":"Self-delivery 6.1","value":{"invoice_type_code":"6.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"net_total_amount":50.0,"vat_total_amount":6.5,"total_amount":56.5,"payable_total_amount":56.5,"invoice_lines":[{"line_number":1,"name":"Τυροκομικά για δείγματα προσωπικού","quantity":5,"quantity_type":1,"unit_price":10.0,"net_total_price":50.0,"vat_rate":13,"vat_total":6.5,"subtotal":56.5,"classification_category":"category1_6","classification_type":"E3_595"}]}},"self-delivery_6_1_a_staff_meal_at_a_restaurant":{"summary":"Self-delivery 6.1, a staff meal at a restaurant","value":{"invoice_type_code":"6.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"notes":"Αιτιολογία: Γεύμα διευθυντή","net_total_amount":2.0,"vat_total_amount":0.26,"total_amount":2.26,"payable_total_amount":2.26,"invoice_lines":[{"line_number":1,"name":"Μερίδα μπιφτέκι","quantity":1,"quantity_type":1,"unit_price":2.0,"net_total_price":2.0,"vat_rate":13,"vat_total":0.26,"subtotal":2.26,"classification_category":"category1_6","classification_type":"E3_595"}]}},"receiving_note_10_1_for_a_delivery_note_received":{"summary":"Receiving note 10.1 for a delivery note received","value":{"invoice_type_code":"10.1","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"receiving_note_purpose":5,"correlated_invoices":["400001xxxxxxxx1"],"net_total_amount":0,"vat_total_amount":0,"total_amount":0,"payable_total_amount":0,"counterpart":{"name":"ΔΟΚΙΜΑΣΤΙΚΗ ΕΤΑΙΡΕΙΑ ΙΚΕ","country_code":"GR","vat":"123456783","city":"ΑΘΗΝΑ","street":"ΠΑΤΗΣΙΩΝ","number":"112","postal_code":"11257"},"invoice_lines":[{"line_number":1,"name":"Εμπορεύματα που παραλήφθηκαν","quantity":1,"quantity_type":1,"unit_price":0,"net_total_price":0,"vat_rate":24,"vat_total":0,"subtotal":0,"classification_category":"category3","classification_type":"_"}]}},"receiving_note_10_2_for_goods_from_an_eu_supplier":{"summary":"Receiving note 10.2 for goods from an EU supplier","value":{"invoice_type_code":"10.2","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":1,"receiving_note_purpose":3,"net_total_amount":0,"vat_total_amount":0,"total_amount":0,"payable_total_amount":0,"counterpart":{"name":"EXAMPLE FOODS GMBH","country_code":"DE","vat":"DE123456789","city":"MUENCHEN","street":"BEISPIELSTRASSE","number":"10","postal_code":"80331"},"invoice_lines":[{"line_number":1,"name":"Τυρί Emmental (κιβώτια)","code":"EMM-5KG","quantity":40,"quantity_type":1,"unit_price":0,"net_total_price":0,"vat_rate":24,"vat_total":0,"subtotal":0,"classification_category":"category3","classification_type":"_"}]}},"pos_refund_receipt_8_5_a_partial_refund_to_the_card":{"summary":"POS refund receipt 8.5, a partial refund to the card","value":{"invoice_type_code":"8.5","billing_book_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","payment_method_type":3,"pos_device_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","refund_invoice_id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","counterpart":{"name":"Private customer","country_code":"GR"},"net_total_amount":5.0,"vat_total_amount":0.0,"total_amount":5.0,"payable_total_amount":5.0,"invoice_lines":[{"line_number":1,"name":"Επιστροφή, Δωμάτιο 204","quantity":1,"quantity_type":1,"unit_price":5.0,"net_total_price":5.0,"vat_rate":0,"vat_total":0.0,"subtotal":5.0,"vat_exemption_code":"0","classification_category":"category1_95","classification_type":"_"}]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/InvoiceResponse"},{"type":"object","properties":{"warnings":{"$ref":"#/components/schemas/Warnings"}}}]},"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","my_data_mark":"xxxxxxxxxxxxxx","my_data_uid":"xxxxxxxxxxxxxxx","my_data_qr_url":"https://wrapp.ai/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","series":"a","num":1,"catering_table_id":null,"authentication_code":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","transmission_failure":null,"cancelled_by_mark":null,"correlated_invoice_marks":[],"wrapp_invoice_url":"https://wrapp.ai/el/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","wrapp_invoice_url_en":"https://wrapp.ai/en/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","card_type":"VISA","card_number":"XXXX-XXXX-XXXX-1234","transaction_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","external_id":"your-system-invoice-id-123","issued_at":"15-09-2026","issued_at_datetime":"2026-09-15T10:00:00+03:00"}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"For people, in English. Its wording may change."},"field":{"type":"string","description":"The field you sent that the error is about, when it is about one."},"code":{"type":"string","description":"What to match on: blank, taken, invalid, too_long, not_a_number, inclusion, greater_than, or one of Wrapp's own, such as external_id_taken or uid_already_issued."}}}},"warnings":{"$ref":"#/components/schemas/Warnings"}}}}}}}}},"/invoices/{id}":{"get":{"operationId":"getInvoiceStatus","tags":["Invoices"],"summary":"Get an invoice and its myDATA status","description":"To get information about a specific invoice object.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the invoice, or the external_id you passed when creating it.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"},"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","my_data_mark":"xxxxxxxxxxxxxx","my_data_uid":"xxxxxxxxxxxxxxx","my_data_qr_url":"https://wrapp.ai/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","series":"a","num":1,"catering_table_id":null,"authentication_code":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","transmission_failure":null,"cancelled_by_mark":null,"correlated_invoice_marks":[],"wrapp_invoice_url":"https://wrapp.ai/el/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","wrapp_invoice_url_en":"https://wrapp.ai/en/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","card_type":"VISA","card_number":"XXXX-XXXX-XXXX-1234","transaction_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","external_id":"your-system-invoice-id-123","issued_at":"15-09-2026","issued_at_datetime":"2026-09-15T10:00:00+03:00"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/cancel":{"delete":{"operationId":"cancelInvoice","tags":["Invoices"],"summary":"Cancel an issued invoice","description":"**This endpoint can be used only for delivery notes (Δελτία Αποστολής)**\nTo cancel an invoice.\n\n**Note:** Invoices sent from provider can't be cancelled","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the invoice.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","my_data_mark":"xxxxxxxxxxxxxx","my_data_uid":"xxxxxxxxxxxxxxx","my_data_qr_url":"https://wrapp.ai/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","series":"a","num":1,"cancelled_by_mark":"xxxxxxxxxxxxx","wrapp_invoice_url":"https://wrapp.ai/el/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","wrapp_invoice_url_en":"https://wrapp.ai/en/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/generate_pdf":{"get":{"operationId":"getInvoicePdf","tags":["Invoices"],"summary":"Get the invoice PDF","description":"To request pdf generation for a specific invoice.\n\nOn first call the pdf generation will be queued and a webhook will be sent to the tenant once the pdf is ready to be downloaded. If the pdf was already generated it will return a download url.\n**Note:** PDF generation can only be used for issued invoices, not drafts, and not for invoices myDATA\nrejected (an invoice with myDATA errors): those get an error and no webhook.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the invoice.","schema":{"type":"string"}},{"name":"locale","in":"query","required":false,"description":"(optional) The language of the PDF. If skipped, 'el' is used. Any other value is refused.","schema":{"type":"string","enum":["el","en"],"default":"el"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"PDF generation started, webhook will be send upon completion"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/generate_thermal_pdf":{"get":{"operationId":"getInvoiceThermalPdf","tags":["Invoices"],"summary":"Get the thermal printer PDF","description":"To request thermal pdf generation for a specific invoice.\n\nOn first call the thermal pdf generation will be queued and a webhook will be sent to the tenant once the pdf is ready to be downloaded. If the thermal pdf was already generated it will return a download url.\n**Note:** Thermal PDF generation can only be used for issued invoices, not drafts, and not for invoices\nmyDATA rejected (an invoice with myDATA errors): those get an error and no webhook.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the invoice.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"PDF generation started, webhook will be send upon completion"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/issued_count":{"get":{"operationId":"countIssuedInvoices","tags":["Invoices"],"summary":"Count issued invoices","description":"To get the total number of issued invoices.","responses":{"200":{"description":"Success","content":{"application/json":{"example":{"issued_count":800}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/issue_draft":{"post":{"operationId":"issueDraftInvoice","tags":["Invoices"],"summary":"Issue a saved draft","description":"To issue a draft invoice.\n\n**:invoice_id** is the id of the draft invoice, or the external_id you passed when creating it.\n\n**Note:** In case of myData errors invoice can be edited and resend only via UI.\n\nWithout the company's own myDATA credentials the draft is not sent, even with the Wrapp provider enabled: the answer is myDATA errors with the code `my_data_credentials_required`.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pos_device_id":{"type":"string","description":"(required when pos payments are made) The id of the pos device. Required only in case of a pos transaction related issuance"},"customer_emails":{"type":"array","description":"(Optional) Up to 3 addresses. The invoice is emailed to them once it is issued, with your account's own address in CC. More than 3, or a value that is not an email address, is refused with too_many_email_recipients or invalid_email_recipient before anything is issued. Emails are sent only for accounts on a paid plan; when one is not sent, the answer carries a warning (email_not_sent) and the invoice is issued all the same. A staging account sends up to 20 invoice emails through the API; after that a call with customer_emails is refused with staging_email_limit_reached and nothing is issued. To set the email locale you can use the email_locale attribute."},"email_locale":{"type":"string","description":"(Optional) Sets the email locale, available values are \"el\" (Greek - default) and \"en\" (English). Also it can be used for pdf language, see generate_pdf field."},"email_subject":{"type":"string","description":"(Optional) Overrides the subject of the email sent to the customer (see customer_emails). When omitted, your default email template's subject is used. Supports the placeholders $COMPANY_NAME, $INVOICE_CODE and $ISSUE_DATES."},"email_body":{"type":"string","description":"(Optional) Overrides the body of the email sent to the customer (see customer_emails). When omitted, your default email template's body is used. Supports the placeholders $COMPANY_NAME, $INVOICE_CODE and $ISSUE_DATES."},"generate_pdf":{"type":"boolean","description":"When true it initiates a generation of invoice pdf and the link will be send upon completion via webhook. Declare the language of the pdf using the email_locale field. An invoice myDATA rejects gets no PDF and no webhook."}}}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/invoices/{invoice_id}/delete_draft":{"delete":{"operationId":"deleteDraftInvoice","tags":["Invoices"],"summary":"Delete a draft","description":"To delete a draft invoice.\n\n**Note:** Only invoices in draft status that have not been transmitted to myData (no myData mark) can be deleted. Issued invoices can't be deleted.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the draft invoice.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"Draft invoice deleted"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/mark_as_paid":{"get":{"operationId":"markInvoiceAsPaid","tags":["Invoices"],"summary":"Mark an invoice as paid","description":"To mark an invoice as paid.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the invoice to mark as paid.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"Invoice marked as paid"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/set_external_id":{"put":{"operationId":"setInvoiceExternalId","tags":["Invoices"],"summary":"Set your own reference on an invoice","description":"To set the external_id of an invoice that does not have one yet.\n\nThe external_id is a permanent reference of your own system, so it is never overwritten. If the invoice already has one, or if the external_id is already used by another one of your invoices, the call returns an error. Case is not what tells two external_ids apart: ext-1, EXT-1 and ExT-1 are the same reference, stored in the case you send it.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the invoice to set the external_id on.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"external_id":{"type":"string","description":"(required) Your own reference for this invoice. Must not be already used by another one of your invoices."}}},"example":{"external_id":"your-own-reference-123"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"external_id updated","external_id":"your-own-reference-123"}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/invoices/cancel_catering_order_note":{"post":{"operationId":"cancelCateringOrderNote","tags":["Invoices"],"summary":"Cancel a catering order note","description":"To cancel a catering order note.\n\nThis endpoint issues an 8.6 invoice which cancels the catering order note(s) specified in the request.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"billing_book_id":{"type":"string","description":"(required) The id of the billing book to use for the cancellation invoice. Invoice type will be 8.6"},"correlated_invoices":{"type":"array","description":"(required) An array of myData marks of the catering order note(s) to cancel."},"catering_table_id":{"type":"string","description":"(optional) The id of the catering table. If not provided, it will be resolved from the correlated invoices."}}},"example":{"billing_book_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","correlated_invoices":["400001925671835","400001925671836"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","my_data_mark":"xxxxxxxxxxxxxx","my_data_uid":"xxxxxxxxxxxxxxx","my_data_qr_url":"https://wrapp.ai/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","series":"a","num":1,"wrapp_invoice_url":"https://wrapp.ai/el/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","wrapp_invoice_url_en":"https://wrapp.ai/en/customer_portal/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/invoices/list_open_catering_order_notes":{"get":{"operationId":"listOpenCateringOrderNotes","tags":["Invoices"],"summary":"List open catering order notes","description":"To list all open catering order notes.","parameters":[{"name":"page","in":"query","required":false,"description":"(optional) Page number for pagination. Defaults to 1. Returns 20 records per page.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"invoices":[{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","my_data_mark":"400001925671835","issued_at":"2026-05-13T10:00:00.000Z","catering_table_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}],"total_pages":3,"current_page":1}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/find_all_invoices":{"get":{"operationId":"findAllInvoices","tags":["Invoices"],"summary":"List invoices","description":"To retrieve a list of invoices along with their full myDATA-formatted details. The country of the counterpart and of the issuer is a name, in English. The issuer also carries doy (its ΔΟΥ), activity and phone, in the language of the answer (English where the issuer has them in English), as the printed document in that language has them, and branch, the branch the invoice was issued from (id, code, name, street, number, city, postal_code, phone, headquarters), null when it was issued without one. Each line carries other_taxes_amount, 0.0 when it has none, and other_taxes_percent_category, the myDATA other taxes category as a number (for example 24 on an 8.2), when it has one.","parameters":[{"name":"start_date","in":"query","required":false,"description":"(optional) Only return invoices issued on or after this date (format \"YYYY-MM-DD\").","schema":{"type":"string"}},{"name":"end_date","in":"query","required":false,"description":"(optional) Only return invoices issued on or before this date (format \"YYYY-MM-DD\").","schema":{"type":"string"}},{"name":"status","in":"query","required":false,"description":"(optional) Set to \"draft\" to return draft invoices instead of issued ones.","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"(optional) Page number for pagination. Defaults to 1. Returns 50 records per page.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"invoices":[{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","external_id":"your-own-reference-123","invoice_type_code":"1.1","billing_book_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","issued_at":"2026-05-13 10:00:00 +0300","code":"A.1","correlated_invoice_marks":[],"payment_method":3,"branch":0,"is_delivery_note":false,"fuel_invoice":false,"third_party_collection":false,"counterpart":{"name":"John Doe","vat":"123456789","city":"Athens","street":"Ermou","number":"10","postal_code":"10563","country":"Greece"},"currency":"EUR","exchange_rate":1.0,"other_taxes_amount":0.0,"net_total_amount":100.0,"vat_total_amount":24.0,"total_amount":124.0,"payable_total_amount":124.0,"notes":"","withholding_total_amount":0.0,"total_stamp_duty_amount":0.0,"invoice_lines":[{"line_number":1,"name":"Product A","code":"SKU-001","description":"","quantity":1.0,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":24,"vat_total":24.0,"subtotal":124.0,"withhold_tax_rate":"","withhold_tax_code":"","withholding_total":0.0,"classification_category":"category1_3","classification_type":"E3_561_007","stamp_duty_tax_code":"","stamp_duty_amount":0.0,"other_taxes_amount":0.0,"deductions_amount":0.0,"deductions":[]}],"issuer":{"name":"Issuer SA","vat":"800000000","city":"Athens","street":"Stadiou","number":"5","postal_code":"10562","country":"Greece","doy":"A' Athens","activity":"Retail sale of clothing","phone":"2100000000","branch":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","code":2,"name":"Κατάστημα Γλυφάδας","street":"Λαζαράκη","number":"5","city":"Γλυφάδα","postal_code":"16675","phone":"2109999999","headquarters":false}}}],"total_count":42,"total_pages":1,"current_page":1}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/invoices/{invoice_id}/find_invoice_by_id":{"get":{"operationId":"findInvoiceById","tags":["Invoices"],"summary":"Get an invoice by id","description":"To retrieve the full myDATA-formatted details of a single issued invoice. The country of the counterpart and of the issuer is a name, in English. The issuer also carries doy (its ΔΟΥ), activity and phone, in the language of the answer (English where the issuer has them in English), as the printed document in that language has them, and branch, the branch the invoice was issued from (id, code, name, street, number, city, postal_code, phone, headquarters), null when it was issued without one. Each line carries other_taxes_amount, 0.0 when it has none, and other_taxes_percent_category, the myDATA other taxes category as a number (for example 24 on an 8.2), when it has one.","parameters":[{"name":"invoice_id","in":"path","required":true,"description":"(required) The id of the issued invoice, or the external_id you passed when creating it.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","external_id":"your-own-reference-123","invoice_type_code":"1.1","billing_book_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","issued_at":"2026-05-13 10:00:00 +0300","code":"A.1","correlated_invoice_marks":[],"payment_method":3,"branch":0,"is_delivery_note":false,"fuel_invoice":false,"third_party_collection":false,"counterpart":{"name":"John Doe","vat":"123456789","city":"Athens","street":"Ermou","number":"10","postal_code":"10563","country":"Greece"},"currency":"EUR","exchange_rate":1.0,"other_taxes_amount":0.0,"net_total_amount":100.0,"vat_total_amount":24.0,"total_amount":124.0,"payable_total_amount":124.0,"notes":"","withholding_total_amount":0.0,"total_stamp_duty_amount":0.0,"invoice_lines":[{"line_number":1,"name":"Product A","code":"SKU-001","description":"","quantity":1.0,"quantity_type":1,"unit_price":100.0,"net_total_price":100.0,"vat_rate":24,"vat_total":24.0,"subtotal":124.0,"withhold_tax_rate":"","withhold_tax_code":"","withholding_total":0.0,"classification_category":"category1_3","classification_type":"E3_561_007","stamp_duty_tax_code":"","stamp_duty_amount":0.0,"other_taxes_amount":0.0,"deductions_amount":0.0,"deductions":[]}],"issuer":{"name":"Issuer SA","vat":"800000000","city":"Athens","street":"Stadiou","number":"5","postal_code":"10562","country":"Greece","doy":"A' Athens","activity":"Retail sale of clothing","phone":"2100000000","branch":{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","code":2,"name":"Κατάστημα Γλυφάδας","street":"Λαζαράκη","number":"5","city":"Γλυφάδα","postal_code":"16675","phone":"2109999999","headquarters":false}}}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/pos_devices":{"get":{"operationId":"listPosDevices","tags":["POS devices"],"summary":"List POS devices","description":"In order to enable pos transactions with an invoice issuance, you need to create a POS device.\nThe following returns a list with all the pos devices a user has registered to his account.\n\nTo retrieve a list of all available POS devices.","responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"createPosDevice","tags":["POS devices"],"summary":"Add a POS device","description":"In order to enable pos transactions with an invoice issuance, you need to create a POS device.\nThe following creates a pos device for a given merchant id.\nFor `worldline_softpos`, the POS account for the given merchant id is reused if it already exists, otherwise a new one is created, and the terminal is attached to it.\n\nTo create a pos device for a given merchant id.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"(required) The name of the pos device. Optional for `worldline_softpos`; if omitted, a name is generated."},"pos_type":{"type":"string","description":"(required) The type of the pos device according to the table below(see POS DEVICE TYPES)."},"terminal_id":{"type":"string","description":"(required) The terminal id of the pos device."},"merchant_id":{"type":"string","description":"(Optional*) The merchant id of the account associated with the pos device. For `worldline_softpos` this is the merchant's email."},"authorization_code":{"type":"string","description":"(Optional*) The authorization code for the account associated with the pos device."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","name":"some-name","terminal_id":"160xxxxx","merchant_id":"xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/pos_devices/{id}":{"delete":{"operationId":"deletePosDevice","tags":["POS devices"],"summary":"Remove a POS device","description":"To delete one of your registered POS devices.\n\nA device that has at least one successful transaction cannot be deleted, so that its payments stay available. Such a request is rejected with a **422**.\nFor every other device the deletion is permanent.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the POS device, as returned by `GET /api/v1/pos_devices`.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"POS device deleted"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/create_viva_smart_pay_link":{"post":{"operationId":"createVivaPaymentLink","tags":["Payment links"],"summary":"Create a Viva payment link","description":"You can create a viva payment link for an invoice that has been created with a payment method of 1 ('credit', 'επί πιστώσει').","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice_id":{"type":"string","description":"(required) The id of the relevant invoice that the payment link will be created for."}}},"example":{"invoice_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"pay_link":"https://demo.vivapayments.com/web/checkout?ref=1234567890987654","order_code":"1234567890987654"}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/catering_tables":{"get":{"operationId":"listCateringTables","tags":["Catering tables"],"summary":"List catering tables","description":"To retrieve a list of the catering tables.","parameters":[{"name":"catering_table","in":"query","required":false,"description":"Filters, sent as catering_table[status]=open and catering_table[name]=table1. Leave both out to list every table.","schema":{"type":"object","properties":{"status":{"type":"string","enum":["available","open","closed","alert"],"description":"The status of the table."},"name":{"type":"string","description":"The name of the table."}}},"style":"deepObject","explode":true}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"createCateringTable","tags":["Catering tables"],"summary":"Create a catering table","description":"To create a new catering table.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the table.\n** If it's not specified, a number will be assigned.*"}}},"example":{"name":"table1"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"available","name":"table1","total":"0.0","invoices":[],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/catering_tables/{id}":{"patch":{"operationId":"renameCateringTable","tags":["Catering tables"],"summary":"Rename a catering table","description":"To update a catering table's name.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the catering table.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"(required) The new name of the table"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"available","name":"table-A1","total":"0.0","invoices":[],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}},"get":{"operationId":"getCateringTable","tags":["Catering tables"],"summary":"Get a catering table","description":"To show the details of a catering table.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the catering table.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"closed","name":"table-A1","total":"0.0","invoices":["xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"}}},"delete":{"operationId":"deleteCateringTable","tags":["Catering tables"],"summary":"Delete a catering table","description":"To delete an available catering table.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the catering table.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"status":"Catering table deleted"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/catering_tables/open_table":{"post":{"operationId":"openCateringTable","tags":["Catering tables"],"summary":"Open a catering table","description":"To open a catering table.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"(required) The id of the catering table.\n** It is required unless name is specified.*"},"name":{"type":"string","description":"(required) The name of the table.\n** It is required unless id is specified.*"}}},"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"open","name":"table1","total":"0.0","invoices":[],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/catering_tables/{id}/close":{"post":{"operationId":"closeCateringTable","tags":["Catering tables"],"summary":"Close a catering table","description":"To close a catering table.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the catering table.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"closed","name":"table-A1","total":"0.0","invoices":["xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/catering_tables/transfer":{"get":{"operationId":"transferCateringTable","tags":["Catering tables"],"summary":"Move order notes between tables","description":"To transfer individual or a set of open catering order notes.","parameters":[{"name":"current_table","in":"query","required":false,"description":"(required) The ID of the catering table to be transfered from.","schema":{"type":"string"}},{"name":"target_table","in":"query","required":false,"description":"(required) The ID of the catering table to be transfered to.","schema":{"type":"string"}},{"name":"marks","in":"query","required":false,"description":"An array containing the myDATA marks of the open catering order notes to be transfered.\nNote: If it is omitted then the whole set of open catering order notes will be transfered.","schema":{"type":"array"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","status":"open","name":"tableA1","total":"140.0","invoices":["xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],"error_message":null}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/pos_sessions/{id}/abort_session":{"post":{"operationId":"abortPosSession","tags":["POS sessions"],"summary":"Abort a POS payment session","description":"To abort a pending POS session for an invoice. If the invoice has more than one pending session, the latest one is aborted.\n\n**Note:** This endpoint works only with Viva POS terminals.","parameters":[{"name":"id","in":"path","required":true,"description":"(required) The id of the invoice whose pending POS session will be aborted.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"message":"Session aborted successfully"}}}},"401":{"description":"Missing, wrong or expired token"},"404":{"description":"POS session not found: the invoice has no pending POS session."},"422":{"description":"Only Viva POS sessions can be aborted: the session is on another POS provider. Or POS session cannot be aborted: the session stopped being pending (paid, failed or cancelled) while it was checked."},"502":{"description":"POS provider unreachable, try again: the POS provider could not be reached or answered with an error. Retry the call."}}}},"/digital_clienteles/{id}":{"get":{"operationId":"getDigitalClientele","tags":["Digital clientele"],"summary":"Get a digital clientele entry","description":"To show a digital clientele service.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"updateDigitalClientele","tags":["Digital clientele"],"summary":"Update a digital clientele entry","description":"To update a digital clientele service.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"entry_completion":{"type":"boolean","description":"(optional) Whether the entry is completed."},"non_issue_invoice":{"type":"boolean","description":"(optional) Whether to issue an invoice."},"amount":{"type":"number","description":"(optional) The amount of the transaction."},"is_diff_veh_return_location":{"type":"boolean","description":"(optional) Whether the vehicle return location is different."},"vehicle_return_location":{"type":"string","description":"(optional) The vehicle return location."},"provided_service_category":{"type":"string","description":"(optional) The category of the provided service according to the table below (see PROVIDED SERVICE CATEGORIES). Required only for **parkingcarwash** and **garage** services"},"provided_service_category_other":{"type":"string","description":"(optional*) Other category of the provided service. Applies only for **garage** services if **provided_service_category** is set to other"},"invoice_kind":{"type":"string","description":"(optional) The kind of invoice according to the table below (see INVOICE KINDS)."},"off_site_provided_service":{"type":"string","description":"(optional) Whether the service is provided off-site according to the table below (see OFF-SITE PROVIDED SERVICES)."},"cooperating_vat_number":{"type":"string","description":"(optional*) The VAT number of the cooperating entity."},"other_branch":{"type":"string","description":"(optional) Other branch identifier."},"reason_non_issue_type":{"type":"string","description":"(optional) The reason for not issuing type according to the table below (see REASON NON ISSUE TYPES)."},"comments":{"type":"string","description":"(optional) Additional comments."},"invoice_counterparty":{"type":"string","description":"(optional) The counterparty of the invoice."},"invoice_counterparty_country":{"type":"string","description":"(optional) The country of the invoice counterparty."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"ca18abd0-24a8-4b89-b668-649cd6d8e3e1","iddcl":"100000000716532","client_service_type":"rental","creation_date_time":"","entity_vat_number":"","branch":"0","recurring_service":"true","continuous_service":"true","from_agreed_period_date":"2026-02-05","to_agreed_period_date":"2026-02-07","mixed_service":"false","customer_vat_number":"095200230","customer_country":"GR","type":"","status":"pending","transmission_failure":"","correlated_dc_id":"","comments":"","vehicle_registration_number":"ai1999","foreign_vehicle_registration_number":"","vehicle_category":"bus","vehicle_factory":"seat","vehicle_movement_purpose":"vmp_rental","is_diff_veh_pickup_location":"true","vehicle_pickup_location":"thessaloniki","periodicity":"","entry_completion":"false","non_issue_invoice":"false","amount":"1.0","completion_date_time":"","is_diff_veh_return_location":"true","vehicle_return_location":"athens","provided_service_category":"","provided_service_category_other":"","invoice_kind":"retail_sales_receipt","off_site_provided_service":"","exit_date_time":"","cooperating_vat_number":"","other_branch":"","reason_non_issue_type":"","invoice_counterparty":"","invoice_counterparty_country":"","continuous_lease_service":"","periodicity_other":""}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_clienteles":{"post":{"operationId":"createDigitalClientele","tags":["Digital clientele"],"summary":"Create a digital clientele entry","description":"To create a new digital clientele service.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"client_service_type":{"type":"string","description":"(required) The type of the digital clientele according to the table below(see DIGITAL CLIENTELE TYPES)."},"creation_date_time":{"type":"string","description":"(optional*) The creation date and time of the digital clientele. Applies only when **transmission_failure** is set to true"},"transmission_failure":{"type":"boolean","description":"(optional) Whether there was a transmission failure."},"branch":{"type":"string","description":"(required) The branch number."},"recurring_service":{"type":"boolean","description":"(optional) Whether the service is recurring."},"continuous_service":{"type":"boolean","description":"(optional) Whether the service is continuous."},"continuous_lease_service":{"type":"boolean","description":"(optional) Whether the service is continuous lease."},"from_agreed_period_date":{"type":"string","description":"(optional*) The start date of the agreed period. Required only if **continous_service** is set to true"},"to_agreed_period_date":{"type":"string","description":"(optional*) The end date of the agreed period. Required only if **continous_service** is set to true"},"periodicity":{"type":"string","description":"(optional) The periodicity of the service. Applies only if **continous_lease_service** is set to true"},"periodicity_other":{"type":"string","description":"(optional) The periodicity of the service (other cases). Applies only if **continous_lease_service** is set to true"},"mixed_service":{"type":"boolean","description":"(optional) Whether the service is mixed. Applies only for **parkingcarwash** services"},"customer_vat_number":{"type":"string","description":"(optional*) The VAT number of the customer. Required only when recurring service is set to true"},"customer_country":{"type":"string","description":"(optional*) The country of the customer. Required only when recurring service is set to true"},"correlated_dc_id":{"type":"string","description":"(optional) The correlated digital clientele ID."},"comments":{"type":"string","description":"(optional) Additional comments."},"vehicle_registration_number":{"type":"string","description":"(optional*) The vehicle registration number. Either this or **foreign_vehicle_registration_number** should have a value"},"foreign_vehicle_registration_number":{"type":"string","description":"(optional*) The foreign vehicle registration number. Either this or **vehicle_registration_number** should have a value"},"vehicle_category":{"type":"string","description":"(optional*) The category of the vehicle. Required if **foreign_vehicle_registration_number** has a value"},"vehicle_factory":{"type":"string","description":"(optional*) The factory of the vehicle. Required if **foreign_vehicle_registration_number** has a value"},"vehicle_movement_purpose":{"type":"string","description":"(optional*) The purpose of vehicle movement according to the table below(see VEHICLE MOVEMENT PURPOSES). Required only for **rental** service"},"is_diff_veh_pickup_location":{"type":"boolean","description":"(optional*) Whether the vehicle pickup location is different. Applies only if **rental** service"},"vehicle_pickup_location":{"type":"string","description":"(optional) The vehicle pickup location. Applies only for **rental** service and if **is_diff_veh_pickup_location** is set to true"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"id":"c94f69ab-e0f9-498f-9065-e8e727f3919c","iddcl":"100000000716495","client_service_type":"rental","creation_date_time":"2026-02-05T12:00:00.000+02:00","entity_vat_number":"","branch":"0","recurring_service":"true","continuous_service":"true","from_agreed_period_date":"2026-02-05","to_agreed_period_date":"2026-02-07","mixed_service":"false","customer_vat_number":"123456789","customer_country":"GR","type":"","status":"pending","transmission_failure":"true","correlated_dc_id":"","comments":"","vehicle_registration_number":"ab1234","foreign_vehicle_registration_number":"","vehicle_category":"bus","vehicle_factory":"seat","vehicle_movement_purpose":"vmp_rental","is_diff_veh_pickup_location":"","vehicle_pickup_location":"","periodicity":"","entry_completion":"","non_issue_invoice":"","amount":"","completion_date_time":"","is_diff_veh_return_location":"","vehicle_return_location":"","provided_service_category":"","provided_service_category_other":"","invoice_kind":"","off_site_provided_service":"","exit_date_time":"","cooperating_vat_number":"","other_branch":"","reason_non_issue_type":"","invoice_counterparty":"","invoice_counterparty_country":"","continuous_lease_service":"false","periodicity_other":""}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_clienteles/{id}/correlate_by_mark":{"post":{"operationId":"correlateDigitalClienteleByMark","tags":["Digital clientele"],"summary":"Correlate by ΜΑΡΚ","description":"To correlate a digital clientele entry by mark.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"correlate_mark":{"type":"string","description":"(required) The mark of the invoice to correlate."}}},"example":{"correlate_mark":"12344567890"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"notice":"Correlation of mark 12344567890 was successful."}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_clienteles/{id}/correlate_by_fim":{"post":{"operationId":"correlateDigitalClienteleByFim","tags":["Digital clientele"],"summary":"Correlate by ΦΗΜ","description":"To correlate a digital clientele entry by FIM.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"correlate_fim_number":{"type":"string","description":"(required) The FIM number to correlate."},"correlate_fim_aa":{"type":"string","description":"(required) The FIM AA to correlate."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"notice":"Correlation by FIM 12344567890 with number 1 was successful."}}}},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_clienteles/{id}/cancel":{"post":{"operationId":"cancelDigitalClientele","tags":["Digital clientele"],"summary":"Cancel a digital clientele entry","description":"To cancel a digital clientele.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"notice":"Cancelled successfully.","cancellation_id":"100000000717999"}}}},"401":{"description":"Missing, wrong or expired token"}}}},"/digital_transports":{"get":{"operationId":"listDigitalTransports","tags":["Digital transports"],"summary":"List digital transports","description":"To retrieve a paginated list of digital transports (delivery notes).","parameters":[{"name":"category","in":"query","required":false,"description":"(optional) The category of the transports to list.\nAvailable options: `shipping`, `receiving`, `carrying`. Defaults to **shipping**.\n**carrying** lists the delivery notes of other issuers that you carry (see PICKUP).","schema":{"type":"string"}},{"name":"page","in":"query","required":false,"description":"(optional) The page number to retrieve. Results are paginated by 10 per page. Defaults to **1**.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}},"post":{"operationId":"startDigitalTransport","tags":["Digital transports"],"summary":"Start a digital transport","description":"To register a new digital transport (delivery note) for an existing invoice.\n\nThe invoice must already be issued and transmitted to MYDATA (it must have a MARK). The transport is registered with category **shipping**.\n\nOnly documents that are delivery notes are eligible for digital transport: invoice type `9.3` (Delivery Note), `9.2` (Aggregate Delivery Note) or any other invoice/receipt issued with `is_delivery_note: true`. A plain retail receipt (e.g. an ΑΛΠ, type `11.1`) is **not** a delivery note, so you cannot register a digital transport for it unless it was issued with `is_delivery_note: true`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice_id":{"type":"string","description":"(required) The ID of the invoice the delivery note refers to."},"vehicle_number":{"type":"string","description":"(required) The registration number of the vehicle used for the transport."},"transport_type":{"type":"integer","description":"(required) The means of transport according to the table below (see TRANSPORT TYPES)."},"carrier_vat_number":{"type":"string","description":"(required) The VAT number of the carrier performing the transport."}}},"example":{"invoice_id":"c94f69ab-e0f9-498f-9065-e8e727f3919c","vehicle_number":"ABC1234","transport_type":2,"carrier_vat_number":"123456789"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/{id}":{"get":{"operationId":"getDigitalTransport","tags":["Digital transports"],"summary":"Get a digital transport","description":"To show a single digital transport (delivery note).","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}}},"/digital_transports/{id}/refresh":{"post":{"operationId":"refreshDigitalTransport","tags":["Digital transports"],"summary":"Refresh a digital transport","description":"To refresh the MYDATA status of a digital transport (delivery note).\n\nThe transport status is re-fetched from MYDATA and the stored record is updated. The related invoice must have a MARK.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}}},"/digital_transports/{id}/reject":{"post":{"operationId":"rejectDigitalTransport","tags":["Digital transports"],"summary":"Reject a digital transport","description":"To reject a received digital transport (delivery note).\n\nThe rejection is transmitted to MYDATA and the stored record is refreshed. The related invoice must have a MARK.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reject_reason":{"type":"string","description":"(optional) The reason for rejecting the delivery note."}}},"example":{"reject_reason":"Goods not received"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/{id}/confirm_delivery":{"post":{"operationId":"confirmDigitalTransportDelivery","tags":["Digital transports"],"summary":"Confirm delivery","description":"To confirm the delivery outcome of a digital transport (delivery note).\n\nThe delivery outcome is transmitted to MYDATA and the stored record is refreshed.\n\nMYDATA has no role field in this call: it takes the outcome as the carrier's or the recipient's from the VAT number of the caller. For a delivery note of another issuer that you carry (category **carrying**, see PICKUP) the outcome is sent as the carrier's, so **PARTIAL** and **NONE** are accepted. It is accepted while the delivery note is InTransit. In a B2B transport MYDATA moves it to DeliveredByCarrier and the recipient confirms it, NONE moves it to FailedDelivery.\n\nMYDATA recognises as carrier every VAT number that declared a leg of the transport with its own credentials (PICKUP or TRANSFER), not the **carrier_vat_number** declared in a leg. After a transshipment the outcome can be declared by any of these carriers, the first declaration is kept and a later one is refused.\n\nIt is not accepted for a reverse delivery note (9.3) you issued: there you are the receiver of the goods, and a carrier outcome would leave it DeliveredByCarrier, closable only by the counterpart. Complete it with CONFIRM RETURN while it is InTransit.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"outcome":{"type":"string","description":"(required) The delivery outcome.\nAvailable options: `FULL`, `PARTIAL`, `NONE`."},"delivered_packaging":{"type":"array","description":"(optional) A list of the delivered packaging items. Each item has the fields below.","items":{"type":"object","properties":{"packaging_type":{"type":"integer","description":"(required) The type of packaging according to the table below (see PACKAGING TYPES)."},"quantity":{"type":"integer","description":"(required) The number of delivered packages of this type."},"other_packaging_title":{"type":"string","description":"(optional) A free-text description of the packaging. Applies when **packaging_type** is **6** (Other)."}}}},"delivered_without_recipient":{"type":"boolean","description":"(optional) **true** when the carrier delivered the goods without the recipient present."}}},"example":{"outcome":"PARTIAL","delivered_packaging":[{"packaging_type":1,"quantity":3},{"packaging_type":6,"quantity":2,"other_packaging_title":"Big bag"}]}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/{id}/confirm_return":{"post":{"operationId":"confirmDigitalTransportReturn","tags":["Digital transports"],"summary":"Confirm a return","description":"To complete a digital transport you issued on the return of the undelivered goods (MYDATA ConfirmDeliveryReturn).\n\nOnly the issuer can call it. It is accepted when the delivery note is Rejected, FailedDelivery or DeliveredByCarrier with a PARTIAL outcome, and for invoice type 9.2 (or a 9.3 reverse delivery note) while it is InTransit. On success the delivery note moves to Completed and the stored record is updated.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"}}}},"/digital_transports/{id}/transfer":{"post":{"operationId":"transferDigitalTransport","tags":["Digital transports"],"summary":"Transfer a digital transport","description":"To declare a transshipment of a digital transport you issued or carry (MYDATA RegisterTransfer).\n\nUse it when the goods continue with a different means of transport. It is accepted while the delivery note is InTransit and keeps it InTransit. Every leg is kept in the lifecycle history of the stored record. To start the transport use the CREATE call.\n\nFor a delivery note of another issuer that you carry (category **carrying** ) it also declares the return of the goods to the sender after a PARTIAL or NONE outcome or a rejection by the recipient: MYDATA moves the delivery note to InTransit (Return). It is not accepted after a FULL outcome, when only the recipient can act, nor once the delivery note is Completed or Cancelled. MYDATA checks the rest. To pick the goods up from the sender or from another carrier use PICKUP.","parameters":[{"name":"id","in":"path","required":true,"description":"The id of the record.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"vehicle_number":{"type":"string","description":"(required) The registration number of the vehicle of the new leg."},"transport_type":{"type":"integer","description":"(required) The means of transport of the new leg (see TRANSPORT TYPES)."},"carrier_vat_number":{"type":"string","description":"(required) The VAT number of the carrier performing the new leg."},"p_number":{"type":"string","description":"(optional) The registration number of the trailer or semi-trailer."},"latitude":{"type":"number","description":"(optional) The latitude of the transshipment location. Given together with **longitude**."},"longitude":{"type":"number","description":"(optional) The longitude of the transshipment location. Given together with **latitude**."}}},"example":{"vehicle_number":"XAA1234","transport_type":2,"carrier_vat_number":"123456789"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/pickup":{"post":{"operationId":"pickupDigitalTransport","tags":["Digital transports"],"summary":"Pick up goods","description":"To declare, as the carrier, that you picked up the goods of a delivery note issued by another VAT number (MYDATA RegisterTransfer).\n\nUse it when you are neither the issuer nor the recipient of the delivery note but the third party that carries the goods. The delivery note is identified by the URL of its QR code, so it does not need to be imported first. The same call covers both cases:\n\n- you pick the goods up from the sender: the delivery note moves from Registered to InTransit (start of transport);\n- you pick the goods up from another carrier: the delivery note stays InTransit (transshipment).\n\nMYDATA decides which of the two it is from the current status of the delivery note. Make the call with the credentials of the carrier: MYDATA recognises the carrier by the VAT number that makes the call, the **carrier_vat_number** is kept as information on the leg. The call creates a digital transport of category **carrying**, kept once per delivery note: a later pickup of the same delivery note updates the same record, whether it is made with the QR of the provider or the QR of AADE. Every leg is kept in the lifecycle history of the stored record.\n\nThen use TRANSFER for a change of vehicle or the return to the sender, and CONFIRM DELIVERY to declare the delivery outcome as the carrier.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"qr_url":{"type":"string","description":"(required) The URL of the QR code printed on the delivery note, an http(s) URL."},"vehicle_number":{"type":"string","description":"(required) The registration number of the vehicle that carries the goods."},"transport_type":{"type":"integer","description":"(required) The means of transport (see TRANSPORT TYPES)."},"carrier_vat_number":{"type":"string","description":"(optional) The VAT number of the carrier. Defaults to the VAT number of your company."},"p_number":{"type":"string","description":"(optional) The registration number of the trailer or semi-trailer."},"latitude":{"type":"number","description":"(optional) The latitude of the pickup location. Given together with **longitude**."},"longitude":{"type":"number","description":"(optional) The longitude of the pickup location. Given together with **latitude**."}}},"example":{"qr_url":"https://mydatapi.aade.gr/TimologioQR/QRInfo?q=xxxx","vehicle_number":"XAA1234","transport_type":1}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/import_by_mark":{"post":{"operationId":"importDigitalTransportByMark","tags":["Digital transports"],"summary":"Import by ΜΑΡΚ","description":"To import a received digital transport (delivery note) by its MYDATA MARK.\n\nThe related invoice is imported from MYDATA if it does not already exist, and a digital transport with category **receiving** is created. If a transport for that MARK has already been imported, the existing record is returned with **already_imported** set to true.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mark":{"type":"string","description":"(required) The MYDATA MARK of the delivery note to import."}}},"example":{"mark":"400001234567890"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/digital_transports/import_by_qr_url":{"post":{"operationId":"importDigitalTransportByQrUrl","tags":["Digital transports"],"summary":"Import by QR URL","description":"To import a received digital transport (delivery note) by its QR url.\n\nThe MARK is resolved from the QR url, the related invoice is imported from MYDATA if it does not already exist, and a digital transport with category **receiving** is created. If a transport for that invoice has already been imported, the existing record is returned with **already_imported** set to true.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"qr_url":{"type":"string","description":"(required) The QR url printed on the delivery note (AADE or provider url)."}}},"example":{"qr_url":"https://www1.aade.gr/tameiakes/myweb/q18.php?q=xxxx"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Missing, wrong or expired token"},"422":{"description":"Refused. The errors array says why."}}}},"/external_login":{"post":{"operationId":"createPartnerUser","tags":["Partners"],"summary":"Create a user for your platform, or find the one you created","description":"Opens a Wrapp.ai account for one of your users, or returns the one already opened for the same\npartner_user_id. The response carries a login_url: open it for the user, and on that page they ask for a\none-time sign-in email to their own address, so only the user can enter the account. The link signs\nnobody in and is the same on every call.\n\nThe user's api_key reaches you once, in the user created webhook. Log in to the rest of the API with\nthat api_key and the wrapp_user_id: the id never changes, even when the user changes their email.\n\nThe email only sets the login of a new user. Sent again for an existing user, a different email is\nignored.","security":[{"partnerKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email","description":"(required) Email of the user, used as their login when the account is created."},"partner_user_id":{"type":"string","description":"(required) Your unique id for the user. Calls with the same id return the same account."},"phone":{"type":"string","description":"(required) Phone of the user."},"webhook_endpoint":{"type":"string","description":"(optional) Where Wrapp sends the user created webhook and every later webhook of this user. Sent for an existing user, it replaces the stored one. Leave it out to keep the current endpoint (a new user then gets the general webhook set in your Partner Portal, if any). Send \"\" to remove it. Anything other than an http or https URL is refused with 422."},"company_vat_no":{"type":"string","description":"(optional) VAT number (ΑΦΜ) of the company."},"company_name":{"type":"string","description":"(optional) Legal name of the company."},"company_city":{"type":"string","description":"(optional) City of the company headquarters."},"company_address":{"type":"string","description":"(optional) Street of the company headquarters."},"company_street_number":{"type":"string","description":"(optional) Street number of the company headquarters."},"company_postal_code":{"type":"string","description":"(optional) Postal code of the company headquarters."},"company_phone":{"type":"string","description":"(optional) Phone of the company."},"company_legal_representative_name":{"type":"string","description":"(optional) Full name of the legal representative."},"company_activity":{"type":"string","description":"(optional) Business activity of the company."},"company_accountant_name":{"type":"string","description":"(optional) Full name of the accountant."},"company_accountant_email":{"type":"string","description":"(optional) Email of the accountant."},"company_accountant_phone":{"type":"string","description":"(optional) Phone of the accountant."}},"required":["email","partner_user_id","phone"]},"example":{"email":"user@example.com","partner_user_id":"abc123","phone":"1234567890","webhook_endpoint":"https://yoursite.com/webhook","company_vat_no":"123456789","company_name":"Example Company","company_city":"Athens","company_address":"Ermou","company_street_number":"10","company_postal_code":"10563","company_phone":"2101234567","company_legal_representative_name":"Georgios Papadopoulos","company_activity":"IT services","company_accountant_name":"Maria Georgiou","company_accountant_email":"accountant@example.com","company_accountant_phone":"2109876543"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"login_url":"https://wrapp.ai/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","email":"user@example.com","wrapp_user_id":"xxxxx-xxxxx-xxxxx-xxxxx"}}}},"401":{"description":"Missing or wrong X-PARTNER-API-KEY"},"422":{"description":"Refused, with a code to match on: email_missing, partner_user_id_missing, phone_missing or webhook_endpoint_invalid (answered as {\"error\": \"...\", \"code\": \"...\"}), or email_taken, email_invalid, company_vat_no_invalid or signup_failed (answered as {\"errors\": [\"...\"], \"code\": \"...\"}). The text is for people and may change."}}}},"/embedded_check_user":{"post":{"operationId":"checkPartnerUser","tags":["Partners"],"summary":"Check a user you created","description":"Shows whether the user exists, whether they have an active subscription and whether they issue through\nWrapp.ai as provider. An unknown partner_user_id answers 200 with user \"Not found\".\n\nactive_subscription stays true while a payment is unpaid: read billing.status for that. billing.reason_title\nis in English; billing.pay_url opens the payment page in Greek.","security":[{"partnerKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"partner_user_id":{"type":"string","description":"(required) The id you sent when you created the user."}},"required":["partner_user_id"]},"example":{"partner_user_id":"abc123"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"example":{"user":"user@example.com","active_subscription":true,"wrapp_provider_enabled":true,"billing":{"status":"overdue","overdue_since":"2026-10-23","reason":"authentication_required","reason_title":"The bank asked to confirm the payment (3D Secure)","amount_due":209.56,"currency":"EUR","access_until":"2026-10-28","next_retry_at":null,"ended_on":null,"pay_url":"https://wrapp.ai/el/pay/xxxxxxxx"}}}}},"401":{"description":"Missing or wrong X-PARTNER-API-KEY"}}}}},"webhooks":{"tenant-details":{"post":{"operationId":"partnerUserCreated","tags":["Partners"],"summary":"User created (partners)","description":"Sent once, when a user you created with POST /external_login is created, to the webhook_endpoint of that\ncall. It carries the user's api_key, which no other call returns, so store it with the wrapp_user_id and\nlog in with the two. A new webhook_endpoint later redirects subsequent webhooks but does not resend this\none.","parameters":[{"name":"Event-Type","in":"header","required":true,"schema":{"const":"tenant-details"},"description":"Tells the webhooks apart, since all of them go to the same endpoint."},{"name":"X-Webhook-Secret","in":"header","required":true,"schema":{"type":"string"},"description":"HMAC-SHA256 hex digest of the raw request body, keyed with your X-PARTNER-API-KEY. Recompute it and compare to know the request came from Wrapp."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wrapp_user_id":{"type":"string","description":"Id of the user in Wrapp.ai. It never changes, so log in with it rather than the email."},"partner_user_id":{"type":"string","description":"Your id for the user, as sent to POST /external_login."},"api_key":{"type":"string","description":"The user's API key, for every other call on their behalf."}}},"example":{"wrapp_user_id":"xxxxx-xxxxx-xxxxx-xxxxx","partner_user_id":"abc123","api_key":"xxxxxxxxxxxxxxxxxxxxx"}}}},"responses":{"200":{"description":"Answer with any 2xx status. Anything else is retried, up to 4 more attempts."}}}},"issued-invoice":{"post":{"operationId":"invoiceIssued","tags":["Webhooks"],"summary":"Invoice issued","description":"Sent when an invoice created through the API is issued, to the Webhook Endpoint in Settings, Account\nSettings, after the Webhook Delay set there (0 seconds by default). The body is the invoice as the\ninvoice calls return it.","parameters":[{"name":"Event-Type","in":"header","required":true,"schema":{"const":"issued-invoice"},"description":"Tells the webhooks apart, since all of them go to the same endpoint."},{"name":"X-Webhook-Secret","in":"header","required":true,"schema":{"type":"string"},"description":"HMAC-SHA256 hex digest of the raw request body, keyed with the account's API key. Recompute it and compare to know the request came from Wrapp."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceResponse"}}}},"responses":{"200":{"description":"Answer with any 2xx status."}}}},"invoice-pdf":{"post":{"operationId":"invoicePdfReady","tags":["Webhooks"],"summary":"Invoice PDF ready","description":"Sent when a PDF requested with GET /invoices/{id}/generate_pdf, or with generate_pdf on create or issue_draft, is ready, after the Webhook Delay. Never sent for an invoice myDATA rejected.","parameters":[{"name":"Event-Type","in":"header","required":true,"schema":{"const":"invoice-pdf"},"description":"Tells the webhooks apart, since all of them go to the same endpoint."},{"name":"X-Webhook-Secret","in":"header","required":true,"schema":{"type":"string"},"description":"HMAC-SHA256 hex digest of the raw request body, keyed with the account's API key. Recompute it and compare to know the request came from Wrapp."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice_id":{"type":"string","description":"The id of the invoice."},"download_url":{"type":"string","description":"Where to download the PDF. It expires after a week."}}},"example":{"invoice_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","download_url":"https://xxxxxxxx"}}}},"responses":{"200":{"description":"Answer with any 2xx status."}}}},"thermal-print-pdf":{"post":{"operationId":"invoiceThermalPdfReady","tags":["Webhooks"],"summary":"Invoice thermal PDF ready","description":"Sent when a thermal printer PDF requested with GET /invoices/{id}/generate_thermal_pdf is ready, after the Webhook Delay.","parameters":[{"name":"Event-Type","in":"header","required":true,"schema":{"const":"thermal-print-pdf"},"description":"Tells the webhooks apart, since all of them go to the same endpoint."},{"name":"X-Webhook-Secret","in":"header","required":true,"schema":{"type":"string"},"description":"HMAC-SHA256 hex digest of the raw request body, keyed with the account's API key. Recompute it and compare to know the request came from Wrapp."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice_id":{"type":"string","description":"The id of the invoice."},"download_url":{"type":"string","description":"Where to download the thermal PDF. It expires after a week."}}},"example":{"invoice_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","download_url":"https://xxxxxxxx"}}}},"responses":{"200":{"description":"Answer with any 2xx status."}}}},"pos-payment":{"post":{"operationId":"posPaymentFailed","tags":["Webhooks"],"summary":"POS payment failed","description":"Sent when a payment session on a POS terminal fails, with the terminal's message.","parameters":[{"name":"Event-Type","in":"header","required":true,"schema":{"const":"pos-payment"},"description":"Tells the webhooks apart, since all of them go to the same endpoint."},{"name":"X-Webhook-Secret","in":"header","required":true,"schema":{"type":"string"},"description":"HMAC-SHA256 hex digest of the raw request body, keyed with the account's API key. Recompute it and compare to know the request came from Wrapp."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"string","description":"The message of the terminal, usually in Greek, with its code."},"invoice_id":{"type":"string","description":"The id of the invoice the payment was for."}}},"example":{"errors":"Η συναλλαγή ακυρώθηκε από τον χρήστη (1000)","invoice_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}}}},"responses":{"200":{"description":"Answer with any 2xx status."}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"The jwt from POST /login. It expires after 24 hours."},"partnerKey":{"type":"apiKey","in":"header","name":"X-PARTNER-API-KEY","description":"Your partner key, for the Partners operations only. Each user you create then has its own api_key for the rest of the API."}},"schemas":{"Invoice":{"type":"object","required":["invoice_type_code","billing_book_id","invoice_lines"],"properties":{"invoice_type_code":{"type":"string","description":"(required) The invoice type code, as specified by myDATA documentation (e.g., \"1.1\", \"9.3\").","enum":["1.1","1.2","1.3","1.4","1.5","1.6","2.1","2.2","2.3","2.4","3.1","3.2","5.1","5.2","6.1","6.2","7.1","8.1","8.2","8.4","8.5","8.6","9.1","9.2","9.3","10.1","10.2","11.1","11.2","11.3","11.4","11.5","17.3","17.4"]},"payment_method_type":{"type":"integer","description":"Wrapp's own numbers, not myDATA's: 0 cash, 1 credit, 2 local bank account, 3 card, 4 cheque, 5 overseas bank account, 6 web banking, 7 iris. Required on 11.1, 11.2, 11.4, 8.2 and 8.4: without it myDATA answers 204.","enum":[0,1,2,3,4,5,6,7]},"net_total_amount":{"type":"number","description":"(required) The total net amount of the invoice, rounded to a maximum of 2 decimal places."},"vat_total_amount":{"type":"number","description":"(required) The total VAT amount of the invoice, rounded to a maximum of 2 decimal places. For the invoice types 9.2, 9.3, 10.1 and 10.2 needs to be 0"},"total_amount":{"type":"number","description":"(required) The total invoice amount, rounded to a maximum of 2 decimal places. For the invoice types 9.2, 9.3, 10.1 and 10.2 needs to be 0"},"notes":{"type":"string","description":"This are the notes related with the invoice"},"payable_total_amount":{"type":"number","description":"(required) The total payable amount of the invoice, rounded to a maximum of 2 decimal places. For the invoice types 9.2, 9.3, 10.1 and 10.2 needs to be 0"},"tip_amount":{"type":"number","description":"(optional) The tip amount"},"billing_book_id":{"type":"string","description":"(required) The ID of the billing book to be used for this invoice. The issuer activity printed on the document is the billing book's, if set, otherwise the branch's, otherwise the company's."},"payment_details":{"type":"string","description":"Contains details about the payment. Accepts special characters, for example \\n for new line."},"currency":{"type":"string","description":"The ISO 4217 code of the currency the customer pays in, in uppercase, for example \"GBP\" or \"USD\". Lowercase is rejected by myDATA (error 101). One currency per invoice. The amount fields stay in EUR: this field converts nothing."},"exchange_rate":{"type":"number","description":"(required when currency is not EUR) How many units of the currency one euro buys: 0.86 for GBP when 1 EUR = 0.86 GBP. Up to 5 decimal places, a 6th is rounded. The invoice prints one extra line, Payable (\u003ccurrency\u003e), equal to payable_total_amount × exchange_rate."},"other_taxes_amount":{"type":"number","description":"(required for invoice type 8.2) Rounded to a maximum of 2 decimal places."},"withholding_total_amount":{"type":"number","description":"The total withhold amount of the invoice, rounded to a maximum of 2 decimal places."},"total_stamp_duty_amount":{"type":"number","description":"The total stamp duty amount, rounded to a maximum of 2 decimal places."},"b2g":{"type":"boolean","description":"(optional) true for a B2G invoice. Refused with 403 plan_without_b2g when the plan does not include B2G, and with 422 b2g_activation_required when the tenant has the Wrapp provider but B2G is not activated yet (the user contacts Wrapp support). Without the Wrapp provider the call gets 422 provider_required, B2G or not, even with Parochos online."},"delivery_address_city":{"type":"string","description":"(required for B2G) Πόλη"},"delivery_address_street":{"type":"string","description":"(required for B2G) Οδός"},"delivery_address_street_number":{"type":"string","description":"(required for B2G) Αριθμός"},"delivery_address_postal_code":{"type":"string","description":"(required for B2G) Τ.Κ."},"delivery_address_party_name":{"type":"string","description":"(required for B2G) Ονομασία ΑΑΗΤ (BT-44)"},"b2g_contracting_authority_id":{"type":"string","description":"(required for B2G) Κωδικός ΑΑΗΤ (BT-46)"},"b2g_contract_identifier":{"type":"string","description":"(required for B2G) ΑΔΑΜ"},"b2g_budget_type":{"type":"integer","description":"(required for B2G) Τύπος Προϋπολογισμού - Valid values are 1: Regular Budget, 2: e-PDE, 3: Other Budget"},"b2g_budget_identifier":{"type":"string","description":"(required for B2G) ΑΔΑ"},"b2g_payment_details":{"type":"string","description":"(required for B2G) Πληροφορίες Πληρωμής"},"b2g_due_date":{"type":"string","description":"(required for B2G) Καταληκτική Ημ/νία Πληρωμής - Valid format \"2026-01-01\""},"b2g_buyer_reference":{"type":"string","description":"Στοιχείο Αναφοράς Αγοραστή (BT-10)"},"b2g_bt_70":{"type":"string","description":"Όνομα Παραλ. Μέρους (BT-70)"},"deductions_total_amount":{"type":"number","description":"(required when deductions present) Total of all deductions amount, rounded to a maximum of 2 decimal places"},"num":{"type":"integer","description":"Specific invoice number"},"self_pricing":{"type":"boolean","description":"Sends the invoice as self pricing"},"pos_device_id":{"type":"string","description":"(required when pos payments are made) The id of the pos device. Required only in case of a pos transaction related issuance"},"refund_invoice_id":{"type":"string","description":"(required in case of a pos credit invoice) The id of the invoice to be credited. Required only in case of issuing invoices crediting a pos transaction related invoice"},"email_locale":{"type":"string","description":"(Optional) Sets the email locale, available values are \"el\" (Greek - default) and \"en\" (English). Also it can be used for pdf language, see generate_pdf field."},"email_subject":{"type":"string","description":"(Optional) Overrides the subject of the email sent to the customer (see customer_emails). When omitted, your default email template's subject is used."},"email_body":{"type":"string","description":"(Optional) Overrides the body of the email sent to the customer (see customer_emails). When omitted, your default email template's body is used."},"catering_table_id":{"type":"string","description":"(required for opening / closing / canceling catering order notes) The ID of the **open** catering table to be used for this invoice."},"generate_pdf":{"type":"boolean","description":"When true it initiates a generation of invoice pdf and the link will be send upon completion via webhook. Declare the language of the pdf using the email_locale field. **PDF generation can only be used for issued invoices, not drafts. An invoice myDATA rejects gets no PDF and no webhook.**"},"draft":{"type":"boolean","description":"When true it saves the invoice as draft and does not submit it to myData."},"is_delivery_note":{"type":"boolean","description":"(mandatory for invoice types 9.2, 9.3 or when sending delivery_detail) Whether the invoice is a delivery note or not."},"installments":{"type":"boolean","description":"Valid only when pos_device_id presents and it's a VIVA terminal. When true it indicates that the pos payment will give installments option."},"branch":{"type":"string","description":"Branch id"},"fees_amount":{"type":"number","description":"(required when fees present) Total of all fees amount, rounded to a maximum of 2 decimal places"},"stamp_duty_amount":{"type":"number","description":"(required when stamp duty present) Total of all stamp duty amount, rounded to a maximum of 2 decimal places"},"mark_as_paid":{"type":"boolean","description":"(optional) When true, the invoice will be marked as fully paid upon issuance"},"external_id":{"type":"string","description":"(optional) A free-form reference id from your own system, stored and echoed back in the response. It must be unique among your invoices, case aside: ext-1, EXT-1 and ExT-1 are the same reference, and a create repeating an external_id we already hold in any case is refused, so a call you retry after a timeout or a network error can never issue a second invoice. To find out how the first call ended, read the invoice back with find_invoice_by_id, which accepts the external_id in place of the invoice id."},"fuel_invoice":{"type":"boolean","description":"(optional) Marks the invoice as one issued for fuel, Defaults to false. Set the fuel of each line with the **fuel_code** field of the invoice line object."},"third_party_collection":{"type":"boolean","description":"(optional) Marks a POS receipt as collected (8.4) or refunded (8.5) on behalf of third parties. Defaults to false. Accepted only on invoice types 8.4 and 8.5. An 8.5 sent with a **refund_invoice_id** takes the value of the 8.4 it refunds."},"special_invoice_category":{"type":"integer","description":"(optional) The myDATA special invoice category of the invoice."},"receiving_note_purpose":{"type":"integer","description":"(mandatory for invoice types 10.1 and 10.2) The reason the quantity receipt note is issued. Value 5 is accepted only for invoice type 10.1."},"other_receiving_note_purpose_title":{"type":"string","description":"(mandatory when receiving_note_purpose is 7) The title of the other case, up to 150 characters."},"customer_emails":{"type":"array","items":{"type":"string"},"description":"(Optional) Up to 3 addresses. The invoice is emailed to them once it is issued, with your account's own address in CC. More than 3, or a value that is not an email address, is refused with too_many_email_recipients or invalid_email_recipient before anything is issued. Emails are sent only for accounts on a paid plan; when one is not sent, the answer carries a warning (email_not_sent) and the invoice is issued all the same. A staging account sends up to 20 invoice emails through the API; after that a call with customer_emails is refused with staging_email_limit_reached and nothing is issued. To set the email locale you can use the email_locale attribute."},"correlated_invoices":{"type":"array","items":{"type":"string"},"description":"An array containing the myDATA marks of any correlated invoices. (mandatory for invoice type 10.1, with the MARK of the delivery note being received)\n*Example: [ ] for none or [ 'xxxxxxxxx', 'xxxxxxxxxx' ].*"},"delivery_detail":{"type":"object","properties":{"dispatch_date":{"type":"string","description":"(required) The dispatch date in format \"DD-MM-YYYY\" (e.g., \"21-03-2025\")"},"dispatch_time":{"type":"string","description":"(required) The dispatch time in format \"HH:MM\" (e.g., \"02:30\")"},"vehicle_number":{"type":"string","description":"(required) The vehicle registration number"},"purpose_of_movement":{"type":"string","description":"(required) The purpose of movement code according to myDATA specifications (1-20, excluding 6, 15, 16, 17, 18)"},"issuer_of_movement":{"type":"string","description":"(required) The name or identifier of the movement issuer"},"purpose_of_movement_custom_title":{"type":"string","description":"(required when purpose_of_movement is 19) The custom title for the purpose of movement"},"from_address":{"type":"string","description":"(required) The street address of the origin location"},"from_number":{"type":"string","description":"(required) The street number of the origin location"},"from_city":{"type":"string","description":"(required) The city of the origin location"},"from_zipcode":{"type":"string","description":"(required) The postal code of the origin location"},"from_branch":{"type":"integer","description":"The branch ID of the origin location"},"to_address":{"type":"string","description":"(required) The street address of the destination location"},"to_number":{"type":"string","description":"(required) The street number of the destination location"},"to_city":{"type":"string","description":"(required) The city of the destination location"},"to_zipcode":{"type":"string","description":"(required) The postal code of the destination location"},"to_branch":{"type":"integer","description":"The branch ID of the destination location"},"reverse_delivery_note":{"type":"boolean","description":"Default: false"},"reverse_delivery_note_purpose":{"type":"integer","description":"(required when reverse_delivery_note is true) The purpose of the reverse delivery note"},"non_obligated_recipient":{"type":"boolean","description":"Default: false. Non-obligated recipient: the digital transport completes without the recipient's involvement. Applies only to delivery notes (type 9.3 or is_delivery_note true). Cannot be true together with without_digital_transport_tracking."},"without_digital_transport_tracking":{"type":"boolean","description":"Default: false. The delivery note does not take part in digital transport tracking and is marked completed on issue. Applies only to delivery notes (type 9.3 or is_delivery_note true). Cannot be true together with non_obligated_recipient."}},"description":"(mandatory when is_delivery_note true) An object representing delivery details.","additionalProperties":false},"counterpart":{"type":"object","properties":{"name":{"type":"string","description":"(required) Name of the company for B2B invoices. For retail invoices could be first and last name separated by space"},"country_code":{"type":"string","description":"(required for B2B invoices) Code of the client's country.\n*Example: \"GR\" for Greece*"},"vat":{"type":"string","description":"(required for B2B invoices) The client's tax id number."},"city":{"type":"string","description":"(required for B2B invoices) The client's city name."},"street":{"type":"string","description":"(required for B2B invoices) The client's street address."},"number":{"type":"string","description":"(required for B2B invoices) The client's street number."},"postal_code":{"type":"string","description":"(required for B2B invoices) The client's postal code."},"email":{"type":"string","description":"Client's email"},"supply_account_no":{"type":"string","description":"(optional) The client's supply account number, used only on invoices sent with fuel_invoice true. On any other invoice it is ignored and not stored."}},"description":"(required) Contains customer information for the invoice. For invoice type 9.2 the name and address are required, and the VAT is always transmitted as 000000000. For invoice type 8.2 it is optional, and it is transmitted only for a business customer with a VAT, other than 000000000, so the fee goes in its expenses. For a guest it is kept in Wrapp and not transmitted.","additionalProperties":false},"invoice_lines":{"type":"array","items":{"type":"object","properties":{"line_number":{"type":"integer","description":"(required) The index number of the invoice line"},"name":{"type":"string","description":"(required) The name of the product or service.\n*Example: \"Product 1\"*"},"code":{"type":"string","description":"The code of the product or service.\n*Example: \"SKU-001\"*"},"quantity":{"type":"number","description":"(required) The quantity number of the product or service. Maximum 2 digits."},"quantity_type":{"type":"integer","description":"The corresponding quantity code for the specific product / service according to myDATA specification"},"unit_price":{"type":"number","description":"(required) The price per unit for the corresponding product / service. Maximum 2 digits."},"net_total_price":{"type":"number","description":"(required) The net total price of the invoice line."},"vat_rate":{"type":"integer","description":"(required) The corresponding vat rate according to myDATA specifications. For the invoice type 9.3 leave it 24."},"vat_total":{"type":"number","description":"(required) The total price if the invoice line for the specified vat rate. Maximum 2 digits. For the invoice type 9.3 needs to be 0"},"subtotal":{"type":"number","description":"(required) The sub total price of the invoice line. Maximum 2 digits. For the invoice type 9.3 needs to be 0"},"vat_exemption_code":{"type":["integer","string"],"description":"(required when vat_rate is zero) The appropriate vat exemption code according to myDATA specifications when vat_rate is zero."},"classification_category":{"type":"string","description":"(required) The appropriate classification category according to myDATA specifications.\nYou can also pass multiple classification types \u0026 categories using the classifications field.\nThe classifications field overrides the classification_type and classification_category fields.\nFor the invoice type 9.3 use 'category3'"},"classification_type":{"type":"string","description":"(required) The appropriate classification type according to myDATA specifications.\nYou can also pass multiple classification types \u0026 categories using the classifications field.\nThe classifications field overrides the classification_type and classification_category fields.\nUse '_' when it doesn't update E3."},"other_taxes_amount":{"type":"number","description":"(required for invoice type code 8.2) Rounded to a maximum of 2 decimal places."},"other_taxes_percent_category":{"type":"integer","description":"(required for invoice type code 8.2) Valid values are: '6', '7', '8', '9', '10', '17', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30'"},"accommodation_tax":{"type":"number","description":"(required for invoice type code 8.2) Rounded to a maximum of 2 decimal places."},"withhold_tax_rate":{"type":"string","description":"Rate of withhold tax, example for 20% the value must be 20"},"withhold_tax_code":{"type":"string","description":"myData withhold category code as string for example \"3\""},"withholding_total":{"type":"number","description":"Rounded to a maximum of 2 decimal places."},"stamp_duty_tax_code":{"type":"string","description":"myData stamp duty code 1-4. Example \"1\""},"stamp_duty_amount":{"type":"number","description":"Rounded to a maximum of 2 decimal places."},"cpv_code":{"type":"string","description":"(required for B2G)"},"deductions_amount":{"type":"number","description":"(required when deductions present) Rounded to a maximum of 2 decimal places."},"expenses_vat_classification":{"type":"string","description":"(required when self_pricing is true) myData expense vat classification"},"description":{"type":"string","description":"Description of the product or service."},"invoice_detail_type":{"type":"integer","description":"Invoice detail type identifier. Possible values are 1 = εκκαθαριση, 2 = αμοιβη.\nBoth used on invoice 1.5"},"expense":{"type":"boolean","description":"Indicates if the invoice line is an expense. When it's true the classifications send as expensesClassifications"},"rec_type":{"type":"integer","description":"Indicates type of fees. For Τέλη the valid value is 2"},"fees_category":{"type":"integer","description":"Indicates exact fees category used"},"fuel_code":{"type":"integer","description":"The myDATA fuel code of the line. Used on invoices sent with **fuel_invoice** true, and refused on any other invoice. Code 999 can be used only on one invoice line per fuel invoice, and its net value cannot be greater than the sum of the net values of the other lines."},"discount_option":{"type":"boolean","description":"Optional. The myDATA **discountOption** of the line (Δικαίωμα Έκπτωσης), sent to myDATA as given, false included. Leave it out and the line is sent without it. The sale line of an OSS distance sale (vat_exemption_code 30) carries true, because OSS sales keep the right to deduct and are reported in code 349 of the Greek VAT return."},"deductions":{"type":"array","description":"(optional) The deductions of the line. Send their sum as **deductions_amount** on the line and the sum over all lines as **deductions_total_amount** on the invoice.","items":{"type":"object","required":["amount"],"properties":{"title":{"type":"string","description":"What the deduction is for."},"amount":{"type":"number","exclusiveMinimum":0,"description":"(required) The deduction amount, greater than 0, rounded to a maximum of 2 decimal places."},"informational":{"type":"boolean","default":false,"description":"true for a deduction shown for information only."}},"additionalProperties":false}},"classifications":{"type":"array","description":"(optional) Several classification types \u0026 categories on one line.\nIt overrides the classification_type and classification_category fields.","items":{"type":"object","required":["category","type","amount"],"properties":{"category":{"type":"string","description":"(required) The classification category according to myDATA specifications."},"type":{"type":"string","description":"(required) The classification type according to myDATA specifications."},"amount":{"type":"number","description":"(required) The part of the line's net value under this classification, rounded to a maximum of 2 decimal places."}},"additionalProperties":false}}},"additionalProperties":false},"description":"(required) An array of objects representing individual invoice line items."},"taxes_totals":{"type":"array","items":{"type":"object","properties":{"tax_type":{"type":"integer","description":"(required) The type of tax applied."},"tax_category":{"type":"integer","description":"(required) The category of tax applied."},"tax_amount":{"type":"number","description":"(required) The amount of tax applied."},"underlying_value":{"type":"number","description":"The underlying value for the tax calculation."}},"additionalProperties":false},"description":"This object is used to pass taxes on invoice level.\nWhen this object is used invoice line level taxes must be omitted.\nSee Taxes Totals Object for more details."},"other_correlated_entities":{"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"integer","description":"(required) The type of the correlated entity."},"vat_number":{"type":"string","description":"(required) The entity's tax id number (VAT)."},"country_code":{"type":"string","description":"(required) Code of the entity's country.\n*Example: \"GR\" for Greece*"},"branch_code":{"type":"integer","description":"(required) The entity's branch code."},"name":{"type":"string","description":"(required) Name of the entity."},"street":{"type":"string","description":"(required) The entity's street address."},"number":{"type":"string","description":"(required) The entity's street number."},"postal_code":{"type":"string","description":"(required) The entity's postal code."},"city":{"type":"string","description":"(required) The entity's city name."}},"additionalProperties":false},"description":"(optional) List of other correlated entities related to the invoice. This is mainly used for delivery notes, e.g. the senders of an invoice type 9.2 issued by a transport or courier company. Check the Other Correlated Entities Object for more details."},"catering_table_name":{"type":"string","description":"Issuing the first catering order note and creating \u0026 opening the catering table.\nNotes:\n- catering_table_id parameter should be omitted\n- catering_table_name value must not belong to an existing open table\n- if catering_table_id parameter is omitted then a random name will be assigned"},"aade_preloaded":{"type":"boolean","description":"(optional when pos payments are made) If set, the invoice will be issued as a credit type and a preloaded transaction will be sent to the pos device. When this transaction is completed, the invoice will be updated with card/pos payment and its mark will also be updated."}},"additionalProperties":false,"allOf":[{"if":{"properties":{"invoice_type_code":{"enum":["11.1","11.2","11.4","8.2","8.4"]}},"required":["invoice_type_code"]},"then":{"required":["payment_method_type"]}},{"if":{"properties":{"invoice_type_code":{"enum":["1.1","2.1","5.2"]}},"required":["invoice_type_code"]},"then":{"required":["counterpart"],"properties":{"counterpart":{"required":["vat"]}}}},{"if":{"properties":{"invoice_type_code":{"not":{"enum":["9.3"]}}}},"then":{"required":["net_total_amount","vat_total_amount","total_amount","payable_total_amount"],"properties":{"invoice_lines":{"items":{"required":["net_total_price","vat_total","subtotal"]}}}}},{"if":{"properties":{"invoice_type_code":{"enum":["9.3"]}},"required":["invoice_type_code"]},"then":{"properties":{"invoice_lines":{"items":{"properties":{"classification_category":{"const":"category3"}}}}}}}],"x-wrapp-classifications":{"1.1":{"category1_1":["E3_561_001","E3_561_002","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_007"],"category1_3":["E3_561_001","E3_561_002","E3_561_007","E3_563"],"category1_4":["E3_880_001"],"category1_5":["E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_7":["E3_881_001","E3_881_003","E3_881_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_881_001","E3_881_002","E3_881_003","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_881_001","E3_881_002","E3_881_003","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_95":["E3_596","E3_597","_"]},"1.2":{"category1_1":["E3_561_005","E3_561_007"],"category1_2":["E3_561_005","E3_561_007"],"category1_3":["E3_561_005","E3_561_007"],"category1_4":["E3_880_003"],"category1_5":["E3_561_005","E3_561_007","E3_562","E3_570"],"category1_7":["E3_881_003"],"category1_8":["E3_561_005","E3_561_007","E3_562","E3_570","E3_880_003","E3_881_003"],"category1_9":["E3_561_005","E3_561_007","E3_562","E3_570","E3_880_003","E3_881_003"],"category1_95":["_"]},"1.3":{"category1_1":["E3_561_006","E3_561_007"],"category1_2":["E3_561_006","E3_561_007"],"category1_3":["E3_561_006","E3_561_007"],"category1_4":["E3_880_004"],"category1_5":["E3_561_006","E3_561_007","E3_562","E3_570"],"category1_7":["E3_881_004"],"category1_8":["E3_561_006","E3_561_007","E3_562","E3_570","E3_880_004","E3_881_004"],"category1_9":["E3_561_006","E3_561_007","E3_562","E3_570","E3_880_004","E3_881_004"],"category1_95":["_"]},"1.4":{"category1_7":["E3_881_001","E3_881_003","E3_881_004"],"category1_95":["_"],"category2_1":["E3_102_001","E3_102_003","E3_102_006","E3_313_001","E3_313_005"],"category2_2":["E3_202_001","E3_202_005","E3_302_001","E3_302_005"],"category2_4":["E3_585_002","E3_585_005","E3_585_006","E3_585_016","E3_102_004","E3_102_005","E3_202_003","E3_202_004","E3_302_003","E3_302_004","E3_313_003","E3_313_004","E3_581_003"],"category2_5":["E3_585_002","E3_585_005","E3_585_006","E3_585_016","E3_882_001","E3_883_001","E3_102_004","E3_102_005","E3_202_003","E3_202_004","E3_302_003","E3_302_004","E3_313_003","E3_313_004","E3_581_003"],"category2_7":["E3_882_001","E3_883_001"],"category2_10":["E3_102_001","E3_102_003","E3_102_004","E3_102_005","E3_102_006","E3_313_001","E3_313_005","E3_202_001","E3_202_003","E3_202_004","E3_202_005","E3_302_001","E3_302_003","E3_302_004","E3_302_005","E3_313_003","E3_313_004","E3_581_003","E3_585_002","E3_585_005","E3_585_006","E3_585_016","E3_882_001","E3_883_001"],"category2_11":["E3_102_001","E3_102_003","E3_102_004","E3_102_005","E3_102_006","E3_313_001","E3_313_005","E3_202_001","E3_202_003","E3_202_004","E3_202_005","E3_302_001","E3_302_003","E3_302_004","E3_302_005","E3_313_003","E3_313_004","E3_581_003","E3_585_002","E3_585_005","E3_585_006","E3_585_016","E3_882_001","E3_883_001"],"category2_95":["_"]},"1.5":{"category1_1":["E3_561_001","E3_561_002","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_007"],"category1_3":["E3_561_001","E3_561_007"],"category1_4":["E3_880_001","E3_880_003","E3_880_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_880_003","E3_880_004"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_880_003","E3_880_004"]},"1.6":{"category1_1":["E3_561_001","E3_561_002","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_007"],"category1_3":["E3_561_001","E3_561_002","E3_561_007","E3_563"],"category1_4":["E3_880_001"],"category1_5":["E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_7":["E3_881_001","E3_881_003","E3_881_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_95":["E3_596","E3_597","_"]},"2.1":{"category1_3":["E3_561_001","E3_561_002","E3_561_007","E3_563"],"category1_5":["E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_95":["_"]},"2.2":{"category1_3":["E3_561_005","E3_561_007","E3_563"],"category1_5":["E3_561_005","E3_561_007","E3_562","E3_570"],"category1_8":["E3_561_005","E3_561_007","E3_562","E3_563","E3_570"],"category1_9":["E3_561_005","E3_561_007","E3_562","E3_563","E3_570"],"category1_95":["_"]},"2.3":{"category1_3":["E3_561_006","E3_561_007","E3_563"],"category1_5":["E3_561_006","E3_561_007","E3_562","E3_570"],"category1_8":["E3_561_006","E3_561_007","E3_562","E3_563","E3_570"],"category1_9":["E3_561_006","E3_561_007","E3_562","E3_563","E3_570"],"category1_95":["_"]},"2.4":{"category1_3":["E3_561_001","E3_561_002","E3_561_007","E3_563"],"category1_5":["E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_95":["_"]},"5.2":{"category1_1":["E3_561_001","E3_561_002","E3_561_005","E3_561_006","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_005","E3_561_006","E3_561_007"],"category1_3":["E3_561_001","E3_561_002","E3_561_005","E3_561_006","E3_561_007","E3_563"],"category1_4":["E3_880_001","E3_880_003","E3_880_004"],"category1_5":["E3_561_002","E3_561_005","E3_561_006","E3_561_007","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_7":["E3_881_001","E3_881_003","E3_881_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_005","E3_561_006","E3_561_007","E3_880_001","E3_880_003","E3_880_004","E3_881_001","E3_881_003","E3_881_004","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_005","E3_561_006","E3_561_007","E3_880_001","E3_880_003","E3_880_004","E3_881_001","E3_881_003","E3_881_004","E3_562","E3_563","E3_564","E3_565","E3_566","E3_567","E3_568","E3_570"],"category1_95":["E3_596","E3_597","_"]},"6.1":{"category1_6":["E3_595"],"category1_95":["_"]},"6.2":{"category1_6":["E3_595"],"category1_95":["_"]},"7.1":{"category1_1":["E3_561_001","E3_561_002","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_007"],"category1_3":["E3_561_001","E3_561_007"],"category1_4":["E3_880_001"],"category1_5":["E3_561_007","E3_562","E3_563","E3_570"],"category1_8":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_562","E3_563","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_007","E3_880_001","E3_562","E3_563","E3_570"],"category1_95":["_"]},"8.1":{"category1_3":["E3_561_001"],"category1_5":["E3_562"],"category1_8":["E3_561_001","E3_562"],"category1_9":["E3_561_001","E3_562"],"category1_95":["_"]},"8.2":{"category1_95":["_"]},"8.4":{"category1_95":["_"]},"8.5":{"category1_95":["_"]},"8.6":{"category1_95":["_"]},"9.2":{"category3":["_"]},"9.3":{"category3":["_"]},"10.1":{"category3":["_"]},"10.2":{"category3":["_"]},"11.1":{"category1_1":["E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_2":["E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_3":["E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_563"],"category1_4":["E3_880_002","E3_880_003","E3_880_004","E3_561_007"],"category1_5":["E3_561_007","E3_562","E3_563","E3_570"],"category1_7":["E3_881_002","E3_881_003","E3_881_004"],"category1_8":["E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_881_002","E3_881_003","E3_881_004","E3_562","E3_563","E3_570"],"category1_9":["E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_881_002","E3_881_003","E3_881_004","E3_562","E3_563","E3_570"],"category1_95":["_"]},"11.2":{"category1_3":["E3_561_003","E3_561_005","E3_561_006","E3_561_007","E3_563"],"category1_5":["E3_561_007","E3_562","E3_563","E3_570"],"category1_8":["E3_561_003","E3_561_005","E3_561_006","E3_561_007","E3_562","E3_563","E3_570"],"category1_9":["E3_561_003","E3_561_005","E3_561_006","E3_561_007","E3_562","E3_563","E3_570"],"category1_95":["_"]},"11.3":{"category1_1":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_3":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_563"],"category1_4":["E3_880_002","E3_880_003","E3_880_004","E3_561_007"],"category1_5":["E3_561_007","E3_562","E3_563","E3_570"],"category1_7":["E3_881_002","E3_881_003","E3_881_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_562","E3_563","E3_570","E3_881_002","E3_881_003","E3_881_004"],"category1_9":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_562","E3_563","E3_570","E3_881_002","E3_881_003","E3_881_004"],"category1_95":["_"]},"11.4":{"category1_1":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_2":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007"],"category1_3":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_563"],"category1_4":["E3_561_007","E3_880_002","E3_880_003","E3_880_004"],"category1_5":["E3_561_007","E3_562","E3_563","E3_570"],"category1_7":["E3_881_002","E3_881_003","E3_881_004"],"category1_8":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_881_002","E3_881_003","E3_881_004","E3_562","E3_563","E3_570"],"category1_9":["E3_561_001","E3_561_002","E3_561_003","E3_561_004","E3_561_005","E3_561_006","E3_561_007","E3_880_002","E3_880_003","E3_880_004","E3_881_002","E3_881_003","E3_881_004","E3_562","E3_563","E3_570"],"category1_95":["_"]},"11.5":{"category1_7":["E3_881_002","E3_881_003","E3_881_004"],"category1_95":["_"]},"17.4":{"category1_10":["_"]}}},"InvoiceResponse":{"type":"object","properties":{"id":{"type":"string","description":"The Wrapp id (uuid) of the invoice. Use it on the status, cancel and PDF calls."},"my_data_mark":{"type":"string","description":"The MARK assigned to the invoice by myDATA."},"my_data_uid":{"type":"string","description":"The unique identifier (UID) assigned to the invoice by myDATA. Also returned on a **pending** invoice with **transmission_failure** 2, and it stays the same once the invoice is transmitted."},"my_data_qr_url":{"type":"string","description":"The URL encoded in the myDATA QR code that is printed on the invoice. Also returned on a **pending** invoice with **transmission_failure** 2, so the invoice can be printed with its QR code. The same URL remains valid after the delayed transmission, no reprint is needed."},"series":{"type":"string","description":"The series of the invoice, as defined on the billing book it was issued from."},"num":{"type":"integer","description":"The sequential number of the invoice inside its series."},"catering_table_id":{"type":"string","description":"The id (uuid) of the catering table the invoice belongs to. Null for invoices that are not related to a catering table."},"authentication_code":{"type":"string","description":"The provider authentication code of the invoice. Returned for invoices transmitted to myDATA through Wrapp as provider, null otherwise. Null while the invoice is pending, it is returned once myDATA assigns the MARK."},"transmission_failure":{"type":"integer","description":"The myDATA transmission failure indicator. Null when the invoice was transmitted normally, otherwise:\n**1**: entity to provider connection loss,\n**2**: provider to AADE connection loss. The invoice is returned as **pending** with its **my_data_uid** and **my_data_qr_url** and is transmitted automatically once the connection is restored,\n**3**: entity to AADE connection loss."},"cancelled_by_mark":{"type":"string","description":"The MARK of the cancellation, when the invoice has been cancelled. Null while the invoice is active."},"correlated_invoice_marks":{"type":"array","description":"The MARKs of the invoices this invoice is correlated to, as you passed them on creation in **correlated_invoices**, e.g. the invoices a credit note credits. Empty when the invoice is not correlated to any."},"wrapp_invoice_url":{"type":"string","description":"The Greek customer portal link of the invoice, where it can be viewed and downloaded."},"wrapp_invoice_url_en":{"type":"string","description":"The English customer portal link of the invoice."},"card_type":{"type":"string","description":"The card type of the last successful POS transaction of the invoice. Null when the invoice was not paid through a POS device."},"card_number":{"type":"string","description":"The masked card number of the last successful POS transaction, e.g. \"XXXX-XXXX-XXXX-1234\". Null when the invoice was not paid through a POS device."},"transaction_id":{"type":"string","description":"The transaction id of the provider signature of the invoice. Null when the invoice is not signed as provider."},"external_id":{"type":"string","description":"Your own reference for the invoice, as you passed it on creation. Null when you did not send one."},"issued_at":{"type":"string","description":"The issue date of the invoice, formatted as DD-MM-YYYY."},"issued_at_datetime":{}}},"Warnings":{"type":"array","description":"Only on POST /invoices, and only when the body carried fields the API ignored; otherwise the key is absent. One entry per ignored field.","items":{"type":"object","properties":{"code":{"type":"string","enum":["ignored_field"],"description":"ignored_field, a field the API does not accept or a value of the wrong type."},"field":{"type":"string","description":"The path of the field in your body, dotted, with the index of a list item, e.g. payment_method, counterpart.vat_number, invoice_lines[0].vat."},"title":{"type":"string","description":"A sentence you can log or show a developer."}}}}}}}