Documentation

catalog.vat.add

Scope: catalog Permissions to execute: for all

catalog.vat.add(fields)

Method adds a VAT rate.

Parameters

ParameterType Description
fieldsobject Fields, matching to available list of fields.

Examples

BX24.callMethod(
    'catalog.vat.add', 
	{
        fields: {
			  name: "Tax 13%",
			  rate: 13,
			  sort: 10,
			  active: "Y"
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

© «Bitrix24», 2001-2024