Initial build: SimpleScan Solo v0.1.0 - Freelancer receipt capture Chrome extension
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
export const TAX_CATEGORIES = [
|
||||
{
|
||||
id: 'equipment',
|
||||
label: 'Equipment',
|
||||
description: 'Computers, cameras, tools, hardware',
|
||||
icon: '💻',
|
||||
},
|
||||
{
|
||||
id: 'home_office',
|
||||
label: 'Home Office',
|
||||
description: 'Desk, chair, lighting, office supplies',
|
||||
icon: '🏠',
|
||||
},
|
||||
{
|
||||
id: 'software',
|
||||
label: 'Software',
|
||||
description: 'Apps, subscriptions, SaaS tools',
|
||||
icon: '⚙️',
|
||||
},
|
||||
{
|
||||
id: 'internet_phone',
|
||||
label: 'Internet & Phone',
|
||||
description: 'ISP, cell plan, domain hosting',
|
||||
icon: '📡',
|
||||
},
|
||||
{
|
||||
id: 'travel',
|
||||
label: 'Travel',
|
||||
description: 'Flights, hotels, rideshare, mileage',
|
||||
icon: '✈️',
|
||||
},
|
||||
{
|
||||
id: 'meals',
|
||||
label: 'Meals',
|
||||
description: 'Business meals (50% deductible)',
|
||||
icon: '🍽️',
|
||||
},
|
||||
{
|
||||
id: 'professional_services',
|
||||
label: 'Professional Services',
|
||||
description: 'Lawyer, accountant, contractor payments',
|
||||
icon: '📋',
|
||||
},
|
||||
{
|
||||
id: 'marketing',
|
||||
label: 'Marketing',
|
||||
description: 'Ads, design, copywriting, PR',
|
||||
icon: '📢',
|
||||
},
|
||||
{
|
||||
id: 'education',
|
||||
label: 'Education',
|
||||
description: 'Courses, books, conferences',
|
||||
icon: '📚',
|
||||
},
|
||||
{
|
||||
id: 'other',
|
||||
label: 'Other',
|
||||
description: 'Miscellaneous business expenses',
|
||||
icon: '📦',
|
||||
},
|
||||
];
|
||||
export function getCategoryLabel(id) {
|
||||
return TAX_CATEGORIES.find((c) => c.id === id)?.label || 'Other';
|
||||
}
|
||||
export function getCategoryIcon(id) {
|
||||
return TAX_CATEGORIES.find((c) => c.id === id)?.icon || '📦';
|
||||
}
|
||||
Reference in New Issue
Block a user