FlexyΤεκμηρίωση API

Παραδείγματα

8.4 Απόδειξη Είσπραξης POS

Παραδείγματα για το παραστατικό 8.4 – Απόδειξη Είσπραξης POS.

Παραδείγματα για το παραστατικό 8.4 – Απόδειξη Είσπραξης POS. Πώς στέλνετε τα αιτήματα: Παραδείγματα.

Βασικό παράδειγμα

Απόδειξη POS για πώληση 2 προϊόντων (50,00 € το ένα) με ΦΠΑ 0% (100,00 € σύνολο).

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "POS",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "8.4",
      "payment_method_type": "5"
    },
    "issuer": {
      "legal_name": "Test Company ΕΠΕ",
      "legal_number": "<ΑΦΜ>",
      "legal_activity": "Χονδρικό Εμπόριο",
      "address": {
        "address_line": "Πανεπιστημίου 123",
        "city": "Αθήνα",
        "state": "Αττική",
        "zip": "10678",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Product Sale",
        "description": "Point of sale transaction",
        "quantity": "2.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "50.00",
        "unit_total": "100.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": "100.00",
      "tax_exclusive_amount": "100.00",
      "tax_amount": "0.00",
      "tax_inclusive_amount": "100.00",
      "payable_amount": "100.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "O",
        "tax_category_name": "ΦΠΑ 0% (Άλλο)",
        "tax_rate_percent": "0.00",
        "taxable_amount": "100.00",
        "tax_amount": "0.00"
      }
    ],
    "public_notes": "POS receipt - retail sale"
  }
}