├── .gitignore ├── README.md ├── composer.json ├── config └── greenter.php ├── src ├── Builders │ ├── Client │ │ └── ClientBuilder.php │ ├── Company │ │ ├── AddressBuilder.php │ │ └── CompanyBuilder.php │ ├── Despatch │ │ ├── AdditionalDocBuilder.php │ │ ├── DespatchBuilder.php │ │ ├── DespatchDetailBuilder.php │ │ ├── DirectionBuilder.php │ │ ├── DriverBuilder.php │ │ ├── PuertoBuilder.php │ │ ├── ShipmentBuilder.php │ │ ├── TransportistBuilder.php │ │ └── VehiculoBuilder.php │ ├── Perception │ │ ├── PerceptionBuilder.php │ │ └── PerceptionDetailBuilder.php │ ├── Retention │ │ ├── ExchangeBuilder.php │ │ ├── PaymentBuilder.php │ │ ├── RetentionBuilder.php │ │ └── RetentionDetailBuilder.php │ ├── Sale │ │ ├── ChargeBuilder.php │ │ ├── CuotaBuilder.php │ │ ├── DetailAttributeBuilder.php │ │ ├── DetractionBuilder.php │ │ ├── DocumentBuilder.php │ │ ├── EmbededDespatchBuilder.php │ │ ├── InvoiceBuilder.php │ │ ├── LegendBuilder.php │ │ ├── NoteBuilder.php │ │ ├── PaymentTermsBuilder.php │ │ ├── PrepaymentBuilder.php │ │ ├── SaleDetailBuilder.php │ │ └── SalePerceptionBuilder.php │ ├── Summary │ │ ├── SummaryBuilder.php │ │ ├── SummaryDetailBuilder.php │ │ └── SummaryPerceptionBuilder.php │ └── Voided │ │ ├── VoidedBuilder.php │ │ └── VoidedDetailBuilder.php ├── Contracts │ ├── DocumentBuilderInterface.php │ └── SenderInterface.php ├── Exceptions │ └── GreenterException.php ├── Facades │ ├── Greenter.php │ └── GreenterReport.php ├── Factories │ ├── DocumentBuilderFactory.php │ ├── SenderFactory.php │ └── XmlBuilderFactory.php ├── GreenterServiceProvider.php ├── Models │ ├── SunatResponse.php │ └── XmlSigned.php ├── Senders │ ├── ApiBuilder.php │ └── SeeBuilder.php └── Services │ ├── ReportService.php │ └── SenderService.php └── stubs ├── certificate.pem ├── images └── logo.png └── templates ├── assets └── style.css ├── despatch.html.twig ├── invoice.html.twig ├── invoice2.html.twig ├── perception.html.twig ├── retention.html.twig ├── summary.html.twig └── voided.html.twig /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | composer.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/composer.json -------------------------------------------------------------------------------- /config/greenter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/config/greenter.php -------------------------------------------------------------------------------- /src/Builders/Client/ClientBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Client/ClientBuilder.php -------------------------------------------------------------------------------- /src/Builders/Company/AddressBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Company/AddressBuilder.php -------------------------------------------------------------------------------- /src/Builders/Company/CompanyBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Company/CompanyBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/AdditionalDocBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/AdditionalDocBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/DespatchBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/DespatchBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/DespatchDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/DespatchDetailBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/DirectionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/DirectionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/DriverBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/DriverBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/PuertoBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/PuertoBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/ShipmentBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/ShipmentBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/TransportistBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/TransportistBuilder.php -------------------------------------------------------------------------------- /src/Builders/Despatch/VehiculoBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Despatch/VehiculoBuilder.php -------------------------------------------------------------------------------- /src/Builders/Perception/PerceptionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Perception/PerceptionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Perception/PerceptionDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Perception/PerceptionDetailBuilder.php -------------------------------------------------------------------------------- /src/Builders/Retention/ExchangeBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Retention/ExchangeBuilder.php -------------------------------------------------------------------------------- /src/Builders/Retention/PaymentBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Retention/PaymentBuilder.php -------------------------------------------------------------------------------- /src/Builders/Retention/RetentionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Retention/RetentionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Retention/RetentionDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Retention/RetentionDetailBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/ChargeBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/ChargeBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/CuotaBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/CuotaBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/DetailAttributeBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/DetailAttributeBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/DetractionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/DetractionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/DocumentBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/DocumentBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/EmbededDespatchBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/EmbededDespatchBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/InvoiceBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/InvoiceBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/LegendBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/LegendBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/NoteBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/NoteBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/PaymentTermsBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/PaymentTermsBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/PrepaymentBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/PrepaymentBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/SaleDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/SaleDetailBuilder.php -------------------------------------------------------------------------------- /src/Builders/Sale/SalePerceptionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Sale/SalePerceptionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Summary/SummaryBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Summary/SummaryBuilder.php -------------------------------------------------------------------------------- /src/Builders/Summary/SummaryDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Summary/SummaryDetailBuilder.php -------------------------------------------------------------------------------- /src/Builders/Summary/SummaryPerceptionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Summary/SummaryPerceptionBuilder.php -------------------------------------------------------------------------------- /src/Builders/Voided/VoidedBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Voided/VoidedBuilder.php -------------------------------------------------------------------------------- /src/Builders/Voided/VoidedDetailBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Builders/Voided/VoidedDetailBuilder.php -------------------------------------------------------------------------------- /src/Contracts/DocumentBuilderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Contracts/DocumentBuilderInterface.php -------------------------------------------------------------------------------- /src/Contracts/SenderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Contracts/SenderInterface.php -------------------------------------------------------------------------------- /src/Exceptions/GreenterException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Exceptions/GreenterException.php -------------------------------------------------------------------------------- /src/Facades/Greenter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Facades/Greenter.php -------------------------------------------------------------------------------- /src/Facades/GreenterReport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Facades/GreenterReport.php -------------------------------------------------------------------------------- /src/Factories/DocumentBuilderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Factories/DocumentBuilderFactory.php -------------------------------------------------------------------------------- /src/Factories/SenderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Factories/SenderFactory.php -------------------------------------------------------------------------------- /src/Factories/XmlBuilderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Factories/XmlBuilderFactory.php -------------------------------------------------------------------------------- /src/GreenterServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/GreenterServiceProvider.php -------------------------------------------------------------------------------- /src/Models/SunatResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Models/SunatResponse.php -------------------------------------------------------------------------------- /src/Models/XmlSigned.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Models/XmlSigned.php -------------------------------------------------------------------------------- /src/Senders/ApiBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Senders/ApiBuilder.php -------------------------------------------------------------------------------- /src/Senders/SeeBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Senders/SeeBuilder.php -------------------------------------------------------------------------------- /src/Services/ReportService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Services/ReportService.php -------------------------------------------------------------------------------- /src/Services/SenderService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/src/Services/SenderService.php -------------------------------------------------------------------------------- /stubs/certificate.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/certificate.pem -------------------------------------------------------------------------------- /stubs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/images/logo.png -------------------------------------------------------------------------------- /stubs/templates/assets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/assets/style.css -------------------------------------------------------------------------------- /stubs/templates/despatch.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/despatch.html.twig -------------------------------------------------------------------------------- /stubs/templates/invoice.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/invoice.html.twig -------------------------------------------------------------------------------- /stubs/templates/invoice2.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/invoice2.html.twig -------------------------------------------------------------------------------- /stubs/templates/perception.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/perception.html.twig -------------------------------------------------------------------------------- /stubs/templates/retention.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/retention.html.twig -------------------------------------------------------------------------------- /stubs/templates/summary.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/summary.html.twig -------------------------------------------------------------------------------- /stubs/templates/voided.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersfree/laravel-greenter/HEAD/stubs/templates/voided.html.twig --------------------------------------------------------------------------------