Merge pull request #214 into master

2ec14fa container: hledger-flow: paypal-business: add expenses description subaccount (Aaron Fiore)
ef3b255 container: hledger-flow: paypal: add expenses description subaccount (Aaron Fiore)
This commit was merged in pull request #214.
This commit is contained in:
2025-09-04 12:12:22 -07:00
2 changed files with 9 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
# docker-finance | modern accounting for the power-user
#
# Copyright (C) 2021-2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
# Copyright (C) 2021-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -121,6 +121,10 @@ if %direction ^OUT$
amount -%amount_ %currency_
account2 expenses:paypal-business:%subaccount:%currency_
if %direction ^OUT$
& %description_ [0-9a-z]
account2 expenses:paypal-business:%subaccount:%description_:%currency_
if %status_ Reversed
amount -%amount_ %currency_
@@ -135,43 +139,4 @@ if %direction ^OUT$
if %type Account Hold
account2 assets:paypal-business:%subaccount:payable:account_hold:%currency_
# TODO: subaccount categories where applicable
# Advertising
# Continuing education
# Credit and collection fees
# Bank fees
# Dues and subscriptions
# Employee benefit programs
# Insurance
# Maintenance and repairs
# Legal and professional expenses
# Office expenses and supplies
# Telephone
# Utilities
# Postage and shipping
# Printing
# Rent
# Salaries and other compensation
# Travel
# Utilities
# Business meals
# Business use of your car
# Moving expenses
# Depreciation
# Charitable contributions
# Child and/or dependent care
# Startup expenses
# Mortgage interest
# Software
# Books and magazine subscriptions
# Foreign earned income
# Medical expenses
# Licenses and permits
# Manufacturing or raw materials
# Retirement contributions
# Real estate taxes
# Client gifts
# Employee loans
# vim: sw=2 sts=2 si ai et

View File

@@ -70,6 +70,10 @@ if %direction ^OUT$
if %direction ^OUT$
account2 expenses:paypal:%subaccount:%currency_
if %direction ^OUT$
& %description_ [0-9a-z]
account2 expenses:paypal:platform:%description_:%currency_
if %direction ^OUT$
& %fees [1-9]
account3 assets:paypal:%subaccount:%currency_