Void an invoice
Withdraw it. Its link stops accepting payment and reminders stop.
Withdraw it. Its link stops accepting payment and reminders stop.
Authorization
OAuth2PasswordBearer In: header
Path Parameters
uuidCookie Parameters
Response Body
application/json
application/json
curl -X POST "https://example.com/api/b/v1/invoices/497f6eca-6276-4993-bfeb-53cbbbba6f08/void"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": "string", "customer_name": "string", "customer_email": "string", "currency": "string", "subtotal_minor": 0, "tax_minor": 0, "total_minor": 0, "paid_minor": 0, "outstanding_minor": 0, "state": "draft", "due_date": "2019-08-24", "notes": "string", "sent_at": "2019-08-24T14:15:22Z", "paid_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "payment_link_slug": "string", "lines": [], "reminders": []}Send an invoice POST
Issue it and make it payable — AC 1. Returns the payment link slug, which is what the customer opens.
What has been paid against this invoice GET
Both sources in one list, newest first. "What paid this?" is one question, so it gets one answer. A business chasing a discrepancy should not have to know that an online payment is a charge and a bank transfer is not — though `source` says which, for anyone who does. Only settled, non-test payments appear, so the rows always add up to `paid_minor`. A pending charge has paid nothing yet, and listing it would create exactly the discrepancy this is meant to explain.