Schema

Cleaned ticket output

This is the same cleaned structure used to visualize the pre-moderation JSON in Easypromos.

{
    "header": {
        "store_name": "CLAREL",
        "store_address": "AV PRIMERO DE JUNIO 66",
        "tax_id": "A43227628",
        "phone": "+34912345678",
        "date": "2025-09-24",
        "time": "20:08",
        "receipt_number": "00309139",
        "currency": "EUR",
        "city": "Venta de Banos",
        "postal_code": "34200",
        "country": "Spain",
        "country_code": "ES",
        "timezone": "Europe/Madrid",
        "utc_date_time": "2025-09-24T20:08:00+02:00"
    },
    "line_items": [
        {
            "article": "SERUM REVITALIFT LAS",
            "sku": "171752",
            "quantity": 1,
            "total": 24.19
        },
        {
            "article": "CREMA REVITALIF LASE",
            "sku": "155687",
            "quantity": 1,
            "total": 22.09
        },
        {
            "article": "DETER MAQU CAPSULA O",
            "sku": "308872",
            "quantity": 1,
            "total": 9.99
        },
        {
            "article": "ESPUMA PERFECT VOLUM",
            "sku": "290794",
            "quantity": 1,
            "total": 5.49
        },
        {
            "article": "LACA PERFECT VOLUMEN",
            "sku": "290790",
            "quantity": 1,
            "total": 5.29
        }
    ],
    "footer": {
        "total": 37.87
    },
    "controls": {
        "handwritten": 0,
        "text_quality": 95
    }
}