Attach a proof of payment document to an invoice: a remittance advice or bank confirmation supporting a payment collected outside Root. Attaching a file does not change the invoice's status; settle it with mark as paid.
Attaching replaces any file already attached. Download the current one with retrieve proof of payment.
Invoicing is opt-in per organization: unless the invoicing feature flag is enabled for your organization this endpoint returns 403.
400Validation error. Examples: file_type is not an allowed MIME type, or the file's contents do not match the declared type.
403Invoicing is not enabled for the organization, or the caller is missing the invoices:mark_paid permission.
404No such invoice, or the caller's user group does not grant access to its policy.