Skip to main content

Send Remittance Advice

POST 

/api/vendor-deposits/:vendorDepositId/send-remittance

Email a remittance advice for a paid vendor deposit to the supplier.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Sends a supplier-facing email containing the deposit reference, PO number, supplier reference (PI #), amount paid, payment date and payment reference — bank/account numbers are never included. Selected deposit attachments (e.g. the wire confirmation uploaded with category payment_proof) are attached to the email. Stamps remittance_sent_at on the deposit and returns the full updated deposit resource.

Validation (SendVendorDepositRemittanceRequest):

  • to (required, email) — recipient, usually the supplier's email
  • cc (optional, array of emails)
  • subject (required, string, max 255)
  • note (optional, string, max 2000) — included in the email body
  • attachment_ids (optional, array of integers) — must belong to this deposit, else 422

Errors (422): deposit not yet paid (allowed statuses: partially_paid, paid, partially_applied, fully_applied); attachment ids not belonging to the deposit; validation failures.

  • attachment file missing from storage → 422 before anything is sent.

Request

Responses

OK

Response Headers
    Content-Type