• Модуль интеграций
  • Сообщество
  • Блог
Документация
Плагины и интеграцииВсе расширения для Medusa от сообществаСтартерыЗапускайте проекты быстрее с готовыми решениями
ЭкспертыПодберите специалиста для разработки и развития вашего проекта на MedusaКейсыПосмотрите примеры Medusa в продакшене и успешные внедрения
Т-Касса от Т-Банка для Medusa: приём платежей для РФ

16 октября 2026 г. · Продукт

Gorgo снижает затраты на адаптацию Medusa к локальным рынкам.

Мы разрабатываем плагины интеграции, осуществляем поддержку и развиваем сообщество разработчиков на Medusa в Telegram.

  • Ресурсы Medusa
  • Плагины и интеграции
  • Модуль интеграций
  • Стартеры
  • Эксперты
  • Кейсы
  • Medusa Чат в Telegram
  • Medusa Новости в Telegram
  • Документация Gorgo
  • Связаться с нами
  • TelegramGitHub
Плагины
V

Vat whitelist

VAT Whitelist от Koda Plus для Medusa проверяет польский NIP по белому списку Министерства финансов (biala lista), а номера VAT стран ЕС по VIES. Среди возможностей статус VAT, банковские счета для раздельного платежа (split payment), список контрагентов с повторными проверками и история проверок.

npm install @koda-plus/medusa-plugin-vat-whitelist
Категория
Другое
Создано
Koda-plus
Версия
0.1.0
Последнее обновление
1 неделю назад
Ежемесячные загрузки
Загрузка данных
Звезды на Github
0
npmNPMGitHubGithub

VAT Whitelist by Koda Plus

Verify a Polish NIP against the Ministry of Finance whitelist (the biala lista), EU VAT numbers against VIES, and the REGON and legal form against the GUS Business Registry, right where the store is run. The VAT status, the bank accounts for split payment, the legal form, a counterparty list with re-checks, the check history and the registration form's preview, without another tool to log in to.

Every B2B store in Poland must check who it sells to: an active VAT payer on the whitelist, with a bank account that the registry confirms. This plugin keeps the checks, the answers and the audit trail in the Medusa admin, fills the registration form from the NIP, and shows the logged-in customer the status of their own company.

Live demo: Medusa admin medusa.koda.plus/app/whitelist, signed in to a public demo account by the link itself. Demo mode answers with simulated registry data, so the public demo never calls the registries.

What it does

  • Polish NIP against the whitelist: the VAT status (Czynny, Zwolniony, Niezarejestrowany), the taxpayer's name and address, and the bank accounts, from the Ministry of Finance API.
  • EU VAT numbers against VIES: the validity, name and address of the business, through the VIES REST API.
  • The GUS Business Registry: the REGON number and the legal form of the company, next to the whitelist answer. In demo mode the answer is simulated; in real mode it needs a free BIR 1.1 API key ().
  • Counterparties: one row per number with the latest merged answer, refreshed by a re-check; the NIP links to the customer when the check was about their company.
  • Check history: every run per registry kept as the audit trail, never changed.
  • The registration preview: a public, rate limited route pulls the company card from the NIP before sign-up, so the registration form fills the company name by itself.
  • The customer's own status: a logged-in customer sees and refreshes the status of their company NIP through the store API.

Features

  • One page in the admin: the check form with the full company card of the answer, the counterparties with their states and the check history, in English and Polish.
  • The format decides the registry: a 10-digit Polish NIP goes to the whitelist (and GUS, when the key is set), anything that looks like an EU VAT number (two letters and a number) goes to VIES. Invalid numbers answer without a network call.
  • Caching and freshness: an answer stays valid for (default 24), the panel marks stale counterparties and a re-check asks the registry again.
  • Split payment: the registry's bank accounts are kept per counterparty, so an invoice can carry the account the whitelist confirms.
  • Demo mode (): checks answer with simulated data, flagged , and nothing leaves the server. Only ever on with , never because a key is missing.
  • Store API for the logged-in customer: (their status, reads only) and (a fresh check of their own NIP).

