FlexyAPI documentation

Examples

2.4 Service Rendered Invoice / Supplemental Accounting Source Document

Examples for document 2.4 – Service Rendered Invoice / Supplemental Accounting Source Document.

Examples for document 2.4 – Service Rendered Invoice / Supplemental Accounting Source Document. How to send the requests: Examples.

With a correlated document

Replace <MARK> in correlated_invoices with the MARK of a 2.1 invoice you have already issued, e.g. from the basic 2.1 example.

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "SUPSRV",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "2.4",
      "payment_method_type": "5"
    },
    "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": "Εμπορική Επιχείρηση",
      "address": {
        "address_line": "Σταδίου 10",
        "city": "Αθήνα",
        "state": "Αττική",
        "zip": "10562",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Additional Service Charge",
        "description": "Supplementary service charge",
        "quantity": "1.00",
        "unit_measure": "ΥΠΗΡ",
        "unit_value": "50.00",
        "unit_total": "50.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_3",
          "classification_type": "E3_561_001",
          "vat_classification_category": "1",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "50.00",
      "tax_exclusive_amount": "50.00",
      "tax_amount": "12.00",
      "tax_inclusive_amount": "62.00",
      "payable_amount": "62.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "S",
        "tax_category_name": "ΦΠΑ 24%",
        "tax_rate_percent": "24.00",
        "taxable_amount": "50.00",
        "tax_amount": "12.00"
      }
    ],
    "correlated_invoices": [
      "<MARK>"
    ],
    "public_notes": "Supplementary service charge"
  }
}