--config-file Path to the configuration file
taxes produce a tax report
--year the year to produce the report for
--zip-file Path to the zip file to create default: "tax-packet.zip"
--packet-dir Path to the packet directory to create
vat produce a VAT report
--quarter the quarter to produce the report for
--zip-file path to the zip file to create default: "vat-packet.zip"
--packet-dir Path to the packet directory to create
download-rates Download exchange rates
--begin The begin date (inclusive), default: Start of the year
--end The final date (inclusive), default: Yesterday
--output|-o Where to put the resulting file
--base-dir base directory
-l|--ledger ledger file default: "ledger.cent"
--prices prices file default: "currency-rates.cent"
--watch|-w Run centjes in a loop default: False
--[no-]clean Clean the packet directory
CENTJES_SWITZERLAND_CONFIG_FILE FILE_PATH Path to the configuration file
CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH Path to the zip file to create default: "tax-packet.zip"
CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH Path to the packet directory to create
CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH path to the zip file to create default: "vat-packet.zip"
CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH Path to the packet directory to create
CENTJES_SWITZERLAND_BEGIN YYYY-MM-DD The begin date (inclusive), default: Start of the year
CENTJES_SWITZERLAND_END YYYY-MM-DD The final date (inclusive), default: Yesterday
CENTJES_SWITZERLAND_OUTPUT FILE_PATH Where to put the resulting file
CENTJES_SWITZERLAND_BASE_DIR DIRECTORY_PATH base directory
CENTJES_SWITZERLAND_LEDGER FILE_PATH ledger file default: "ledger.cent"
CENTJES_SWITZERLAND_PRICES FILE_PATH prices file default: "currency-rates.cent"
CENTJES_SWITZERLAND_WATCH ANY Run centjes in a loop default: False
CENTJES_SWITZERLAND_CLEAN BOOL Clean the packet directory
your first name
first-name:
# or null
<string>
your last name
last-name:
# or null
<string>
The AHV identifier.
example: 7461111222233
ahv-id:
# or null
<string>
the year to produce the report for
year:
# or null
<integer>
tag to use for undeclared asset accounts
default: "undeclared"
tag-undeclared:
# or null
<string>
tag to use for deductible purchases
default: "deductible"
tag-deductible:
# or null
<string>
tag to use for non-deductible purchases
default: "not-deductible"
tag-not-deductible:
# or null
<string>
tag to use for tax-deductible purchases
default: "tax-deductible"
tag-tax-deductible:
# or null
<string>
tag to use for non-tax-deductible purchases
default: "not-tax-deductible"
tag-not-tax-deductible:
# or null
<string>
the account to use for third pillar assets
default: "assets:third-pillar"
third-pillar-assets-account:
# or null
<string>
the account to use for third pillar insurance expenses
default: "expenses:insurance:third-pillar"
third-pillar-insurance-expenses-account:
# or null
<string>
the account to use for accident insurance expenses
default: "expenses:insurance:accident"
accident-insurance-expenses-account:
# or null
<string>
the account to use for daily allowance insurance expenses
default: "expenses:insurance:daily-allowance"
daily-allowance-insurance-expenses-account:
# or null
<string>
the account to use for homeoffice expenses
default: "expenses:rent:homeoffice"
homeoffice-expenses-account:
# or null
<string>
the account to use for electricity expenses
default: "expenses:electricity:homeoffice"
electricity-expenses-account:
# or null
<string>
the account to use for phone expenses
default: "expenses:phone:professional"
phone-expenses-account:
# or null
<string>
the account to use for travel expenses
default: "expenses:travel:professional"
travel-expenses-account:
# or null
<string>
the account to use for internet expenses
default: "expenses:internet:homeoffice"
internet-expenses-account:
# or null
<string>
the account to use for health insurance expenses
default: "expenses:health"
health-insurance-expenses-account:
# or null
<string>
Path to the zip file to create
default: "tax-packet.zip"
taxes.zip-file:
# or null
<string>
Path to the packet directory to create
taxes.packet-dir:
# or null
<string>
Your legal name
person-name:
# or null
<string>
your first name
first-name:
# or null
<string>
your last name
last-name:
# or null
<string>
The organisation's legal name
organisation-name:
# or null
<string>
the VAT identifier
example: 111.222.333
vat-id:
# or null
<string>
the quarter to produce the report for
quarter:
# or null
# Quarter
<any>
tag to use for deductible purchases
default: "deductible"
tag-deductible:
# or null
<string>
tag to use for non-deductible purchases
default: "not-deductible"
tag-not-deductible:
# or null
<string>
tag to use for VAT-deductible purchases
default: "vat-deductible"
tag-vat-deductible:
# or null
<string>
tag to use for non-VAT-deductible purchases
default: "not-vat-deductible"
tag-not-vat-deductible:
# or null
<string>
Account name of your domestic income
default: "income:domestic"
domestic-income-account:
# or null
<string>
Account name of your exports' income
default: "income:exports"
exports-income-account:
# or null
<string>
Account name of your foreign income
default: "income:foreign"
foreign-income-account:
# or null
<string>
Account name of your the VAT you've charged
default: "income:VAT"
vat-income-account:
# or null
<string>
Account name of your the VAT you've paid
default: "expenses:VAT"
vat-expenses-account:
# or null
<string>
path to the zip file to create
default: "vat-packet.zip"
vat.zip-file:
# or null
<string>
Path to the packet directory to create
vat.packet-dir:
# or null
<string>
The begin date (inclusive), default: Start of the year
download-rates.begin:
# or null
# Day
<string>
The final date (inclusive), default: Yesterday
download-rates.end:
# or null
# Day
<string>
Where to put the resulting file
download-rates.output:
# or null
<string>
base directory
base-dir:
# or null
<string>
ledger file
default: "ledger.cent"
ledger:
# or null
<string>
prices file
default: "currency-rates.cent"
prices:
# or null
<string>
Run centjes in a loop
default: False
watch:
# or null
<boolean>
Clean the packet directory
clean:
# or null
<boolean>
Usage: centjes-switzerland [--config-file FILE_PATH] COMMAND [--base-dir DIRECTORY_PATH] [-l|--ledger FILE_PATH] [--prices FILE_PATH] [--watch|-w --watch|-w ANY] [--[no-]clean]
All settings:
Show this help text
switch: -h|--help
Output version information
switch: --version
Path to the configuration file
option: --config-file FILE_PATH
env: CENTJES_SWITZERLAND_CONFIG_FILE FILE_PATH
base directory
option: --base-dir DIRECTORY_PATH
env: CENTJES_SWITZERLAND_BASE_DIR DIRECTORY_PATH
config:
base-dir: # or null
<string>
ledger file
option: -l|--ledger FILE_PATH
env: CENTJES_SWITZERLAND_LEDGER FILE_PATH
config:
ledger: # or null
<string>
default: "ledger.cent"
prices file
option: --prices FILE_PATH
env: CENTJES_SWITZERLAND_PRICES FILE_PATH
config:
prices: # or null
<string>
default: "currency-rates.cent"
Run centjes in a loop
switch: --watch|-w
option: --watch|-w ANY
env: CENTJES_SWITZERLAND_WATCH ANY
config:
watch: # or null
<boolean>
default: False
Clean the packet directory
switch: --[no-]clean
env: CENTJES_SWITZERLAND_CLEAN BOOL
config:
clean: # or null
<boolean>
All commands:
produce a tax report
command: taxes
your first name
config:
first-name: # or null
<string>
your last name
config:
last-name: # or null
<string>
The AHV identifier.
config:
ahv-id: # or null
<string>
example: 7461111222233
the year to produce the report for
option: --year YYYY
config:
year: # or null
<integer>
tag to use for undeclared asset accounts
config:
tag-undeclared: # or null
<string>
default: "undeclared"
tag to use for deductible purchases
config:
tag-deductible: # or null
<string>
default: "deductible"
tag to use for non-deductible purchases
config:
tag-not-deductible: # or null
<string>
default: "not-deductible"
tag to use for tax-deductible purchases
config:
tag-tax-deductible: # or null
<string>
default: "tax-deductible"
tag to use for non-tax-deductible purchases
config:
tag-not-tax-deductible: # or null
<string>
default: "not-tax-deductible"
the account to use for third pillar assets
config:
third-pillar-assets-account: # or null
<string>
default: "assets:third-pillar"
the account to use for third pillar insurance expenses
config:
third-pillar-insurance-expenses-account: # or null
<string>
default: "expenses:insurance:third-pillar"
the account to use for accident insurance expenses
config:
accident-insurance-expenses-account: # or null
<string>
default: "expenses:insurance:accident"
the account to use for daily allowance insurance expenses
config:
daily-allowance-insurance-expenses-account: # or null
<string>
default: "expenses:insurance:daily-allowance"
the account to use for homeoffice expenses
config:
homeoffice-expenses-account: # or null
<string>
default: "expenses:rent:homeoffice"
the account to use for electricity expenses
config:
electricity-expenses-account: # or null
<string>
default: "expenses:electricity:homeoffice"
the account to use for phone expenses
config:
phone-expenses-account: # or null
<string>
default: "expenses:phone:professional"
the account to use for travel expenses
config:
travel-expenses-account: # or null
<string>
default: "expenses:travel:professional"
the account to use for internet expenses
config:
internet-expenses-account: # or null
<string>
default: "expenses:internet:homeoffice"
the account to use for health insurance expenses
config:
health-insurance-expenses-account: # or null
<string>
default: "expenses:health"
Path to the zip file to create
option: --zip-file FILE_PATH
env: CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH
config:
taxes.zip-file: # or null
<string>
default: "tax-packet.zip"
Path to the packet directory to create
option: --packet-dir DIRECTORY_PATH
env: CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH
config:
taxes.packet-dir: # or null
<string>
produce a VAT report
command: vat
Your legal name
config:
person-name: # or null
<string>
your first name
config:
first-name: # or null
<string>
your last name
config:
last-name: # or null
<string>
The organisation's legal name
config:
organisation-name: # or null
<string>
the VAT identifier
config:
vat-id: # or null
<string>
example: 111.222.333
the quarter to produce the report for
option: --quarter YYYY-QN
config:
quarter: # or null
# Quarter
<any>
tag to use for deductible purchases
config:
tag-deductible: # or null
<string>
default: "deductible"
tag to use for non-deductible purchases
config:
tag-not-deductible: # or null
<string>
default: "not-deductible"
tag to use for VAT-deductible purchases
config:
tag-vat-deductible: # or null
<string>
default: "vat-deductible"
tag to use for non-VAT-deductible purchases
config:
tag-not-vat-deductible: # or null
<string>
default: "not-vat-deductible"
Account name of your domestic income
config:
domestic-income-account: # or null
<string>
default: "income:domestic"
Account name of your exports' income
config:
exports-income-account: # or null
<string>
default: "income:exports"
Account name of your foreign income
config:
foreign-income-account: # or null
<string>
default: "income:foreign"
Account name of your the VAT you've charged
config:
vat-income-account: # or null
<string>
default: "income:VAT"
Account name of your the VAT you've paid
config:
vat-expenses-account: # or null
<string>
default: "expenses:VAT"
path to the zip file to create
option: --zip-file FILE_PATH
env: CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH
config:
vat.zip-file: # or null
<string>
default: "vat-packet.zip"
Path to the packet directory to create
option: --packet-dir DIRECTORY_PATH
env: CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH
config:
vat.packet-dir: # or null
<string>
Download exchange rates
command: download-rates
The begin date (inclusive), default: Start of the year
option: --begin YYYY-MM-DD
env: CENTJES_SWITZERLAND_BEGIN YYYY-MM-DD
config:
download-rates.begin: # or null
# Day
<string>
The final date (inclusive), default: Yesterday
option: --end YYYY-MM-DD
env: CENTJES_SWITZERLAND_END YYYY-MM-DD
config:
download-rates.end: # or null
# Day
<string>
Where to put the resulting file
option: --output|-o FILE_PATH
env: CENTJES_SWITZERLAND_OUTPUT FILE_PATH
config:
download-rates.output: # or null
<string>
Options:
-h|--help Show this help text
--version Output version information
--config-file Path to the configuration file
taxes produce a tax report
--year the year to produce the report for
--zip-file Path to the zip file to create default: "tax-packet.zip"
--packet-dir Path to the packet directory to create
vat produce a VAT report
--quarter the quarter to produce the report for
--zip-file path to the zip file to create default: "vat-packet.zip"
--packet-dir Path to the packet directory to create
download-rates Download exchange rates
--begin The begin date (inclusive), default: Start of the year
--end The final date (inclusive), default: Yesterday
--output|-o Where to put the resulting file
--base-dir base directory
-l|--ledger ledger file default: "ledger.cent"
--prices prices file default: "currency-rates.cent"
--watch|-w Run centjes in a loop default: False
--[no-]clean Clean the packet directory
Environment Variables:
CENTJES_SWITZERLAND_CONFIG_FILE FILE_PATH Path to the configuration file
CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH Path to the zip file to create default: "tax-packet.zip"
CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH Path to the packet directory to create
CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH path to the zip file to create default: "vat-packet.zip"
CENTJES_SWITZERLAND_PACKET_DIR DIRECTORY_PATH Path to the packet directory to create
CENTJES_SWITZERLAND_BEGIN YYYY-MM-DD The begin date (inclusive), default: Start of the year
CENTJES_SWITZERLAND_END YYYY-MM-DD The final date (inclusive), default: Yesterday
CENTJES_SWITZERLAND_OUTPUT FILE_PATH Where to put the resulting file
CENTJES_SWITZERLAND_BASE_DIR DIRECTORY_PATH base directory
CENTJES_SWITZERLAND_LEDGER FILE_PATH ledger file default: "ledger.cent"
CENTJES_SWITZERLAND_PRICES FILE_PATH prices file default: "currency-rates.cent"
CENTJES_SWITZERLAND_WATCH ANY Run centjes in a loop default: False
CENTJES_SWITZERLAND_CLEAN BOOL Clean the packet directory
Configuration Values:
your first name
first-name:
# or null
<string>
your last name
last-name:
# or null
<string>
The AHV identifier.
example: 7461111222233
ahv-id:
# or null
<string>
the year to produce the report for
year:
# or null
<integer>
tag to use for undeclared asset accounts
default: "undeclared"
tag-undeclared:
# or null
<string>
tag to use for deductible purchases
default: "deductible"
tag-deductible:
# or null
<string>
tag to use for non-deductible purchases
default: "not-deductible"
tag-not-deductible:
# or null
<string>
tag to use for tax-deductible purchases
default: "tax-deductible"
tag-tax-deductible:
# or null
<string>
tag to use for non-tax-deductible purchases
default: "not-tax-deductible"
tag-not-tax-deductible:
# or null
<string>
the account to use for third pillar assets
default: "assets:third-pillar"
third-pillar-assets-account:
# or null
<string>
the account to use for third pillar insurance expenses
default: "expenses:insurance:third-pillar"
third-pillar-insurance-expenses-account:
# or null
<string>
the account to use for accident insurance expenses
default: "expenses:insurance:accident"
accident-insurance-expenses-account:
# or null
<string>
the account to use for daily allowance insurance expenses
default: "expenses:insurance:daily-allowance"
daily-allowance-insurance-expenses-account:
# or null
<string>
the account to use for homeoffice expenses
default: "expenses:rent:homeoffice"
homeoffice-expenses-account:
# or null
<string>
the account to use for electricity expenses
default: "expenses:electricity:homeoffice"
electricity-expenses-account:
# or null
<string>
the account to use for phone expenses
default: "expenses:phone:professional"
phone-expenses-account:
# or null
<string>
the account to use for travel expenses
default: "expenses:travel:professional"
travel-expenses-account:
# or null
<string>
the account to use for internet expenses
default: "expenses:internet:homeoffice"
internet-expenses-account:
# or null
<string>
the account to use for health insurance expenses
default: "expenses:health"
health-insurance-expenses-account:
# or null
<string>
Path to the zip file to create
default: "tax-packet.zip"
taxes.zip-file:
# or null
<string>
Path to the packet directory to create
taxes.packet-dir:
# or null
<string>
Your legal name
person-name:
# or null
<string>
your first name
first-name:
# or null
<string>
your last name
last-name:
# or null
<string>
The organisation's legal name
organisation-name:
# or null
<string>
the VAT identifier
example: 111.222.333
vat-id:
# or null
<string>
the quarter to produce the report for
quarter:
# or null
# Quarter
<any>
tag to use for deductible purchases
default: "deductible"
tag-deductible:
# or null
<string>
tag to use for non-deductible purchases
default: "not-deductible"
tag-not-deductible:
# or null
<string>
tag to use for VAT-deductible purchases
default: "vat-deductible"
tag-vat-deductible:
# or null
<string>
tag to use for non-VAT-deductible purchases
default: "not-vat-deductible"
tag-not-vat-deductible:
# or null
<string>
Account name of your domestic income
default: "income:domestic"
domestic-income-account:
# or null
<string>
Account name of your exports' income
default: "income:exports"
exports-income-account:
# or null
<string>
Account name of your foreign income
default: "income:foreign"
foreign-income-account:
# or null
<string>
Account name of your the VAT you've charged
default: "income:VAT"
vat-income-account:
# or null
<string>
Account name of your the VAT you've paid
default: "expenses:VAT"
vat-expenses-account:
# or null
<string>
path to the zip file to create
default: "vat-packet.zip"
vat.zip-file:
# or null
<string>
Path to the packet directory to create
vat.packet-dir:
# or null
<string>
The begin date (inclusive), default: Start of the year
download-rates.begin:
# or null
# Day
<string>
The final date (inclusive), default: Yesterday
download-rates.end:
# or null
# Day
<string>
Where to put the resulting file
download-rates.output:
# or null
<string>
base directory
base-dir:
# or null
<string>
ledger file
default: "ledger.cent"
ledger:
# or null
<string>
prices file
default: "currency-rates.cent"
prices:
# or null
<string>
Run centjes in a loop
default: False
watch:
# or null
<boolean>
Clean the packet directory
clean:
# or null
<boolean>