Skip to main content
Skip table of contents

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
It is the “Natura IVA”. Allowed values are:

  • N1 → *ES Esenti

  • N2 → *EE Escluse ex art 15

  • N3 → *NS Non soggette

  • N4 → *NI Non imponibili

  • N5 → *RM Regime del margine

  • N6 → *AL Altro non IVA

3

SalesType

<string>

Yes

The type of sale that will be linked to the department.

Allowed values:

  • Service

  • Product

3

EACode

<string>

No

The code assigned to the “Economic Activity”.

Italy
ATECO code

3

EADescription

<string>

No

The Economic Activity description

3

EAVatMode

<integer>

No

0 = Normal VAT Mode

Italy
1 = Ventilazione IVA

Response:

Standard Response

Example

Request

XML
<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

XML
<ReceiptPrinterManagerResponse>
  <Error>False</Error>
  <ErrorText/>
  <LogFileName>C:\LogFiles\FiscalPrinter\TKRP_EPSFPNAT_20_XXX-001_20201205.log</LogFileName>
</ReceiptPrinterManagerResponse>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.