Linux 软件免费装
Banner图

Australcode DTE & Stock Sync for Bsale

开发者 australcode
更新时间 2026年7月4日 10:40
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce facturacion electronica sii boleta bsale

下载

3.7.3

详情介绍:

Australcode DTE & Stock Sync makes SII-compliant tax document emission (boletas, facturas, credit notes, dispatch guides) automatic for any WooCommerce store in Chile. Real-time sync of products, stock and prices from Bsale to WooCommerce. The Free version already includes real-time webhook stock updates, credit notes, and on-demand stock audit — with no per-document or per-boleta fees. Mature plugin in production since 2023, now part of the Australcode family. It covers the full lifecycle of a Chilean e-commerce transaction: from product catalog sync to manual or automatic emission of the SII-compliant tax document required for each WooCommerce order. Australcode is an independent developer. This plugin is a third-party integration for Bsale and WooCommerce; it is not affiliated with, endorsed by, or sponsored by Bsale, Defontana SpA, or the WooCommerce/Automattic trademark holders. Free version Everything you need to run a typical Chilean e-commerce store with WooCommerce + Bsale: Pro version Adds workflow automation, multi-warehouse support, and advanced B2B features: Pricing Pro is sold as an annual subscription with 1 site activation per license. Multi-site licenses available. Learn more and purchase at https://bsale.australcode.io Requirements Bsale Bsale is a Chilean SaaS platform for POS, inventory, and electronic tax document emission compliant with SII (Servicio de Impuestos Internos, the Chilean tax authority). It is the de-facto choice for many Chilean small and medium e-commerce businesses to handle their day-to-day operations and tax compliance. This plugin is an unaffiliated third-party integration. "Bsale" is a trademark of its respective owner.

安装:

  1. Upload the plugin folder to /wp-content/plugins/australcode-bsale.
  2. Activate the plugin from the WordPress admin "Plugins" menu.
  3. Navigate to Australcode Bsale → Configuration.
  4. Enter your Bsale API access token (available in your Bsale account).
  5. Select your default office (sucursal) and configure document type preferences.
  6. Configure the Bsale webhook URL in your Bsale account to enable real-time stock updates.
To unlock Pro features, go to Australcode Bsale → Upgrade and complete checkout through Freemius. Your Pro license activates automatically after purchase.

屏幕截图:

  • Configuration page with Bsale API connection, default office, and document type preferences.
  • Order metabox with Bsale document status, PDF link, and re-emit controls.
  • Stock audit interface showing discrepancies between WooCommerce and Bsale.
  • Upgrade page showing the Pro features (Australcode Bsale → Upgrade).

升级注意事项:

