Actions68
- Account Actions
- Bank Account Actions
- Code List Actions
- Contact Actions
- Event Actions
- Invoice Actions
- Ledger Actions
- Order Actions
- Tax Report Actions
- Tax Report Setting Actions
- Transport Actions
- Web Hook Actions
Invoice → Delete
AI-generatedSummary
Delete an invoice by its ID from the selected B2Brouter API environment.
Inputs
- Environment (required) — Select the B2Brouter API environment to send the request (Test or Live). Defaults to Test (Staging).
- Invoice ID (required) — The ID of the invoice to delete.
Output shape
a confirmation JSON object indicating success
Returns a JSON object with a single property 'success' set to true on successful deletion. Throws an error if deletion fails.
Examples
Example 1: Successfully deleting an invoice
Set Environment to 'Test' or 'Live'. Enter the Invoice ID of the invoice to delete. Execute the node to delete the invoice.