Formato de exportación

Actualizado: 29 de octubre de 2026

Al pulsar «Descargar mis datos» en Ajustes → Cuenta recibes un archivo JSON. Esta es su estructura: cada tabla y sus campos.

  • exported_at
  • gdpr_notice
  • export_complete
  • tables_unavailable
  • sub_processors_url
  • account
  • sessions
  • identities

account

  • email
  • user_id
  • created_at
  • last_sign_in_at
  • email_confirmed_at
  • signup_language
  • plan
  • plan_status
  • restaurant_limit
  • scans_used
  • scan_limit
  • is_trial
  • trial_started
  • trial_ends_at
  • cancel_at_period_end
  • credit_balance_cents
  • extra_usage_enabled
  • monthly_spend_cap_cents
  • extra_spent_this_month
  • auto_reload_enabled
  • auto_reload_threshold_cents
  • auto_reload_amount_cents
  • language
  • country
  • region
  • onboarding_completed
  • weekly_pnl_emails_enabled
  • price_lock_alerts_enabled
  • low_stock_alerts_enabled
  • dispute_hold
  • data_deletion_scheduled_at
  • deletion_notice_sent_at
  • deletion_requested_at
  • deletion_hold_tier
  • terms_version
  • terms_accepted_at
  • terms_language
  • deleted_at

sessions

  • created_at
  • updated_at
  • ip
  • user_agent

identities

  • provider
  • created_at
  • last_sign_in_at

restaurants

  • id
  • name
  • settings
  • language
  • currency
  • description
  • is_extra
  • cancel_at_period_end
  • lock_notified_at
  • created_at
  • deleted_at

plan_audit_log

  • id
  • old_plan
  • new_plan
  • old_restaurant_limit
  • new_restaurant_limit
  • old_scan_limit
  • new_scan_limit
  • changed_at

credits_ledger

  • id
  • source_id
  • direction
  • amount_cents
  • created_at

ingredients

  • id
  • name
  • brand
  • purchase_price
  • purchase_quantity
  • unit
  • category
  • vat
  • vat_deductible
  • merma_pct
  • peso_bruto
  • peso_neto
  • is_sub_recipe
  • recipe
  • output_quantity
  • output_unit
  • current_stock
  • stock_tracking_enabled
  • stock_threshold
  • stock_unit
  • restaurant_id
  • created_at
  • deleted_at

menu_items

  • id
  • name
  • price
  • vat
  • recipe
  • category
  • description
  • margin
  • target_margin
  • menu_only
  • cost
  • restaurant_id
  • created_at
  • deleted_at

ingredient_purchases

  • id
  • ingredient_id
  • ingredient_name
  • brand
  • purchase_quantity
  • quantity
  • unit
  • unit_price
  • total_price
  • vat_percent
  • vat_deductible
  • invoice_scan_id
  • invoice_date
  • source
  • restaurant_id
  • created_at
  • deleted_at

inventory

  • id
  • ingredient_name
  • current_quantity
  • unit
  • min_threshold
  • last_updated
  • restaurant_id
  • created_at
  • deleted_at

invoice_scans

  • id
  • filename
  • file_hash
  • invoice_date
  • supplier
  • invoice_number
  • status
  • restaurant_id
  • created_at
  • deleted_at

menu_price_history

  • id
  • menu_item_id
  • bundle_id
  • dish_name
  • price
  • effective_date
  • price_type
  • option_dish_id
  • course_name
  • restaurant_id
  • created_at
  • deleted_at

weekly_sales

  • id
  • menu_item_id
  • dish_name
  • week_start_date
  • units_sold
  • revenue
  • dish_snapshot
  • restaurant_id
  • created_at
  • deleted_at

weekly_pnl_snapshots

  • id
  • week_start
  • total_revenue
  • total_cogs
  • gross_profit
  • food_cost_pct
  • margin_pct
  • waste_cost
  • carte_revenue
  • carte_cogs
  • menu_revenue
  • menu_cogs
  • dishes_count
  • dishes_without_recipe
  • dishes_snapshot
  • bundles_snapshot
  • restaurant_id
  • created_at
  • deleted_at

alert_events

  • id
  • lock_id
  • triggered_value
  • threshold_value
  • message
  • status
  • severity
  • triggered_at
  • acknowledged_at
  • snoozed_until
  • restaurant_id
  • deleted_at

