helpers

class satcfdi.transform.helpers.SchemaCollector[source]

Bases: object

add_schema(schema)[source]
add_map(tns_alias, tns)[source]
add_base(base)[source]
class satcfdi.transform.helpers.Xint(value: str)[source]

Bases: int

An int class that knows the original value that was used to create it

satcfdi.transform.helpers.fmt_decimal(d)[source]
satcfdi.transform.helpers.simple_element(_tag, nsmap=None, text=None)[source]
satcfdi.transform.helpers.default_objectify(cls, node)[source]
satcfdi.transform.helpers.impuesto_index(attrib, attribute_name)[source]
satcfdi.transform.helpers.catalog_code(*args)[source]
satcfdi.transform.helpers.strcode(data)[source]
satcfdi.transform.helpers.format_address_raw(calle, num_exterior, num_interior, referencia, colonia, municipio, localidad, estado, pais, codigo_postal)[source]
satcfdi.transform.helpers.format_address(k)[source]
satcfdi.transform.helpers.split_at_upper(word: str)[source]
satcfdi.transform.helpers.trans(k)[source]
satcfdi.transform.helpers.desc(s)[source]