Set Printer Departments [SETDEPTTABLE]
Method Name: SETDEPTTABLE
Allows to program the fiscal printer departments
Request:
Level | Node Name | Node Value(s) | Mandatory | Notes |
---|---|---|---|---|
0 | DeptTable | Yes | ||
1 | DEPT | Yes | This node is repeated for each department | |
2 | Code | <integer> | Yes | The department code. |
3 | Description | <string> | Yes | The department description |
3 | VATCode | <string> | Yes | The VAT code. If a VAT percentage, the code is the percentage itself, with 2 decimals, without decimals separator [e.g. 2200]. If a VAT exemption, the code is different by country. Italy
|
3 | SalesType | <string> | Yes | The type of sale that will be linked to the department. Allowed values:
|
3 | EACode | <string> | No | The code assigned to the “Economic Activity”. Italy |
3 | EADescription | <string> | No | The Economic Activity description |
3 | EAVatMode | <integer> | No | 0 = Normal VAT Mode Italy |
Response:
Standard Response
Example
Request
<ReceiptPrinterManager Version="1.0">
<Method>SETDEPTTABLE</Method>
<DeptTable>
<DEPT>
<Code>01</Code>
<Description>Articolo 22% Ateco1</Description>
<VATCode>2200</VATCode>
<SalesType>Product</SalesType>
<EACode>111111</EACode>
<EADescription>Ateco1</EADescription>
<EAVATMode>0</EAVATMode>
</DEPT>
<DEPT>
<Code>02</Code>
<Description>Articolo 10% Ateco1</Description>
<VATCode>1000</VATCode>
<SalesType>Product</SalesType>
<EACode>111111</EACode>
<EADescription>Ateco1</EADescription>
<EAVATMode>0</EAVATMode>
</DEPT>
</DeptTable>
</ReceiptPrinterManager>
Response
<ReceiptPrinterManagerResponse>
<Error>False</Error>
<ErrorText/>
<LogFileName>C:\LogFiles\FiscalPrinter\TKRP_EPSFPNAT_20_XXX-001_20201205.log</LogFileName>
</ReceiptPrinterManagerResponse>