price_locks

  • id
  • lock_type
  • target_id
  • target_name
  • threshold_value
  • baseline_value
  • is_active
  • notification_channels
  • note
  • snoozed_until
  • restaurant_id
  • created_at
  • deleted_at

stock_movements

  • id
  • ingredient_id
  • type
  • quantity
  • actual_quantity
  • unit
  • reason
  • note
  • week_start
  • reference_id
  • estimated
  • unit_mismatch
  • restaurant_id
  • created_at
  • deleted_at

bundles

  • id
  • name
  • price
  • is_fixed
  • courses
  • included_extras
  • vat_rate
  • weekday_recurrence
  • specific_dates
  • is_active
  • restaurant_id
  • created_at
  • deleted_at

bundle_sales

  • id
  • bundle_id
  • sale_date
  • covers_sold
  • revenue
  • bundle_snapshot
  • extras_actual
  • supplements_actual
  • restaurant_id
  • created_at
  • deleted_at

waste_log

  • id
  • ingredient_id
  • quantity
  • unit
  • reason_code
  • log_date
  • notes
  • restaurant_id
  • created_at
  • deleted_at

weekly_bundle_sales

  • id
  • bundle_id
  • week_start_date
  • covers_sold
  • revenue
  • bundle_snapshot
  • extras_actual
  • restaurant_id
  • created_at
  • deleted_at
Actualitzat: 29 d'octubre de 2026

Quan prems «Descarregar les meves dades» a Configuració → Compte reps un fitxer JSON. Aquesta n'és l'estructura: cada taula i els seus camps.

  • exported_at
  • gdpr_notice
  • export_complete
  • tables_unavailable
  • sub_processors_url
  • account
  • sessions
  • identities

account

  • email
  • user_id
  • created_at
  • last_sign_in_at
  • email_confirmed_at
  • signup_language
  • plan
  • plan_status
  • restaurant_limit
  • scans_used
  • scan_limit
  • is_trial
  • trial_started
  • trial_ends_at
  • cancel_at_period_end
  • credit_balance_cents
  • extra_usage_enabled
  • monthly_spend_cap_cents
  • extra_spent_this_month
  • auto_reload_enabled
  • auto_reload_threshold_cents
  • auto_reload_amount_cents
  • language
  • country
  • region
  • onboarding_completed
  • weekly_pnl_emails_enabled
  • price_lock_alerts_enabled
  • low_stock_alerts_enabled
  • dispute_hold
  • data_deletion_scheduled_at
  • deletion_notice_sent_at
  • deletion_requested_at
  • deletion_hold_tier
  • terms_version
  • terms_accepted_at
  • terms_language
  • deleted_at

sessions

  • created_at
  • updated_at
  • ip
  • user_agent

identities

  • provider
  • created_at
  • last_sign_in_at

restaurants

  • id
  • name
  • settings
  • language
  • currency
  • description
  • is_extra
  • cancel_at_period_end
  • lock_notified_at
  • created_at
  • deleted_at

plan_audit_log

  • id
  • old_plan
  • new_plan
  • old_restaurant_limit
  • new_restaurant_limit
  • old_scan_limit
  • new_scan_limit
  • changed_at

credits_ledger

  • id
  • source_id
  • direction
  • amount_cents
  • created_at

ingredients

  • id
  • name
  • brand
  • purchase_price
  • purchase_quantity
  • unit
  • category
  • vat
  • vat_deductible
  • merma_pct
  • peso_bruto
  • peso_neto
  • is_sub_recipe
  • recipe
  • output_quantity
  • output_unit
  • current_stock
  • stock_tracking_enabled
  • stock_threshold
  • stock_unit
  • restaurant_id
  • created_at
  • deleted_at

menu_items

  • id
  • name
  • price
  • vat
  • recipe
  • category
  • description
  • margin
  • target_margin
  • menu_only
  • cost
  • restaurant_id
  • created_at
  • deleted_at

ingredient_purchases

  • id
  • ingredient_id
  • ingredient_name
  • brand
  • purchase_quantity
  • quantity
  • unit
  • unit_price
  • total_price
  • vat_percent
  • vat_deductible
  • invoice_scan_id
  • invoice_date
  • source
  • restaurant_id
  • created_at
  • deleted_at

inventory

  • id
  • ingredient_name
  • current_quantity
  • unit
  • min_threshold
  • last_updated
  • restaurant_id
  • created_at
  • deleted_at

