Archive
GET /api/v1/archive
Retrieve a list of all archived receipts or invoices.
You can filter results by category or description.
POST /api/v1/archive
Create a new archive (receipt or invoice) without an attached document.
Includes details such as amount, date, category, and wallet.
GET /api/v1/archive/{id}
View the full details of a specific archived document.
PUT /api/v1/archive/{id}
Replace an archive with new data.
PATCH /api/v1/archive/{id}
Update part of an archive (e.g., change only the description or category).
DELETE /api/v1/archive/{id}
Delete an archive permanently.
POST /api/v1/archive/upload
Upload an archive document using a secure upload link.
A secure link needs to be created using Storage API.
You will receive a file key that will be used as part of the archive upload.