feat: importação de fatura de cartão — strip R$, skip negativos, all_expenses

Parser limpa prefixo R$ e símbolos de moeda antes de parsear o valor.
Flags SkipNegative e AllExpenses para CSV de fatura de cartão.
UI: checkboxes "Fatura de cartão" e "Ignorar valores negativos".

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-05-27 15:56:14 -03:00
co-authored by Claude Sonnet 4.6
parent 7dae05cabf
commit e438002c0a
4 changed files with 37 additions and 5 deletions
+2
View File
@@ -41,4 +41,6 @@ type CSVMapping struct {
HasHeader bool `json:"has_header"`
DecimalSeparator string `json:"decimal_separator"` // "." or ","
FieldSeparator string `json:"field_separator"` // "," or ";"
SkipNegative bool `json:"skip_negative"` // skip rows with negative amount (e.g. credit card bill payments)
AllExpenses bool `json:"all_expenses"` // treat all rows as expense (credit card statements)
}