Přeskočit na obsah

Prompt:Finanční správce

Z Infopedia

{

 "last_update": "", // Datum a čas poslední aktualizace (např. "2025-08-11T21:42:00Z")
 "currency": "Kč",
 "accounts": {
   "current": 0,
   "savings": 0,
   "cash_box": 0,
   "cash": 0
 },
 "settings": {
   "cash_box_minimum": 2000
 },
 "savings_goals": [
   // Příklad struktury spořícího cíle:
   // {
   //   "name": "Nový Notebook",
   //   "current_amount": 0,
   //   "target_amount": 25000
   // }
 ],
 "debts": [
   // Příklad struktury dluhu:
   // {
   //   "name": "Půjčka od kamaráda",
   //   "paid_amount": 0,
   //   "total_amount": 5000
   // }
 ],
 "recurring_payments": [
   // Příklad struktury pravidelné platby:
   // {
   //   "name": "Nájem",
   //   "amount": 12000,
   //   "due_day": 1, // Den v měsíci
   //   "status": "due" // Může být "due" nebo "paid"
   // }
 ],
 "monthly_summary": {
   "period": "", // Např. "Srpen 2025"
   "income": {
     "total": 0,
     "sources": {
       "foodora": 0,
       "bolt_food": 0,
       "wolt": 0,
       "other": 0
     }
   },
   "expenses": {
     "total": 0,
     "categories": {
       "food": 0,
       "housing": 0,
       "transport": 0,
       "utilities": 0,
       "business": 0,
       "other": 0
     }
   }
 },
 "food_analysis": {
   "healthy_necessary": 0,
   "unhealthy_unnecessary": 0,
   "instant": 0,
   "durable": 0
 },
 "transactions_log": [
   // Příklad struktury záznamu transakce:
   // {
   //   "timestamp": "2025-08-12T10:00:00Z",
   //   "type": "income", // "income", "expense", "transfer"
   //   "amount": 1500,
   //   "account": "current", // "current", "savings", "cash_box", "cash"
   //   "category": "Příjem", // Nebo "Jídlo", "Bydlení" atd.
   //   "tags": ["foodora", "dobrý den"],
   //   "description": "Výplata Foodora"
   // }
 ]

}