mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-19 07:54:08 +01:00
feat(import): add Nuconta preset
This commit is contained in:
54
app/import_presets/nuconta/config.yml
Normal file
54
app/import_presets/nuconta/config.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
settings:
|
||||
file_type: csv
|
||||
delimiter: ","
|
||||
encoding: utf-8
|
||||
skip_lines: 0
|
||||
importing: transactions
|
||||
trigger_transaction_rules: true
|
||||
skip_errors: true
|
||||
|
||||
mapping:
|
||||
account:
|
||||
target: account
|
||||
default: <NOME DA SUA CONTA>
|
||||
type: name
|
||||
|
||||
date:
|
||||
target: date
|
||||
source: Data
|
||||
format: "%d/%m/%Y"
|
||||
|
||||
amount:
|
||||
target: amount
|
||||
source: Valor
|
||||
|
||||
description:
|
||||
target: description
|
||||
source: Descrição
|
||||
transformations:
|
||||
- type: split
|
||||
separator: " - "
|
||||
index: 0
|
||||
|
||||
type:
|
||||
source: "Valor"
|
||||
target: "type"
|
||||
detection_method: sign
|
||||
|
||||
notes:
|
||||
target: notes
|
||||
source: Notes
|
||||
|
||||
internal_id:
|
||||
target: internal_id
|
||||
source: Identificador
|
||||
|
||||
is_paid:
|
||||
target: is_paid
|
||||
detection_method: always_paid
|
||||
|
||||
deduplicate:
|
||||
- type: compare
|
||||
fields:
|
||||
- internal_id
|
||||
match_type: lax
|
||||
7
app/import_presets/nuconta/manifest.json
Normal file
7
app/import_presets/nuconta/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"author": "eitchtee",
|
||||
"description": "Importe suas transações da conta corrente do Nubank",
|
||||
"schema_version": 1,
|
||||
"name": "Nubank - Conta Corrente",
|
||||
"message": "Mude '<NOME DA SUA CONTA>' para o nome da sua Nuconta dentro do WYGIWYH"
|
||||
}
|
||||
Reference in New Issue
Block a user