Requirements

  • Medusa 2.12 to 2.21 and Node.js 20+ (see Compatibility).
  • Postgres, as every Medusa store has.
  • Outbound HTTPS to the Ministry of Finance whitelist API and to VIES (nothing is needed in demo mode).

Installation

Yarn and pnpm work the same way: or .

Configuration

Add the plugin to :

Run the migrations, then open Whitelist in the admin sidebar:

npx medusa db:migrate

The migration creates two tables of the module: and .

Options

Every option has a default, so the plugin starts without any.

  • demo (boolean, default ): demo mode. Checks answer with simulated registry data (including a simulated GUS answer), flagged .
  • baseUrl (string, default ): the base URL of the whitelist API, for a proxy or a mirror.
  • staleHours (number, default 24): a check of the same number is repeated after this many hours without asking the registry again. 0 always asks.
  • gusApiKey (string, default none): the BIR 1.1 API key of the GUS Business Registry. Without it the GUS check is skipped in real mode.

Admin API

  • - the counterparties, the latest checks and the counters.
  • - checks a number (), asks the whitelist and GUS, creates or refreshes the counterparty and appends the checks.
  • - re-checks a counterparty.

Store API

  • - the logged-in customer's own counterparty, from the company NIP in their profile. Reads only.
  • - a fresh check of the customer's own NIP, linked to their account.
  • - the registration form's check: the company card from the NIP, before sign-up, without saving. Public, rate limited per address.

Compatibility

Medusa 2.12 through 2.21. The admin extension mounts through the Medusa admin SDK; the plugin's admin libraries are optional peers, so the app keeps the dashboard's own copies.

License

MIT

Еще в этой категории

Посмотреть все
Другое
Gati logo

Gati

От Devx Commerce

Синхронизируйте Medusa с Gati ERP

Загрузка данных
npm
Другое
Product Reviews logo

Product Reviews

От Lambda Curry

Добавляйте рейтинги, отзывы и модерацию товаров

Загрузка данных
GitHubnpm
Другое
Variant Images logo

Variant Images

От Betanoir

Организуйте и загружайте варианты изображений в Medusa

Загрузка данных
GitHubnpm

Еще от этого автора

Посмотреть все
Уведомления
E

Emails

От Koda-plus

Транзакционные письма для Medusa от Koda Plus, отправляемые через Resend. Есть готовые шаблоны на польском и английском языках (подтверждение заказа, отправка заказа с отслеживанием, отмена, приветствие, сброс пароля, брошенная корзина), тёмная тема, живой предпросмотр и тестовая отправка.

Загрузка данных
GitHubnpm
Доставка
I

Inpost

От Koda-plus

Провайдер фулфилмента InPost от Koda Plus для Medusa на базе InPost ShipX API. Поддерживает постаматы Paczkomat и курьерскую доставку InPost с наложенным платежом и предлагает четыре опции. Отправления создаются только по плану, который вы сначала просматриваете (по умолчанию выключено).

Загрузка данных
GitHubnpm
Другое
O

Olx

От Koda-plus

Плагин Koda Plus для Medusa привязывает объявления OLX к товарам по SKU, оповещает о расхождениях между OLX и магазином, показывает статистику объявлений и непрочитанные сообщения. Операции записи включаются отдельно. Они снимают объявления с публикации и возвращают их по остаткам, обновляют цены и публикуют товары.

Загрузка данных
GitHubnpm
npm install @koda-plus/medusa-plugin-vat-whitelist
1module.exports = defineConfig({
2 // ...
3 plugins: [
4 {
5 resolve: "@koda-plus/medusa-plugin-vat-whitelist",
6 options: {
7 // Everything is optional.
8 staleHours: 24,
9 demo: process.env.WHITELIST_DEMO === "true",
10 },
11 },
12 ],
13})