跳到内容

FlexExt Company Lookup for GUS

v1.0.6

flexext · 2026年11月26日 上架

Automated Polish NIP lookup, Modulo 11 checksum validation, and company address autofill for checkout forms. HPOS ready.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月27日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

FlexExt Company Lookup for GUS is a lightweight open-source plugin that streamlines B2B checkout for stores operating in Poland.

When a customer enters a 10-digit Polish Tax Identification Number (NIP) and clicks the “Pobierz dane po NIP” (Fetch Company Data) button (or completes typing 10 digits), the plugin validates the NIP checksum locally using the official weighted Modulo 11 algorithm, queries the public Polish Ministry of Finance registry API (wykazpodatnikowvat.mf.gov.pl), and automatically populates the Company Name, Street Address, Postal Code (XX-XXX), and City fields in the checkout form.

Key Features

  • Polish NIP Modulo 11 Validation: Instant client-side and server-side mathematical checksum verification ([6, 5, 7, 2, 3, 4, 5, 6, 7]) to prevent invalid queries.
  • One-Click & Auto-Lookup Company Autofill: Automatically populates Company Name, Street Address, Postal Code, and City in the billing form.
  • Smart Polish Address Parser: Intelligently splits combined single-line official registry address strings into separate street, postal code (XX-XXX), and city fields.
  • HPOS & Checkout Blocks Ready: Full native compatibility with High-Performance Order Storage (custom_order_tables) as well as classic and block-based checkout templates.
  • Order Metadata & Email Integration: Saves the customer’s NIP, registry verification status, and official request identifier in the order metadata and displays the NIP in admin order details, thank-you pages, and order emails.
  • 24-Hour Transients Caching: Caches lookup responses using the WordPress Transients API (configurable duration) to minimize external HTTP requests.
  • Built-in Diagnostics Tool: Test live connectivity with the Polish Ministry of Finance API directly from the admin panel.
  • Pure Vanilla JavaScript: Lightweight frontend script with zero jQuery requirement.

Informacje po polsku / Polish Summary

Wtyczka FlexExt Company Lookup for GUS automatyzuje pobieranie danych polskich firm po numerze NIP w formularzu zamówienia. Waliduje sumę kontrolną 10-cyfrowego numeru NIP (algorytm wagowy Modulo 11), pobiera dane rejestrowe z oficjalnego publicznego API Wykazu Podatników VAT Ministerstwa Finansów (wykazpodatnikowvat.mf.gov.pl) i automatycznie uzupełnia pola: Nazwa firmy, Ulica, Kod pocztowy oraz Miejscowość. Obsługuje pamięć podręczną Transients API oraz tabele zamówień HPOS.

Looking for EU VIES & Advanced Tax Compliance?

For stores selling internationally across the European Union or requiring extended accounting automation, a separate commercial edition (FlexExt Auto-GUS & VIES PRO) is available at flexext.dev with:
* European Commission VIES cross-border VAT ID lookup (DE, CZ, FR, IT, ES, NL, etc.)
* Automated 0% VAT Reverse Charge application for verified EU B2B buyers
* Bank account verification against the Polish White List registry
* Batch bulk NIP & VAT verification in the admin orders list

External services

This plugin connects to one external service: the public VAT taxpayer registry API of the Polish Ministry of Finance (the “White List”, Wykaz podatników VAT), host wykazpodatnikowvat.mf.gov.pl. It is needed to look up the company name, registered address and VAT status of a Polish company by its NIP (tax identification number) and to fill in the checkout form automatically.

  • What is sent and when: only the 10-digit NIP typed by the customer and the current date (YYYY-MM-DD), as an HTTPS GET request to https://wykazpodatnikowvat.mf.gov.pl/api/search/nip/{nip}?date={YYYY-MM-DD}. The request is made only when a customer starts a company lookup in the checkout form (button click or after the 10th digit is typed) or when an administrator runs a test query on the plugin’s Diagnostics tab. Nothing is sent when the plugin is activated or when pages are loaded. No API key and no other customer data are transmitted. The server’s IP address is visible to the service, as with any HTTP request.
  • Returned data: public registry data (company name, registered address, VAT status, request identifier). It is cached in WordPress transients for the configured time and saved in the order metadata after an order is placed.
  • Provider: Ministry of Finance of the Republic of Poland / National Revenue Administration (KAS) – terms of use (official API description with usage conditions and limits), privacy policy and the personal data processing notice of the Head of KAS.
  • API documentation: https://wykazpodatnikowvat.mf.gov.pl/api

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums