PHP code example of julio899 / factura_ktux
1. Go to this page and download the library: Download julio899/factura_ktux library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
julio899 / factura_ktux example snippets
use ktux\models\FacturaModel as FacturaKtux;
//Example
$productos[]=array(
'cantidad' => 100,
'descripcion' => strtoupper("Estuches usos mixtos"),
'precioUnitario' =>1600.00
);
$nueva_factura = array(
'razon' =>'Probando Tester',
'rif' =>'V-12345678',
'direccion1' =>'sector las delicias, urb. canta rana',
'direccion2' =>'Maracay, Edo. Aragua',
'fecha' =>'19/11/2015',
'productos' =>$productos
);
$f = new FacturaKtux($nueva_factura);