Skip to content

Commit

Permalink
Fix missing data mapping in elñectronic billing
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanalemunioz committed Mar 22, 2024
1 parent fb41f14 commit e771795
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Class/ElectronicBilling.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ public function CreateVoucher($data, $return_response = FALSE)
if (isset($data['Tributos']))
$data['Tributos'] = array('Tributo' => $data['Tributos']);

if (isset($data['Compradores']))
$data['Compradores'] = array('Comprador' => $data['Compradores']);

if (isset($data['CbtesAsoc']))
$data['CbtesAsoc'] = array('CbteAsoc' => $data['CbtesAsoc']);

if (isset($data['Iva']))
$data['Iva'] = array('AlicIva' => $data['Iva']);

Expand Down

0 comments on commit e771795

Please sign in to comment.