Add user location support for tax calculations in document processing

This commit is contained in:
bolade
2025-10-07 12:03:26 +01:00
parent d8315f13ac
commit 659ca4ff15
3 changed files with 95 additions and 27 deletions
+7
View File
@@ -160,6 +160,13 @@ class DocumentUploadResponse(BaseModel):
status: str
class DocumentProcessRequest(BaseModel):
file_id: str
user_location: Optional[str] = (
None # Format: "State/Province, Country" (e.g., "Ontario, Canada")
)
class DocumentProcessResponse(BaseModel):
file_id: str
receipt_id: str