Categorizing business expenses into correct tax categories requires deep knowledge of the Israeli Income Tax Ordinance. Miscategorization can lead to overpaying taxes or correction demands from the Tax Authority. Freelancers and small businesses lose thousands of shekels annually due to unclaimed deductions.
Author: @skills-il
Automatic categorization of business expenses into Israeli tax categories with accurate deduction percentages
npx skills-il add skills-il/accounting --skill israeli-expense-categorizerCollect the expense information to categorize. Accept input in any of these formats:
If a file path is provided, read the file. If expenses are described in text, parse them into structured records.
Ask the user for their business registration type if not already known:
This distinction is critical because it affects VAT deduction eligibility.
Categorize each expense using the following deduction rules from the Israeli Tax Ordinance (Pkudat Mas Hachnasa):
Fully deductible expenses (100%):
Partially deductible expenses:
Non-deductible expenses (0%):
Special rules:
Map each categorized expense to the appropriate account code in the standard Israeli chart of accounts:
| Account Range | Category | Examples |
|---|---|---|
| 60-61 | Raw materials and purchases | Inventory, supplies for production |
| 62 | Subcontractors | Outsourced work, freelancer payments |
| 63 | Rent and building maintenance | Office rent, arnona, building repairs |
| 64 | Vehicle expenses | Fuel, car insurance, maintenance |
| 65 | Office and general expenses | Supplies, software, phone, internet |
| 66 | Marketing and sales | Advertising, business meals, events |
| 67 | Professional services | Accountant, lawyer, consulting |
| 68 | Salaries and related | Payroll, social benefits, pension |
| 69 | Financial expenses | Bank fees, interest, exchange differences |
| 70 | Depreciation | Equipment depreciation entries |
For each expense, flag issues that need human review:
Produce a structured output with:
Output as a formatted table or CSV file, depending on user preference.
User says: "I'm an Osek Murshe freelance developer. Categorize these January expenses:
Actions:
Result: Categorized expense report with deduction amounts, account codes, and a flag to document the client meeting details.
User says: "I run a graphic design business from home as Osek Patur. My apartment is 80 sqm and my office room is 12 sqm. Here are my expenses:
Actions:
Result: Categorized report with home office calculations, depreciation schedule, and recommendation to consult accountant about entity type.
User says: "Categorize this CSV file of expenses from my bank export" and provides a file path.
Actions:
Result: Enriched CSV file ready for accountant import, with flagged items requiring manual classification.
Cause: The expense description is too vague to classify (e.g., "payment to Moshe" or "transfer 500 ILS").
Solution: Ask the user for more context about the expense: What was purchased? What is the business purpose? Who is the vendor? With this information, apply the appropriate deduction rule. If still unclear, flag it as "requires accountant review" with 0% deduction as the conservative default.
Cause: The calculated home office ratio exceeds 50%, which may trigger scrutiny from the tax authority (Mas Hachnasa).
Solution: Verify the room dimensions with the user. If the ratio genuinely exceeds 50%, warn that the tax authority may challenge this claim. Recommend the user keep documentation: floor plan, photos of dedicated office space, and proof that the space is used exclusively for business. If the space is shared (e.g., dining table used as desk), the deduction should be reduced proportionally.
Cause: The uploaded file is not in a parseable format (corrupted CSV, password-protected Excel, or image/PDF of receipts).
Solution: Ask the user to export their data as a plain CSV with columns: date, vendor/description, amount. For bank exports, most Israeli banks (Leumi, Hapoalim, Discount, Mizrahi) support CSV export from their online banking portal. Guide the user to the export function in their specific bank's interface.
Cause: The user's entity type is Osek Patur but VAT deductions were requested or assumed.
Solution: Remind the user that Osek Patur cannot deduct input VAT. Remove any VAT deduction lines from the report. If the user has significant expenses with VAT, suggest they consult their accountant about upgrading to Osek Murshe, especially if their revenue is approaching the Osek Patur threshold or if they regularly purchase expensive equipment.
Supported Agents
Categorize these expenses into tax deduction categories and indicate the allowed deduction percentage for each.
Check my expense list and find deductions I might be missing.
Explain the differences in expense deduction rules between Osek Patur and Osek Murshe.
Trust Score
This skill can execute scripts and commands on your system.
1 occurrences found in code
This skill can read and write files on your system.
1 occurrences found in code
This skill can access environment variables which may contain secrets.
1 occurrences found in code
Import and export data between Hashavshevet accounting software and modern formats like JSON, CSV, and Excel, including Hebrew encoding conversion and cloud migration
Build SHAAM-compliant electronic invoices with allocation numbers per Israeli Tax Authority requirements
OCR and parse Israeli receipts and invoices with Hebrew and English text extraction
Want to build your own skill? Try the Skill Creator ยท Submit a Skill