Credit

Delete a credit

Soft-delete a credit. The credit is marked as deleted and stops appearing in this API and the Distru UI, but the record is retained rather than being permanently removed, so its history is preserved. Returns 204 with no body on success.

A credit cannot be deleted once it has been used (has at least one active application to an invoice). Overpayment credits (created from an invoice overpayment or a QuickBooks Online payment) cannot be deleted unless they have already been canceled — void the associated payment instead. Either case returns an error.

If your account syncs credits with QuickBooks Online, the deletion is also pushed to QuickBooks Online in the background; a 204 confirms the delete in Distru, not that the QuickBooks Online side has finished.

Required permission: credits_permissions_delete. The authenticated user must also have access to the credit under their team restrictions.

delete/public/v1/credits/{id}

Path parameters

idstring required

The credit's ID (as returned in the id field of a credit).

Response

No Content

Changes

No recorded changes to this endpoint across all 1 revision of this API.