paybilldev / ura-efris-sdk
PHP SDK for Uganda Revenue Authority (URA) EFRIS System-to-System (S2S) API integration
Requires
- php: ^8.0
- ext-curl: *
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^7.0
- psr/log: ^3.0
- respect/validation: ^2.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: ^1.6
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
This package is not auto-updated.
Last update: 2026-03-22 19:37:05 UTC
README
URA EFRIS System-to-System Integration SDK (PHP)
A production-ready PHP SDK for integrating with the Uganda Revenue Authority (URA) EFRIS (Electronic Fiscal Receipting and Invoicing System) via the System-to-System (S2S) interface. Built in accordance with official URA EFRIS technical specifications, encryption standards, device registration workflows, and offline mode enablement requirements.
Official URA EFRIS Documentation
π Step-by-Step Guide β System-to-System Integration (v1.1) Issue Date: 19/07/2022 https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=569326253531712032&language=
π Offline-Mode Enabler β Hardware & Software Requirements https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=779571457750410225&language=
π Offline-Mode Enabler β Installation Guide https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=537308370255165978&language=
π Interface Requirements for Information Management and Fiscalisation https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=173517733139059055&language=
π EFRIS Thumbprint & Device Registration Guide https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=102729662704726203&language=
π EFRIS Interface Design v23.7 Guide https://efris.ura.go.ug/site/manualDownload/downloadManualById?id=299638647648159087&language=
β οΈ Important Notice This SDK implements the URA EFRIS System-to-System (S2S) integration model. Proper onboarding, certificate provisioning, and device registration with URA are required before production use.
Features
β System-to-System (S2S) API integration β Payload encryption & digital signature support β URA-compliant request/response handling β Device & taxpayer authentication helpers β Timezone-safe timestamp handling (EAT / UTC) β Offline Mode Enabler compatibility β PSR-compliant HTTP client support β Production-grade error handling
Installation
Install via Composer:
composer require paybilldev/ura-efris-sdk
Author
Bartile Emmanuel π§ support@paybill.dev | π± +254 757 807 150 Lead Developer, Paybill Kenya
π URA EFRIS Documentation (Paybill): https://paybill.ke/docs/ura-efris
License
MIT Β© 2025β2026 Paybill Kenya Limited
πΊπ¬ Supporting Digital Tax Compliance in Uganda π°πͺ Proudly engineered by Paybill Kenya Limited