frequently asked questions

All your questions in one place.

CptMod

This method returns all the booking methods. The result can be limited to the method used in the creditor tab of the addresses.

 

Body - raw:

{

        "Method": "CptMod",

        "Parameters": [

                <cFilter>

       ]

}

 

ParametersDescription
cFilter

The filter that can be applied to booking methods. The possible values are:

all or [empty value]: returns all the booking methods;

creditor: returns the booking methods used in the addresses.

 

Example:

*/ Returns all the booking methods.

{

        "Method": " CptMod ",

        "Parameters": [

       ]

}

 

{

        "Method": " CptMod ",

        "Parameters": [

                "all"

       ]

}

 

*/ Returns all the booking methods used in addresses.

{

        "Method": " CptMod ",

        "Parameters": [

                "creditor"

       ]

}

CLASS RETURNED

PropertyDescription
ac_numeroId of the booking method
ac_texteDescription of the booking method
ac_cptvntSales account of the booking method
SalesVatRateSales Vat Rate
SalesVatType

Vat Type of the Sales

0-1 - No Vat

2 - Due Vat

3 - Input Vat

4 - Not sujbect to Vat

SalesVatIncluded

Is the Vat Included?

0-1 - Vat included

2 - Vat not included

ac_vptachPurchases account of the booking method
PurchasesVatRatePurchases Vat Rate
PurchasesVatType

Vat Type of the Purchases

0-1 - No Vat

2 - Due Vat

3 - Input Vat

4 - Not sujbect to Vat

PurchasesVatIncluded

Is the Vat Included?

0-1 - Vat included

2 - Vat not included

Did you find this article useful?

0 out of 0 found this helpful