Stergere factura - celdotro/marketplace GitHub Wiki
About
- Allows the deletion of an invoice
Class
celmarket\Invoices\InvoicesData
Method
removeInvoice
API
- method: orders
- action: deleteOrderInvoice
Parameters
- orders_id = order ID
- series = invoice series
- number = invoice number
Response
An object with the following attributes
- success = 1 -> deletion was successful
Example - PHP
https://github.com/celdotro/marketplace_examples/blob/master/Invoices/2.removeInvoice.php
Postman Documentation
https://documenter.getpostman.com/view/7949575/UzBiQ8zj#6f12a7cf-6c17-4587-b18c-4c35d8a9fd73