Skip to content

Commit

Permalink
set ICBPER factor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Aug 4, 2019
1 parent f6fc47a commit 03f58d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/examples/icbper.md
Expand Up @@ -4,7 +4,7 @@
## Código

```php hl_lines="19 51"
```php hl_lines="19 51 52"
<?php
use Greenter\Model\Sale\Invoice;
use Greenter\Model\Sale\Legend;
Expand Down Expand Up @@ -56,6 +56,7 @@ $invoice->setFecVencimiento(new \DateTime())
->setPorcentajeIgv(18.0)
->setIgv(0.236)
->setIcbper(0.40) // (cantidad)*(factor ICBPER)
->setFactorIcbper(0.10)
->setTotalImpuestos(36)
;

Expand All @@ -67,9 +68,6 @@ $invoice->setDetails([$detail, $bolsa])
]);
```

!!! tip "Factor ICBPER"
Puedes cambiar el factor ICBPER usando el campo `$bolsa->setFactorIcbper(0.10)`


## Monto ICBPER

Expand Down

0 comments on commit 03f58d8

Please sign in to comment.