FlexyAPI documentation

Examples

11.3 Simplified Invoice

Examples for document 11.3 – Simplified Invoice.

Examples for document 11.3 – Simplified Invoice. How to send the requests: Examples.

Basic example

Simplified invoice for 1 Product Bundle for 250.00 € with VAT 24% (310.00 € total), with no counterpart.

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "SIM",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "11.3",
      "payment_method_type": "3"
    },
    "issuer": {
      "legal_name": "Test Company ΕΠΕ",
      "legal_number": "<VAT NUMBER>",
      "legal_activity": "Χονδρικό Εμπόριο",
      "address": {
        "address_line": "Πανεπιστημίου 123",
        "city": "Αθήνα",
        "state": "Αττική",
        "zip": "10678",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Product Bundle",
        "description": "Simplified product bundle",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "250.00",
        "unit_total": "250.00",
        "taxes": [
          {
            "title": "ΦΠΑ 24%",
            "tax_type": "1",
            "value_type": "percentage",
            "tax_sign": "+",
            "value": "24.00",
            "provider_code": "1",
            "on_vat": true,
            "provider_details": {
              "provider_code": "1"
            }
          }
        ],
        "provider_details": {
          "classification_category": "category1_1",
          "classification_type": "E3_561_001",
          "vat_classification_category": "1",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "250.00",
      "tax_exclusive_amount": "250.00",
      "tax_amount": "60.00",
      "tax_inclusive_amount": "310.00",
      "payable_amount": "310.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "S",
        "tax_category_name": "ΦΠΑ 24%",
        "tax_rate_percent": "24.00",
        "taxable_amount": "250.00",
        "tax_amount": "60.00"
      }
    ],
    "public_notes": "Simplified invoice - cash payment"
  }
}