Examples
9.3 Delivery Note
Examples for document 9.3 – Delivery Note.
Examples for document 9.3 – Delivery Note. How to send the requests: Examples.
Basic example
Delivery note with 2 lines (10 + 5 units) at zero value, from warehouse to Customer ABC ΕΠΕ.
{
"document": {
"provider": "flexy",
"document_type": "invoice",
"aa": "YYYYMMDDHHMMSS",
"series": "DN",
"date": "YYYY-MM-DD",
"provider_details": {
"document_type": "9.3",
"move_purpose": "1",
"other_delivery_note_header": {
"loading_address": {
"street": "Πανεπιστημίου",
"number": "123",
"city": "Αθήνα",
"postal_code": "10678"
},
"delivery_address": {
"street": "Stadiou",
"number": "10",
"city": "Athens",
"postal_code": "10562"
}
}
},
"issuer": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"counterpart": {
"legal_name": "Customer ABC ΕΠΕ",
"legal_number": "159107845",
"legal_activity": "Retail Trade",
"address": {
"address_line": "Stadiou 10",
"city": "Athens",
"state": "Attica",
"zip": "10562",
"country": "GR",
"branch_code": 0
}
},
"items": [
{
"title": "Product A",
"description": "Delivered product A",
"item_code": "PROD-A-001",
"quantity": "10.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
},
{
"title": "Product B",
"description": "Delivered product B",
"item_code": "PROD-B-002",
"quantity": "5.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
}
],
"totals": {
"line_extension_amount": "0.00",
"tax_exclusive_amount": "0.00",
"tax_amount": "0.00",
"tax_inclusive_amount": "0.00",
"payable_amount": "0.00"
},
"tax_breakdown": [
{
"tax_category_id": "O",
"tax_category_name": "ΦΠΑ 0% (Άλλο)",
"tax_rate_percent": "0.00",
"taxable_amount": "0.00",
"tax_amount": "0.00"
}
],
"public_notes": "Delivery note - warehouse to customer"
}
}With move purpose 19
Only move_purpose changes, to 19.
{
"document": {
"provider": "flexy",
"document_type": "invoice",
"aa": "YYYYMMDDHHMMSS",
"series": "DN2",
"date": "YYYY-MM-DD",
"provider_details": {
"document_type": "9.3",
"move_purpose": "19",
"other_delivery_note_header": {
"loading_address": {
"street": "Πανεπιστημίου",
"number": "123",
"city": "Αθήνα",
"postal_code": "10678"
},
"delivery_address": {
"street": "Stadiou",
"number": "10",
"city": "Athens",
"postal_code": "10562"
}
}
},
"issuer": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"counterpart": {
"legal_name": "Customer ABC ΕΠΕ",
"legal_number": "159107845",
"legal_activity": "Retail Trade",
"address": {
"address_line": "Stadiou 10",
"city": "Athens",
"state": "Attica",
"zip": "10562",
"country": "GR",
"branch_code": 0
}
},
"items": [
{
"title": "Product A",
"description": "Delivered product A",
"item_code": "PROD-A-001",
"quantity": "10.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
},
{
"title": "Product B",
"description": "Delivered product B",
"item_code": "PROD-B-002",
"quantity": "5.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
}
],
"totals": {
"line_extension_amount": "0.00",
"tax_exclusive_amount": "0.00",
"tax_amount": "0.00",
"tax_inclusive_amount": "0.00",
"payable_amount": "0.00"
},
"tax_breakdown": [
{
"tax_category_id": "O",
"tax_category_name": "ΦΠΑ 0% (Άλλο)",
"tax_rate_percent": "0.00",
"taxable_amount": "0.00",
"tax_amount": "0.00"
}
],
"public_notes": "Delivery note - warehouse to customer"
}
}Internal movement (move_purpose 8)
The counterpart is the issuer itself (<VAT NUMBER>), with move_purpose: 8 and the loading and delivery addresses swapped.
{
"document": {
"provider": "flexy",
"document_type": "invoice",
"aa": "YYYYMMDDHHMMSS",
"series": "DN3",
"date": "YYYY-MM-DD",
"provider_details": {
"document_type": "9.3",
"move_purpose": "8",
"other_delivery_note_header": {
"loading_address": {
"street": "Stadiou",
"number": "10",
"city": "Athens",
"postal_code": "10562"
},
"delivery_address": {
"street": "Πανεπιστημίου",
"number": "123",
"city": "Αθήνα",
"postal_code": "10678"
}
}
},
"issuer": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"counterpart": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 1
}
},
"items": [
{
"title": "Product A",
"description": "Delivered product A",
"item_code": "PROD-A-001",
"quantity": "10.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
},
{
"title": "Product B",
"description": "Delivered product B",
"item_code": "PROD-B-002",
"quantity": "5.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
}
],
"totals": {
"line_extension_amount": "0.00",
"tax_exclusive_amount": "0.00",
"tax_amount": "0.00",
"tax_inclusive_amount": "0.00",
"payable_amount": "0.00"
},
"tax_breakdown": [
{
"tax_category_id": "O",
"tax_category_name": "ΦΠΑ 0% (Άλλο)",
"tax_rate_percent": "0.00",
"taxable_amount": "0.00",
"tax_amount": "0.00"
}
],
"public_notes": "Delivery note - warehouse to customer"
}
}Return leg (move purpose 5)
move_purpose: 5 with a zeroed-out counterpart (VAT number 000000000) and swapped loading/delivery addresses.
{
"document": {
"provider": "flexy",
"document_type": "invoice",
"aa": "YYYYMMDDHHMMSS",
"series": "DN4",
"date": "YYYY-MM-DD",
"provider_details": {
"document_type": "9.3",
"move_purpose": "5",
"other_delivery_note_header": {
"loading_address": {
"street": "Stadiou",
"number": "10",
"city": "Athens",
"postal_code": "10562"
},
"delivery_address": {
"street": "Πανεπιστημίου",
"number": "123",
"city": "Αθήνα",
"postal_code": "10678"
}
}
},
"issuer": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"counterpart": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "000000000",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"items": [
{
"title": "Product A",
"description": "Delivered product A",
"item_code": "PROD-A-001",
"quantity": "10.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
},
{
"title": "Product B",
"description": "Delivered product B",
"item_code": "PROD-B-002",
"quantity": "5.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
}
],
"totals": {
"line_extension_amount": "0.00",
"tax_exclusive_amount": "0.00",
"tax_amount": "0.00",
"tax_inclusive_amount": "0.00",
"payable_amount": "0.00"
},
"tax_breakdown": [
{
"tax_category_id": "O",
"tax_category_name": "ΦΠΑ 0% (Άλλο)",
"tax_rate_percent": "0.00",
"taxable_amount": "0.00",
"tax_amount": "0.00"
}
],
"public_notes": "Delivery note - warehouse to customer"
}
}Reverse delivery note
reverse_delivery_note: true and reverse_delivery_note_purpose: 2.
{
"document": {
"provider": "flexy",
"document_type": "invoice",
"aa": "YYYYMMDDHHMMSS",
"series": "DN5",
"date": "YYYY-MM-DD",
"provider_details": {
"document_type": "9.3",
"move_purpose": "1",
"other_delivery_note_header": {
"loading_address": {
"street": "Πανεπιστημίου",
"number": "123",
"city": "Αθήνα",
"postal_code": "10678"
},
"delivery_address": {
"street": "Stadiou",
"number": "10",
"city": "Athens",
"postal_code": "10562"
}
},
"reverse_delivery_note": true,
"reverse_delivery_note_purpose": 2
},
"issuer": {
"legal_name": "Test Company ΕΠΕ",
"legal_number": "<VAT NUMBER>",
"legal_activity": "Χονδρικό Εμπόριο",
"address": {
"address_line": "Πανεπιστημίου 123",
"city": "Αθήνα",
"state": "Αττική",
"zip": "10678",
"country": "GR",
"branch_code": 0
}
},
"counterpart": {
"legal_name": "Customer ABC ΕΠΕ",
"legal_number": "159107845",
"legal_activity": "Retail Trade",
"address": {
"address_line": "Stadiou 10",
"city": "Athens",
"state": "Attica",
"zip": "10562",
"country": "GR",
"branch_code": 0
}
},
"items": [
{
"title": "Product A",
"description": "Delivered product A",
"item_code": "PROD-A-001",
"quantity": "10.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
},
{
"title": "Product B",
"description": "Delivered product B",
"item_code": "PROD-B-002",
"quantity": "5.00",
"unit_measure": "ΤΕΜ",
"unit_value": "0.00",
"unit_total": "0.00",
"taxes": [
{
"title": "ΦΠΑ 0% (Άλλο)",
"tax_type": "1",
"value_type": "percentage",
"tax_sign": "+",
"value": "0.00",
"provider_code": "8",
"on_vat": true,
"provider_details": {
"provider_code": "8"
}
}
],
"provider_details": {
"classification_category": "category3",
"classification_type": "",
"vat_classification_category": "8",
"vat_exemption_category": "1"
}
}
],
"totals": {
"line_extension_amount": "0.00",
"tax_exclusive_amount": "0.00",
"tax_amount": "0.00",
"tax_inclusive_amount": "0.00",
"payable_amount": "0.00"
},
"tax_breakdown": [
{
"tax_category_id": "O",
"tax_category_name": "ΦΠΑ 0% (Άλλο)",
"tax_rate_percent": "0.00",
"taxable_amount": "0.00",
"tax_amount": "0.00"
}
],
"public_notes": "Delivery note - warehouse to customer"
}
}