The Centjes reporter for Switzerland

Documentation about the Centjes reporter for Switzerland

Reference

Options

  --config-file Path to the configuration file
  taxes produce a tax report
      --zip-file    Path to the zip file to create    default: "tax-packet.zip"
      --readme-file Path to the readme file to create default: "README.pdf"    
  vat produce a VAT report
      --zip-file    path to the zip file to create    default: "vat-packet.zip"
      --readme-file path to the readme file to create default: "README.pdf"    
  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"

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_README_FILE FILE_PATH     Path to the readme file to create                        default: "README.pdf"    
  CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH        path to the zip file to create                           default: "vat-packet.zip"
  CENTJES_SWITZERLAND_README_FILE FILE_PATH     path to the readme file to create                        default: "README.pdf"    
  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"   

Configuration values

  your first name
  first-name:
    # or null
    <string>
  your last name
  last-name:
    # 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 AHV identifier.
  example: 7461111222233
  ahv-id:
    # or null
    <string>
  Path to the zip file to create
  default: "tax-packet.zip"
  taxes.zip-file:
    # or null
    <string>
  Path to the readme file to create
  default: "README.pdf"
  taxes.readme-file:
    # 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 readme file to create
  default: "README.pdf"
  vat.readme-file:
    # 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>

Combined settings

Usage: centjes-switzerland [--config-file FILE_PATH] COMMAND [--base-dir DIRECTORY_PATH] [-l|--ledger FILE_PATH]

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"

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 year to produce the report for
    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 AHV identifier.
    config:
      ahv-id: # or null
        <string>
    example: 7461111222233
    
    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 readme file to create
    option: --readme-file FILE_PATH
    env: CENTJES_SWITZERLAND_README_FILE FILE_PATH
    config:
      taxes.readme-file: # or null
        <string>
    default: "README.pdf"
    
  
  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
    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 readme file to create
    option: --readme-file FILE_PATH
    env: CENTJES_SWITZERLAND_README_FILE FILE_PATH
    config:
      vat.readme-file: # or null
        <string>
    default: "README.pdf"
    
  
  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
      --zip-file    Path to the zip file to create    default: "tax-packet.zip"
      --readme-file Path to the readme file to create default: "README.pdf"    
  vat produce a VAT report
      --zip-file    path to the zip file to create    default: "vat-packet.zip"
      --readme-file path to the readme file to create default: "README.pdf"    
  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"

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_README_FILE FILE_PATH     Path to the readme file to create                        default: "README.pdf"    
  CENTJES_SWITZERLAND_ZIP_FILE FILE_PATH        path to the zip file to create                           default: "vat-packet.zip"
  CENTJES_SWITZERLAND_README_FILE FILE_PATH     path to the readme file to create                        default: "README.pdf"    
  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"   

Configuration Values:
  your first name
  first-name:
    # or null
    <string>
  your last name
  last-name:
    # 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 AHV identifier.
  example: 7461111222233
  ahv-id:
    # or null
    <string>
  Path to the zip file to create
  default: "tax-packet.zip"
  taxes.zip-file:
    # or null
    <string>
  Path to the readme file to create
  default: "README.pdf"
  taxes.readme-file:
    # 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 readme file to create
  default: "README.pdf"
  vat.readme-file:
    # 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>