FlexyAPI documentation

Examples

8.5 POS Return Receipt

Examples for document 8.5 – POS Return Receipt.

Examples for document 8.5 – POS Return Receipt. How to send the requests: Examples.

Basic example

POS return receipt for 1 product (50.00 €) with VAT 0% (50.00 € total).

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "RTN",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "8.5",
      "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
      }
    },
    "items": [
      {
        "title": "Product Return",
        "description": "Point of sale return transaction",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "50.00",
        "unit_total": "50.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": "category1_95",
          "classification_type": "",
          "vat_classification_category": "8",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "50.00",
      "tax_exclusive_amount": "50.00",
      "tax_amount": "0.00",
      "tax_inclusive_amount": "50.00",
      "payable_amount": "50.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "O",
        "tax_category_name": "ΦΠΑ 0% (Άλλο)",
        "tax_rate_percent": "0.00",
        "taxable_amount": "50.00",
        "tax_amount": "0.00"
      }
    ],
    "public_notes": "POS return receipt - customer refund"
  }
}