Delete a purchase order payment
Purchase Orders
Delete a purchase order payment
Delete a payment from a purchase order. The purchase order totals (total_paid and total_due)
are automatically recalculated after the payment is deleted.
Total Recalculation
After deleting a payment, the system automatically:
- Recalculates
total_paidby summing all remaining payment amounts - Recalculates
total_dueastotal_cost - total_paid
DELETE
Delete a purchase order payment
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Path Parameters
ID of the purchase order
ID of the payment to delete
Response
Payment deleted successfully
Example:
"Payment deleted successfully"