3.7.3 Security hardening: late output escaping in admin UI components and a defensive callback guard. No functional change. Safe update for all sites. 3.5.0 New: the Traceability screen opens with an at-a-glance stock-health verdict and a 24-hour reliability sparkline. Backward-compatible, no data changes. Safe update for all sites. 3.4.4 Compatibility fix: resolves a potential PHP 7.4 fatal in webhook handling (str_starts_with is PHP 8.0+). Recommended for any site on PHP 7.4. 3.4.3 Reliability fix: WP-CLI command registration is now null-safe against an unloaded licensing SDK. No functional changes. Safe update for all sites. 3.4.2 Spanish (Chile) polish in the Upgrade panel and status labels, mobile-friendly configuration tables, consistent brand color and motion, plus packaging hygiene. Presentation-only, no functional changes. Safe update for all sites. 3.4.1 Internal cleanup: transactional email styles are now centralized (no functional change; notification emails look the same, with one alert box tweaked to a consistent green). Safe update for all sites. 3.4.0 Fixes a data-loss edge case: saving Settings on a Free/lapsed license no longer clears saved Pro configuration. Also refreshes the Pro upsell on gated multi-control blocks. Recommended for all sites. 3.3.2 Visual consistency polish: residual admin styles now match the Admin Kit's neutrals, radii and motion. Presentation-only, no functional changes. Safe update for all sites. 3.3.1 Minor polish: Settings mapping tables are now mobile-friendly and transactional emails match the Australcode green branding. No functional changes. Safe update for all sites. 3.3.0 Admin UI refresh: all screens now share one consistent Australcode design system. No functional changes — same data, same actions, cleaner and more coherent look. Recommended for all sites. 3.2.0 Pro licensing moved to Freemius (Merchant of Record). Your active Pro license stays valid and all Free/Pro features are unchanged — activation, renewals and account management now use the native Freemius experience. No action required for existing customers. 3.1.4 Reliability release: the Repair-mappings tool preserves 1:N mappings, the Logs screen groups repeated events with a connection shortcut, stock audits resume after interruption, and API pagination gains a runaway safety cap. Recommended for all sites. 3.1.3 Compliance and admin UI polish: clears the WP 6.7 translation-timing notice and a checkout escaping warning, refreshes the admin design (unified headers, redesigned Stock Traceability) and removes decorative emoji. Recommended for all sites. 3.1.2 Product audit now badges private-status products in the unmapped list so they no longer read as problems. Presentation-only, audit coverage unchanged. Safe update for all sites. 3.1.1 Critical follow-up to 3.1.0: product sync no longer creates a spurious mapping to the wrong Bsale variant for simple products mapped to multi-variant items. Recommended for all sites on 3.1.0. 3.1.0 Critical sync fix: simple products mapped to multi-variant Bsale items no longer get the wrong variant stock or price. Also fixes Block-checkout RUT validation, silent transfer-guide failures, duplicate webhook mappings, and partial credit-note matching. 3.0.8 WP.org Plugin Check pass: release ZIP now ships clean (dev artifacts excluded), nonce annotations tightened on WooCommerce checkout reads, Upgrade Notices trimmed to fit display limit. No functional change. 3.0.7 Simplification: the 3.0.6 sku_locked flag is removed. WooCommerce SKU is permanently the matching key and is never overwritten by Bsale. Column dropped automatically. SKU-primary lookup and 1:N propagation preserved. 3.0.6 Behavior change: WooCommerce SKUs are no longer overwritten by Bsale during sync. Manual and scheduled product syncs now propagate to ALL WooCommerce products sharing a Bsale variant SKU (1:N), matching stock/price webhook behavior. 3.0.5 Polish release: dashboard activity table collapses to cards on mobile, completes brand-override cleanup, "Limpiar huérfanos" marked danger-outline, "Última auditoría" stat in monospace, ~40 inline styles extracted. No functional changes. 3.0.4 Polish release: WP.org Plugin Check now reports 0 errors, regenerated .pot, single primary CTA on Products, brand-colored buttons on Traceability, fixed mobile mid-word truncation, and one Spanish string moved to neutral conjugation. No functional changes, no manual steps. 3.0.3 Fixes the rebrand migration so a stored Pro license (and traceability history) is reconnected after upgrading; some sites reverted to free in 3.0.0–3.0.2. Idempotent, automatic, no manual steps. 3.0.2 Ensures the Bsale token and webhook secret are encrypted at rest even on a clean activation (in 3.0.1 this only happened on a version upgrade). Idempotent, no functional changes, no manual steps. 3.0.1 Security + robustness hardening (anti-SSRF on webhook fetch, encrypted Bsale credentials at rest, validated webhook bootstrap, no duplicate documents on retry, API circuit breaker, webhook de-duplication). No functional changes. Recommended before going live. 3.0.0 Rebrand to Australcode Bsale. Existing data migrates automatically and in place on upgrade; the Bsale webhook URL is unchanged, so stock sync keeps working. No manual steps required. 2.53.0 Fixes an emission lock collision so two orders emitting the same document type at the same time no longer block each other. Recommended for high-volume stores. 2.52.0 Introduces Free / Pro split. Free keeps all essentials; Pro adds auto-emission, multi-office and B2B features. If you used Pro-only features before, activate a license to keep them. Your configuration is preserved. 2.51.16 This is a stability and traceability improvement release. Recommended for all users.

常见问题:

Do I need a Bsale account?

Yes, you need an active Bsale account with API access. The plugin connects to your existing Bsale account via API token.

What's the difference between Free and Pro?

Free covers everything a typical Chilean e-commerce store needs: product/stock sync, manual emission of boletas and facturas, RUT validation, single-office stock, on-demand audit, real-time webhook updates. Pro adds workflow automation (auto-emission post-payment, scheduled audits, daily SKU auto-link), multi-warehouse support (multi-office stock aggregation, stock transfer between offices, per-shipping-method routing), and advanced B2B features (custom field mapping, dynamic document attributes, sales notes, automatic credit notes from refunds). The Pro features are distributed as a separate plugin (from australcode.io) and are not included in this free version. See the Pro page for the full comparison.

Can I move from Free to Pro without losing my configuration?

Yes. Your Bsale account connection and general settings (API connection, document types, tax options) are stored independently of the Pro features, so when you move to the Pro version your existing configuration carries over — no re-entry needed.

