View Source SAT.Report.ISR (sat_mexico v0.1.0)

Get a summarized report for withholdings ISR taxes.

Summary

Functions

Expects a directory with the XML invoices to build the a grouped list.

Expects the output obtained via withholdings/1 to return the summarized result.

Functions

@spec withholdings(path_dir :: String.t()) :: map() | {:error, message :: String.t()}

Expects a directory with the XML invoices to build the a grouped list.

Link to this function

withholdings_summarize(data)

View Source
@spec withholdings_summarize(data :: map()) :: []

Expects the output obtained via withholdings/1 to return the summarized result.

This helps to get the right values to do the details for withheld tax by a moral person.