Title: Digital Buho &#8211; Facturalo Perú
Author: digitalbuho
Published: <strong>December 1, 2026</strong>
Last modified: December 1, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/facturacion-digital-buho.svg)

# Digital Buho – Facturalo Perú

 By [digitalbuho](https://profiles.wordpress.org/digitalbuho/)

[Download](https://downloads.wordpress.org/plugin/facturacion-digital-buho.3.1.3.zip)

 * [Details](https://wordpress.org/plugins/facturacion-digital-buho/#description)
 * [Reviews](https://wordpress.org/plugins/facturacion-digital-buho/#reviews)
 *  [Installation](https://wordpress.org/plugins/facturacion-digital-buho/#installation)
 * [Development](https://wordpress.org/plugins/facturacion-digital-buho/#developers)

 [Support](https://wordpress.org/support/plugin/facturacion-digital-buho/)

## Description

Digital Buho connects your WooCommerce store to the Facturador PRO API so you can
issue
 electronic invoices to SUNAT (Peru) directly from the orders screen.

**Main features**

 * Send invoices and receipts to SUNAT from the WooCommerce orders screen.
 * Bulk sending through actions on the orders list.
 * Order metabox with the document status and links to XML, PDF, and CDR.
 * DNI/RUC holder lookup during checkout.
 * DNI/RUC field at checkout with RUC check-digit validation.
 * Stock and price synchronization against the API, by SKU and by location.
 * City-based shipping zones for WooCommerce (Peru).
 * Settings panel under WooCommerce: API token, API URL, and invoice and receipt
   series.

**Bundled third-party code**

This plugin includes code distributed under GPL-compatible licenses:

 * **WC – APG NIF/CIF/NIE Field**, by Art Project Group — checkout document field,
   
   trimmed to the Peruvian scope (DNI and RUC). https://wordpress.org/plugins/wc-
   apg-nifcifnie-field/
 * **Cities Shipping Zones for WooCommerce** — city-based shipping zones. Only the
   
   Peruvian ubigeo is included. https://wordpress.org/plugins/cities-shipping-zones-
   for-woocommerce/

### External services

This plugin connects to **one external service: an electronic invoicing API compatible
with Facturador PRO**. The store administrator enters the API base URL and the access
token in **WooCommerce  Facturación Búho  Configuración**. The plugin only contacts
the address entered there; the example `https://demo.facturalo.pro/api/` shown in
the settings screen is only a placeholder and is never contacted unless an administrator
saves it. Without a URL and a token the plugin makes **no external connection**.

The service is provided by **Digital Buho SAC** (FacturaloPeru brand) when you use
its invoicing platform. If the administrator configures the API of another provider,
the data below is sent to that provider instead, and that provider’s own terms and
privacy policy apply.

Requests made by the plugin (all sent from the store’s server, never from the visitor’s
browser, with the token in the `Authorization` header):

 1. **Issue a document** — `POST {API URL}documents`. Sent when an administrator clicks“
    Send to SUNAT” on an order or uses the bulk action on the orders list. Data: customer
    name or company name, DNI/RUC, billing address, city, state, phone, email, document
    type and series, order lines (description, SKU, quantities, prices, taxes) and 
    totals, and payment method. The API forwards the document to SUNAT.
 2. **Look up a DNI or RUC** — `GET {API URL}service/dni/{number}` or `service/ruc/{
    number}`. Sent when a customer leaves the DNI/RUC field at checkout. Data: only
    the document number (the customer’s browser talks to the store; the store’s server
    calls the API).
 3. **Synchronize stock** — `GET {API URL}items/export/stock`. Sent when an administrator
    clicks “Sincronizar stock” in the products list. No customer data is sent; the 
    response contains product SKUs and stock.

There are no scheduled or background submissions.

 * **Provider:** Digital Buho SAC — https://buho.la
 * **Terms of service:** https://buho.la/terminos
 * **Privacy policy:** https://buho.la/politicas-de-privacidad

The plugin also adds suggested text to the WordPress privacy policy guide (Settings
Privacy).

## Installation

 1. Install and activate WooCommerce.
 2. Upload the plugin folder to `/wp-content/plugins/` or install it from the WordPress
    dashboard.
 3. Activate the plugin from the **Plugins** menu.
 4. Go to **WooCommerce  Facturación Búho** and enter the token, the API base URL
     (
    ending in `/api/`), and the invoice and receipt series.
 5. In the **DNI · RUC Field** tab, check that the document field appears at checkout.

## FAQ

### Do I need a Facturador PRO account?

Yes. The plugin is a bridge to that API: you need a valid token and the URL of your
instance.

### Does it work without WooCommerce?

No. WooCommerce is required; the plugin reads the orders generated by WooCommerce.

### What documents does it issue?

Invoices and receipts, depending on the customer’s document type and the order configuration.

### Does it work for other countries?

No. The plugin is designed exclusively for Peru and SUNAT: it validates 8-digit 
DNI and
 11-digit RUC with its check digit, and includes the Peruvian ubigeo.

### How does it validate the RUC?

It checks that it has 11 digits, starts with a valid taxpayer type (10, 15, 16, 
17, or 20),
 and that the check digit matches using modulo 11.

### Are documents sent automatically?

No. Sending is done manually from the order or through the bulk action on the orders
list.

### Is it compatible with HPOS (High-Performance Order Storage)?

Yes. The plugin declares compatibility with HPOS and the WooCommerce block checkout.

### What happens to issued documents if I uninstall the plugin?

Data for documents already issued is kept in the orders: it is a tax record. Uninstalling

only deletes the plugin settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Digital Buho – Facturalo Perú” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ digitalbuho ](https://profiles.wordpress.org/digitalbuho/)

[Translate “Digital Buho – Facturalo Perú” into your language.](https://translate.wordpress.org/projects/wp-plugins/facturacion-digital-buho)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/facturacion-digital-buho/),
check out the [SVN repository](https://plugins.svn.wordpress.org/facturacion-digital-buho/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/facturacion-digital-buho/)
by [RSS](https://plugins.trac.wordpress.org/log/facturacion-digital-buho/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.1.3

 * Security: the public shipping-zone AJAX action (`digibufa_csz_match_shipping_zone`)
   now requires a nonce and only accepts a shipping country and state that exist
   in the store before updating the customer session.
 * Security: every form read in the shipping-zones module verifies its own nonce
   and capability first (WooCommerce settings, product data, and a new nonce field
   on the add-to-cart form).
 * Security: checkout fields (document type and DNI/RUC) are read only after verifying
   the WooCommerce checkout nonce; the admin customer-details filter checks the 
   nonce and the `edit_shop_orders` capability.
 * Fix: the DNI/RUC field is registered with its label in the Checkout block (no
   more “The field label is required” notice).
 * New: “Prices include IGV” setting (on by default). When WooCommerce did not calculate
   tax on an order, the 18% IGV is split out of the price and the sale is declared
   as taxed instead of exempt.
 * Fix: the “local pickup” branch of the shipping-zone lookup now works (variable
   typo).

#### 3.1.2

 * Security: all form input in the shipping-zones module is now sanitized with `
   sanitize_text_field()` after `wp_unslash()`, and product distance fields are 
   saved only for users who can edit the product.
 * Compliance: the Peru cities data file uses `digibufa_`-prefixed variables and
   is loaded through a function, so nothing leaks into the global scope.
 * Performance: the dashboard document counters now run a COUNT query instead of
   loading every order ID.

#### 3.1.1

 * Compliance: inline `<script>` and `<style>` blocks moved to enqueued files (`
   wp_enqueue_script`, `wp_add_inline_script`, `wp_enqueue_style`).
 * Compliance: all functions, classes, constants, options, hooks, AJAX actions, 
   shortcodes and script handles now use the unique `digibufa_` prefix. Existing
   options are migrated automatically; old filter names and the `[csz_cities]` shortcode
   keep working (deprecated).
 * Admin notices are limited to the relevant screens and to users with the right
   capability.
 * The API URL is validated (http/https only, trailing slash; a warning is shown
   when it is not https).
 * New: suggested privacy policy text and a complete “External services” section.
 * Fix: removed a reference to a missing font file in the settings stylesheet.

#### 3.1.0

 * Security: TLS certificate verification is restored on all API calls.
 * Security: the checkout DNI/RUC lookup requires a nonce, validates the document
   type, and rate-limits lookups by IP.
 * Security: document submission is resolved on the server; the API response no 
   longer travels through the browser.
 * Security: capability and nonce checks on single submission, bulk submission, 
   and stock synchronization.
 * Removed stylesheets and fonts loaded from external CDNs; Dashicons and system
   fonts are used instead.
 * Replaced PHP sessions with the WooCommerce session and transients.
 * Fix: HPOS status is respected in the orders list and settings panel.
 * Fix: issue time is calculated in the site timezone and in 24-hour format.
 * Fix: HPOS compatibility is declared on the plugin’s main file.
 * Fix: Delivery without VAT is declared as an exempt operation (code 20), not as
   taxable
    with 0.00 VAT, which SUNAT rejected.
 * New: rejected documents show the reason and can be resent from the order or with
   the
    bulk action.
 * Reduced the city list to Peru and removed unused code and translations.
 * All strings now use the plugin’s own text domain `facturacion-digital-buho`.
 * The plugin focuses on Peru and SUNAT: European VAT validation (VIES and EORI)
   was removed,
    along with three external services and the PHP SOAP extension dependency.
 * New: real validation for DNI (8 digits) and RUC (11 digits with modulo 11 check
   digit).
    Previously the “validate field” option did not cover Peru.
 * Options moved from the `facturaloperu_` prefix to a new prefix (now `digibufa_`);
   existing configuration is
    migrated automatically on update.

#### 3.0.7

 * HPOS and WooCommerce block checkout compatibility.
 * Protection against duplicate classes when third-party plugins are active separately.
 * Redesigned settings panel with tabs.

## Meta

 *  Version **3.1.3**
 *  Last updated **18 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [electronic invoice](https://wordpress.org/plugins/tags/electronic-invoice/)[invoicing](https://wordpress.org/plugins/tags/invoicing/)
   [peru](https://wordpress.org/plugins/tags/peru/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/facturacion-digital-buho/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/facturacion-digital-buho/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/facturacion-digital-buho/reviews/)

## Contributors

 *   [ digitalbuho ](https://profiles.wordpress.org/digitalbuho/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/facturacion-digital-buho/)