Documents

Upload staff-only evidence (migration 778)

Changed on

A client's private support, kept apart from documents: no client route, search, connector, engine, Penny queue, thread or reconciliation reads it. Signed-in firm staff with access to the client only; every API key and service account is refused (403). The body is the file's bytes and Content-Type its type (the upload size and type limits apply: 413 and 415). The uploader needs access to the named legal entity. The bytes are virus-scanned (422 UPLOAD_INFECTED; 503 UPLOAD_SCAN_PENDING when the scan has not finished). The answer carries the server's SHA-256. The id is used as openingCorrection.staffEvidenceId on a prior-period adjustment.

put/accountant/companies/{customerId}/staff-evidence

Request

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

Path parameters

customerId, string uuid required

Query parameters

entityId, string uuid required
docDate, string date required
name, string required

Request body application/pdf

string binary required

Response

The stored staff-only evidence

object required
success, boolean
data, StaffEvidenceFile

Migration 778, staff-only evidence. Never shown to a client.

Changes