repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/AccionesOTitulos.php | src/CfdiUtils/Elements/Nomina12/AccionesOTitulos.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class AccionesOTitulos extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:AccionesOTitulos';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/SeparacionIndemnizacion.php | src/CfdiUtils/Elements/Nomina12/SeparacionIndemnizacion.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class SeparacionIndemnizacion extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:SeparacionIndemnizacion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/OtroPago.php | src/CfdiUtils/Elements/Nomina12/OtroPago.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class OtroPago extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:OtroPago';
}
public function getChildrenOrder(): array
{
return ['nomina12:SubsidioAlEmpleo', 'nomina12:CompensacionSaldosAFavor'];
}
public function getSubsidioAlEmpleo(): SubsidioAlEmpleo
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new SubsidioAlEmpleo());
}
public function addSubsidioAlEmpleo(array $attributes = []): SubsidioAlEmpleo
{
$subsidioAlEmpleo = $this->getSubsidioAlEmpleo();
$subsidioAlEmpleo->addAttributes($attributes);
return $subsidioAlEmpleo;
}
public function getCompensacionSaldosAFavor(): CompensacionSaldosAFavor
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new CompensacionSaldosAFavor());
}
public function addCompensacionSaldosAFavor(array $attributes = []): CompensacionSaldosAFavor
{
$compensacionSaldosAFavor = $this->getCompensacionSaldosAFavor();
$compensacionSaldosAFavor->addAttributes($attributes);
return $compensacionSaldosAFavor;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/OtrosPagos.php | src/CfdiUtils/Elements/Nomina12/OtrosPagos.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class OtrosPagos extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:OtrosPagos';
}
public function addOtrosPago(array $attributes = []): OtroPago
{
$deduccion = new OtroPago($attributes);
$this->addChild($deduccion);
return $deduccion;
}
public function multiOtrosPago(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addOtrosPago($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Nomina.php | src/CfdiUtils/Elements/Nomina12/Nomina.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Nomina extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Nomina';
}
public function getChildrenOrder(): array
{
return [
'nomina12:Emisor',
'nomina12:Receptor',
'nomina12:Percepciones',
'nomina12:Deducciones',
'nomina12:OtrosPagos',
'nomina12:Incapacidades',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:nomina12' => 'http://www.sat.gob.mx/nomina12',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/nomina12'
. ' http://www.sat.gob.mx/sitio_internet/cfd/nomina/nomina12.xsd',
'Version' => '1.2',
];
}
public function getEmisor(): Emisor
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new Emisor());
}
public function addEmisor(array $attributes = []): Emisor
{
$emisor = $this->getEmisor();
$emisor->addAttributes($attributes);
return $emisor;
}
public function getReceptor(): Receptor
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new Receptor());
}
public function addReceptor(array $attributes = []): Receptor
{
$receptor = $this->getReceptor();
$receptor->addAttributes($attributes);
return $receptor;
}
public function getPercepciones(): Percepciones
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new Percepciones());
}
public function addPercepciones(array $attributes = []): Percepciones
{
$percepciones = $this->getPercepciones();
$percepciones->addAttributes($attributes);
return $percepciones;
}
public function getDeducciones(): Deducciones
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new Deducciones());
}
public function addDeducciones(array $attributes = []): Deducciones
{
$deducciones = $this->getDeducciones();
$deducciones->addAttributes($attributes);
return $deducciones;
}
public function getOtrosPagos(): OtrosPagos
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new OtrosPagos());
}
public function addOtrosPagos(array $attributes = []): OtrosPagos
{
$otrosPagos = $this->getOtrosPagos();
$otrosPagos->addAttributes($attributes);
return $otrosPagos;
}
public function getIncapacidades(): Incapacidades
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new Incapacidades());
}
public function addIncapacidades(array $attributes = []): Incapacidades
{
$incapacidades = $this->getIncapacidades();
$incapacidades->addAttributes($attributes);
return $incapacidades;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Emisor.php | src/CfdiUtils/Elements/Nomina12/Emisor.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Emisor extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Emisor';
}
public function getEntidadSNCF(): EntidadSNCF
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new EntidadSNCF());
}
public function addEntidadSNCF(array $attributes = []): EntidadSNCF
{
$entidadSncf = $this->getEntidadSNCF();
$entidadSncf->addAttributes($attributes);
return $entidadSncf;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Incapacidades.php | src/CfdiUtils/Elements/Nomina12/Incapacidades.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Incapacidades extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Incapacidades';
}
public function addIncapacidad(array $attributes = []): Incapacidad
{
$incapacidad = new Incapacidad($attributes);
$this->addChild($incapacidad);
return $incapacidad;
}
public function multiIncapacidad(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addIncapacidad($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Percepcion.php | src/CfdiUtils/Elements/Nomina12/Percepcion.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Percepcion extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Percepcion';
}
public function getChildrenOrder(): array
{
return ['nomina12:AccionesOTitulos', 'nomina12:HorasExtra'];
}
public function getAccionesOTitulos(): AccionesOTitulos
{
/** @noinspection PhpIncompatibleReturnTypeInspection */
return $this->helperGetOrAdd(new AccionesOTitulos());
}
public function addAccionesOTitulos(array $attributes = []): AccionesOTitulos
{
$accionesOTitulos = $this->getAccionesOTitulos();
$accionesOTitulos->addAttributes($attributes);
return $accionesOTitulos;
}
public function addHorasExtra(array $attributes, array $children = []): HorasExtra
{
$horasExtra = new HorasExtra($attributes, $children);
$this->addChild($horasExtra);
return $horasExtra;
}
public function multiHorasExtra(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addHorasExtra($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Deduccion.php | src/CfdiUtils/Elements/Nomina12/Deduccion.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Deduccion extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Deduccion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/SubsidioAlEmpleo.php | src/CfdiUtils/Elements/Nomina12/SubsidioAlEmpleo.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class SubsidioAlEmpleo extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:SubsidioAlEmpleo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Nomina12/Incapacidad.php | src/CfdiUtils/Elements/Nomina12/Incapacidad.php | <?php
namespace CfdiUtils\Elements\Nomina12;
use CfdiUtils\Elements\Common\AbstractElement;
class Incapacidad extends AbstractElement
{
public function getElementName(): string
{
return 'nomina12:Incapacidad';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Carro.php | src/CfdiUtils/Elements/CartaPorte20/Carro.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Carro extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Carro';
}
public function addContenedor(array $attributes = []): Contenedor
{
$subject = new Contenedor($attributes);
$this->addChild($subject);
return $subject;
}
public function multiContenedor(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addContenedor($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Ubicacion.php | src/CfdiUtils/Elements/CartaPorte20/Ubicacion.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicacion extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Ubicacion';
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Domicilio.php | src/CfdiUtils/Elements/CartaPorte20/Domicilio.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Domicilio extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Domicilio';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Remolques.php | src/CfdiUtils/Elements/CartaPorte20/Remolques.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolques extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Remolques';
}
public function addRemolque(array $attributes = []): Remolque
{
$subject = new Remolque($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRemolque(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRemolque($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/CantidadTransporta.php | src/CfdiUtils/Elements/CartaPorte20/CantidadTransporta.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class CantidadTransporta extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:CantidadTransporta';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/PartesTransporte.php | src/CfdiUtils/Elements/CartaPorte20/PartesTransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class PartesTransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:PartesTransporte';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Pedimentos.php | src/CfdiUtils/Elements/CartaPorte20/Pedimentos.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Pedimentos extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Pedimentos';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/TransporteFerroviario.php | src/CfdiUtils/Elements/CartaPorte20/TransporteFerroviario.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteFerroviario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:TransporteFerroviario';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:DerechosDePaso',
'cartaporte20:Carro',
];
}
public function addDerechosDePaso(array $attributes = []): DerechosDePaso
{
$subject = new DerechosDePaso($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDerechosDePaso(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDerechosDePaso($attributes);
}
return $this;
}
public function addCarro(array $attributes = []): Carro
{
$subject = new Carro($attributes);
$this->addChild($subject);
return $subject;
}
public function multiCarro(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addCarro($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/DerechosDePaso.php | src/CfdiUtils/Elements/CartaPorte20/DerechosDePaso.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class DerechosDePaso extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:DerechosDePaso';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/CartaPorte.php | src/CfdiUtils/Elements/CartaPorte20/CartaPorte.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class CartaPorte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:CartaPorte';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:Ubicaciones',
'cartaporte20:Mercancias',
'cartaporte20:FiguraTransporte',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:cartaporte20' => 'http://www.sat.gob.mx/CartaPorte20',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/CartaPorte20'
. ' http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte20.xsd',
'Version' => '2.0',
];
}
public function getUbicaciones(): Ubicaciones
{
return $this->helperGetOrAdd(new Ubicaciones());
}
public function addUbicaciones(array $attributes = []): Ubicaciones
{
$subject = $this->getUbicaciones();
$subject->addAttributes($attributes);
return $subject;
}
public function getMercancias(): Mercancias
{
return $this->helperGetOrAdd(new Mercancias());
}
public function addMercancias(array $attributes = []): Mercancias
{
$subject = $this->getMercancias();
$subject->addAttributes($attributes);
return $subject;
}
public function getFiguraTransporte(): FiguraTransporte
{
return $this->helperGetOrAdd(new FiguraTransporte());
}
public function addFiguraTransporte(array $attributes = []): FiguraTransporte
{
$subject = $this->getFiguraTransporte();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Mercancias.php | src/CfdiUtils/Elements/CartaPorte20/Mercancias.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancias extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Mercancias';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:Mercancia',
'cartaporte20:Autotransporte',
'cartaporte20:TransporteMaritimo',
'cartaporte20:TransporteAereo',
'cartaporte20:TransporteFerroviario',
];
}
public function addMercancia(array $attributes = []): Mercancia
{
$subject = new Mercancia($attributes);
$this->addChild($subject);
return $subject;
}
public function multiMercancia(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addMercancia($attributes);
}
return $this;
}
public function getAutotransporte(): Autotransporte
{
return $this->helperGetOrAdd(new Autotransporte());
}
public function addAutotransporte(array $attributes = []): Autotransporte
{
$subject = $this->getAutotransporte();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteMaritimo(): TransporteMaritimo
{
return $this->helperGetOrAdd(new TransporteMaritimo());
}
public function addTransporteMaritimo(array $attributes = []): TransporteMaritimo
{
$subject = $this->getTransporteMaritimo();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteAereo(): TransporteAereo
{
return $this->helperGetOrAdd(new TransporteAereo());
}
public function addTransporteAereo(array $attributes = []): TransporteAereo
{
$subject = $this->getTransporteAereo();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteFerroviario(): TransporteFerroviario
{
return $this->helperGetOrAdd(new TransporteFerroviario());
}
public function addTransporteFerroviario(array $attributes = []): TransporteFerroviario
{
$subject = $this->getTransporteFerroviario();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Remolque.php | src/CfdiUtils/Elements/CartaPorte20/Remolque.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolque extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Remolque';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Autotransporte.php | src/CfdiUtils/Elements/CartaPorte20/Autotransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Autotransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Autotransporte';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:IdentificacionVehicular',
'cartaporte20:Seguros',
'cartaporte20:Remolques',
];
}
public function getIdentificacionVehicular(): IdentificacionVehicular
{
return $this->helperGetOrAdd(new IdentificacionVehicular());
}
public function addIdentificacionVehicular(array $attributes = []): IdentificacionVehicular
{
$subject = $this->getIdentificacionVehicular();
$subject->addAttributes($attributes);
return $subject;
}
public function getSeguros(): Seguros
{
return $this->helperGetOrAdd(new Seguros());
}
public function addSeguros(array $attributes = []): Seguros
{
$subject = $this->getSeguros();
$subject->addAttributes($attributes);
return $subject;
}
public function getRemolques(): Remolques
{
return $this->helperGetOrAdd(new Remolques());
}
public function addRemolques(array $attributes = []): Remolques
{
$subject = $this->getRemolques();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Ubicaciones.php | src/CfdiUtils/Elements/CartaPorte20/Ubicaciones.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicaciones extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Ubicaciones';
}
public function addUbicacion(array $attributes = []): Ubicacion
{
$subject = new Ubicacion($attributes);
$this->addChild($subject);
return $subject;
}
public function multiUbicacion(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addUbicacion($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Seguros.php | src/CfdiUtils/Elements/CartaPorte20/Seguros.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Seguros extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Seguros';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/DetalleMercancia.php | src/CfdiUtils/Elements/CartaPorte20/DetalleMercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class DetalleMercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:DetalleMercancia';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/GuiasIdentificacion.php | src/CfdiUtils/Elements/CartaPorte20/GuiasIdentificacion.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class GuiasIdentificacion extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:GuiasIdentificacion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/FiguraTransporte.php | src/CfdiUtils/Elements/CartaPorte20/FiguraTransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class FiguraTransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:FiguraTransporte';
}
public function addTiposFigura(array $attributes = []): TiposFigura
{
$subject = new TiposFigura($attributes);
$this->addChild($subject);
return $subject;
}
public function multiTiposFigura(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addTiposFigura($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/IdentificacionVehicular.php | src/CfdiUtils/Elements/CartaPorte20/IdentificacionVehicular.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class IdentificacionVehicular extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:IdentificacionVehicular';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Contenedor.php | src/CfdiUtils/Elements/CartaPorte20/Contenedor.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Contenedor extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Contenedor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/Mercancia.php | src/CfdiUtils/Elements/CartaPorte20/Mercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:Mercancia';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:Pedimentos',
'cartaporte20:GuiasIdentificacion',
'cartaporte20:CantidadTransporta',
'cartaporte20:DetalleMercancia',
];
}
public function addPedimentos(array $attributes = []): Pedimentos
{
$subject = new Pedimentos($attributes);
$this->addChild($subject);
return $subject;
}
public function multiPedimentos(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addPedimentos($attributes);
}
return $this;
}
public function addGuiasIdentificacion(array $attributes = []): GuiasIdentificacion
{
$subject = new GuiasIdentificacion($attributes);
$this->addChild($subject);
return $subject;
}
public function multiGuiasIdentificacion(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addGuiasIdentificacion($attributes);
}
return $this;
}
public function addCantidadTransporta(array $attributes = []): CantidadTransporta
{
$subject = new CantidadTransporta($attributes);
$this->addChild($subject);
return $subject;
}
public function multiCantidadTransporta(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addCantidadTransporta($attributes);
}
return $this;
}
public function getDetalleMercancia(): DetalleMercancia
{
return $this->helperGetOrAdd(new DetalleMercancia());
}
public function addDetalleMercancia(array $attributes = []): DetalleMercancia
{
$subject = $this->getDetalleMercancia();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/TiposFigura.php | src/CfdiUtils/Elements/CartaPorte20/TiposFigura.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class TiposFigura extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:TiposFigura';
}
public function getChildrenOrder(): array
{
return [
'cartaporte20:PartesTransporte',
'cartaporte20:Domicilio',
];
}
public function addPartesTransporte(array $attributes = []): PartesTransporte
{
$subject = new PartesTransporte($attributes);
$this->addChild($subject);
return $subject;
}
public function multiPartesTransporte(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addPartesTransporte($attributes);
}
return $this;
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/TransporteAereo.php | src/CfdiUtils/Elements/CartaPorte20/TransporteAereo.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteAereo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:TransporteAereo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte20/TransporteMaritimo.php | src/CfdiUtils/Elements/CartaPorte20/TransporteMaritimo.php | <?php
namespace CfdiUtils\Elements\CartaPorte20;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteMaritimo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte20:TransporteMaritimo';
}
public function addContenedor(array $attributes = []): Contenedor
{
$subject = new Contenedor($attributes);
$this->addChild($subject);
return $subject;
}
public function multiContenedor(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addContenedor($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Domicilio.php | src/CfdiUtils/Elements/Cce20/Domicilio.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Domicilio extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Domicilio';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/DescripcionesEspecificas.php | src/CfdiUtils/Elements/Cce20/DescripcionesEspecificas.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class DescripcionesEspecificas extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:DescripcionesEspecificas';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Receptor.php | src/CfdiUtils/Elements/Cce20/Receptor.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Receptor extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Receptor';
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Propietario.php | src/CfdiUtils/Elements/Cce20/Propietario.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Propietario extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Propietario';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Mercancias.php | src/CfdiUtils/Elements/Cce20/Mercancias.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancias extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Mercancias';
}
public function addMercancia(array $attributes = []): Mercancia
{
$subject = new Mercancia($attributes);
$this->addChild($subject);
return $subject;
}
public function multiMercancia(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addMercancia($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Destinatario.php | src/CfdiUtils/Elements/Cce20/Destinatario.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Destinatario extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Destinatario';
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = new Domicilio($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDomicilio(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDomicilio($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/ComercioExterior.php | src/CfdiUtils/Elements/Cce20/ComercioExterior.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class ComercioExterior extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:ComercioExterior';
}
public function getChildrenOrder(): array
{
return [
'cce20:Emisor',
'cce20:Propietario',
'cce20:Receptor',
'cce20:Destinatario',
'cce20:Mercancias',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:cce20' => 'http://www.sat.gob.mx/ComercioExterior20',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/ComercioExterior20'
. ' http://www.sat.gob.mx/sitio_internet/cfd/ComercioExterior20/ComercioExterior20.xsd',
'Version' => '2.0',
];
}
public function getEmisor(): Emisor
{
return $this->helperGetOrAdd(new Emisor());
}
public function addEmisor(array $attributes = []): Emisor
{
$subject = $this->getEmisor();
$subject->addAttributes($attributes);
return $subject;
}
public function addPropietario(array $attributes = []): Propietario
{
$subject = new Propietario($attributes);
$this->addChild($subject);
return $subject;
}
public function multiPropietario(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addPropietario($attributes);
}
return $this;
}
public function getReceptor(): Receptor
{
return $this->helperGetOrAdd(new Receptor());
}
public function addReceptor(array $attributes = []): Receptor
{
$subject = $this->getReceptor();
$subject->addAttributes($attributes);
return $subject;
}
public function addDestinatario(array $attributes = []): Destinatario
{
$subject = new Destinatario($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDestinatario(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDestinatario($attributes);
}
return $this;
}
public function getMercancias(): Mercancias
{
return $this->helperGetOrAdd(new Mercancias());
}
public function addMercancias(array $attributes = []): Mercancias
{
$subject = $this->getMercancias();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Emisor.php | src/CfdiUtils/Elements/Cce20/Emisor.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Emisor extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Emisor';
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Cce20/Mercancia.php | src/CfdiUtils/Elements/Cce20/Mercancia.php | <?php
namespace CfdiUtils\Elements\Cce20;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cce20:Mercancia';
}
public function addDescripcionesEspecificas(array $attributes = []): DescripcionesEspecificas
{
$subject = new DescripcionesEspecificas($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDescripcionesEspecificas(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDescripcionesEspecificas($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/LeyendasFiscales10/LeyendasFiscales.php | src/CfdiUtils/Elements/LeyendasFiscales10/LeyendasFiscales.php | <?php
namespace CfdiUtils\Elements\LeyendasFiscales10;
use CfdiUtils\Elements\Common\AbstractElement;
class LeyendasFiscales extends AbstractElement
{
public function getElementName(): string
{
return 'leyendasFisc:LeyendasFiscales';
}
public function getFixedAttributes(): array
{
return [
'xmlns:leyendasFisc' => 'http://www.sat.gob.mx/leyendasFiscales',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/leyendasFiscales'
. ' http://www.sat.gob.mx/sitio_internet/cfd/leyendasFiscales/leyendasFisc.xsd',
'version' => '1.0',
];
}
public function addLeyenda(array $attributes = []): Leyenda
{
$subject = new Leyenda($attributes);
$this->addChild($subject);
return $subject;
}
public function multiLeyenda(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addLeyenda($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/LeyendasFiscales10/Leyenda.php | src/CfdiUtils/Elements/LeyendasFiscales10/Leyenda.php | <?php
namespace CfdiUtils\Elements\LeyendasFiscales10;
use CfdiUtils\Elements\Common\AbstractElement;
class Leyenda extends AbstractElement
{
public function getElementName(): string
{
return 'leyendasFisc:Leyenda';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Carro.php | src/CfdiUtils/Elements/CartaPorte31/Carro.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\CartaPorte31\ContenedorFerroviario as Contenedor;
use CfdiUtils\Elements\Common\AbstractElement;
class Carro extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Carro';
}
public function addContenedor(array $attributes = []): Contenedor
{
$subject = new Contenedor($attributes);
$this->addChild($subject);
return $subject;
}
public function multiContenedor(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addContenedor($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Ubicacion.php | src/CfdiUtils/Elements/CartaPorte31/Ubicacion.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicacion extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Ubicacion';
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Domicilio.php | src/CfdiUtils/Elements/CartaPorte31/Domicilio.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Domicilio extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Domicilio';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Remolques.php | src/CfdiUtils/Elements/CartaPorte31/Remolques.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolques extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Remolques';
}
public function addRemolque(array $attributes = []): Remolque
{
$subject = new Remolque($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRemolque(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRemolque($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/CantidadTransporta.php | src/CfdiUtils/Elements/CartaPorte31/CantidadTransporta.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class CantidadTransporta extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:CantidadTransporta';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/PartesTransporte.php | src/CfdiUtils/Elements/CartaPorte31/PartesTransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class PartesTransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:PartesTransporte';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/TransporteFerroviario.php | src/CfdiUtils/Elements/CartaPorte31/TransporteFerroviario.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteFerroviario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:TransporteFerroviario';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:DerechosDePaso',
'cartaporte31:Carro',
];
}
public function addDerechosDePaso(array $attributes = []): DerechosDePaso
{
$subject = new DerechosDePaso($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDerechosDePaso(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDerechosDePaso($attributes);
}
return $this;
}
public function addCarro(array $attributes = []): Carro
{
$subject = new Carro($attributes);
$this->addChild($subject);
return $subject;
}
public function multiCarro(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addCarro($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/DerechosDePaso.php | src/CfdiUtils/Elements/CartaPorte31/DerechosDePaso.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class DerechosDePaso extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:DerechosDePaso';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/CartaPorte.php | src/CfdiUtils/Elements/CartaPorte31/CartaPorte.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class CartaPorte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:CartaPorte';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:RegimenesAduaneros',
'cartaporte31:Ubicaciones',
'cartaporte31:Mercancias',
'cartaporte31:FiguraTransporte',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:cartaporte31' => 'http://www.sat.gob.mx/CartaPorte31',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/CartaPorte31'
. ' http://www.sat.gob.mx/sitio_internet/cfd/CartaPorte/CartaPorte31.xsd',
'Version' => '3.1',
];
}
public function getRegimenesAduaneros(): RegimenesAduaneros
{
return $this->helperGetOrAdd(new RegimenesAduaneros());
}
public function addRegimenesAduaneros(array $attributes = []): RegimenesAduaneros
{
$subject = $this->getRegimenesAduaneros();
$subject->addAttributes($attributes);
return $subject;
}
public function getUbicaciones(): Ubicaciones
{
return $this->helperGetOrAdd(new Ubicaciones());
}
public function addUbicaciones(array $attributes = []): Ubicaciones
{
$subject = $this->getUbicaciones();
$subject->addAttributes($attributes);
return $subject;
}
public function getMercancias(): Mercancias
{
return $this->helperGetOrAdd(new Mercancias());
}
public function addMercancias(array $attributes = []): Mercancias
{
$subject = $this->getMercancias();
$subject->addAttributes($attributes);
return $subject;
}
public function getFiguraTransporte(): FiguraTransporte
{
return $this->helperGetOrAdd(new FiguraTransporte());
}
public function addFiguraTransporte(array $attributes = []): FiguraTransporte
{
$subject = $this->getFiguraTransporte();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Mercancias.php | src/CfdiUtils/Elements/CartaPorte31/Mercancias.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancias extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Mercancias';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:Mercancia',
'cartaporte31:Autotransporte',
'cartaporte31:TransporteMaritimo',
'cartaporte31:TransporteAereo',
'cartaporte31:TransporteFerroviario',
];
}
public function addMercancia(array $attributes = []): Mercancia
{
$subject = new Mercancia($attributes);
$this->addChild($subject);
return $subject;
}
public function multiMercancia(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addMercancia($attributes);
}
return $this;
}
public function getAutotransporte(): Autotransporte
{
return $this->helperGetOrAdd(new Autotransporte());
}
public function addAutotransporte(array $attributes = []): Autotransporte
{
$subject = $this->getAutotransporte();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteMaritimo(): TransporteMaritimo
{
return $this->helperGetOrAdd(new TransporteMaritimo());
}
public function addTransporteMaritimo(array $attributes = []): TransporteMaritimo
{
$subject = $this->getTransporteMaritimo();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteAereo(): TransporteAereo
{
return $this->helperGetOrAdd(new TransporteAereo());
}
public function addTransporteAereo(array $attributes = []): TransporteAereo
{
$subject = $this->getTransporteAereo();
$subject->addAttributes($attributes);
return $subject;
}
public function getTransporteFerroviario(): TransporteFerroviario
{
return $this->helperGetOrAdd(new TransporteFerroviario());
}
public function addTransporteFerroviario(array $attributes = []): TransporteFerroviario
{
$subject = $this->getTransporteFerroviario();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Remolque.php | src/CfdiUtils/Elements/CartaPorte31/Remolque.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Remolque extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Remolque';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Autotransporte.php | src/CfdiUtils/Elements/CartaPorte31/Autotransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Autotransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Autotransporte';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:IdentificacionVehicular',
'cartaporte31:Seguros',
'cartaporte31:Remolques',
];
}
public function getIdentificacionVehicular(): IdentificacionVehicular
{
return $this->helperGetOrAdd(new IdentificacionVehicular());
}
public function addIdentificacionVehicular(array $attributes = []): IdentificacionVehicular
{
$subject = $this->getIdentificacionVehicular();
$subject->addAttributes($attributes);
return $subject;
}
public function getSeguros(): Seguros
{
return $this->helperGetOrAdd(new Seguros());
}
public function addSeguros(array $attributes = []): Seguros
{
$subject = $this->getSeguros();
$subject->addAttributes($attributes);
return $subject;
}
public function getRemolques(): Remolques
{
return $this->helperGetOrAdd(new Remolques());
}
public function addRemolques(array $attributes = []): Remolques
{
$subject = $this->getRemolques();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Ubicaciones.php | src/CfdiUtils/Elements/CartaPorte31/Ubicaciones.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Ubicaciones extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Ubicaciones';
}
public function addUbicacion(array $attributes = []): Ubicacion
{
$subject = new Ubicacion($attributes);
$this->addChild($subject);
return $subject;
}
public function multiUbicacion(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addUbicacion($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Seguros.php | src/CfdiUtils/Elements/CartaPorte31/Seguros.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Seguros extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Seguros';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/DetalleMercancia.php | src/CfdiUtils/Elements/CartaPorte31/DetalleMercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class DetalleMercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:DetalleMercancia';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/RemolquesCCP.php | src/CfdiUtils/Elements/CartaPorte31/RemolquesCCP.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class RemolquesCCP extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:RemolquesCCP';
}
public function addRemolqueCCP(array $attributes = []): RemolqueCCP
{
$subject = new RemolqueCCP($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRemolqueCCP(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRemolqueCCP($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/GuiasIdentificacion.php | src/CfdiUtils/Elements/CartaPorte31/GuiasIdentificacion.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class GuiasIdentificacion extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:GuiasIdentificacion';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/ContenedorMaritimo.php | src/CfdiUtils/Elements/CartaPorte31/ContenedorMaritimo.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class ContenedorMaritimo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Contenedor';
}
public function getRemolquesCCP(): RemolquesCCP
{
return $this->helperGetOrAdd(new RemolquesCCP());
}
public function addRemolquesCCP(array $attributes = []): RemolquesCCP
{
$subject = $this->getRemolquesCCP();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/FiguraTransporte.php | src/CfdiUtils/Elements/CartaPorte31/FiguraTransporte.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class FiguraTransporte extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:FiguraTransporte';
}
public function addTiposFigura(array $attributes = []): TiposFigura
{
$subject = new TiposFigura($attributes);
$this->addChild($subject);
return $subject;
}
public function multiTiposFigura(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addTiposFigura($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/IdentificacionVehicular.php | src/CfdiUtils/Elements/CartaPorte31/IdentificacionVehicular.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class IdentificacionVehicular extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:IdentificacionVehicular';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/ContenedorFerroviario.php | src/CfdiUtils/Elements/CartaPorte31/ContenedorFerroviario.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class ContenedorFerroviario extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Contenedor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/DocumentacionAduanera.php | src/CfdiUtils/Elements/CartaPorte31/DocumentacionAduanera.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class DocumentacionAduanera extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:DocumentacionAduanera';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/RemolqueCCP.php | src/CfdiUtils/Elements/CartaPorte31/RemolqueCCP.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class RemolqueCCP extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:RemolqueCCP';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/Mercancia.php | src/CfdiUtils/Elements/CartaPorte31/Mercancia.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class Mercancia extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:Mercancia';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:DocumentacionAduanera',
'cartaporte31:GuiasIdentificacion',
'cartaporte31:CantidadTransporta',
'cartaporte31:DetalleMercancia',
];
}
public function addDocumentacionAduanera(array $attributes = []): DocumentacionAduanera
{
$subject = new DocumentacionAduanera($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDocumentacionAduanera(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDocumentacionAduanera($attributes);
}
return $this;
}
public function addGuiasIdentificacion(array $attributes = []): GuiasIdentificacion
{
$subject = new GuiasIdentificacion($attributes);
$this->addChild($subject);
return $subject;
}
public function multiGuiasIdentificacion(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addGuiasIdentificacion($attributes);
}
return $this;
}
public function addCantidadTransporta(array $attributes = []): CantidadTransporta
{
$subject = new CantidadTransporta($attributes);
$this->addChild($subject);
return $subject;
}
public function multiCantidadTransporta(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addCantidadTransporta($attributes);
}
return $this;
}
public function getDetalleMercancia(): DetalleMercancia
{
return $this->helperGetOrAdd(new DetalleMercancia());
}
public function addDetalleMercancia(array $attributes = []): DetalleMercancia
{
$subject = $this->getDetalleMercancia();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/RegimenesAduaneros.php | src/CfdiUtils/Elements/CartaPorte31/RegimenesAduaneros.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class RegimenesAduaneros extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:RegimenesAduaneros';
}
public function addRegimenAduaneroCCP(array $attributes = []): RegimenAduaneroCCP
{
$subject = new RegimenAduaneroCCP($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRegimenAduaneroCCP(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRegimenAduaneroCCP($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/TiposFigura.php | src/CfdiUtils/Elements/CartaPorte31/TiposFigura.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class TiposFigura extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:TiposFigura';
}
public function getChildrenOrder(): array
{
return [
'cartaporte31:PartesTransporte',
'cartaporte31:Domicilio',
];
}
public function addPartesTransporte(array $attributes = []): PartesTransporte
{
$subject = new PartesTransporte($attributes);
$this->addChild($subject);
return $subject;
}
public function multiPartesTransporte(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addPartesTransporte($attributes);
}
return $this;
}
public function getDomicilio(): Domicilio
{
return $this->helperGetOrAdd(new Domicilio());
}
public function addDomicilio(array $attributes = []): Domicilio
{
$subject = $this->getDomicilio();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/TransporteAereo.php | src/CfdiUtils/Elements/CartaPorte31/TransporteAereo.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteAereo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:TransporteAereo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/RegimenAduaneroCCP.php | src/CfdiUtils/Elements/CartaPorte31/RegimenAduaneroCCP.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\Common\AbstractElement;
class RegimenAduaneroCCP extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:RegimenAduaneroCCP';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/CartaPorte31/TransporteMaritimo.php | src/CfdiUtils/Elements/CartaPorte31/TransporteMaritimo.php | <?php
namespace CfdiUtils\Elements\CartaPorte31;
use CfdiUtils\Elements\CartaPorte31\ContenedorMaritimo as Contenedor;
use CfdiUtils\Elements\Common\AbstractElement;
class TransporteMaritimo extends AbstractElement
{
public function getElementName(): string
{
return 'cartaporte31:TransporteMaritimo';
}
public function addContenedor(array $attributes = []): Contenedor
{
$subject = new Contenedor($attributes);
$this->addChild($subject);
return $subject;
}
public function multiContenedor(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addContenedor($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/TrasladoDR.php | src/CfdiUtils/Elements/Pagos20/TrasladoDR.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class TrasladoDR extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:TrasladoDR';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/Pagos.php | src/CfdiUtils/Elements/Pagos20/Pagos.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class Pagos extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:Pagos';
}
public function getChildrenOrder(): array
{
return [
'pago20:Totales',
'pago20:Pago',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:pago20' => 'http://www.sat.gob.mx/Pagos20',
'xsi:schemaLocation' => 'http://www.sat.gob.mx/Pagos20'
. ' http://www.sat.gob.mx/sitio_internet/cfd/Pagos/Pagos20.xsd',
'Version' => '2.0',
];
}
public function getTotales(): Totales
{
return $this->helperGetOrAdd(new Totales());
}
public function addTotales(array $attributes = []): Totales
{
$subject = $this->getTotales();
$subject->addAttributes($attributes);
return $subject;
}
public function addPago(array $attributes = []): Pago
{
$subject = new Pago($attributes);
$this->addChild($subject);
return $subject;
}
public function multiPago(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addPago($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/Totales.php | src/CfdiUtils/Elements/Pagos20/Totales.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class Totales extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:Totales';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/RetencionDR.php | src/CfdiUtils/Elements/Pagos20/RetencionDR.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class RetencionDR extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:RetencionDR';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/RetencionesDR.php | src/CfdiUtils/Elements/Pagos20/RetencionesDR.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class RetencionesDR extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:RetencionesDR';
}
public function addRetencionDR(array $attributes = []): RetencionDR
{
$subject = new RetencionDR($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRetencionDR(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRetencionDR($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/ImpuestosDR.php | src/CfdiUtils/Elements/Pagos20/ImpuestosDR.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class ImpuestosDR extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:ImpuestosDR';
}
public function getChildrenOrder(): array
{
return [
'pago20:RetencionesDR',
'pago20:TrasladosDR',
];
}
public function getRetencionesDR(): RetencionesDR
{
return $this->helperGetOrAdd(new RetencionesDR());
}
public function addRetencionesDR(array $attributes = []): RetencionesDR
{
$subject = $this->getRetencionesDR();
$subject->addAttributes($attributes);
return $subject;
}
public function getTrasladosDR(): TrasladosDR
{
return $this->helperGetOrAdd(new TrasladosDR());
}
public function addTrasladosDR(array $attributes = []): TrasladosDR
{
$subject = $this->getTrasladosDR();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/TrasladoP.php | src/CfdiUtils/Elements/Pagos20/TrasladoP.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class TrasladoP extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:TrasladoP';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/ImpuestosP.php | src/CfdiUtils/Elements/Pagos20/ImpuestosP.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class ImpuestosP extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:ImpuestosP';
}
public function getChildrenOrder(): array
{
return [
'pago20:RetencionesP',
'pago20:TrasladosP',
];
}
public function getRetencionesP(): RetencionesP
{
return $this->helperGetOrAdd(new RetencionesP());
}
public function addRetencionesP(array $attributes = []): RetencionesP
{
$subject = $this->getRetencionesP();
$subject->addAttributes($attributes);
return $subject;
}
public function getTrasladosP(): TrasladosP
{
return $this->helperGetOrAdd(new TrasladosP());
}
public function addTrasladosP(array $attributes = []): TrasladosP
{
$subject = $this->getTrasladosP();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/TrasladosP.php | src/CfdiUtils/Elements/Pagos20/TrasladosP.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class TrasladosP extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:TrasladosP';
}
public function addTrasladoP(array $attributes = []): TrasladoP
{
$subject = new TrasladoP($attributes);
$this->addChild($subject);
return $subject;
}
public function multiTrasladoP(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addTrasladoP($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/DoctoRelacionado.php | src/CfdiUtils/Elements/Pagos20/DoctoRelacionado.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class DoctoRelacionado extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:DoctoRelacionado';
}
public function getImpuestosDR(): ImpuestosDR
{
return $this->helperGetOrAdd(new ImpuestosDR());
}
public function addImpuestosDR(array $attributes = []): ImpuestosDR
{
$subject = $this->getImpuestosDR();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/RetencionesP.php | src/CfdiUtils/Elements/Pagos20/RetencionesP.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class RetencionesP extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:RetencionesP';
}
public function addRetencionP(array $attributes = []): RetencionP
{
$subject = new RetencionP($attributes);
$this->addChild($subject);
return $subject;
}
public function multiRetencionP(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addRetencionP($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/TrasladosDR.php | src/CfdiUtils/Elements/Pagos20/TrasladosDR.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class TrasladosDR extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:TrasladosDR';
}
public function addTrasladoDR(array $attributes = []): TrasladoDR
{
$subject = new TrasladoDR($attributes);
$this->addChild($subject);
return $subject;
}
public function multiTrasladoDR(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addTrasladoDR($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/Pago.php | src/CfdiUtils/Elements/Pagos20/Pago.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class Pago extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:Pago';
}
public function getChildrenOrder(): array
{
return [
'pago20:DoctoRelacionado',
'pago20:ImpuestosP',
];
}
public function addDoctoRelacionado(array $attributes = []): DoctoRelacionado
{
$subject = new DoctoRelacionado($attributes);
$this->addChild($subject);
return $subject;
}
public function multiDoctoRelacionado(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addDoctoRelacionado($attributes);
}
return $this;
}
public function getImpuestosP(): ImpuestosP
{
return $this->helperGetOrAdd(new ImpuestosP());
}
public function addImpuestosP(array $attributes = []): ImpuestosP
{
$subject = $this->getImpuestosP();
$subject->addAttributes($attributes);
return $subject;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Pagos20/RetencionP.php | src/CfdiUtils/Elements/Pagos20/RetencionP.php | <?php
namespace CfdiUtils\Elements\Pagos20;
use CfdiUtils\Elements\Common\AbstractElement;
class RetencionP extends AbstractElement
{
public function getElementName(): string
{
return 'pago20:RetencionP';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Addenda.php | src/CfdiUtils/Elements/Retenciones10/Addenda.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Addenda extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Addenda';
}
public function add(NodeInterface $child): self
{
$this->children()->add($child);
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Extranjero.php | src/CfdiUtils/Elements/Retenciones10/Extranjero.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Extranjero extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Extranjero';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Receptor.php | src/CfdiUtils/Elements/Retenciones10/Receptor.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Receptor extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Receptor';
}
public function getNacional(): Nacional
{
$nacional = $this->helperGetOrAdd(new Nacional());
$this->children()->removeAll();
$this->addChild($nacional);
$this['Nacionalidad'] = 'Nacional';
return $nacional;
}
public function addNacional(array $attributes = []): Nacional
{
$nacional = $this->getNacional();
$nacional->addAttributes($attributes);
return $nacional;
}
public function getExtranjero(): Extranjero
{
$nacional = $this->helperGetOrAdd(new Extranjero());
$this->children()->removeAll();
$this->addChild($nacional);
$this['Nacionalidad'] = 'Extranjero';
return $nacional;
}
public function addExtranjero(array $attributes = []): Extranjero
{
$extranjero = $this->getExtranjero();
$extranjero->addAttributes($attributes);
return $extranjero;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Totales.php | src/CfdiUtils/Elements/Retenciones10/Totales.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Totales extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Totales';
}
public function addImpRetenidos(array $attributes = [], array $children = []): ImpRetenidos
{
$impRetenidos = new ImpRetenidos($attributes, $children);
$this->addChild($impRetenidos);
return $impRetenidos;
}
public function multiImpRetenidos(array ...$elementAttributes): self
{
foreach ($elementAttributes as $attributes) {
$this->addImpRetenidos($attributes);
}
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Periodo.php | src/CfdiUtils/Elements/Retenciones10/Periodo.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Periodo extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Periodo';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/ImpRetenidos.php | src/CfdiUtils/Elements/Retenciones10/ImpRetenidos.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class ImpRetenidos extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:ImpRetenidos';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Nacional.php | src/CfdiUtils/Elements/Retenciones10/Nacional.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Nacional extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Nacional';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Emisor.php | src/CfdiUtils/Elements/Retenciones10/Emisor.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
class Emisor extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Emisor';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Complemento.php | src/CfdiUtils/Elements/Retenciones10/Complemento.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Complemento extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Complemento';
}
public function add(NodeInterface $child): self
{
$this->children()->add($child);
return $this;
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/Retenciones10/Retenciones.php | src/CfdiUtils/Elements/Retenciones10/Retenciones.php | <?php
namespace CfdiUtils\Elements\Retenciones10;
use CfdiUtils\Elements\Common\AbstractElement;
use CfdiUtils\Nodes\NodeInterface;
class Retenciones extends AbstractElement
{
public function getElementName(): string
{
return 'retenciones:Retenciones';
}
public function getEmisor(): Emisor
{
return $this->helperGetOrAdd(new Emisor());
}
public function addEmisor(array $attributes = []): Emisor
{
$emisor = $this->getEmisor();
$emisor->addAttributes($attributes);
return $emisor;
}
public function getReceptor(): Receptor
{
return $this->helperGetOrAdd(new Receptor());
}
public function addReceptor(array $attributes = []): Receptor
{
$receptor = $this->getReceptor();
$receptor->addAttributes($attributes);
return $receptor;
}
public function getPeriodo(): Periodo
{
return $this->helperGetOrAdd(new Periodo());
}
public function addPeriodo(array $attributes = []): Periodo
{
$periodo = $this->getPeriodo();
$periodo->addAttributes($attributes);
return $periodo;
}
public function getTotales(): Totales
{
return $this->helperGetOrAdd(new Totales());
}
public function addTotales(array $attributes = []): Totales
{
$totales = $this->getTotales();
$totales->addAttributes($attributes);
return $totales;
}
public function addImpRetenidos(array $attributes = []): ImpRetenidos
{
return $this->getTotales()->addImpRetenidos($attributes);
}
public function multiImpRetenidos(array ...$elementAttributes): self
{
$this->getTotales()->multiImpRetenidos(...$elementAttributes);
return $this;
}
public function getComplemento(): Complemento
{
return $this->helperGetOrAdd(new Complemento());
}
public function addComplemento(NodeInterface $children): self
{
$this->getComplemento()->add($children);
return $this;
}
public function getAddenda(): Addenda
{
return $this->helperGetOrAdd(new Addenda());
}
public function addAddenda(NodeInterface $children): self
{
$this->getAddenda()->add($children);
return $this;
}
public function getChildrenOrder(): array
{
return [
'retenciones:Emisor',
'retenciones:Receptor',
'retenciones:Periodo',
'retenciones:Totales',
'retenciones:Complemento',
'retenciones:Addenda',
];
}
public function getFixedAttributes(): array
{
return [
'xmlns:retenciones' => 'http://www.sat.gob.mx/esquemas/retencionpago/1',
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
'xsi:schemaLocation' => vsprintf('%s %s', [
'http://www.sat.gob.mx/esquemas/retencionpago/1',
'http://www.sat.gob.mx/esquemas/retencionpago/1/retencionpagov1.xsd',
]),
'Version' => '1.0',
];
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/src/CfdiUtils/Elements/PagosAExtranjeros10/Beneficiario.php | src/CfdiUtils/Elements/PagosAExtranjeros10/Beneficiario.php | <?php
namespace CfdiUtils\Elements\PagosAExtranjeros10;
use CfdiUtils\Elements\Common\AbstractElement;
class Beneficiario extends AbstractElement
{
public function getElementName(): string
{
return 'pagosaextranjeros:Beneficiario';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.