gnucash/libgnucash/tax/us/txf-de_DE.scm

353 lines
19 KiB
Scheme
Raw Normal View History

;; -*-scheme-*-
;;
;; This file was copied from the file txf.scm by Richard -Gilligan- Uschold
;;
;; Originally, these were meant to hold the codes for the US tax TXF
;; format. Christian Stimming modified this heavily so that it might become useful for
;; the German Umsatzsteuer-Voranmeldung.
;; Further modifications by:
;; Jannick Asmus
;; J. Alex Aycinena
;; Frank H. Ellenberger
;; Andreas Köhler
;; Rolf Leggewie
;;
;; Der gesamte Inhalt zu den vier Abschnitten der "Umsatzsteuer-Kategorien" wurden im
;; Dezember 2010 für GnuCash Vers. 2.4.0 vollständig überarbeitet und alle Einträge gemäß
;; der "Umsatzsteuer-Voranmeldung 2011" umfassend berichtigt und komplettiert von FJSW - Franz Stoll
;;
;; This file holds all the Kennzahlen for the
;; Umsatzsteuer-Voranmeldung and their explanations, which can be
;; assigned to particular accounts via the "Edit -> Tax options"
;; dialog. The report in taxtxf-de_DE.scm then will extract the
;; numbers for these Kennzahlen from the actual accounts for a given
;; time period, and will write it to some XML file as required by
;; e.g. the Winston software
;; https://www.felfri.de/winston/schnittstellen.htm
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 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 the Free Software Foundation; either version 2 of
;; the License, or (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, contact:
;;
;; Free Software Foundation Voice: +1-617-542-5942
;; 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
;; Boston, MA 02110-1301, USA gnu@gnu.org
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(use-modules (gnucash app-utils))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define txf-tax-entity-types
(list
(cons 'Ind #("Individual, Joint, etc." "Umsatzsteuer-Kennzahlen"))
(cons 'Other #("None" "Keine Steuerberichtsoptionen vorhanden"))))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:tax-type-txf-get-code-info tax-entity-types type-code index)
(if (assv type-code tax-entity-types)
(let ((tax-entity-type (assv type-code tax-entity-types)))
(and tax-entity-type
(vector-ref (cdr tax-entity-type) index)))
#f))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:txf-get-tax-entity-type type-code)
(gnc:tax-type-txf-get-code-info txf-tax-entity-types type-code 0))
(define (gnc:txf-get-tax-entity-type-description type-code)
(gnc:tax-type-txf-get-code-info txf-tax-entity-types type-code 1))
(define (gnc:txf-get-tax-entity-type-codes)
(map car txf-tax-entity-types))
(define (gnc:txf-get-payer-name-source categories code tax-entity-type)
(gnc:txf-get-code-info categories code 0 tax-entity-type))
(define (gnc:txf-get-form categories code tax-entity-type)
(gnc:txf-get-code-info categories code 1 tax-entity-type))
(define (gnc:txf-get-description categories code tax-entity-type)
(gnc:txf-get-code-info categories code 2 tax-entity-type))
(define (gnc:txf-get-format categories code tax-entity-type)
(gnc:txf-get-code-info categories code 3 tax-entity-type))
(define (gnc:txf-get-multiple categories code tax-entity-type)
(gnc:txf-get-code-info categories code 4 tax-entity-type))
(define (gnc:txf-get-category-key categories code tax-entity-type)
(gnc:txf-get-code-info categories code 5 tax-entity-type))
(define (gnc:txf-get-line-data categories code tax-entity-type)
(if (assv (string->symbol tax-entity-type) categories)
(let* ((tax-entity-codes (cdr (assv (string->symbol tax-entity-type)
categories)))
(category (if (assv code tax-entity-codes)
(assv code tax-entity-codes)
#f)))
(if (or (not category) (< (vector-length (cdr category)) 7))
#f
(gnc:txf-get-code-info categories code 6 tax-entity-type)))
#f))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:txf-get-last-year categories code tax-entity-type)
(if (assv (string->symbol tax-entity-type) categories)
(let* ((tax-entity-codes (cdr (assv (string->symbol tax-entity-type)
categories)))
(category (if (assv code tax-entity-codes)
(assv code tax-entity-codes)
#f)))
(if (or (not category) (< (vector-length (cdr category)) 8))
#f
(gnc:txf-get-code-info categories code 7 tax-entity-type)))
#f))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:txf-get-help categories code)
(let ((pair (assv code txf-help-strings)))
(if pair
(cdr pair)
"Keine Hilfe verfügbar, da nur Gruppenüberschrift.
Diese Kategorie ohne Nummer ==>> N I C H T V E R W E N D E N !
USt-Kategorien 2011 für GnuCash Vers. 2.4.0 entwickelt und erstellt von: FJSW
Fehlermeldungen + Dankschreiben an: stoll@bomhardt.de")))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:txf-get-codes categories tax-entity-type)
(if (assv (string->symbol tax-entity-type) categories)
(let* ((tax-entity-code-list-pair (assv (if (eqv? tax-entity-type "")
'Ind
(string->symbol tax-entity-type))
categories))
(tax-entity-codes (if tax-entity-code-list-pair
(cdr tax-entity-code-list-pair)
'())))
(map car tax-entity-codes))
#f))
;;;; Private
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define (gnc:txf-get-code-info categories code index tax-entity-type)
(let* ((tax-entity-code-list-pair (assv (if (eqv? tax-entity-type "")
'Ind
(string->symbol tax-entity-type))
categories))
(tax-entity-codes (if tax-entity-code-list-pair
(cdr tax-entity-code-list-pair)
'()))
(category (assv code tax-entity-codes)))
(if category
(and category
(vector-ref (cdr category) index))
#f)))
(define txf-help-categories
(list
(cons 'H000 #(current "help" "Name des aktuellen Kontos wird exportiert." 0 #f ""))
(cons 'H002 #(parent "help" "Name des übergeordneten Kontos wird exportiert." 0 #f ""))
(cons 'H003 #(not-impl "help" "Noch nicht implementiert, NICHT benutzen!" 0 #f ""))))
;; We use several formats; nr. 1 means Euro+Cent, nr. 2 means only full Euro
;; Also, we abuse the "category-key" for now to store the Kennzahl as
;; well. We are not yet sure what to use the "form" field for.
;; Format: (name-source form description format multiple category-key)
(define txf-income-categories
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(list
(cons 'Ind
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
(cons 'UST #(none "" "Diese und nachfolgende Kategorien ohne Nummer --> NICHT VERWENDEN !" 0 #f ""))
(cons 'U00 #(none "" "Lieferungen und sonstige Leistungen (einschließlich unentgeltlicher Wertabgaben)" 0 #f ""))
(cons 'U10 #(none "" "Steuerfreie Umsätze mit Vorsteuerabzug" 0 #f ""))
(cons 'U11 #(none "" "Innergemeinschaftliche Lieferungen (§ 4 Nr. 1 Buchst. b UStG)" 0 #f ""))
(cons 'K41 #(none "41" "an Abnehmer MIT USt-IdNr." 2 #f "41"))
(cons 'K44 #(none "44" "neuer Fahrzeuge an Abnehmer OHNE USt-IdNr." 2 #f "44"))
(cons 'K49 #(none "49" "neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG)" 2 #f "49"))
(cons 'K43 #(none "43" "Weitere steuerfreie Umsätze mit Vorsteuerabzug" 2 #f "43"))
(cons 'U12 #(none "" "Steuerfreie Umsätze ohne Vorsteuerabzug" 0 #f ""))
(cons 'K48 #(none "48" "Umsätze nach § 4 Nr. 8 bis 28 UStG" 2 #f "48"))
(cons 'U20 #(none "" "Steuerpflichtige Umsätze (Lieferungen u. sonst. Leistungen einschl. unentgeltlicher Wertabgaben)" 0 #f ""))
(cons 'K51 #(none "51" "zum Steuersatz von 16 % (bis incl. 2006)" 2 #f "51"))
(cons 'K81 #(none "81" "zum Steuersatz von 19 %" 2 #f "81"))
(cons 'K86 #(none "86" "zum Steuersatz von 7 %" 2 #f "86"))
(cons 'K35 #(none "35" "zu anderen Steuersätzen (Erlöse)" 2 #f "35"))
(cons 'K36 #(none "36" "zu anderen Steuersätzen (MWSt)" 1 #f "36"))
(cons 'U21 #(none "" "Lieferungen land- und forstwirtschaftlicher Betriebe nach § 24 UStG" 0 #f ""))
(cons 'K77 #(none "77" "an Abnehmer MIT USt-IdNr." 2 #f "77"))
(cons 'K76 #(none "76" "Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (Erlöse)" 2 #f "76"))
(cons 'K80 #(none "80" "Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (MWSt)" 1 #f "80"))
(cons 'U30 #(none "" "Innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'U32 #(none "" "Steuerpflichtige innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K98 #(none "98" "zu anderen Steuersätzen (Gebuchte MWSt)" 1 #f "98"))
(cons 'K96 #(none "96" "neuer Fahrzeuge von Lieferern OHNE USt-IdNr. zum allgemeinen Steuersatz (Gebuchte MWSt)" 1 #f "96"))
(cons 'U40 #(none "" "Ergänzende Angaben zu Umsätzen" 0 #f ""))
(cons 'K42 #(none "42" "Lieferungen des ersten Abnehmers bei innergemeinschaftl. Dreiecksgeschäften (§ 25b Abs. 2 UStG)" 2 #f "42"))
(cons 'K60 #(none "60" "Steuerpflichtige Umsätze, für die der Leistungsempfänger die Steuer nach § 13b Abs. 5 UStG schuldet" 2 #f "60"))
(cons 'K21 #(none "21" "Nicht steuerbare sonstige Leistungen gem. § 18b Satz 1 Nr. 2 UStG (Leistungen EU-Land)" 2 #f "21"))
(cons 'K45 #(none "45" "Übrige nicht steuerbare Umsätze (Leistungsort nicht im Inland)" 2 #f "45"))
(cons 'U50 #(none "" "Leistungsempfänger als Steuerschuldner (§ 13b UStG)" 0 #f ""))
(cons 'K47 #(none "47" "Im Inland steuerpflichtige sonstige Leistungen aus EU-Ländern (§13b Abs. 1 UStG) (Gebuchte MWSt)" 1 #f "47"))
(cons 'K53 #(none "53" "Andere Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 1 und 5 UStG) (Gebuchte MWSt)" 1 #f "53"))
(cons 'K74 #(none "74" "Lieferungen sicherheitsübereigneter Gegenstände und Umsätze, die unter das GrEStG fallen (Gebuchte MWSt)" 1 #f "74"))
(cons 'K85 #(none "85" "Andere Umsätze eines im Inland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 4 und Nr. 6 bis 9 UStG) (Gebuchte MWSt)" 1 #f "85"))
(cons 'U70 #(none "" "Andere Steuerbeträge" 0 #f ""))
(cons 'K65 #(none "65" "Steuer infolge Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen u. ä." 1 #f "65"))
(cons 'K69 #(none "69" "In Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG)" 1 #f "69"))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
)
)
(cons 'Other
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
)
)
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
))
;; We use several formats; nr. 1 means Euro+Cent, nr. 2 means only full Euro
;; Also, we abuse the "category-key" for now to store the Kennzahl as
;; well. We are not yet sure what to use the "form" field for.
;; Format: (name-source form description format multiple category-key)
(define txf-expense-categories
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(list
(cons 'Ind
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
(cons 'UST #(none "" "Diese und nachfolgende Kategorien ohne Nummer --> NICHT VERWENDEN !" 0 #f ""))
(cons 'U30 #(none "" "Innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'U31 #(none "" "Steuerfreie innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K91 #(none "91" "Erwerbe nach § 4b UStG" 2 #f "91"))
(cons 'U32 #(none "" "Steuerpflichtige innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K89 #(none "89" "zum Steuersatz von 19 %" 2 #f "89"))
(cons 'K93 #(none "93" "zum Steuersatz von 7 %" 2 #f "93"))
(cons 'K95 #(none "95" "zu anderen Steuersätzen (Aufwand)" 2 #f "95"))
(cons 'K94 #(none "94" "neuer Fahrzeuge von Lieferern OHNE USt-IdNr. zum allgemeinen Steuersatz (Aufwand)" 2 #f "94"))
(cons 'U50 #(none "" "Leistungsempfänger als Steuerschuldner (§ 13b UStG)" 0 #f ""))
(cons 'K46 #(none "46" "Im Inland steuerpflichtige sonstige Leistungen aus EU-Ländern (§13b Abs. 1 UStG) (Aufwand)" 2 #f "46"))
(cons 'K52 #(none "52" "Andere Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 1 und 5 UStG) (Aufwand)" 2 #f "52"))
(cons 'K73 #(none "73" "Lieferungen sicherheitsübereigneter Gegenstände und Umsätze die unter das GrEStG fallen (Aufwand)" 2 #f "73"))
(cons 'K84 #(none "84" "Andere Umsätze eines im Inland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 4 und Nr. 6 bis 9 UStG) (Aufwand)" 2 #f "84"))
(cons 'U60 #(none "" "Abziehbare Vorsteuerbeträge" 0 #f ""))
(cons 'K66 #(none "66" "Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Abs. 1 Satz 1 Nr. 1 UStG)" 1 #f "66"))
(cons 'K61 #(none "61" "Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (Gebuchte VSt)" 1 #f "61"))
(cons 'K62 #(none "62" "Entrichtete Einfuhrumsatzsteuer (§ 15 Abs. 1 Satz 1 Nr. 2 UStG)" 1 #f "62"))
(cons 'K67 #(none "67" "Vorsteuerbeträge aus Leistungen im Sinne des § 13b UStG (§ 15 Abs. 1 Satz 1 Nr. 4 UStG) (Gebuchte VSt)" 1 #f "67"))
(cons 'K63 #(none "63" "Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG)" 1 #f "63"))
(cons 'K64 #(none "64" "Berichtigung des Vorsteuerabzugs (§ 15a UStG)" 1 #f "64"))
(cons 'K59 #(none "59" "Vorsteuerabzug für innergemeinschaftl. Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens" 1 #f "59"))
(cons 'U70 #(none "" "Andere Steuerbeträge" 0 #f ""))
(cons 'K39 #(none "39" "Anrechnung (Abzug) der festgesetzten Sondervorauszahlung (1/11) für Dauerfristverlängerung" 1 #f "39"))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
)
)
(cons 'Other
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
)
)
))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
(define txf-asset-categories
(list
(cons 'Ind
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
(cons 'UST #(none "" "Diese und nachfolgende Kategorien ohne Nummer --> NICHT VERWENDEN !" 0 #f ""))
(cons 'U30 #(none "" "Innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'U31 #(none "" "Steuerfreie innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K91 #(none "91" "Erwerbe nach § 4b UStG" 2 #f "91"))
(cons 'U32 #(none "" "Steuerpflichtige innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K89 #(none "89" "zum Steuersatz von 19 %" 2 #f "89"))
(cons 'K93 #(none "93" "zum Steuersatz von 7 %" 2 #f "93"))
(cons 'K95 #(none "95" "zu anderen Steuersätzen" 2 #f "95"))
(cons 'K94 #(none "94" "neuer Fahrzeuge von Lieferern OHNE USt-IdNr. zum allgemeinen Steuersatz (Aufwand)" 2 #f "94"))
(cons 'U50 #(none "" "Leistungsempfänger als Steuerschuldner (§ 13b UStG)" 0 #f ""))
(cons 'K46 #(none "46" "Im Inland steuerpflichtige sonstige Leistungen aus EU-Ländern (§13b Abs. 1 UStG) (Aufwand)" 2 #f "46"))
(cons 'K52 #(none "52" "Andere Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 1 und 5 UStG) (Aufwand)" 2 #f "52"))
(cons 'K73 #(none "73" "Lieferungen sicherheitsübereigneter Gegenstände und Umsätze die unter das GrEStG fallen (Aufwand)" 2 #f "73"))
(cons 'K84 #(none "84" "Andere Umsätze eines im Inland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 4 und Nr. 6 bis 9 UStG) (Aufwand)" 2 #f "84"))
(cons 'U60 #(none "" "Abziehbare Vorsteuerbeträge" 0 #f ""))
(cons 'K66 #(none "66" "Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Abs. 1 Satz 1 Nr. 1 UStG)" 1 #f "66"))
(cons 'K61 #(none "61" "Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (Gebuchte VSt)" 1 #f "61"))
(cons 'K62 #(none "62" "Entrichtete Einfuhrumsatzsteuer (§ 15 Abs. 1 Satz 1 Nr. 2 UStG)" 1 #f "62"))
(cons 'K67 #(none "67" "Vorsteuerbeträge aus Leistungen im Sinne des § 13b UStG (§ 15 Abs. 1 Satz 1 Nr. 4 UStG) (Gebuchte VSt)" 1 #f "67"))
(cons 'K63 #(none "63" "Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG)" 1 #f "63"))
(cons 'K64 #(none "64" "Berichtigung des Vorsteuerabzugs (§ 15a UStG)" 1 #f "64"))
(cons 'K59 #(none "59" "Vorsteuerabzug für innergemeinschaftl. Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens" 1 #f "59"))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
)
)
(cons 'Other
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
)
)
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
))
(define txf-liab-eq-categories
(list
(cons 'Ind
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
(cons 'UST #(none "" "Diese und nachfolgende Kategorien ohne Nummer --> NICHT VERWENDEN !" 0 #f ""))
(cons 'U20 #(none "" "Steuerpflichtige Umsätze (Lieferungen u. sonst. Leistungen einschl. unentgeltlicher Wertabgaben)" 0 #f ""))
(cons 'K36 #(none "36" "zu anderen Steuersätzen (MWSt)" 1 #f "36"))
(cons 'U21 #(none "" "Lieferungen land- und forstwirtschaftlicher Betriebe nach § 24 UStG" 0 #f ""))
(cons 'K80 #(none "80" "Umsätze, für die eine Steuer nach § 24 UStG zu entrichten ist (MWSt)" 1 #f "80"))
(cons 'U30 #(none "" "Innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'U32 #(none "" "Steuerpflichtige innergemeinschaftliche Erwerbe" 0 #f ""))
(cons 'K98 #(none "98" "zu anderen Steuersätzen (Gebuchte MWSt)" 1 #f "98"))
(cons 'K96 #(none "96" "neuer Fahrzeuge von Lieferern OHNE USt-IdNr. zum allgemeinen Steuersatz (Gebuchte MWSt)" 1 #f "96"))
(cons 'U50 #(none "" "Leistungsempfänger als Steuerschuldner (§ 13b UStG)" 0 #f ""))
(cons 'K47 #(none "47" "Im Inland steuerpflichtige sonstige Leistungen aus EU-Ländern (§13b Abs. 1 UStG) (Gebuchte MWSt)" 1 #f "47"))
(cons 'K53 #(none "53" "Andere Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 1 und 5 UStG) (Gebuchte MWSt)" 1 #f "53"))
(cons 'K74 #(none "74" "Lieferungen sicherheitsübereigneter Gegenstände und Umsätze, die unter das GrEStG fallen (Gebuchte MWSt)" 1 #f "74"))
(cons 'K85 #(none "85" "Andere Umsätze eines im Inland ansässigen Unternehmers (§ 13b Abs. 2 Nr. 4 und Nr. 6 bis 9 UStG) (Gebuchte MWSt)" 1 #f "85"))
(cons 'U70 #(none "" "Andere Steuerbeträge" 0 #f ""))
(cons 'K65 #(none "65" "Steuer infolge Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen u. ä." 1 #f "65"))
(cons 'K69 #(none "69" "In Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG)" 1 #f "69"))
(cons 'K39 #(none "39" "Anrechnung (Abzug) der festgesetzten Sondervorauszahlung (1/11) für Dauerfristverlängerung" 1 #f "39"))
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
)
)
(cons 'Other
(list
(cons 'N000 #(none "" "Informativ im Steuerbericht anzeigen -- Kein Export -- " 0 #f ""))
)
)
Bug #554394: Income Tax Enhancements Patch by J. Alex Aycinena. Patch does the following: - update the tax information in 'txf.scm', which is based on V037 of the TXF Spec, to V041, the last version issued (bug #554394) - provide support for multiple copies of certain tax Forms/Schedules (e.g., Schedule C(1), Schedule C(2), etc.) - support multiple types of tax entities: partnerships, corporations and S corporations, in addition to individual tax payers - support balance sheet accounts, required for these new tax entity types - add the term 'Income' in several places to avoid confusion with sales or VAT style taxes in the business features (e.g., change the menu from 'Tax Options' to 'Income Tax Options') The following files were changed, as follows, to implement these changes: 1. src/engine/Account.c and 2. src/engine/Account.h: add copy number capability (define 'xaccAccountGetTaxUSCopyNumber' and 'xaccAccountSetTaxUSCopyNumber'); modify 'xaccAccountSetTaxUSCode' to remove KVP when no tax-code assigned, clean up tax-source descriptions 3. src/gnome/gnc-plugin-basic-commands.c: change 'Tax Options' to 'Income Tax Options' 4. src/app-utils/gnc-ui-util.c and 5. src/app-utils/gnc-ui-util.h: add setter and getter functions for book tax name and book tax type which are stored in a book KVP, show copy information in accounts page, tax column, show error messages for various conditions 6. src/app-utils/app-utils.i: add 'gnc_get_current_book_tax_name' and 'gnc_get_current_book_tax_type' functions 7. src/gnome/dialog-tax-info.c: add copy number and tax entity name and type, and balance sheet account handling capability 8. src/gnome/glade/tax.glade: add tax entity name, tax entity type, asset, liability/equity and copy number widgets 9. src/tax/us/txf.scm: update to V041 for individuals, add V041 support for multiple additional tax entity types and balance sheet accounts and related tax codes, add tax form line data 10. src/tax/us/us.scm: export new functions defined in txf.scm 11. src/report/locale-specific/us/taxtxf.scm: add support for multiple copies of Forms/Schedules, add support for Format 6, use Form/Schedule line #'s to sort report, update from "V037" to "V041", add support for taxpayer types other than F1040, add warning messages if there are some inconsistent codes assigned and list 12. src/tax/us/txf-de_DE.scm: make functions called from outside (e.g., from dialog-tax-info.c) have a consistent signature with those same functions in txf.scm (define tax-entity-type , define getters/setters, add tax-entity-type as an argument to existing functions) 13. src/tax/us/de_DE.scm: export new functions added to txf-de_DE.scm 14. src/report/locale-specific/us/taxtxf-de_DE.scm: add "" as tax-entity-type argument to functions called on txf-de_DE.scm (which defaults to existing codes) git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18413 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-15 14:35:50 -06:00
))
;;; Register global options in this book
(define (book-options-generator options)
(define (reg-option new-option)
(gnc:register-option options new-option))
(reg-option
(gnc:make-string-option
gnc:*tax-label* gnc:*tax-nr-label*
"a" (N_ "The electronic tax number of your business") ""))
)
(gnc-register-kvp-option-generator QOF-ID-BOOK-SCM book-options-generator)