Skip to content

Commit

Permalink
Actualización SUNAT - Forma pago(Contado/Credito)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxcodes committed Nov 25, 2021
1 parent 8663f94 commit b43900a
Show file tree
Hide file tree
Showing 46 changed files with 4,527 additions and 571 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -83,7 +83,7 @@ var_dump($response);
### BOLETA DE VENTA
```php
// Data
$data = require 'tests/cases/factura.php';
$data = require 'tests/cases/factura/factura-pago-contado.php';
// Procesar Data
$XML = DocumentGenerator::createDocument('BOL', $data);
// Generar Documentos
Expand Down Expand Up @@ -123,4 +123,4 @@ $documentName = $xmlFAC->getDocumentName();
$response = ServiceGateway::sendBill($documentName);
// Procesar Respuesta
var_dump($response);
```
```
21 changes: 17 additions & 4 deletions composer.json
Expand Up @@ -2,18 +2,31 @@
"name": "jxcodes/f72x",
"type": "library",
"description": "Modulo de facturación electrónica SUNAT UBL 2.1",
"keywords": ["SUNAT", "UBL 2.1", "Integración", "Factura Elctrónica PHP", "Firma digital", "XML"],
"keywords": [
"SUNAT",
"UBL 2.1",
"Integración",
"Factura Elctrónica PHP",
"Firma digital",
"XML"
],
"homepage": "https://jxcodes.github.io/F72X",
"scripts": {
"test": "vendor/bin/phpunit --configuration phpunit.xml"
},
"license": "MIT",
"support": {
"issues": "https://github.com/jxcodes/F72X/issues",
"source": "https://github.com/jxcodes/F72X"
},
"authors": [
{"name": "Jaime Cruz", "email": "jaime@atlantis.pe"}
{
"name": "Jaime Cruz",
"email": "jaime@atlantis.pe"
}
],
"require": {
"php": ">=5.6|^7.2",
"php": ">=5.5",
"sabre/xml": "^1.5",
"greenter/xmldsig": "^5.0",
"twig/twig": "^1.35",
Expand All @@ -30,6 +43,6 @@
}
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^4"
}
}

0 comments on commit b43900a

Please sign in to comment.