FlexyAPI documentation

Examples

11.5 Retail Sales Receipt on Behalf of Third Parties

Examples for document 11.5 – Retail Sales Receipt on Behalf of Third Parties.

Examples for document 11.5 – Retail Sales Receipt on Behalf of Third Parties. How to send the requests: Examples.

Basic example

Retail sales receipt on behalf of third parties for 3 units (75.00 € each) with VAT 24% (279.00 € total), with no counterpart.

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "3RD",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "11.5",
      "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": "Third Party Product",
        "description": "Product sold on behalf of third party",
        "quantity": "3.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "75.00",
        "unit_total": "225.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_7",
          "classification_type": "E3_881_002",
          "vat_classification_category": "1",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "225.00",
      "tax_exclusive_amount": "225.00",
      "tax_amount": "54.00",
      "tax_inclusive_amount": "279.00",
      "payable_amount": "279.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "S",
        "tax_category_name": "ΦΠΑ 24%",
        "tax_rate_percent": "24.00",
        "taxable_amount": "225.00",
        "tax_amount": "54.00"
      }
    ],
    "public_notes": "Third party retail receipt - cash payment"
  }
}