Repository navigation
Replies: 2 comments 1 reply
|
Yes. The ezBookkeeping API Tool Script currently does not support creating accounts with multiple sub-accounts, mainly because it is difficult to provide an effective interactive experience in a command line environment. In practice, I think the primary use case for the ezBookkeeping API Tool Script is creating transactions, since this is the most frequently performed operation. For creating accounts and transaction categories, I recommend using the user interface instead. |
0 replies
|
Thankyou for your reply. Its helpful.
Im am now trying to use the base api from a python script to upload
accounts with multiple sub_accounts. The api description is not very clear
about the sub_account information that must be present in the call.
AccountCreateRequest
Field Type Required Description
name string Required Account name
category AccountCategory Required Account category
type AccountType Required Account type
icon string Required Account icon ID
color string Required Account icon color (Hex color code RRGGBB)
currency string Required Account currency code (ISO 4217 code, "---" for
the parent account)
balance string Optional Account balance (Supports up to two decimals. For
example, a value of 1234 represents an amount of 12.34. Liability account
should set to negative amount)
balanceTime integer Optional The unix time when the account balance is the
set value (This field is required when balance is set)
comment string Optional Account description
creditCardStatementDate integer Optional The statement date of the credit
card account
subAccounts AccountCreateRequest[] Optional The sub accounts list
Does it suffice to only give the names of the sub_accounts or do they have
the same structure as the parent account in the api?
Can you maybe supply me with an example.
thank you
Op do 6 aug 2026 om 13:26 schreef mayswind ***@***.***>:
… Yes. The ezBookkeeping API Tool Script currently does not support creating
accounts with multiple sub-accounts, mainly because it is difficult to
provide an effective interactive experience in a command line environment.
In practice, I think the primary use case for the ezBookkeeping API Tool
Script is creating transactions, since this is the most frequently
performed operation. For creating accounts and transaction categories, I
recommend using the user interface instead.
—
Reply to this email directly, view it on GitHub
<#643?email_source=notifications&email_token=AQYSHHV3A7JBP5QYQBTQBK35IRTPTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZZGIYDANBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17920041>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQYSHHX24VCQLSWIPEXSXQD5IRTPTAVCNFSNUABIKJSXA33TNF2G64TZHMZTANBYGM3DKOBVHNCGS43DOVZXG2LPNY5TCMBVGYZTENJXUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AQYSHHS4NSFOR6SGCCVENCL5IRTPTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZZGIYDANBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM>
and Android
<https://github.com/notifications/mobile/android/AQYSHHWMWUG35KGNJUZ3AAT5IRTPTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZZGIYDANBRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
M.vr.gr
Leen
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using ebktools.sh to ad accounts. This works very well for a single account. is commandline on ubuntu bt supplying the nessecary fields like ./ebktools.sh account-add --name cash --type 2 --icon 100 --color 90EE90 --currency EUR.
This is type 2 multiple subaccounts. This is rejected with the error "errorMessage": "account must have at least one sub-account",
There seems to be no way to give these parameters on the commandline.
Is there another solution maybe with a .json structure and how do you use this with ebktools.
Any help is appreciated
All reactions