diotV2

class satcfdi.diotV2.TipoOperacion(*values)[source]

Bases: StrEnum

ENAJENACION_DE_BIENES = '02'
PRESTACION_DE_SERVICIOS_PROFESIONALES = '03'
USO_O_GOSE_TEMPORAL_DE_BIENES = '06'
IMPORTACION_DE_BIENES_O_SERVICIOS = '07'
IMPORTACION_POR_TRASFERENCIA_VIRTUAL = '08'
OTROS = '85'
OPERACIONES_GLOBALES = '87'
class satcfdi.diotV2.TipoTercero(*values)[source]

Bases: StrEnum

PROVEEDOR_NACIONAL = '04'
PROVEEDOR_EXTRANJERO = '05'
PROVEEDOR_GLOBAL = '15'
class satcfdi.diotV2.ProveedorTercero(tipo_tercero: satcfdi.diotV2.TipoTercero, tipo_operacion: satcfdi.diotV2.TipoOperacion, rfc: str | satcfdi.models.rfc.RFC | NoneType = None, iva16base: int | None = 0, iva0base: int | None = 0, iva16descuento: int | None = 0, iva16acreditable: int | None = 0, iva16noacreditable: int | None = 0, actividadesNoObjeto: int | None = 0, actividadesExentos: int | None = 0)[source]

Bases: object

tipo_tercero: TipoTercero
tipo_operacion: TipoOperacion
rfc: str | RFC | None = None
iva16base: int | None = 0
iva0base: int | None = 0
iva16descuento: int | None = 0
iva16acreditable: int | None = 0
iva16noacreditable: int | None = 0
actividadesNoObjeto: int | None = 0
actividadesExentos: int | None = 0
to_list()[source]
class satcfdi.diotV2.DIOTV2(proveedores: Sequence[ProveedorTercero] = None)[source]

Bases: object

export(target)[source]