FlexyAPI documentation

Examples

9.2 Consolidated Delivery Note

Examples for document 9.2 – Consolidated Delivery Note.

Examples for document 9.2 – Consolidated Delivery Note. How to send the requests: Examples.

Basic example

Consolidated delivery note with 2 lines (10 + 5 units) at zero value, for Consolidated Recipient.

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "CDEL",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "9.2",
      "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": "Consolidated Recipient",
      "legal_number": "000000000",
      "legal_activity": "Consolidated",
      "address": {
        "address_line": "N/A",
        "city": "Athens",
        "state": "Attica",
        "zip": "10000",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Product A",
        "description": "Delivered product A",
        "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",
        "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": "Consolidated delivery note - warehouse to customer"
  }
}

Same loading and delivery address

The delivery address is set to match the loading address (Πανεπιστημίου 123, Athens).

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "CDEL2",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "9.2",
      "move_purpose": "1",
      "other_delivery_note_header": {
        "loading_address": {
          "street": "Πανεπιστημίου",
          "number": "123",
          "city": "Αθήνα",
          "postal_code": "10678"
        },
        "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": "Consolidated Recipient",
      "legal_number": "000000000",
      "legal_activity": "Consolidated",
      "address": {
        "address_line": "N/A",
        "city": "Athens",
        "state": "Attica",
        "zip": "10000",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Product A",
        "description": "Delivered product A",
        "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",
        "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": "Consolidated delivery note - warehouse to customer"
  }
}