Company data structure
Company details are defined with the following structure (fromapp/lib/types.ts:87-103):
Accessing company settings
Navigate to/company to access the company settings page. This page allows you to:
- Create multiple company profiles
- Set a default profile for new invoices
- Configure default currency settings
- Upload company logos
Creating your first company profile
Open the company form
On the Company Settings page:
- If you have no profiles yet, click Add Company Profile
- If profiles exist, the button appears above the profile list
Upload your company logo
Add a logo to appear on your invoices:Logo requirements:Managing the logo:
- Formats: PNG, JPG, SVG
- Maximum size: 2MB
- Stored as base64-encoded data URL
- Displays as 48×48px thumbnail in the profile list
- Appears at full resolution on generated invoices
- Click Upload Logo to choose an image
- Preview appears immediately
- Click the X button to remove it
- Click Change Logo to replace an existing one
Fill in company information
Enter your business details:Basic information:
- Company/Freelance Name: Your business name or personal name for freelancing
- Email: Business contact email
- Phone: Contact phone number (optional)
- Website: Company website URL (optional)
- Address: Street address or business location
- City: City or town
- State/Province: State, province, or region
- Zip/Postal Code: ZIP or postal code
- Country: Country of business operation
- Tax ID: VAT number, EIN, or other tax identifier (optional)
- Example: “GB123456789” for UK VAT
- Example: “12-3456789” for US EIN
All fields except phone, website, and tax ID are required. However, providing complete information creates more professional-looking invoices.
Set as default (optional)
Check the “Set as default company profile” checkbox to make this profile the default for new invoices.Only one profile can be marked as default at a time. Setting a new default automatically unmarks the previous one.
Managing multiple company profiles
You can create multiple company profiles for different use cases:Use cases for multiple profiles
- Multiple businesses: Separate profiles for different companies you operate
- Different brands: Different branding for various product lines
- Freelance vs. company: Personal freelance work vs. incorporated business
- Different locations: Regional offices or branches
Setting a default profile
To change which profile is used by default:- Locate the profile you want to set as default
- Click the star icon in the profile card
- The profile is marked with a blue “Default” badge
- Previous default profile loses its default status automatically
Editing company profiles
To update an existing profile:- Click the edit icon (pencil) on the profile card
- The form opens with current profile data
- Make your changes to any fields
- Click “Save Company Details” to update
updatedAt timestamp.
Deleting company profiles
To remove a profile:- Click the delete icon (trash) on the profile card
- Confirm deletion in the dialog: “Are you sure you want to delete this company profile?”
- The profile is permanently removed
Configuring default currency
The Company Settings page includes a Default Currency section to set the currency used for new invoices.Setting default currency
Select your currency
Choose from 11 supported currencies:
- USD - US Dollar
- EUR - Euro
- GBP - British Pound
- CAD - Canadian Dollar
- AUD - Australian Dollar
- JPY - Japanese Yen
- CHF - Swiss Franc
- CNY - Chinese Yuan
- INR - Indian Rupee
- MXN - Mexican Peso
- NGN - Nigerian Naira
Database structure
Company profiles are stored in the database (fromapp/lib/schema.sql:55-71):
Profile card display
Each profile appears in a card showing:- Company logo (48×48px) if uploaded
- Company name as the card title
- Email address below the name
- “Default” badge for the default profile
- Profile details in a grid:
- Phone
- Website
- Address
- Tax ID
- City
- Country
- Action buttons:
- Star icon: Set as default (hidden for current default)
- Pencil icon: Edit profile
- Trash icon: Delete profile
Best practices
Next steps
- Learn how to create invoices using your company profile
- Add payment details to tell customers how to pay
- Set up customer records for faster invoicing