salesInvoices->delete($invoiceId); echo "

Sales invoice deleted with ID: " . \htmlspecialchars($invoiceId) . "

"; } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . \htmlspecialchars($e->getMessage()); }