Adds one PDF, JPEG or PNG to a line of a draft reimbursement run, its bytes sent as standard base64 in content_base64 (at most 700 KiB decoded; line breaks are ignored). The first bytes must prove the declared file_mime, and an optional sha256 must match the decoded bytes (422 otherwise). The file is stored like one uploaded in the app. For a larger file, upload it to the document inbox with an upload session and link it with reimbursementRun.lineDocument.link. Answers 201 with the document and the run's new ETag. Refusals: 404 reimbursement_line_not_found, 409 reimbursement_run_locked (the run is not a draft). Requires Idempotency-Key, If-Match with the run's ETag, and the reimbursements:write OAuth scope with manage_reimbursement.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
