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

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

2.3 Τιμολόγιο Παροχής / Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας

Παραδείγματα για το παραστατικό 2.3 – Τιμολόγιο Παροχής / Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας.

Παραδείγματα για το παραστατικό 2.3 – Τιμολόγιο Παροχής / Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας. Πώς στέλνετε τα αιτήματα: Παραδείγματα.

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

Παροχή 12 μονάδων υπηρεσιών cloud hosting (150,00 € η μία) στην US Customer Inc με ΦΠΑ 0% λόγω εξαγωγής (1.800,00 € σύνολο).

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "EXSRV",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "2.3",
      "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": "US Customer Inc",
      "legal_number": "US123456789",
      "legal_activity": "Technology Services",
      "country": "US",
      "address": {
        "address_line": "5th Avenue 123",
        "city": "New York",
        "state": "NY",
        "zip": "10001",
        "country": "US",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Cloud Hosting Services",
        "description": "Managed cloud infrastructure",
        "quantity": "12.00",
        "unit_measure": "ΥΠΗΡ",
        "unit_value": "150.00",
        "unit_total": "1800.00",
        "taxes": [
          {
            "title": "ΦΠΑ 0% (Εξαγωγή)",
            "tax_type": "1",
            "value_type": "percentage",
            "tax_sign": "+",
            "value": "0.00",
            "provider_code": "3",
            "on_vat": true,
            "provider_details": {
              "provider_code": "3"
            }
          }
        ],
        "provider_details": {
          "classification_category": "category1_3",
          "classification_type": "E3_561_006",
          "vat_classification_category": "7",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "1800.00",
      "tax_exclusive_amount": "1800.00",
      "tax_amount": "0.00",
      "tax_inclusive_amount": "1800.00",
      "payable_amount": "1800.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "G",
        "tax_category_name": "ΦΠΑ 0% Εξαγωγή",
        "tax_rate_percent": "0.00",
        "taxable_amount": "1800.00",
        "tax_amount": "0.00"
      }
    ],
    "public_notes": "Export service to third country"
  }
}

Τρεις γραμμές για την ίδια υπηρεσία

Τρεις γραμμές με την ίδια υπηρεσία Consulting Services για τρεις διαφορετικούς πελάτες.

{
  "document": {
    "provider": "flexy",
    "document_type": "invoice",
    "aa": "YYYYMMDDHHMMSS",
    "series": "SRVEX",
    "date": "YYYY-MM-DD",
    "provider_details": {
      "document_type": "2.3",
      "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": "US Customer Inc",
      "legal_number": "US987654321",
      "legal_activity": "Consulting Services",
      "country": "US",
      "address": {
        "address_line": "5th Avenue 789",
        "street": "5th Avenue",
        "number": "789",
        "city": "New York",
        "state": "NY",
        "zip": "10001",
        "country": "US",
        "branch_code": 0
      }
    },
    "items": [
      {
        "title": "Consulting Services",
        "description": "Τελικός πελάτης Κώστας",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "100.00",
        "unit_total": "100.00",
        "taxes": [
          {
            "title": "ΦΠΑ 0% (Εξαγωγή Υπηρεσίας)",
            "tax_type": "1",
            "value_type": "percentage",
            "tax_sign": "+",
            "value": "0.00",
            "provider_code": "2",
            "on_vat": true,
            "provider_details": {
              "provider_code": "2"
            }
          }
        ],
        "provider_details": {
          "classification_category": "category1_3",
          "classification_type": "E3_561_006",
          "vat_classification_category": "7",
          "vat_exemption_category": "1"
        }
      },
      {
        "title": "Consulting Services",
        "description": "Τελικός πελάτης Νίκος",
        "quantity": "1.00",
        "unit_measure": "ΤΕΜ",
        "unit_value": "80.00",
        "unit_total": "80.00",
        "taxes": [
          {
            "title": "ΦΠΑ 0% (Εξαγωγή Υπηρεσίας)",
            "tax_type": "1",
            "value_type": "percentage",
            "tax_sign": "+",
            "value": "0.00",
            "provider_code": "2",
            "on_vat": true,
            "provider_details": {
              "provider_code": "2"
            }
          }
        ],
        "provider_details": {
          "classification_category": "category1_3",
          "classification_type": "E3_561_006",
          "vat_classification_category": "7",
          "vat_exemption_category": "1"
        }
      },
      {
        "title": "Consulting Services",
        "description": "Τελικός πελάτης Μαρία",
        "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": "2",
            "on_vat": true,
            "provider_details": {
              "provider_code": "2"
            }
          }
        ],
        "provider_details": {
          "classification_category": "category1_3",
          "classification_type": "E3_561_006",
          "vat_classification_category": "7",
          "vat_exemption_category": "1"
        }
      }
    ],
    "totals": {
      "line_extension_amount": "230.00",
      "tax_exclusive_amount": "230.00",
      "tax_amount": "0.00",
      "tax_inclusive_amount": "230.00",
      "payable_amount": "230.00"
    },
    "tax_breakdown": [
      {
        "tax_category_id": "E",
        "tax_category_name": "ΦΠΑ 0% Εξαγωγή Υπηρεσίας",
        "tax_rate_percent": "0.00",
        "taxable_amount": "230.00",
        "tax_amount": "0.00"
      }
    ],
    "public_notes": "Same service on three lines at different prices"
  }
}