Invoices
Record a payment on an invoice
Changed onRecords a payment entry on the invoice and marks it sent. Without markPaid, the invoice becomes paid only once its payments cover the total (like the app); a partial payment leaves it awaiting payment. Send markPaid: true or false to decide explicitly. A paid quote becomes a normal invoice.
post/invoices/{id}/record-payment
Request
- Base URLhttps://api.vocal.email/v1
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Payment recorded
Changes
- breaking
added the new required request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking