Documentation

crm.invoice.delete

Scope: catalog Permissions to execute: for all

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-2024