From 4bec30f60085e4993259b8142f6eea9b9f1c3fef Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Mon, 30 Sep 2024 18:10:07 -0700 Subject: [PATCH] container: hledger-flow: vultr: add sales tax rule Vultr has now added Sales Tax to their CSV invoice. --- container/src/hledger-flow/accounts/vultr/vultr-shared.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container/src/hledger-flow/accounts/vultr/vultr-shared.rules b/container/src/hledger-flow/accounts/vultr/vultr-shared.rules index 4c827d3..7eafd36 100644 --- a/container/src/hledger-flow/accounts/vultr/vultr-shared.rules +++ b/container/src/hledger-flow/accounts/vultr/vultr-shared.rules @@ -24,7 +24,9 @@ amount -%amount_ USD comment invoice:%invoice, quantity:%quantity, direction:%direction -# NOTE: Vultr currently only provides expenses w/out sales tax account2 expenses:vultr:%subaccount:USD +if %description ^Sales Tax$ + account2 expenses:vultr:%subaccount:sales_tax:USD + # vim: sw=2 sts=2 si ai et