PHPackages                             condividendo/laravel-fatturapa - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. condividendo/laravel-fatturapa

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

condividendo/laravel-fatturapa
==============================

v0.2.0(3y ago)1573[1 issues](https://github.com/condividendo/laravel-fatturapa/issues)MITPHPPHP ^7.2

Since Oct 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/condividendo/laravel-fatturapa)[ Packagist](https://packagist.org/packages/condividendo/laravel-fatturapa)[ RSS](/packages/condividendo-laravel-fatturapa/feed)WikiDiscussions laravel-5.8 Synced 1mo ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

FatturaPA
=========

[](#fatturapa)

[![Latest Version](https://camo.githubusercontent.com/7befdbd82928052adc71fd7f91ae61d0214061bc19a07091ba3afa526715d5b7/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e6469766964656e646f2f6c61726176656c2d6661747475726170612e7376673f6c6162656c3d52656c65617365267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/condividendo/laravel-fatturapa)[![MIT License](https://camo.githubusercontent.com/7840dd26b1aee310b840327b4ca70097de8d40ae7ed46efe184c3ab4498ea583/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6e6469766964656e646f2f6c61726176656c2d6661747475726170612e7376673f6c6162656c3d4c6963656e736526636f6c6f723d626c7565267374796c653d666f722d7468652d6261646765)](https://github.com/condividendo/laravel-fatturapa/blob/master/LICENSE.md)

This package allows you to generate the XML of Italian eInvoice (aka [FatturaPA](https://www.fatturapa.gov.it/)).

Useful links:

- [FatturaPA documentation](https://www.fatturapa.gov.it/it/norme-e-regole/documentazione-fattura-elettronica/formato-fatturapa/)

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

[](#installation)

```
composer require condividendo/laravel-fatturapa
```

Usage
-----

[](#usage)

```
$invoice = \Condividendo\FatturaPA\FatturaPA::build()
    ->senderId('IT', '01879020517')
    ->transmissionFormat(\Condividendo\FatturaPA\Enums\TransmissionFormat::FPR12())
    ->transmissionSequence('1')
    ->recipientCode('ABC1234')
    ->supplier(
        \Condividendo\FatturaPA\Entities\Supplier::make()
            ->companyName('Condividendo italia srl')
            ->vatNumber('IT12345640962')
            ->taxRegime(\Condividendo\FatturaPA\Enums\TaxRegime::RF01())
            ->address(
                \Condividendo\FatturaPA\Entities\Address::make()
                    ->addressLine('Via Italia, 123')
                    ->postalCode('12345')
                    ->city('Milano')
                    ->province('MI')
                    ->country('IT')
            )
    )
    ->customer(
        \Condividendo\FatturaPA\Entities\Customer::make()
            ->firstName('Mario')
            ->lastName('Rossi')
            ->fiscalCode('RSSMRA73L09Z103F')
            ->address(
                \Condividendo\FatturaPA\Entities\Address::make()
                    ->addressLine('Via Italia, 123')
                    ->postalCode('12345')
                    ->city('Milano')
                    ->province('MI')
                    ->country('IT')
            )
    )
    ->addBody(
        \Condividendo\FatturaPA\Entities\Body::make()
            ->type(\Condividendo\FatturaPA\Enums\Type::TD01())
            ->currency('EUR')
            ->number('1')
            ->items([
                \Condividendo\FatturaPA\Entities\Item::make()
                    ->number(1)
                    ->description('Product description')
                    ->price('10.00')
                    ->taxRate('0.22')
            ])
            ->summaryItems([
                \Condividendo\FatturaPA\Entities\SummaryItem::make()
                    ->taxableAmount('10.00')
                    ->taxRate('0.22')
            ])
    );

/** @var \SimpleXMLElement $xml */
$xml = $invoice->toXML();

// do whatever you want with $xml variable...
```

Changelog
---------

[](#changelog)

Please see [Changelog File](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

4

Last Release

1251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16f90f291856b6ae87cb78ff1bbd68c726be51119776f47274ba17a4c5a4b6b3?d=identicon)[condividendo](/maintainers/condividendo)

---

Top Contributors

[![php-wizard](https://avatars.githubusercontent.com/u/22989619?v=4)](https://github.com/php-wizard "php-wizard (45 commits)")

---

Tags

fattura-elettronicafatturapalaravel

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/condividendo-laravel-fatturapa/health.svg)

```
[![Health](https://phpackages.com/badges/condividendo-laravel-fatturapa/health.svg)](https://phpackages.com/packages/condividendo-laravel-fatturapa)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
