Actions69
- 👤 Customer Actions
- 🛍️ Product Actions
- 📄 Customer Invoice Actions
- 💰 Quote Actions
- 🏢 Supplier Actions
- 📥 Supplier Invoice Actions
- 🏦 Bank Account Actions
- 💸 Transaction Actions
- 💰 Payment Actions
- 💳 SEPA Mandate Actions
- 🔄 GoCardless Mandate Actions
- 📓 Journal Actions
- 📈 Ledger Account Actions
- 📋 Ledger Entry Actions
- 📑 Ledger Entry Line Actions
- 📎 Ledger Attachment Actions
- ⚖️ Trial Balance Actions
- 📅 Fiscal Year Actions
- 🏷️ Category Actions
- 📦 Category Group Actions
- 🔄 Billing Subscription Actions
- 📋 Invoice Lines Actions
- 📎 Invoice Appendices Actions
- 📎 File Attachment Actions
- 📄 Commercial Document Actions
- ⚡ E-Invoice Create (Import) Actions
- 👤 User Profile Actions
👤 Customer → Delete
AI-generatedSummary
Deletes a customer invoice draft or SEPA mandate; not supported for customer resources and throws an error.
Inputs
- customerSelectionMode — Choose how to select the customer. Options: Select from List (list) or Enter Custom ID (manual). Default: list.
- customerId (required) — Select the customer from the list (if selection mode is list) or enter the customer ID manually (if selection mode is manual). Type switches between options (loaded via getCustomers) and string depending on selection mode.
Output shape
Error object thrown before API request; no successful deletion or return data.
Although the UI declares customer selection parameters for the delete operation, the source code restricts delete to customerInvoice (drafts) and sepaMandate resources only. Attempting to delete a customer throws: 'Delete operation not supported for customer. Supported resources: customerInvoices, sepaMandates.'
