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

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

1.5 Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων

Παραδείγματα για το παραστατικό 1.5 – Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων.

Παραδείγματα για το παραστατικό 1.5 – Τιμολόγιο Πώλησης / Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων. Πώς στέλνετε τα αιτήματα: Παραδείγματα.

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

Δύο γραμμές: προϊόν 1.000,00 € και προμήθεια 100,00 € με ΦΠΑ 24% (1.367,00 € σύνολο, εκ των οποίων 3,00 € τέλος).

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "TS",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "1.5",
      "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
      }
    },
    "counterpart": {
      "legal_name": "Customer ABC ΕΠΕ",
      "legal_number": "159107845",
      "legal_activity": "Retail Trade",
      "country": "GR",
      "address": {
        "address_line": "Stadiou 10",
        "street": "Stadiou",
        "number": "10",
        "city": "Athens",
        "state": "Attica",
        "zip": "10562",
        "country": "GR",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Product Sale (Third Party)",
        "description": "Goods sold on behalf of third party",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "1000.00",
        "unit_total": "1000.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": {
          "detail_type": "1",
          "classification_category": "category2_3",
          "classification_type": "E3_585_009",
          "vat_classification_category": "1"
        }
      },
      {
        "title": "Commission Fee",
        "description": "Commission earned from sale",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "100.00",
        "unit_total": "100.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"
            }
          },
          {
            "title": "Fees 3%",
            "tax_type": "fees",
            "value_type": "percentage",
            "tax_sign": "+",
            "value": "3.00",
            "provider_code": "10",
            "on_vat": false,
            "provider_details": {
              "provider_code": "10"
            }
          }
        ],
        "provider_details": {
          "detail_type": "2",
          "classification_category": "category1_3",
          "classification_type": "E3_561_007",
          "vat_classification_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "1100.00",
      "tax_exclusive_amount": "1100.00",
      "tax_amount": "267.00",
      "tax_inclusive_amount": "1367.00",
      "payable_amount": "1367.00",
      "total_fees": "3.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "S",
        "tax_category_name": "ΦΠΑ 24%",
        "tax_rate_percent": "24.00",
        "taxable_amount": "1100.00",
        "tax_amount": "264.00"
      },
      {
        "tax_category_id": "F",
        "tax_category_name": "Fees 3%",
        "tax_rate_percent": "3.00",
        "taxable_amount": "100.00",
        "tax_amount": "3.00"
      }
    ],
    "public_notes": "Settlement invoice with commission"
  }
}