Skip to content

Conversation

@FrancescoMataloniFiskaltrust
Copy link
Contributor

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

fixes the department associations with the established VAT rates in the interface to match the default configuration of the Epson printer

@github-actions
Copy link

SCU.IT Test Results

 8 files   8 suites   1s ⏱️
14 tests  9 ✅  5 💤 0 ❌
28 runs  18 ✅ 10 💤 0 ❌

Results for commit 88e0040.

@volllly volllly added category-bug Something isn't working market-it Related to the italian market scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU labels Jul 23, 2025
@volllly volllly added this to the v1.3.75 milestone Jul 23, 2025
@volllly volllly added the meta-needs-release-notes Work that should be called out in the release notes due to impact label Jul 23, 2025
@StefanKert StefanKert removed this from the v1.3.75 milestone Aug 20, 2025
@danielscainifiskaltrust

If i do a XReport through this command:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>



</s:Body>
</s:Envelope>
I obtain a list of all IVA. I see (in this order):
IVA 22.0%
IVA 10.0%
IVA 4.0%
IVA 5.0%
NATURA N2
NATURA N4

I tried to do:

{
  "ftCashBoxID": "{{cashbox_id}}",
  "cbTerminalID": "124",
  "cbReceiptReference": "INVOICE_0000082",
  "cbReceiptMoment": "2025-11-18T13:03:34.627",
  "cbChargeItems": [
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 0",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523296,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    },
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 1",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523297,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    },
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 2",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523298,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    },
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 3",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523299,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    },
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 4",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523300,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    },
    {
      "Quantity": 1,
      "Description": "COMMAND V - VAT 4",
      "Amount": 10,
      "VATRate": 3,
      "ftChargeItemCase": 5283883447184523303,
      "ftChargeItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "ProductGroup": "",
      "ProductNumber": "",
      "ProductBarcode": "",
      "Unit": "",
      "Moment": "2025-11-18T13:03:34.739"
    }
  ],
  "cbPayItems": [
    {
      "Quantity": 1,
      "Description": "CASH",
      "Amount": 60,
      "ftPayItemCase": 5283883447184523265,
      "ftPayItemCaseData": "",
      "AccountNumber": "",
      "CostCenter": "",
      "MoneyGroup": "",
      "MoneyNumber": "",
      "Moment": "2025-11-18T13:03:34.778"
    }
  ],
  "ftReceiptCase": 5283883451479490561,
  "cbUser": "Gerardine",
  "cbPreviousReceiptReference": ""
}

And it moved ahead:
VAT 0 => NATURA N4
VAT 1 => 10%
VAT 2 => 4%
VAT 3 => 22%
VAT 4 => 5%
VAT 7 => NATURA N4

@StefanKert
Copy link
Member

Closing this PR since we will tackle this in a cleanup of the vat mapping

@StefanKert StefanKert closed this Jan 9, 2026
auto-merge was automatically disabled January 9, 2026 08:37

Pull request was closed

@StefanKert StefanKert deleted the fma-epsondepartmentfix branch January 9, 2026 08:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

category-bug Something isn't working market-it Related to the italian market meta-needs-release-notes Work that should be called out in the release notes due to impact scu-it-epsonrtprinter Related to the italian EpsonRTPrinter SCU

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants