In order to support the ability to link or attach documents to invoices, we will implement an API in the invoice business logic module.
The API will for now just proxy back to the storage layer API.
If possible, reading the entire file's contents into memory should be avoided. A streaming approach would be ideal if feasible.
Acquisitions units will eventually need to be taken into account, but are out of scope for this story.
See the documented design on the wiki for details.
- API is defined and implemented
- unit tests are updated
- API tests are updated