From 0ea9793d81ee2e2bef3f133c8d2d43088ddd2929 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 5 Nov 2017 17:29:05 -0800 Subject: [PATCH] doc: examples: simplify amazon csv rules slightly [ci skip] --- examples/csv/amazon.csv.rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/csv/amazon.csv.rules b/examples/csv/amazon.csv.rules index e9991f1e7..0f0d7609c 100644 --- a/examples/csv/amazon.csv.rules +++ b/examples/csv/amazon.csv.rules @@ -7,7 +7,7 @@ skip: 1 # name the csv fields, and assign some of them as entry fields -fields: date, type, toorfrom, name, status_, payment, fees, code +fields: date, type, toorfrom, name, status_, amount, fees, code # parse the date date-format: %b %-d, %Y @@ -18,8 +18,8 @@ description: %toorfrom %name # save these fields as tags comment: status:%status_, fees:%fees -# flip the sign on the payment amount -amount: -%payment +# flip the sign on the amount +amount: -%amount # set the base account for all txns account1: assets:personal:online:amazon