mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 17:48:41 +02:00
feat(import): add Cajamar preset
Thanks to Pablo Hinojosa for sharing his file
This commit is contained in:
46
app/import_presets/cajamar/config.yml
Normal file
46
app/import_presets/cajamar/config.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
settings:
|
||||||
|
file_type: xls
|
||||||
|
skip_errors: true
|
||||||
|
trigger_transaction_rules: true
|
||||||
|
importing: transactions
|
||||||
|
start_row: 1
|
||||||
|
sheets: "*"
|
||||||
|
|
||||||
|
mapping:
|
||||||
|
account:
|
||||||
|
target: account
|
||||||
|
default: "<TU NOMBRE DE CUENTA>"
|
||||||
|
type: name
|
||||||
|
|
||||||
|
type:
|
||||||
|
source: Importe
|
||||||
|
target: type
|
||||||
|
detection_method: sign
|
||||||
|
|
||||||
|
internal_id:
|
||||||
|
target: internal_id
|
||||||
|
transformations:
|
||||||
|
- type: hash
|
||||||
|
fields: ["Fecha", "Concepto", "Importe", "Saldo"]
|
||||||
|
date:
|
||||||
|
source: "Fecha"
|
||||||
|
target: date
|
||||||
|
format: "%d-%m-%Y"
|
||||||
|
|
||||||
|
description:
|
||||||
|
source: Concepto
|
||||||
|
target: description
|
||||||
|
|
||||||
|
amount:
|
||||||
|
source: Importe
|
||||||
|
target: amount
|
||||||
|
|
||||||
|
is_paid:
|
||||||
|
target: is_paid
|
||||||
|
detection_method: always_paid
|
||||||
|
|
||||||
|
deduplication:
|
||||||
|
- type: compare
|
||||||
|
fields:
|
||||||
|
- internal_id
|
||||||
|
match_type: strict
|
||||||
7
app/import_presets/cajamar/manifest.json
Normal file
7
app/import_presets/cajamar/manifest.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"author": "eitchtee,Pablo Hinojosa",
|
||||||
|
"description": "Importe sus movimientos desde su cuenta de Cajamar",
|
||||||
|
"schema_version": 1,
|
||||||
|
"name": "Grupo Cooperativo Cajamar",
|
||||||
|
"message": "Cambia '<TU NOMBRE DE CUENTA>' por el nombre de tu cuenta de Cajamar dentro de WYGIWYH"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user