Documentation

catalog.vat.getFields

Scope: catalog Permissions to execute: for all

catalog.vat.getFields()

The method returns tax fields.

Parameters

No parameters.

Examples

BX24.callMethod(
    'catalog.vat.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});

Returned fields

Field DescriptionTypeNote
active Activity.char
id Identifier.integerRead only.
name Name.stringRequired field.
rate VAT rate amount.doubleRequired field.
sort Sorting.integer
timestampX Date updated.datetime


© «Bitrix24», 2001-2024