models
- class satcfdi.accounting.models.SatCFDI[source]
Bases:
CFDI- relations: list[satcfdi.accounting.models.Relation] = None
- payments: list[satcfdi.accounting.models.Payment] = None
SatCFDI is an extension of a CFDI to represent a CFDI that has been sent to SAT
- property uuid
- property name
- property saldo_pendiente: Decimal
- property ultima_num_parcialidad: int
- property metadata: str
- property estatus: str
‘0’ = ‘Cancelado’ ‘1’ = ‘Vigente’ :return:
- property fecha_cancelacion: datetime.datetime | None
- tag
- class satcfdi.accounting.models.Relation(cfdi_relacionados: satcfdi.xelement.XElement, comprobante: satcfdi.accounting.models.SatCFDI)[source]
Bases:
object
- class satcfdi.accounting.models.Payment(comprobante: satcfdi.accounting.models.SatCFDI, pago: satcfdi.xelement.XElement = None, docto_relacionado: satcfdi.xelement.XElement = None)[source]
Bases:
object
- class satcfdi.accounting.models.PaymentsDetails(comprobante: satcfdi.accounting.models.SatCFDI, pago: satcfdi.xelement.XElement = None, docto_relacionado: satcfdi.xelement.XElement = None, comprobante_pagado: satcfdi.accounting.models.SatCFDI = None)[source]
Bases:
Payment