Invoices
Void an invoice
Void an invoice.
post/invoices/{invoice_id}/void
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoice_idstring required
ID of the invoice to void
Response
An object representing an invoice.
Example response
{
"id": "PMMlaE5wbg0",
"merchant_id": "MER456789",
"source": "MERCHANT_USER",
"order_number": "5055",
"number": "Inv # 123",
"po_number": "PO-555",
"notes": "Example of additional notes for Customer.",
"line_items": [],
"merchant_invoice_url": "https://www.example.com/invoice.pdf",
"resolve_invoice_url": "https://www.example.com/resolve-invoice.pdf",
"resolve_invoice_status": "completed",
"fully_paid": true,
"fully_paid_at": "2020-01-01T00:00:00.730Z",
"due_at": "2020-02-01T00:00:00.750Z",
"original_due_at": "2020-02-01T00:00:00.750Z",
"invoiced_at": "2020-01-01T00:00:00.750Z",
"amount_payout_due": 4000,
"amount_payout_paid": 2000,
"amount_payout_pending": 1000,
"amount_payout_refunded": 500,
"amount_payout_balance": 500,
"payout_fully_paid_at": "2020-01-02T00:00:00.730Z",
"amount_balance": 2000,
"amount_due": 4000,
"amount_pending": 1000,
"amount_paid": 1000,
"amount_advance": 4000,
"amount_additional_advance": 1000,
"amount_advance_fee": 10.75,
"amount_advance_fee_refund": 10.75,
"advance_rate": 0.75,
"advanced_at": "2020-01-02T00:00:00.730Z",
"amount_customer_fee_total": 500,
"amount_customer_fee_waived": 120,
"amount_customer_fee_paid": 300,
"amount_customer_fee_balance": 80,
"created_at": "2020-01-02T00:00:00.730Z",
"updated_at": "2020-01-02T00:00:00.730Z",
"invoice_payment_url": "https://app.resolvepay.com/merchant/invoices/PMMlaE5wbg0",
"sent_at": "2020-01-01T00:00:00.730Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.