<?php 

namespace App\Data;

use Spatie\LaravelData\Data;

class TaxData extends Data
{
    public function __construct(
        public string $codigo,
        public string $codigo_tarifa_iva,
        public float $tarifa,
        public float $monto,
        public float $monto_exoneracion = 0.0,
        public float $impuesto_neto = 0.0,
        public ?ExoneracionData $exoneracion = null,
    ) {}
}
