PHPackages                             minestorecms/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. minestorecms/laravel-fatturapa

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

minestorecms/laravel-fatturapa
==============================

013PHP

Since Mar 6Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)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

16

—

LowBetter than 5% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c29fe8ce682859e6341fbdebe5a1a9dfe7c2da479fd1c0b208366abad9e4331b?d=identicon)[MineStoreCMS](/maintainers/MineStoreCMS)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[microinginer/yii2-dropdown-action-column

1210.1k1](/packages/microinginer-yii2-dropdown-action-column)

PHPackages © 2026

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