feat: add paperless intake triage workflow

This commit is contained in:
Fizzlepoof
2026-05-13 03:38:31 +00:00
parent 33d0666a3e
commit 5fd46b20ca
6 changed files with 522 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"id": 12345,
"title": "scan_2026_05_12",
"original_filename": "utility_statement_may.pdf",
"created": "2026-05-12",
"added": "2026-05-13T02:14:00Z",
"correspondent_detail": {"name": "CDE Lightband"},
"document_type_detail": {"name": "Statement"},
"tags_detail": [{"name": "inbox"}],
"content": "CDE Lightband monthly utility statement. Amount due $142.17. Payment due by 2026-06-05."
}

View File

@@ -0,0 +1,12 @@
{
"summary": "Monthly utility bill from CDE Lightband for $142.17 due on 2026-06-05.",
"suggested_title": "CDE Lightband Utility Bill - May 2026",
"document_type": "bill",
"suggested_correspondent": "CDE Lightband",
"suggested_tags": ["paperless-triage", "utility", "bill"],
"due_date": "2026-06-05",
"needs_review": true,
"urgency": "medium",
"reason": "Contains a payment due date; safety gate requires human review.",
"confidence": "high"
}

View File

@@ -0,0 +1,3 @@
{
"document_id": 12345
}