Refactor document processing endpoint to accept file_id as a path parameter and update related logic; modify DocumentProcessRequest to make file_id optional; add clarification to tax processing rules in DocumentProcessor.
This commit is contained in:
@@ -108,6 +108,7 @@ class DocumentProcessor:
|
||||
* For other locations, estimate based on typical rates
|
||||
- Store calculated tax in "calculated_tax" field (set to null if tax clearly shown)
|
||||
- If tax is clearly shown on receipt, use that value for tax_amount and set calculated_tax to null
|
||||
- If tax is clearly shown on the receipt as 0%, set tax_amount to 0 and calculated_tax to null
|
||||
|
||||
DEPRECIATION RULES:
|
||||
- Determine if item is a depreciable asset (vehicles, machinery, equipment, computers, furniture, buildings)
|
||||
|
||||
Reference in New Issue
Block a user