A WordPress plugin that integrates WooCommerce Online Sales with the Kenya Revenue Authority (KRA) Electronic Tax Register (ETR) System.
# KRA ETR Integration for Wordpress/Woocommerce
A WordPress plugin that integrates WooCommerce with the Kenya Revenue Authority (KRA) Electronic Tax Register (ETR) System.
## Description
This plugin allows WooCommerce store owners to automatically submit sales transactions to the KRA ETR system when orders are completed and generate ETR-compliant receipts. It provides a seamless integration between your WordPress WooCommerce store and the KRA ETR API, ensuring compliance with KRA's electronic tax invoice requirements for online sales.
*Screenshot: The KRA ETR visual configurator for WordPress WooCommerce*
## Features
- Automatic submission of sales transactions to KRA ETR when orders are completed
- Generation of ETR-compliant receipts for online sales on WordPress WooCommerce websites
- Manual submission of orders from the WooCommerce order edit screen
- Visual configurator with intuitive environment switching between development and production
- Configurable settings for API credentials, TIN, Branch ID, and more
- Detailed logging for debugging purposes
- Test connection functionality to verify API credentials
## Installation
1. Download the plugin files and upload them to your `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to the 'KRA ETR' menu in your WordPress admin to configure the plugin settings
## Configuration
1. Navigate to the 'KRA ETR' menu in your WordPress admin
2. Enter your KRA ETR API credentials:
- Username
- Password
- Taxpayer Identification Number (TIN)- KRA PIN number in other words
- Branch ID (default is "00" for main branch)
3. Select the environment (Development/Sandbox or Production) using the visual environment selector
4. Configure general settings:
- Auto Submit: Enable/disable automatic submission of orders when they are completed
- Debug Mode: Enable/disable detailed logging for debugging purposes
5. Click "Save Changes" to save your settings
6. Use the "Test Connecti …