PHPackages                             rebasesoftware/edm-efatura - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rebasesoftware/edm-efatura

ActiveLibrary

rebasesoftware/edm-efatura
==========================

EDM e-invoice client package

v1.0.0(1y ago)070↓100%MITPHPPHP ^8.3

Since Mar 14Pushed 8mo agoCompare

[ Source](https://github.com/rebasesoftware/edm-efatura)[ Packagist](https://packagist.org/packages/rebasesoftware/edm-efatura)[ RSS](/packages/rebasesoftware-edm-efatura/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

EDM E-Fatura Library
====================

[](#edm-e-fatura-library)

A modern PHP library for Turkish E-Invoice (E-Fatura) integration provided by EDM, providing a clean and type-safe interface for SOAP-based e-invoice operations.

Features
--------

[](#features)

- 🔐 **Authentication Management** - Secure login/logout with session handling and automatic session management
- 📄 **Invoice Operations** - Send invoices with comprehensive UBL XML generation
- 🔍 **Invoice Retrieval** - Get invoices by number or UUID with full metadata
- 📊 **Status Tracking** - Real-time invoice status monitoring with detailed status descriptions
- 🏢 **Company Management** - Complete issuer and recipient company information handling
- 💰 **Tax Management** - Advanced tax calculations with multiple tax rates and exemption handling
- 📦 **Product Management** - Detailed product information with brand, model, and classification support
- 💳 **Payment Integration** - Payment type configuration with due dates and account information
- 📋 **Line Item Management** - Individual invoice line items with quantities, prices, and tax calculations
- 🛡️ **Exception Handling** - Comprehensive SOAP exception handling with detailed error reporting
- 🎯 **Type Safety** - Full PHP 8.3+ type hints, return types, and nullable type support
- 🧹 **Clean Code** - PSR-12 compliant code with modern PHP 8.3+ features
- 📝 **XML Generation** - Clean, readable UBL 2.1 XML output with proper formatting and indentation
- 🔧 **Helper Utilities** - Built-in utilities for GUID generation and status code translation
- 📚 **Documentation** - Comprehensive API documentation with working examples

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- SOAP extension enabled
- Valid E-Fatura service credentials

Installation
------------

[](#installation)

```
composer require rebasesoftware/edm-efatura
```

Quick Start
-----------

[](#quick-start)

```
