Configuration
The configuration section lets you adapt the tool to the specifics of your property and local legislation.
Property Management
You can modify your property's basic data at any time. Remember that the Acquisition Date acts as a filter for the entire financial history.
Investment Configuration
Mortgage and Loans
If you financed the purchase, enter the monthly payment, interest rate and term. This is crucial so the profitability analysis uses the Cash Flow model (real money in hand after paying debts).
General Investment Data
Enter the real purchase cost and deed expenses. The application uses this data to calculate the total ROI of your asset.
Categories and Platforms
Category Customization
Although Anfitrión offers standard categories, every business is unique. You can add, edit colors, or remove categories to fit your way of working.
Platforms and Fees
Configure your sales channels here.
- Remember: Choose the fee model carefully (Deducted vs Invoiced) so the app automatically manages the creation of fee expenses.
Vision Engines for the Receipt Scanner
The receipt scanner can use different AI engines to extract data. They're configured via environment variables in your .env.local file:
Claude Vision (Anthropic)
The most accurate engine. Uses the claude-haiku-4-5 model to analyze the receipt and extract the real total amount, date and merchant name with high reliability.
- Variable:
VITE_ANTHROPIC_API_KEY - Cost: ~€0.001 per receipt. Get your key at console.anthropic.com.
OpenRouter
Alternative with a free tier that lets you use multiple vision models (Llama, Gemini, GPT-4o mini, etc.) from a single provider.
- Variable:
VITE_OPENROUTER_API_KEY - Default model:
baidu/qianfan-ocr-fast:free - Automatic fallback:
nvidia/nemotron-nano-12b-v2-vl:free, if the main model fails or hits the limit. - Change model:
VITE_OPENROUTER_MODEL=google/gemini-2.5-flash - Get your free key at openrouter.ai.
Local OCR (Tesseract.js)
Works without any API key or internet connection. It's the automatic fallback when no key is configured. Accuracy is lower, especially on receipts with poor lighting or small typography.
If you don't configure any external engine, the scanner still works with local OCR — just with lower accuracy on amount and date detection.
Regional Tax Data
Anfitrión accounts for the tax specifics of Spain:
- Mainland and Balearics (VAT 10%)
- Canary Islands (IGIC 7%)
- Ceuta and Melilla (IPSI 10%)
Selecting your correct region is vital so the invoices you download from the application have the correct tax calculations.
Application Configuration
In this section, accessible from the side menu under Application, you can manage global aspects of the tool.
Language and Regional Format
Anfitrión separates the UI language from the data formatting to accommodate different regional needs:
- UI Language: Toggled via the globe icon in the header. This changes the text in buttons, labels, and menus.
- Regional Format: Selected within the Application settings. This controls how dates, numbers, and currencies are displayed (e.g., choosing between English UK, English US, or Spanish Spain formats). This ensures that financial reports follow the conventions of your specific region.
Appearance and Style
Customize Anfitrión's visual identity. You can choose between different themes (Hogar, Anfitrión Pro, Aura) that change the color palette and typography of the entire interface to better fit your taste or brand.
Database Management
Here you'll find advanced options to manage the state of your information:
Populate Database
This option inserts dummy data (preconfigured transactions, campaigns and budgets) so you can see charts, lists and the application fully running without having to enter the initial data yourself. Ideal to familiarize yourself with Anfitrión.
Delete All Data
If after testing you want to leave the application clean to enter your real data, you can use this option. It permanently and cascade-deletes the current property, all its associated history (income, expenses, campaigns, configuration) and attachments stored in the Supabase Storage receipts bucket. As a safety measure, the system will require you to enter the exact property name before allowing deletion.