Documentation

crm.invoice.delete

crm.invoice.delete(id)

Deletes the specified invoice.

Parameters

Parameter Description
id Invoice ID.

Example

var id = prompt("Enter ID");
BX24.callMethod(
                "crm.invoice.delete",
                { "ID": id },
                function(result)
                {
                    if(result.error())
                        console.error(result.error());
                    else
                        console.info(result.data());
                }
                );

© «Bitrix24», 2001-2022
Up