PHPackages                             greenterfin/report - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. greenterfin/report

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

greenterfin/report
==================

Representacion Impresa para Facturacion Electrónica SUNAT - Perú

v2.2.2(6y ago)011MITHTMLPHP &gt;=5.5.9CI failing

Since Oct 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/finacontcorp/greenter-report)[ Packagist](https://packagist.org/packages/greenterfin/report)[ Docs](https://github.com/finacontcorp/greenter-report)[ RSS](/packages/greenterfin-report/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (20)Used By (0)

HTML Report - Greenter
======================

[](#html-report---greenter)

[![Codacy Badge](https://camo.githubusercontent.com/4e090edce1cfd3c7cb6d19fd21684ef37bb5621d4e172a5bf0c55c842bb78413/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3833366364363932333461333433656162363562353538383933396335303139)](https://www.codacy.com/app/giansalex/greenter-report?utm_source=github.com&utm_medium=referral&utm_content=giansalex/greenter-report&utm_campaign=badger)[![Travis-CI](https://camo.githubusercontent.com/363e6f44684fa1ba0d3ee906e3498d9a2360ca6b8f7b301b6f0b54fd4f188d0d/68747470733a2f2f7472617669732d63692e6f72672f6769616e73616c65782f677265656e7465722d7265706f72742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/giansalex/greenter-report)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/60eaeab6a60cf3c3f2c5733f68ea52c68a90296f9c8ecb13c741d51606da4bb2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6769616e73616c65782f677265656e7465722d7265706f72742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/giansalex/greenter-report/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/7256041c0e61c829a40e94b563c902c0f36ff1399ffc5e7118a330d1edc19ad1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6769616e73616c65782f677265656e7465722d7265706f72742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/giansalex/greenter-report/?branch=master)[![Build Status](https://camo.githubusercontent.com/bd31d8dd872fae1581b4326afc1eabd710df241b56e2153269cd3f79d84cbe17/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6769616e73616c65782f677265656e7465722d7265706f72742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/giansalex/greenter-report/build-status/master)

Representación en formato HTML del comprobante electrónico empleado en la facturación electrónica - SUNAT - Perú.

> Para generar el PDF puede utilizar [wkhtmltopdf](https://wkhtmltopdf.org/) y/o [greenter/htmltopdf](https://github.com/giansalex/greenter-htmltopdf).

Install
-------

[](#install)

Via Composer desde [packagist.org](https://packagist.org/packages/greenter/report)

```
composer require greenter/report
```

Example
-------

[](#example)

```
$invoice = new Invoice();
// $invoice->set...

$report = new HtmlReport();

$report->setTemplate('invoice.html.twig');

$html = $report->render($invoice, [
    'system' => [
        'logo' => $logo,
        'hash' => 'qqnr2dN4p/HmaEA/CJuVGo7dv5g=',
    ],
    'user' => [
        'header' => 'Telf: (056) 123375',
        'resolucion' => '212321',
    ]
]);

echo $html;
```

Preview
-------

[](#preview)

[![Factura](docs/factura.png)](docs/factura.png)

Documents
---------

[](#documents)

- Factura Electrónica
- Boleta Electrónica
- Nota de Crédito Electrónica
- Nota de Débito Electrónica
- Guía de Remisión Electrónica
- Retención Electrónica
- Percepción Electrónica
- Resumen diario de Boletas
- Comunicación de Bajas
- Resumen diario de Reversiones

Features
--------

[](#features)

- Generación de Codigo QR
- Logo (PNG, JPEG, GIF)
- Obteneción del Hash de la firma digital
- Agregar cabecera y pie de pagina personalizado
- Agregar datos extras al comprobante
- Crear nuevas plantillas según sus propios requerimientos

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 93.4% 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 ~51 days

Recently: every ~91 days

Total

18

Last Release

2281d ago

Major Versions

v1.3.1 → v2.1.02018-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc06885a9896b9762c362950210489f1b753e9065f51967e840d1020a2842f0?d=identicon)[finacontcorp](/maintainers/finacontcorp)

---

Top Contributors

[![giansalex](https://avatars.githubusercontent.com/u/14926587?v=4)](https://github.com/giansalex "giansalex (71 commits)")[![thefantas](https://avatars.githubusercontent.com/u/2816602?v=4)](https://github.com/thefantas "thefantas (2 commits)")[![ycamposde](https://avatars.githubusercontent.com/u/35236102?v=4)](https://github.com/ycamposde "ycamposde (2 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")

---

Tags

pdffacturacion-electronicasunatgreenter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/greenterfin-report/health.svg)

```
[![Health](https://phpackages.com/badges/greenterfin-report/health.svg)](https://phpackages.com/packages/greenterfin-report)
```

###  Alternatives

[greenter/report

Representacion Impresa para Facturacion Electrónica SUNAT - Perú

1224.1k1](/packages/greenter-report)[greenter/greenter

Facturacion Electrónica SUNAT en Perú

31530.2k1](/packages/greenter-greenter)[easybook/easybook

Book publishing application

76011.5k](/packages/easybook-easybook)[codersfree/laravel-greenter

Laravel package for Greenter

261.4k](/packages/codersfree-laravel-greenter)[greenter/xml

XML generación de documentos electrónicos, Facturacion Electrónica SUNAT - Perú

1151.0k3](/packages/greenter-xml)[bobv/latex-bundle

Latex and pdf generator for Symfony 2

2432.7k](/packages/bobv-latex-bundle)

PHPackages © 2026

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