Description
This plugin lets you integrate Costa Rica electronic invoicing with WooCommerce, connecting your online store with the Costa Rican tax authority (Ministerio de Hacienda).
It connects to the Facturador Virtual API, which automatically generates an electronic invoice for every purchase made in your online store.
Screenshots

Blocks
This plugin provides 1 block.
- FVCR
FAQ
How does the plugin work?
The plugin connects to the Facturador Virtual API, which automatically generates electronic invoices for every purchase made in your online store.
What do I need to start using the plugin?
Just follow these steps:
- Create a Facturador Virtual account (if you already have one, you can sign in with it, no need to create a new one): website
- Purchase the Integration Plan that best fits your needs: Our Plans
- Go to your account profile: My Profile
- Copy the API Token and Access Token values.
- Paste those values into the plugin’s Configuration fields.
- Select the economic activity you want to invoice with.
Do I need to configure anything in WooCommerce?
Yes, you need to make the following adjustments so your invoices reflect taxes correctly, as required by electronic invoicing.
To calculate the VAT of products/services correctly on invoices:
In WooCommerce Settings > “Tax” tab > “Prices entered with tax” select “No, I will enter prices exclusive of tax”.
If you want the store to show the final price to the customer including VAT: go to WooCommerce Settings > “Tax” tab and, for both “Display prices in the shop” and “Display prices during cart and checkout”, select “Including tax”.
Enter the price without VAT for each of your products.
Enter the CAByS code for each of your products.
To calculate the VAT of shipping correctly on invoices:
In WooCommerce Settings > “Shipping” tab > create or edit your flat-rate zone > enter the shipping price without VAT.
In WooCommerce Settings > “Tax” tab > “Shipping tax class” select the VAT that applies (for example iva-tarifa-general-13).
In WooCommerce Settings > “Tax” tab > select at the top the tax you will apply to shipping (for example iva-tarifa-general-13) > “Tax rates” > on the tax row check the “Shipping” box.
Can I contact a technician to run tests?
Yes. Once you have the plugin installed and configured following the steps above, you can write to desarrollo@facturadorvirtual.com to coordinate a joint testing session.
Reviews
Contributors & Developers
“Facturación Electrónica Costa Rica” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Facturación Electrónica Costa Rica” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.5
- Security: added nonce (CSRF) validation to the plugin’s configuration forms.
- Security: the CAByS lookup endpoint now requires proper permissions and a valid nonce.
- Security: the technical log is now stored in a protected location outside the plugin’s public folder.
- Hardening and various fixes in line with WordPress coding standards.
- Increased the invoicing API timeout to 120 seconds to better handle slow responses from Hacienda.
2.0.4
- Added the option to configure the point of sale (caja) used to issue electronic invoices.
2.0.3
- Added a resend button on orders where the electronic invoice failed to be issued.
2.0.0
- The plugin is now compatible with the block-based checkout page.
- Exchange rate retrieval was optimized and the option to set a custom exchange rate was added.
- The technical log was improved to make it easier to detect possible errors.
- An explanatory video was added to the configuration screen to guide users when getting started.
1.4.5
- Fix in the calculation of free shipping rates.
1.4.4
- Internal improvements to the communication between the plugin and the API.
1.3.8
- Added support for variable products.
1.3.7
- Uses Facturador Virtual’s own CAByS search instead of the Hacienda one.
- Added the ability to choose whether to issue only invoices, only tickets, or both.
- Added the option to integrate the plugin with our Inventory add-on.
- Added a technical log to make technical support easier.