Keep an uploaded bank statement on an open reconciliation as its evidence
Changed onPG-p09-012 (migration 675; Augusto "Yes", #4092 c7009332126). The document (uploaded through the normal document upload) must be an assigned bank_statement of the bank account's entity, not archived, its stored file scanned clean, a PDF, CSV or text file of at most 10 MB whose bytes match its hash. Only while the reconciliation is open (in progress or reopened); otherwise 409 RECONCILIATION_NOT_OPEN. A later attach replaces it by default. With preserveExisting, attaching the current document returns it without a second event and attaching a different one returns 409 STATEMENT_ATTACHMENT_EXISTS. Records a statement_attached event with the document id, file name and hash as they are now; nothing else changes. The reconciliation comes back with statementDocument, which GET …/reconciliations/{id} also returns. A signed-in person only: the service token gets 403.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Response
The reconciliation, with statementDocument
PG-p09-012: the bank statement a reconciliation keeps as evidence before completion, from its latest statement event; name and hash as at attach time. Null when none is kept.
Changes
- info
added the new optional request property
preserveExisting
- info
- info
endpoint added
- info