Delete and Update Invoice Payments

Two new endpoints for managing invoice payments on V4:

  • DELETE /invoices/{invoice_id}/payments/{payment_id} — Reverses a previously recorded uncleared invoice payment, restoring the invoice balance. Only uncleared payments can be deleted.
  • PUT /invoices/{invoice_id}/payments/{payment_id} — Updates the amount, date, and cash account on an existing uncleared invoice payment. Only uncleared payments can be updated.