> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-version-release-notes/october-2026/payroll/payroll-setups/setup-expressions-for-allowance-deduction-calculation.md).

# Setup Expressions for Allowance/Deduction Calculation

Logic ERP has made **Setup Expressions for Allowance/Deduction Calculation** available on the web. This is where the formulas that work out allowances and deductions in payroll are kept, each under its own name.

***

### **What's new**

* **On the web** - add, change and delete expressions in the browser, as on the desktop. Type in the **EXPRESSION VALUE** cell, or double-click it, to open the **Script Editor**.
* **Full formula under the grid** - the box under the grid, headed by the row's **CONFIGURATION NAME**, shows the whole formula of the row you are on.
* **The improved Script Editor** - **Convert to VB.NET**, **Check & Fix**, protected formulas and kept layout, as described for **Setup Journal Voucher Templates** in this release. Payroll formulas written in VBScript should be converted to VB.NET so that they also work on the web and in the 64-bit version.

***

### **What's corrected**

* After the message that a name already exists, the cursor now goes to **CONFIGURATION NAME**.
* The screen opens faster when there are many expressions.

***

For more detailed information, [Click Here](/logic-erp-learning-hub-tutorials-and-best-practices/payroll/payroll-setups/setup-expressions-for-allowance-deduction-calculation.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-version-release-notes/october-2026/payroll/payroll-setups/setup-expressions-for-allowance-deduction-calculation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
