PHPackages                             hevelop/invoice-request - 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. [Payment Processing](/categories/payments)
4. /
5. hevelop/invoice-request

ActiveMagento2-module[Payment Processing](/categories/payments)

hevelop/invoice-request
=======================

This is the module to generate invoice request in checkout and save data in order

1.2.5(3y ago)165.8k12[10 issues](https://github.com/Hevelop/invoice-request/issues)AGPL-3.0PHP

Since Jul 1Pushed 3y ago6 watchersCompare

[ Source](https://github.com/Hevelop/invoice-request)[ Packagist](https://packagist.org/packages/hevelop/invoice-request)[ RSS](/packages/hevelop-invoice-request/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (23)Used By (0)

Checkout invoice request for italian invoicing
----------------------------------------------

[](#checkout-invoice-request-for-italian-invoicing)

### Installation

[](#installation)

- Composer:

```
composer require hevelop/invoice-request

```

- Downloading module:

```
Download module from GitHub and copy/paste it under dir your_magento_root/app/code/Hevelop/InvoiceRequest

```

After installation, enable the module

```
bin/magento module:enable Hevelop_InvoiceRequest

```

upgrade your database:

```
bin/magento setup:upgrade

```

and compile the Magento dependency injection:

```
bin/magento setup:di:compile

```

### Checkout

[](#checkout)

A new section is added to checkout in the payment step. The new section contains "I want an invoice." checkbox. If this is checked, the user can choose whether to request the invoice as a private individual or a company.

If private:

```
- "Tax/Va Number" field (required if checked "I want invoice")
If the user is registered, it will be pre-filled with the "tax vat number" field relating to his account.
If he is a guest, with the one entered during checkout.
In both cases, the user can change it if necessary.

```

If company:

```
- "Company" field (required if checked "I want invoice")
If the user is registered, it will be pre-filled with the company field relating to the registered address.
If he is a guest, with the one entered during checkout.
In both cases, the user can change it if necessary.

- "VAT number" field (required if checked "I want invoice")
If the user is registered, it will be pre-filled with the vat_id field relating to the registered address.
If he is a guest, with the one entered during checkout.
In both cases, the user can change it if necessary.

- "Tax code" field (optional)
If the user is registered, it will be pre-filled with the taxvat field relating to his account.
If it is a guest, with the one entered during compilation.
In both cases, the user can change it if necessary, the field has been left for companies that have different CF and VAT numbers.

- "Recipient code (SDI)" field
The italian electronic invoicing field appears only if the billing address has set Italy as country, in this case it is also required.
If the billing address has another country, the field is emptied and hidden.
If the user is registered, it will be pre-filled with the sdi_code field relating to the registered address.
If it is a guest, with the one entered during compilation.
In both cases, the user can change it if necessary.

```

If the user is registered and changes the pre-filled fields, the modifications will be valid only for that single order. Nothing will be changed in your account and at the next order you will find them pre-filled with the registered data.

### Customer Account

[](#customer-account)

In the customer account, the user will find:

- the native "Tax/Vat Number" field provided by Magento, in customer entity
- the native "Company" filed provided by Magento, in customer address entity
- the native "Vat id" filed provided by Magento, in customer address entity
- the new "SDI code" filed for italian invoice provided by module, in customer address entity

### Order

[](#order)

At the order level, a "want invoice" field is registered if customer check "I want invoice" at checkout. The field is visible in the backend order grid and is filterable. The billing address of the order is filled in with the fields entered by the user in the new section at checkout. If the fields had been changed compared to the pre-filled ones, in the order they will be modified but only for this order.

### Configurations

[](#configurations)

- The Magento native tax vat number must be active in "Store -&gt; Configuration -&gt; Customer Configuration"
- The Magento native vat id must be active in "Store -&gt; Configuration -&gt; Customer Configuration"
- The SDI code for italian invoice must be added in the address template in "Store -&gt; Configuration -&gt; Customer Configuration"

Ex.:

```
{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}
{{depend company}}{{var company}}{{/depend}}
{{if street1}}{{var street1}}
{{/if}}
{{depend street2}}{{var street2}}{{/depend}}
{{depend street3}}{{var street3}}{{/depend}}
{{depend street4}}{{var street4}}{{/depend}}
{{if city}}{{var city}},  {{/if}}{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}
{{var country}}
{{depend telephone}}T: {{var telephone}}{{/depend}}
{{depend fax}}F: {{var fax}}{{/depend}}
{{depend vat_id}}VAT: {{var vat_id}}{{/depend}}
{{depend sdi_code}}SDI: {{var sdi_code}}{{/depend}}

```

### Translations

[](#translations)

The module has i18n transaltions for italian, french and spanish languages.

### Stripe

[](#stripe)

- Compatible with stripe/module-payments 2.5

---

Modulo richiesta fattura a checkout per fatturazione italiana
-------------------------------------------------------------

[](#modulo-richiesta-fattura-a-checkout-per-fatturazione-italiana)

### Checkout

[](#checkout-1)

A checkout viene aggiunta una nuova sezione nello step del pagamento. La nuova sezione contiene una spunta "Desidero la fattura." Se questa viene checkata, l'utente potrà scegliere se richiedere la fattura come privato o azienda.

Se privato:

```
- Campo "codice fiscale" (obbligatorio se spuntata "desidero fattura")
Se l'utente è registrato, verrà pre-compilato con il campo "taxvat" relativo al suo account.
Se è guest, con quello inserito in fase di compilazione checkout.
In entrambi in casi potrà eventualmente modificarlo.

```

Se azienda:

```
- Campo "azienda" (obbligatorio se spuntata "desidero fattura")
Se l'utente è registrato, verrà pre-compilato con il campo company relativo all'indirizzo registrato.
Se è guest, con quello inserito in fase di compilazione checkout.
In entrambi in casi potrà eventualmente modificarlo.

- Campo "partita iva" (obbligatorio se spuntata "desidero fattura")
Se l'utente è registrato, verrà pre-compilato con il campo vat_id relativo all'indirizzo registrato.
Se è guest, con quello inserito in fase di compilazione checkout.
In entrambi in casi potrà eventualmente modificarlo.

- Campo "codice fiscale" (facoltativo)
Se l'utente è registrato, verrà pre-compilato con il campo taxvat relativo al suo account.
Se è guest, con quello inserito in fase di compilazione.
In entrambi in casi potrà eventualmente modificarlo, il campo è stato lasciato per le aziende che hanno CF e P.IVA differente.

- Campo "codice destinatario (SDI)"
Il campo per la fatturazione elettronica, appare solo se il billing address ha impostato come country l'Italia, in questo caso è anche obbligatorio.
Se il billing address presenta un country estero, il campo viene svuotato e nascosto.
Se l'utente è registrato, verrà pre-compilato con il campo sdi_code relativo all'indirizzo registrato.
Se è guest, con quello inserito in fase di compilazione.
In entrambi in casi potrà eventualmente modificarlo.

```

Qualora l'utente sia registrato e modifichi i campi pre-compilati, le modifiche saranno valide solo per quel singolo ordine. Non verrà modificato nulla nel suo account e al prossimo ordine li troverà pre-compilati con i dati registrati.

### Account utente

[](#account-utente)

L'utente si troverà:

- a livello account il codice fiscale (taxvat, nativo Magento)
- a livello address l'azienda (company, nativo Magento)
- a livello address la partita iva (vat\_id, nativo Magento)
- a livello address il codice SDI (sdi\_code, campo aggiunto dal modulo)

### Ordine

[](#ordine)

A livello ordine viene registrato se l'utente ha richiesto la fattura (want\_invoice). Il campo è visibile nella griglia ordini a backend ed è filtrabile. Il billing address dell'ordine viene compilato con i campi inseriti dall'utente nella nuova sezione a checkout. Se i campi erano stati modificati rispetto ai precompilati, nell'ordine risulteranno modificati ma solo per questo ordine.

### Configurazioni

[](#configurazioni)

- codice fiscale (taxvat) deve essere attivato dalle configurazioni del customer in "Store -&gt; Configuration -&gt; Customer Configuration"
- partita iva (vat\_id) deve essere attivato dalle configurazioni del customer in "Store -&gt; Configuration -&gt; Customer Configuration"
- SDI (sdi code) deve essere aggiunto all'address template nelle configurazioni del customer in "Store -&gt; Configuration -&gt; Customer Configuration"

Es.:

```
{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}
{{depend company}}{{var company}}{{/depend}}
{{if street1}}{{var street1}}
{{/if}}
{{depend street2}}{{var street2}}{{/depend}}
{{depend street3}}{{var street3}}{{/depend}}
{{depend street4}}{{var street4}}{{/depend}}
{{if city}}{{var city}},  {{/if}}{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}
{{var country}}
{{depend telephone}}T: {{var telephone}}{{/depend}}
{{depend fax}}F: {{var fax}}{{/depend}}
{{depend vat_id}}VAT: {{var vat_id}}{{/depend}}
{{depend sdi_code}}SDI: {{var sdi_code}}{{/depend}}

```

### Traduzioni

[](#traduzioni)

Le voci sono in inglese, sono inserite le traduzioni per italiano, francese e spagnolo.

### Stripe

[](#stripe-1)

- Compatibile con stripe/module-payments 2.5

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~54 days

Recently: every ~170 days

Total

18

Last Release

1277d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7eaf334bb632b27f93d9e99201ce32616145f8080262c0abd527536f7f4276e6?d=identicon)[bordeo](/maintainers/bordeo)

![](https://avatars.githubusercontent.com/u/52801027?v=4)[samuelem](/maintainers/samuelem)[@samuelem](https://github.com/samuelem)

---

Top Contributors

[![nicoloHevelop](https://avatars.githubusercontent.com/u/36031662?v=4)](https://github.com/nicoloHevelop "nicoloHevelop (8 commits)")[![matteomagro95](https://avatars.githubusercontent.com/u/76782753?v=4)](https://github.com/matteomagro95 "matteomagro95 (4 commits)")[![SamueleMartini](https://avatars.githubusercontent.com/u/40766441?v=4)](https://github.com/SamueleMartini "SamueleMartini (3 commits)")[![marcatos](https://avatars.githubusercontent.com/u/4552197?v=4)](https://github.com/marcatos "marcatos (2 commits)")[![AlbertoGottardo](https://avatars.githubusercontent.com/u/79363653?v=4)](https://github.com/AlbertoGottardo "AlbertoGottardo (1 commits)")[![etessari](https://avatars.githubusercontent.com/u/10881108?v=4)](https://github.com/etessari "etessari (1 commits)")[![bordeo](https://avatars.githubusercontent.com/u/1566127?v=4)](https://github.com/bordeo "bordeo (1 commits)")

---

Tags

magentomagento2magento2-module

### Embed Badge

![Health badge](/badges/hevelop-invoice-request/health.svg)

```
[![Health](https://phpackages.com/badges/hevelop-invoice-request/health.svg)](https://phpackages.com/packages/hevelop-invoice-request)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

108531.2k1](/packages/amzn-amazon-pay-magento-2-module)[paynl/magento2-plugin

Pay. Payment methods for Magento 2

31329.9k6](/packages/paynl-magento2-plugin)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2131.2k7](/packages/pagbank-payment-magento)[vipps/module-payment

Vipps MobilePay Payment Module for Magento 2

1098.4k](/packages/vipps-module-payment)

PHPackages © 2026

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