libredte_lib_sdk.billing.book.builder module

Servicio para billing.book.builder.

class libredte_lib_sdk.billing.book.builder.BookBuilderService(client: ApiClient)

Bases: object

Construye un libro tributario (billing.book.builder).

build(bag: dict[str, Any], *, certificate: Certificate) Book

Construye el libro descrito por bag.

bag trae tipo (“libro_ventas”, “libro_compras”, “libro_boletas”, “libro_guias”, “resumen_ventas_diarias”, sin tipar como enum cerrado), caratula, detalle y emisor, tal cual el formato SII.