Accountant Portal

Keep an uploaded bank statement on an open reconciliation as its evidence

Changed on

PG-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.

post/accountant/companies/{customerId}/reconciliations/{id}/statement-document

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required
id, string uuid required

Request body

object required
documentId, string uuid required
preserveExisting, boolean

Response

The reconciliation, with statementDocument

object required
statementDocument, ReconciliationStatementDocument nullable required

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