Kurs średni NBP
nbp_kursFetches the average NBP exchange rate for a currency from table A. Set dla_faktury to get the rate from the last business day before a given date for VAT invoices and costs.
Instructions
Kurs średni waluty z tabeli A NBP. Z parametrem 'dla_faktury' zwraca kurs z ostatniego dnia roboczego PRZED podaną datą (zasada dla VAT i kosztów).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | RRRR-MM-DD; domyślnie najnowszy kurs | |
| waluta | Yes | Kod waluty, np. EUR, USD, GBP | |
| dla_faktury | No | true = kurs z dnia roboczego poprzedzającego datę |