What happens if I stop using Pro?

The free version is fully functional on its own — it keeps handling product/stock sync and manual emission of boletas and facturas. The Pro features are provided by the separate Pro version and are not part of this free plugin.

Is it compatible with the WooCommerce Block-based Checkout?

Yes, the plugin is compatible with both the Block-based Checkout (WooCommerce 8.0+) and the Classic Checkout. Chilean tax fields (RUT, razón social, giro) are added to both.

Can I emit boleta or factura selectively per order?

Yes. The order metabox allows manual override of the document type per order, useful for B2B orders where the customer requests a factura instead of a boleta. This works in both Free and Pro.

Does the plugin support multiple Bsale offices (sucursales)?

Yes — in Pro. Free supports a single configured office. Pro adds multi-office stock aggregation (sum of available units across selected offices) plus stock transfer modes for inter-office logistics.

What happens if a tax document emission fails?

Failed emissions are logged with the error reason. The order metabox includes a "Re-emit" button to retry manually. The plugin also has an automatic retry mechanism (Pro feature, configurable, opt-in) for transient failures.

Is the plugin HPOS compatible?

Yes, the plugin declares compatibility with HPOS (High-Performance Order Storage) and uses the WooCommerce data abstraction layer for all order operations.

Does the plugin work without Bsale (offline mode)?

No. The plugin is a Bsale integration — it requires an active Bsale account and API access to function. The plugin's value is precisely the bidirectional sync between WooCommerce and Bsale.

How does Pro licensing work?

Pro is sold as an annual subscription through Freemius (Merchant of Record). After checkout your Pro license activates automatically; you can manage, sync or deactivate it from the native Freemius account screen. Freemius re-validates the license periodically while it is active. If Freemius is temporarily unreachable, your Pro features keep working — only an explicit change (refund, revocation, expiration) deactivates them.

Where can I find the plugin's documentation?

Visit https://bsale.australcode.io for plugin documentation, support, and source code.

How does this plugin differ from other plugins that emit Chilean tax documents?

Several plugins issue Chilean boletas or facturas from WooCommerce. Australcode Bsale differs on three concrete points:

  • Open-source under GPLv2 — the full source is on WordPress.org. You can audit, modify or fork it freely. No black box, no proprietary backend.
  • Pro tier sold as an annual subscription via Freemius (Merchant of Record) — no pay-per-document and no per-boleta fees. Predictable cost at any volume.
  • Full bidirectional sync with Bsale — not just emission: also syncs product catalog, multi-office stock, prices, stock audit ledger and movement traceability. Mature plugin in production since 2023.

How much does Pro cost?

Pro is sold as an annual subscription with one site activation per license. Multi-site licenses (3, 10, 25 sites) are also available. Current pricing is on bsale.australcode.io.

更新日志:

3.7.3 3.7.2 3.6.1 3.6.0 3.5.0 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.2 3.3.1 3.3.0 3.2.0 3.1.5 — 2026-06-13 3.1.4 — 2026-06-05 3.1.3 — 2026-06-04 3.1.2 — 2026-06-01 3.1.1 — 2026-05-31 3.1.0 — 2026-05-31 Live-QA remediation against a Bsale DEMO account surfaced pre-existing bugs; this release fixes the critical and high-severity ones. 3.0.8 — 2026-05-26 3.0.7 — 2026-05-26 3.0.6 — 2026-05-26 3.0.5 — 2026-05-26 3.0.4 — 2026-05-25 3.0.3 — 2026-05-22 3.0.2 — 2026-05-22 3.0.1 — 2026-05-22 3.0.0 — 2026-05-22 2.53.0 — 2026-05-21 2.52.0 — 2026-05-19 2.51.16 — 2026-05-18 2.51.15 — 2026-05-18 2.51.14 — 2026-05-16 2.51.13 — 2026-05-14 2.51.12 — 2026-05-14 2.51.11 — 2026-05-14 2.51.10 — 2026-05-14 2.51.9 — 2026-05-14 2.51.8 — 2026-05-14 2.51.7 — 2026-05-14 2.51.6 — 2026-05-14 2.51.0 — 2026-05-13 2.50.4 — 2026-05-13 2.50.3 — 2026-05-12 2.50.2 — 2026-05-11 2.50.1 — 2026-05-10 2.50.0 — 2026-05-09 2.49.0 — 2026-05-08 2.48.1 — 2026-05-07 2.48.0 — 2026-04-29