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>
]
}
Parameters | Description |
---|---|
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
Property | Description |
---|---|
ac_numero |
Id of the booking method |
ac_texte |
Description of the booking method |
ac_cptvnt |
Sales account of the booking method |
SalesVatRate | Sales 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_vptach | Purchases account of the booking method |
PurchasesVatRate | Purchases 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 |