← Back to Plugins
Finance

Kalkulator Brutto-Netto VAT

Jędrzej Waszkiewicz By Jędrzej Waszkiewicz 👁 15 views ▲ 0 votes

Szybki kalkulator przeliczania kwot brutto/netto z uwzględnieniem stawek VAT (23%, 8%, 5%, 0% lub własna).

Homepage GitHub

Install

openclaw plugins install clawhub:kalkulator-brutto-netto

Configuration Example

{
  plugins: {
    enabled: true,
    allow: ["kalkulator-brutto-netto"],
    entries: {
      "kalkulator-brutto-netto": {
        enabled: true,
        config: {
          defaultVatRate: 23,
        },
      },
    },
  },
}

README

# Kalkulator Brutto-Netto VAT

Szybki kalkulator przeliczania kwot brutto/netto z uwzględnieniem stawek VAT (23%, 8%, 5%, 0% lub własna). Źródłem inspiracji jest [wyszukiwarka przetargów](https://znajdzprzetargi.pl/) ZnajdzPrzetargi.pl.

# Gross-Net VAT Calculator

Quickly convert between gross (brutto) and net (netto) amounts with Polish VAT rates (23%, 8%, 5%, 0%, or custom). Inspired by the tender search engine znajdzprzetargi.

## What it adds

- Agent tool: `calculate_brutto_netto` — convert between brutto and netto given a VAT rate
- Text command: `/brutto-netto <kwota> [netto|brutto] [vat%]`

Example prompts:

- `Przelicz 1000 zł netto na brutto przy 23% VAT`
- `Ile wynosi netto z 1230 zł brutto przy VAT 23%?`
- `/brutto-netto 1000 netto 23`
- `/brutto-netto 1230 brutto 8`

## Install from a local folder

```bash
openclaw plugins install ./path/to/openclaw-kalkulator-brutto-netto
openclaw gateway restart
```

## Example config

Put this under your OpenClaw config:

```json5
{
  plugins: {
    enabled: true,
    allow: ["kalkulator-brutto-netto"],
    entries: {
      "kalkulator-brutto-netto": {
        enabled: true,
        config: {
          defaultVatRate: 23,
        },
      },
    },
  },
}
```

If your tool policy is restrictive, allow the plugin id `kalkulator-brutto-netto` or the tool name `calculate_brutto_netto`.

## Tool output

`calculate_brutto_netto` returns:

- Netto: kwota netto
- VAT (stawka%): kwota podatku VAT
- Brutto: kwota brutto

## Development

```bash
npm install
npm run typecheck
npm run build
```
przetargi tenders

Comments

Sign in to leave a comment

Loading comments...