invoice_scans

  • id
  • filename
  • file_hash
  • invoice_date
  • supplier
  • invoice_number
  • status
  • restaurant_id
  • created_at
  • deleted_at

menu_price_history

  • id
  • menu_item_id
  • bundle_id
  • dish_name
  • price
  • effective_date
  • price_type
  • option_dish_id
  • course_name
  • restaurant_id
  • created_at
  • deleted_at

weekly_sales

  • id
  • menu_item_id
  • dish_name
  • week_start_date
  • units_sold
  • revenue
  • dish_snapshot
  • restaurant_id
  • created_at
  • deleted_at

weekly_pnl_snapshots

  • id
  • week_start
  • total_revenue
  • total_cogs
  • gross_profit
  • food_cost_pct
  • margin_pct
  • waste_cost
  • carte_revenue
  • carte_cogs
  • menu_revenue
  • menu_cogs
  • dishes_count
  • dishes_without_recipe
  • dishes_snapshot
  • bundles_snapshot
  • restaurant_id
  • created_at
  • deleted_at

alert_events

  • id
  • lock_id
  • triggered_value
  • threshold_value
  • message
  • status
  • severity
  • triggered_at
  • acknowledged_at
  • snoozed_until
  • restaurant_id
  • deleted_at

price_locks

  • id
  • lock_type
  • target_id
  • target_name
  • threshold_value
  • baseline_value
  • is_active
  • notification_channels
  • note
  • snoozed_until
  • restaurant_id
  • created_at
  • deleted_at

stock_movements

  • id
  • ingredient_id
  • type
  • quantity
  • actual_quantity
  • unit
  • reason
  • note
  • week_start
  • reference_id
  • estimated
  • unit_mismatch
  • restaurant_id
  • created_at
  • deleted_at

bundles

  • id
  • name
  • price
  • is_fixed
  • courses
  • included_extras
  • vat_rate
  • weekday_recurrence
  • specific_dates
  • is_active
  • restaurant_id
  • created_at
  • deleted_at

bundle_sales

  • id
  • bundle_id
  • sale_date
  • covers_sold
  • revenue
  • bundle_snapshot
  • extras_actual
  • supplements_actual
  • restaurant_id
  • created_at
  • deleted_at

waste_log

  • id
  • ingredient_id
  • quantity
  • unit
  • reason_code
  • log_date
  • notes
  • restaurant_id
  • created_at
  • deleted_at

weekly_bundle_sales

  • id
  • bundle_id
  • week_start_date
  • covers_sold
  • revenue
  • bundle_snapshot
  • extras_actual
  • restaurant_id
  • created_at
  • deleted_at
Updated: 29 October 2026

When you press 'Download my data' in Settings → Account, you get a JSON file. This is its structure: each table and its fields.

The top of the file

account

Your login identity, then your plan, usage and settings.

sessions

Each session open on your account, one entry per session.

identities

How you sign in, one entry per sign-in method.

restaurants

Your restaurants. A list: your account's rows.

plan_audit_log

Every change to your plan and its limits. A list: your account's rows.

credits_ledger

Every credit top-up, use and refund. A list: your account's rows.

ingredients

Your ingredients and sub-recipes. A list: each of your restaurants' rows.

menu_items

Your dishes and their recipes. A list: each of your restaurants' rows.

ingredient_purchases

Every purchase recorded, by hand or from a scanned invoice. A list: each of your restaurants' rows.

inventory

Your stock counts. A list: each of your restaurants' rows.

invoice_scans

Every invoice you scanned (the image itself is never kept). A list: each of your restaurants' rows.

menu_price_history

Every price a dish or a set menu has had. A list: each of your restaurants' rows.

weekly_sales

Dishes sold, week by week. A list: each of your restaurants' rows.

weekly_pnl_snapshots

Each week's P&L summary. A list: each of your restaurants' rows.

alert_events

Every price-lock alert raised. A list: each of your restaurants' rows.

price_locks

The price locks you set. A list: each of your restaurants' rows.

stock_movements

Every stock movement: purchases, use, adjustments, waste. A list: each of your restaurants' rows.

bundles

Your set menus. A list: each of your restaurants' rows.

bundle_sales

Set menus sold, day by day. A list: each of your restaurants' rows.

waste_log

Every waste entry. A list: each of your restaurants' rows.

weekly_bundle_sales

Set menus sold, week by week. A list: each of your restaurants' rows.