From 7d3d2d45d14424aa3b4a0953918be2c2bd96759b Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Sat, 24 Mar 2001 13:12:48 +0000 Subject: [PATCH] * src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): fix bug * src/scm/report/txf-export.scm: redo data structure for txf info * src/guile/gnc.gwp: wrap tax info api getters git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3830 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 11 + src/engine/gnc-pricedb-xml-v1.c | 3 +- src/scm/report/income-or-expense-pie.scm | 22 +- src/scm/report/taxtxf.scm | 42 +- src/scm/report/txf-export.scm | 615 ++++++++++++----------- 5 files changed, 359 insertions(+), 334 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a8a182d04..a256099fec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ +2001-03-24 Dave Peticolas + + * src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): fix bug + 2001-03-23 Dave Peticolas + * src/scm/report/txf-export.scm: redo data structure + for txf info + + * src/guile/gnc.gwp: wrap tax info api getters + + * src/scm/report/income-or-expense-pie.scm: show total in subtitle + * src/scm/html-utilities.scm (gnc:assign-colors): make the order of color assignment stable diff --git a/src/engine/gnc-pricedb-xml-v1.c b/src/engine/gnc-pricedb-xml-v1.c index 71114d9494..30ec38a6c7 100644 --- a/src/engine/gnc-pricedb-xml-v1.c +++ b/src/engine/gnc-pricedb-xml-v1.c @@ -274,7 +274,7 @@ pricedb_v2_end_handler( GSList* sibling_data, gpointer parent_data, gpointer global_data, gpointer *result, const gchar *tag) { - GNCPriceDB *db = (GNCPriceDB*)result; + GNCPriceDB *db = *result; sixtp_gdv2* globaldata = (sixtp_gdv2*)global_data; if(parent_data) @@ -288,6 +288,7 @@ pricedb_v2_end_handler( } globaldata->addPriceDBFunc(globaldata, db); + *result = NULL; return TRUE; } diff --git a/src/scm/report/income-or-expense-pie.scm b/src/scm/report/income-or-expense-pie.scm index 6118d87dc0..1746f8d344 100644 --- a/src/scm/report/income-or-expense-pie.scm +++ b/src/scm/report/income-or-expense-pie.scm @@ -119,7 +119,7 @@ (account-levels (op-value pagename-general optname-levels)) (report-currency (op-value pagename-general optname-report-currency)) - + (show-fullname? (op-value pagename-display optname-fullname)) (show-total? (op-value pagename-display optname-show-total)) (max-slices (op-value pagename-display optname-slices)) @@ -157,7 +157,7 @@ (combined '()) (other-anchor "") (print-info (gnc:commodity-print-info report-currency #t))) - + ;; Converts a commodity-collector into one single double ;; number, depending on the report currency and the ;; exchange-alist calculated above. Returns the absolute value @@ -222,7 +222,8 @@ (set! combined (append start (list (list sum (_ "Other"))))) - (let* ((name (if is-income? (N_ "Income Piechart") + (let* ((name (if is-income? + (N_ "Income Piechart") (N_ "Expense Piechart"))) (options (gnc:make-report-options name)) (account-op (gnc:lookup-option options @@ -245,10 +246,17 @@ (_ "Expenses by Account"))) (gnc:html-piechart-set-subtitle! - chart (sprintf #f - (_ "%s to %s") - (gnc:timepair-to-datestring from-date-tp) - (gnc:timepair-to-datestring to-date-tp))) + chart (string-append + (sprintf #f + (_ "%s to %s") + (gnc:timepair-to-datestring from-date-tp) + (gnc:timepair-to-datestring to-date-tp)) + (if show-total? + (let ((total (apply + (unzip1 combined)))) + (sprintf #f ": %s" + (gnc:amount->string total print-info))) + + ""))) (gnc:html-piechart-set-width! chart width) (gnc:html-piechart-set-height! chart height) diff --git a/src/scm/report/taxtxf.scm b/src/scm/report/taxtxf.scm index 9f890f177b..65e1c9799b 100644 --- a/src/scm/report/taxtxf.scm +++ b/src/scm/report/taxtxf.scm @@ -331,20 +331,6 @@ " \\ " (symbol->string (car code-lst)))))))))) - ;; insert help strings in txf categories - (define (txf-help cat-list) - (do ((i 0 (+ i 1)) - (len (length cat-list))) - ((>= i len)) - (let* ((item (list-ref cat-list i)) - (code (vector-ref item 0)) - (help (assq-ref txf-help-strings code))) - (if help - (begin (array-set! item help 2) - (list-set! cat-list i item) - #t) - #f)))) - ;; print txf help strings (define (txf-print-help table vect inc) (let* ((markup (if inc "income" "expense")) @@ -1083,22 +1069,18 @@ Go the the Tax Information dialog to set up tax-related accounts."))))) doc))) - ;; copy help strings to category structures. - (txf-help txf-income-categories) - (txf-help txf-expense-categories) - (txf-help txf-help-categories) - - (gnc:define-report - 'version 1 - 'name (N_ "Tax") - 'options-generator tax-options-generator - 'renderer (lambda (report-obj) - (generate-tax-or-txf - (_ "Taxable Income / Deductible Expenses") - (_ "This page shows your Taxable Income and \ -Deductable Expenses.") - report-obj - #t)))) +; (gnc:define-report +; 'version 1 +; 'name (N_ "Tax") +; 'options-generator tax-options-generator +; 'renderer (lambda (report-obj) +; (generate-tax-or-txf +; (_ "Taxable Income / Deductible Expenses") +; (_ "This page shows your Taxable Income and \ +;Deductable Expenses.") +; report-obj +; #t))) + #f) ; (gnc:define-report ; 'version 1 diff --git a/src/scm/report/txf-export.scm b/src/scm/report/txf-export.scm index 49fe40b9ac..b5bf63756a 100644 --- a/src/scm/report/txf-export.scm +++ b/src/scm/report/txf-export.scm @@ -5,308 +5,331 @@ ;; and txf-export-help.scm ;; (gnc:support "report/txf-export.scm") +(gnc:depend "report/txf-export-help.scm") + +(define (gnc:txf-get-payer-name-source categories code) + (gnc:txf-get-code-info categories code 0)) +(define (gnc:txf-get-form categories code) + (gnc:txf-get-code-info categories code 1)) +(define (gnc:txf-get-description categories code) + (gnc:txf-get-code-info categories code 2)) +(define (gnc:txf-get-format categories code) + (gnc:txf-get-code-info categories code 3)) +(define (gnc:txf-get-multiple categories code) + (gnc:txf-get-code-info categories code 4)) +(define (gnc:txf-get-help categories code) + (cdr (assv txf-help-strings code))) + +(define (gnc:txf-get-codes categories) + (map car categories)) + +;;;; Private + +(define (gnc:txf-get-code-info categories code index) + (vector-ref index (cdr (assv categories code)))) -;; #(code " form x \\ description" "help" format multiple) (define txf-help-categories - (list #(H001 "< help \\ Name of Current account is exported." "" 0 #f) - #(H002 "^ help \\ Name of Parent account is exported." "" 0 #f) - #(H003 "# help \\ Not implimented yet, Do NOT Use!" "" 0 #f))) + (list + (cons 'H000 #(current "help" "Name of Current account is exported." 0 #f)) + (cons 'H002 #(parent "help" "Name of Parent account is exported." 0 #f)) + (cons 'H003 #(not-impl "help" "Not implemented yet, Do NOT Use!" 0 #f)))) (define txf-income-categories - (list #(N000 " none \\ Tax Report Only - No TXF Export" "" 0 #f) - #(N261 " F1040 \\ Alimony received" "" 1 #f) - #(N257 " F1040 \\ Other income, misc." "" 1 #f) - #(N520 " F1040 \\ RR retirement inc., spouse" "" 1 #f) - #(N519 " F1040 \\ RR retirement income, self" "" 1 #f) - #(N258 " F1040 \\ Sick pay or disability pay" "" 1 #f) - #(N483 " F1040 \\ Social Security inc., spouse" "" 1 #f) - #(N266 " F1040 \\ Social Security income, self" "" 1 #f) - #(N260 " F1040 \\ State and local tax refunds" "" 1 #t) - #(N269 " F1040 \\ Taxable fringe benefits" "" 1 #f) - #(N672 " F1099-G \\ Qualified state tuition earnings" "" 1 #t) - #(N260 " F1099-G \\ State and local tax refunds" "" 1 #t) - #(N479 " F1099-G \\ Unemployment compensation" "" 1 #t) - #(N562 " F1099-MISC \\ Crop insurance proceeds" "" 1 #t) - #(N559 " F1099-MISC \\ Fishing boat proceeds" "" 1 #t) - #(N560 " F1099-MISC \\ Medical/health payments" "" 1 #t) - #(N561 " F1099-MISC \\ Nonemployee compensation" "" 1 #t) - #(N557 " F1099-MISC \\ Other income" "" 1 #t) - #(N259 " F1099-MISC \\ Prizes and awards" "" 1 #t) - #(N555 " F1099-MISC \\ Rents" "" 1 #t) - #(N556 " F1099-MISC \\ Royalties" "" 1 #t) - #(N632 " F1099-MSA \\ MSA earnings on excess contrib" "" 1 #t) - #(N631 " F1099-MSA \\ MSA gross distribution" "" 1 #t) - #(N623 " F1099-R \\ SIMPLE total gross distrib." "" 1 #t) - #(N624 " F1099-R \\ SIMPLE total taxable distrib." "" 1 #t) - #(N477 " F1099-R \\ Total IRA gross distrib." "" 1 #t) - #(N478 " F1099-R \\ Total IRA taxable distrib." "" 1 #t) - #(N475 " F1099-R \\ Total pension gross distrib." "" 1 #t) - #(N476 " F1099-R \\ Total pension taxable dist." "" 1 #t) - #(N387 " F2106 \\ Reimb. exp. (non-meal/ent.)" "" 1 #t) - #(N388 " F2106 \\ Reimb. meal/entertainment exp." "" 1 #t) - #(N505 " F4137 \\ Total cash/tips received" "" 1 #t) - #(N416 " F4684 \\ FMV after casualty" "" 1 #t) - #(N415 " F4684 \\ FMV before casualty" "" 1 #t) - #(N414 " F4684 \\ Insurance/reimbursement" "" 1 #t) - #(N573 " F4835 \\ Agricultural program paymnts" "" 1 #t) - #(N575 " F4835 \\ CCC loans forfeited/repaid" "" 1 #t) - #(N574 " F4835 \\ CCC loans reported/election" "" 1 #t) - #(N577 " F4835 \\ Crop ins. proceeds deferred" "" 1 #t) - #(N576 " F4835 \\ Crop ins. proceeds rec'd" "" 1 #t) - #(N578 " F4835 \\ Other income" "" 1 #t) - #(N571 " F4835 \\ Sale of livestock/produce" "" 1 #t) - #(N572 " F4835 \\ Total co-op distributions" "" 1 #t) - #(N429 " F6252 \\ Debt assumed by buyer" "" 1 #t) - #(N431 " F6252 \\ Depreciation allowed" "" 1 #t) - #(N435 " F6252 \\ Payments rec'd prior years" "" 1 #t) - #(N434 " F6252 \\ Payments rec'd this year" "" 1 #t) - #(N428 " F6252 \\ Selling price" "" 1 #t) - #(N444 " F8815 \\ EE US svgs. bonds proceeds" "" 1 #f) - #(N443 " F8815 \\ Nontaxable ed. benefits" "" 1 #f) - #(N445 " F8815 \\ Post-89 EE bond face value" "" 1 #f) - #(N637 " F8863 \\ Hope credit" "" 1 #t) - #(N638 " F8863 \\ Lifetime learning credit" "" 1 #t) - #(N393 " Home Sale \\ Selling price of old home" "" 1 #t) - #(N488 "^ Sched B \\ Div. income, cap gain distrib." "" 3 #t) - #(N487 "< Sched B \\ Div. income, non-taxable" "" 3 #t) - #(N286 "^ Sched B \\ Dividend income" "" 3 #t) - #(N492 "< Sched B \\ Int. inc., OID bonds" "" 3 #t) - #(N490 "< Sched B \\ Int. inc., taxed only by fed" "" 3 #t) - #(N491 "< Sched B \\ Int. inc., taxed only by state" "" 3 #t) - #(N489 "< Sched B \\ Int. income, non-taxable" "" 3 #t) - #(N287 "< Sched B \\ Interest income" "" 3 #t) - #(N524 "< Sched B \\ Seller-financed mortgage int." "" 3 #t) - #(N289 "< Sched B \\ State and muni bond interest" "" 3 #t) - #(N290 "< Sched B \\ TE private activity bond int." "" 3 #t) - #(N288 "< Sched B \\ US government interest" "" 3 #t) - #(N293 " Sched C \\ Gross receipts or sales" "" 1 #t) - #(N303 " Sched C \\ Other business income" "" 1 #t) + (list + (cons 'N000 #(none "none" "Tax Report Only - No TXF Export" 0 #f)) + (cons 'N261 #(none "F1040" "Alimony received" 1 #f)) + (cons 'N257 #(none "F1040" "Other income, misc." 1 #f)) + (cons 'N520 #(none "F1040" "RR retirement inc., spouse" 1 #f)) + (cons 'N519 #(none "F1040" "RR retirement income, self" 1 #f)) + (cons 'N258 #(none "F1040" "Sick pay or disability pay" 1 #f)) + (cons 'N483 #(none "F1040" "Social Security inc., spouse" 1 #f)) + (cons 'N266 #(none "F1040" "Social Security income, self" 1 #f)) + (cons 'N260 #(none "F1040" "State and local tax refunds" 1 #t)) + (cons 'N269 #(none "F1040" "Taxable fringe benefits" 1 #f)) + (cons 'N672 #(none "F1099-G" "Qualified state tuition earnings" 1 #t)) + (cons 'N260 #(none "F1099-G" "State and local tax refunds" 1 #t)) + (cons 'N479 #(none "F1099-G" "Unemployment compensation" 1 #t)) + (cons 'N562 #(none "F1099-MISC" "Crop insurance proceeds" 1 #t)) + (cons 'N559 #(none "F1099-MISC" "Fishing boat proceeds" 1 #t)) + (cons 'N560 #(none "F1099-MISC" "Medical/health payments" 1 #t)) + (cons 'N561 #(none "F1099-MISC" "Nonemployee compensation" 1 #t)) + (cons 'N557 #(none "F1099-MISC" "Other income" 1 #t)) + (cons 'N259 #(none "F1099-MISC" "Prizes and awards" 1 #t)) + (cons 'N555 #(none "F1099-MISC" "Rents" 1 #t)) + (cons 'N556 #(none "F1099-MISC" "Royalties" 1 #t)) + (cons 'N632 #(none "F1099-MSA" "MSA earnings on excess contrib" 1 #t)) + (cons 'N631 #(none "F1099-MSA" "MSA gross distribution" 1 #t)) + (cons 'N623 #(none "F1099-R" "SIMPLE total gross distrib." 1 #t)) + (cons 'N624 #(none "F1099-R" "SIMPLE total taxable distrib." 1 #t)) + (cons 'N477 #(none "F1099-R" "Total IRA gross distrib." 1 #t)) + (cons 'N478 #(none "F1099-R" "Total IRA taxable distrib." 1 #t)) + (cons 'N475 #(none "F1099-R" "Total pension gross distrib." 1 #t)) + (cons 'N476 #(none "F1099-R" "Total pension taxable dist." 1 #t)) + (cons 'N387 #(none "F2106" "Reimb. exp. (non-meal/ent.)" 1 #t)) + (cons 'N388 #(none "F2106" "Reimb. meal/entertainment exp." 1 #t)) + (cons 'N505 #(none "F4137" "Total cash/tips received" 1 #t)) + (cons 'N416 #(none "F4684" "FMV after casualty" 1 #t)) + (cons 'N415 #(none "F4684" "FMV before casualty" 1 #t)) + (cons 'N414 #(none "F4684" "Insurance/reimbursement" 1 #t)) + (cons 'N573 #(none "F4835" "Agricultural program paymnts" 1 #t)) + (cons 'N575 #(none "F4835" "CCC loans forfeited/repaid" 1 #t)) + (cons 'N574 #(none "F4835" "CCC loans reported/election" 1 #t)) + (cons 'N577 #(none "F4835" "Crop ins. proceeds deferred" 1 #t)) + (cons 'N576 #(none "F4835" "Crop ins. proceeds rec'd" 1 #t)) + (cons 'N578 #(none "F4835" "Other income" 1 #t)) + (cons 'N571 #(none "F4835" "Sale of livestock/produce" 1 #t)) + (cons 'N572 #(none "F4835" "Total co-op distributions" 1 #t)) + (cons 'N429 #(none "F6252" "Debt assumed by buyer" 1 #t)) + (cons 'N431 #(none "F6252" "Depreciation allowed" 1 #t)) + (cons 'N435 #(none "F6252" "Payments rec'd prior years" 1 #t)) + (cons 'N434 #(none "F6252" "Payments rec'd this year" 1 #t)) + (cons 'N428 #(none "F6252" "Selling price" 1 #t)) + (cons 'N444 #(none "F8815" "EE US svgs. bonds proceeds" 1 #f)) + (cons 'N443 #(none "F8815" "Nontaxable ed. benefits" 1 #f)) + (cons 'N445 #(none "F8815" "Post-89 EE bond face value" 1 #f)) + (cons 'N637 #(none "F8863" "Hope credit" 1 #t)) + (cons 'N638 #(none "F8863" "Lifetime learning credit" 1 #t)) + (cons 'N393 #(none "Home Sale" "Selling price of old home" 1 #t)) + (cons 'N488 #(parent "Sched B" "Div. income, cap gain distrib." 3 #t)) + (cons 'N487 #(current "Sched B" "Div. income, non-taxable" 3 #t)) + (cons 'N286 #(parent "Sched B" "Dividend income" 3 #t)) + (cons 'N492 #(current "Sched B" "Int. inc., OID bonds" 3 #t)) + (cons 'N490 #(current "Sched B" "Int. inc., taxed only by fed" 3 #t)) + (cons 'N491 #(current "Sched B" "Int. inc., taxed only by state" 3 #t)) + (cons 'N489 #(current "Sched B" "Int. income, non-taxable" 3 #t)) + (cons 'N287 #(current "Sched B" "Interest income" 3 #t)) + (cons 'N524 #(current "Sched B" "Seller-financed mortgage int." 3 #t)) + (cons 'N289 #(current "Sched B" "State and muni bond interest" 3 #t)) + (cons 'N290 #(current "Sched B" "TE private activity bond int." 3 #t)) + (cons 'N288 #(current "Sched B" "US government interest" 3 #t)) + (cons 'N293 #(none "Sched C" "Gross receipts or sales" 1 #t)) + (cons 'N303 #(none "Sched C" "Other business income" 1 #t)) + (cons 'N323 #(not-impl "Sched D" "LT gain/loss - security" 1 #f)) + (cons 'N321 #(not-impl "Sched D" "ST gain/loss - security" 1 #f)) + (cons 'N810 #(not-impl "Sched D" "ST/LT gain or loss" 1 #f)) - #(N323 "# Sched D \\ LT gain/loss - security" "" 1 #f) - #(N321 "# Sched D \\ ST gain/loss - security" "" 1 #f) - #(N810 "# Sched D \\ ST/LT gain or loss" "" 1 #f) + (cons 'N326 #(none "Sched E" "Rents received" 1 #t)) + (cons 'N327 #(none "Sched E" "Royalties received" 1 #t)) + (cons 'N372 #(none "Sched F" "Agricultural program payments" 1 #t)) + (cons 'N374 #(none "Sched F" "CCC loans forfeited or repaid" 1 #t)) + (cons 'N373 #(none "Sched F" "CCC loans reported/election" 1 #t)) + (cons 'N376 #(none "Sched F" "Crop ins. proceeds deferred" 1 #t)) + (cons 'N375 #(none "Sched F" "Crop ins. proceeds received" 1 #t)) + (cons 'N370 #(none "Sched F" "Custom hire income" 1 #t)) + (cons 'N377 #(none "Sched F" "Other farm income" 1 #t)) + (cons 'N369 #(none "Sched F" "Resales of livestock/items" 1 #t)) + (cons 'N368 #(none "Sched F" "Sales livestock/product raised" 1 #t)) + (cons 'N371 #(none "Sched F" "Total co-op. distributions" 1 #t)) + (cons 'N452 #(none "Sched K-1" "Dividends" 1 #t)) + (cons 'N455 #(none "Sched K-1" "Guaranteed partner payments" 1 #t)) + (cons 'N451 #(none "Sched K-1" "Interest income" 1 #t)) - #(N326 " Sched E \\ Rents received" "" 1 #t) - #(N327 " Sched E \\ Royalties received" "" 1 #t) - #(N372 " Sched F \\ Agricultural program payments" "" 1 #t) - #(N374 " Sched F \\ CCC loans forfeited or repaid" "" 1 #t) - #(N373 " Sched F \\ CCC loans reported/election" "" 1 #t) - #(N376 " Sched F \\ Crop ins. proceeds deferred" "" 1 #t) - #(N375 " Sched F \\ Crop ins. proceeds received" "" 1 #t) - #(N370 " Sched F \\ Custom hire income" "" 1 #t) - #(N377 " Sched F \\ Other farm income" "" 1 #t) - #(N369 " Sched F \\ Resales of livestock/items" "" 1 #t) - #(N368 " Sched F \\ Sales livestock/product raised" "" 1 #t) - #(N371 " Sched F \\ Total co-op. distributions" "" 1 #t) - #(N452 " Sched K-1 \\ Dividends" "" 1 #t) - #(N455 " Sched K-1 \\ Guaranteed partner payments" "" 1 #t) - #(N451 " Sched K-1 \\ Interest income" "" 1 #t) + (cons 'N454 #(not-impl "Sched K-1" "Net LT capital gain or loss" 1 #t)) + (cons 'N453 #(not-impl "Sched K-1" "Net ST capital gain or loss" 1 #t)) + (cons 'N456 #(not-impl "Sched K-1" "Net Section 1231 gain or loss" 1 #t)) + (cons 'N448 #(not-impl "Sched K-1" "Ordinary income or loss" 1 #t)) + (cons 'N450 #(not-impl "Sched K-1" "Other rental income or loss" 1 #t)) + (cons 'N449 #(not-impl "Sched K-1" "Rental RE income or loss" 1 #t)) - #(N454 "# Sched K-1 \\ Net LT capital gain or loss" "" 1 #t) - #(N453 "# Sched K-1 \\ Net ST capital gain or loss" "" 1 #t) - #(N456 "# Sched K-1 \\ Net Section 1231 gain or loss" "" 1 #t) - #(N448 "# Sched K-1 \\ Ordinary income or loss" "" 1 #t) - #(N450 "# Sched K-1 \\ Other rental income or loss" "" 1 #t) - #(N449 "# Sched K-1 \\ Rental RE income or loss" "" 1 #t) - - #(N527 " Sched K-1 \\ Royalties" "" 1 #t) - #(N528 " Sched K-1 \\ Tax-exempt interest income" "" 1 #t) - #(N465 " W-2 \\ Dep. care benefits, self" "" 1 #t) - #(N512 " W-2 \\ Dep. care benefits, spouse" "" 1 #t) - #(N546 " W-2 \\ Reimbursed moving exp.,spouse" "" 1 #t) - #(N267 " W-2 \\ Reimbursed moving expenses" "" 1 #t) - #(N460 " W-2 \\ Salary or wages, self" "" 1 #t) - #(N506 " W-2 \\ Salary or wages, spouse" "" 1 #t) - #(N549 " W-2G \\ Gross winnings" "" 1 #t))) + (cons 'N527 #(none "Sched K-1" "Royalties" 1 #t)) + (cons 'N528 #(none "Sched K-1" "Tax-exempt interest income" 1 #t)) + (cons 'N465 #(none "W-2" "Dep. care benefits, self" 1 #t)) + (cons 'N512 #(none "W-2" "Dep. care benefits, spouse" 1 #t)) + (cons 'N546 #(none "W-2" "Reimbursed moving exp.,spouse" 1 #t)) + (cons 'N267 #(none "W-2" "Reimbursed moving expenses" 1 #t)) + (cons 'N460 #(none "W-2" "Salary or wages, self" 1 #t)) + (cons 'N506 #(none "W-2" "Salary or wages, spouse" 1 #t)) + (cons 'N549 #(none "W-2G" "Gross winnings" 1 #t)))) (define txf-expense-categories - (list #(N000 " none \\ Tax Report Only - No TXF Export" "" 0 #f) - #(N264 " F1040 \\ Alimony paid" "" 1 #f) - #(N265 "< F1040 \\ Early withdrawal penalty" "" 3 #f) - #(N521 " F1040 \\ Federal estimated tax, qrtrly" "" 1 #f) - #(N613 " F1040 \\ Fed tax w/h, RR retire,self" "" 1 #f) - #(N611 " F1040 \\ Fed tax w/h, Soc. Sec.,self" "" 1 #f) - #(N614 " F1040 \\ Fed tax w/h,RR retire,spouse" "" 1 #f) - #(N612 " F1040 \\ Fed tax w/h,Soc. Sec.,spouse" "" 1 #f) - #(N482 " F1040 \\ IRA contrib., non-work spouse" "" 1 #f) - #(N262 " F1040 \\ IRA contribution, self" "" 1 #f) - #(N481 " F1040 \\ IRA contribution, spouse" "" 1 #f) - #(N263 " F1040 \\ Keogh deduction, self" "" 1 #f) - #(N516 " F1040 \\ Keogh deduction, spouse" "" 1 #f) - #(N608 " F1040 \\ Med savings contrib., spouse" "" 1 #f) - #(N607 " F1040 \\ Med savings contribution,self" "" 1 #f) - #(N517 " F1040 \\ SEP deduction, self" "" 1 #f) - #(N518 " F1040 \\ SEP deduction, spouse" "" 1 #f) - #(N609 " F1040 \\ SIMPLE contribution, self" "" 1 #f) - #(N610 " F1040 \\ SIMPLE contribution, spouse" "" 1 #f) - #(N636 " F1040 \\ Student loan interest" "" 1 #f) - #(N606 " F1099-G \\ Fed tax w/h, unemplymt comp" "" 1 #t) - #(N605 " F1099-G \\ Unemployment comp repaid" "" 1 #t) - #(N558 " F1099-MISC \\ Federal tax withheld" "" 1 #t) - #(N563 " F1099-MISC \\ State tax withheld" "" 1 #t) - #(N532 " F1099-R \\ IRA federal tax withheld" "" 1 #t) - #(N534 " F1099-R \\ IRA local tax withheld" "" 1 #t) - #(N533 " F1099-R \\ IRA state tax withheld" "" 1 #t) - #(N529 " F1099-R \\ Pension federal tax withheld" "" 1 #t) - #(N531 " F1099-R \\ Pension local tax withheld" "" 1 #t) - #(N530 " F1099-R \\ Pension state tax withheld" "" 1 #t) - #(N625 " F1099-R \\ SIMPLE federal tax withheld" "" 1 #t) - #(N627 " F1099-R \\ SIMPLE local tax withheld" "" 1 #t) - #(N626 " F1099-R \\ SIMPLE state tax withheld" "" 1 #t) - #(N382 " F2106 \\ Automobile expenses" "" 1 #t) - #(N381 " F2106 \\ Education expenses" "" 1 #t) - #(N391 " F2106 \\ Employee home office expenses" "" 1 #t) - #(N389 " F2106 \\ Job seeking expenses" "" 1 #t) - #(N384 " F2106 \\ Local transportation exp." "" 1 #t) - #(N386 " F2106 \\ Meal/entertainment expenses" "" 1 #t) - #(N385 " F2106 \\ Other business expenses" "" 1 #t) - #(N390 " F2106 \\ Special clothing expenses" "" 1 #t) - #(N383 " F2106 \\ Travel (away from home)" "" 1 #t) - #(N401 "< F2441 \\ Qualifying childcare expenses" "" 3 #f) - #(N402 "< F2441 \\ Qualifying household expenses" "" 3 #f) - #(N406 " F3903 \\ Transport/storage of goods" "" 1 #t) - #(N407 " F3903 \\ Travel/lodging, except meals" "" 1 #t) - #(N413 " F4684 \\ Basis of casualty property" "" 1 #t) - #(N579 " F4835 \\ Car and truck expenses" "" 1 #t) - #(N580 " F4835 \\ Chemicals" "" 1 #t) - #(N581 " F4835 \\ Conservation expenses" "" 1 #t) - #(N582 " F4835 \\ Custom hire expenses" "" 1 #t) - #(N583 " F4835 \\ Employee benefit programs" "" 1 #t) - #(N584 " F4835 \\ Feed purchased" "" 1 #t) - #(N585 " F4835 \\ Fertilizers and lime" "" 1 #t) - #(N586 " F4835 \\ Freight and trucking" "" 1 #t) - #(N587 " F4835 \\ Gasoline, fuel, and oil" "" 1 #t) - #(N588 " F4835 \\ Insurance (other than health)" "" 1 #t) - #(N589 " F4835 \\ Interest expense, mortgage" "" 1 #t) - #(N590 " F4835 \\ Interest expense, other" "" 1 #t) - #(N591 " F4835 \\ Labor hired" "" 1 #t) - #(N602 " F4835 \\ Other expenses" "" 1 #t) - #(N592 " F4835 \\ Pension/profit-sharing plans" "" 1 #t) - #(N594 " F4835 \\ Rent/lease land, animals" "" 1 #t) - #(N593 " F4835 \\ Rent/lease vehicles, equip." "" 1 #t) - #(N595 " F4835 \\ Repairs and maintenance" "" 1 #t) - #(N596 " F4835 \\ Seeds and plants purchased" "" 1 #t) - #(N597 " F4835 \\ Storage and warehousing" "" 1 #t) - #(N598 " F4835 \\ Supplies purchased" "" 1 #t) - #(N599 " F4835 \\ Taxes" "" 1 #t) - #(N600 " F4835 \\ Utilities" "" 1 #t) - #(N601 " F4835 \\ Vet, breeding, medicine" "" 1 #t) - #(N426 " F4952 \\ Investment interest expense" "" 1 #f) - #(N432 " F6252 \\ Expenses of sale" "" 1 #t) - #(N442 " F8815 \\ Qual. higher ed. expenses" "" 1 #f) - #(N537 " F8829 \\ Deductible mortgage expense" "" 1 #t) - #(N539 " F8829 \\ Insurance" "" 1 #t) - #(N542 " F8829 \\ Other expenses" "" 1 #t) - #(N538 " F8829 \\ Real estate taxes" "" 1 #t) - #(N540 " F8829 \\ Repairs and maintenance" "" 1 #t) - #(N541 " F8829 \\ Utilities" "" 1 #t) - #(N618 " F8839 \\ Adoption fees" "" 1 #t) - #(N620 " F8839 \\ Attorney fees" "" 1 #t) - #(N619 " F8839 \\ Court costs" "" 1 #t) - #(N622 " F8839 \\ Other expenses" "" 1 #t) - #(N621 " F8839 \\ Traveling expenses" "" 1 #t) - #(N397 " Home Sale \\ Cost of new home" "" 1 #t) - #(N394 " Home Sale \\ Expense of sale" "" 1 #t) - #(N396 " Home Sale \\ Fixing-up expenses" "" 1 #t) - #(N280 " Sched A \\ Cash charity contributions" "" 1 #f) - #(N484 " Sched A \\ Doctors, dentists, hospitals" "" 1 #f) - #(N272 " Sched A \\ Gambling losses" "" 1 #f) - #(N545 " Sched A \\ Home mortgage int. (no 1098)" "" 1 #f) - #(N283 " Sched A \\ Home mortgage interest (1098)" "" 1 #f) - #(N282 " Sched A \\ Investment management fees" "" 1 #f) - #(N544 " Sched A \\ Local income taxes" "" 1 #f) - #(N274 " Sched A \\ Medical travel and lodging" "" 1 #f) - #(N273 " Sched A \\ Medicine and drugs" "" 1 #f) - #(N523 " Sched A \\ Misc., no 2% AGI limit" "" 1 #f) - #(N486 " Sched A \\ Misc., subject to 2% AGI limit" "" 1 #f) - #(N485 " Sched A \\ Non-cash charity contributions" "" 1 #f) - #(N277 " Sched A \\ Other taxes" "" 1 #f) - #(N535 " Sched A \\ Personal property taxes" "" 1 #f) - #(N284 " Sched A \\ Points paid (no 1098)" "" 1 #f) - #(N276 " Sched A \\ Real estate taxes" "" 1 #f) - #(N522 " Sched A \\ State estimated tax, qrtrly" "" 1 #f) - #(N275 " Sched A \\ State income taxes" "" 1 #f) - #(N271 " Sched A \\ Subscriptions" "" 1 #f) - #(N615 "< Sched B \\ Fed tax w/h, dividend income" "" 3 #t) - #(N616 "< Sched B \\ Fed tax w/h, interest income" "" 3 #t) - #(N281 " Sched A \\ Tax preparation fees" "" 1 #f) - #(N304 " Sched C \\ Advertising" "" 1 #t) - #(N305 " Sched C \\ Bad debts from sales/services" "" 1 #t) - #(N306 " Sched C \\ Car and truck expenses" "" 1 #t) - #(N307 " Sched C \\ Commissions and fees" "" 1 #t) - #(N309 " Sched C \\ Depletion" "" 1 #t) - #(N308 " Sched C \\ Employee benefit programs" "" 1 #t) - #(N310 " Sched C \\ Insurance, other than health" "" 1 #t) - #(N311 " Sched C \\ Interest expense, mortgage" "" 1 #t) - #(N312 " Sched C \\ Interest expense, other" "" 1 #t) - #(N494 " Sched C \\ Labor, Cost of Goods" "" 1 #t) - #(N298 " Sched C \\ Legal and professional fees" "" 1 #t) - #(N495 " Sched C \\ Materials/supplies, COGS" "" 1 #t) - #(N294 " Sched C \\ Meals and entertainment" "" 1 #t) - #(N313 " Sched C \\ Office expenses" "" 1 #t) - #(N302 " Sched C \\ Other business expenses" "" 1 #t) - #(N496 " Sched C \\ Other costs, COGS" "" 1 #t) - #(N314 " Sched C \\ Pension/profit sharing plans" "" 1 #t) - #(N493 " Sched C \\ Purchases, Cost of Goods" "" 1 #t) - #(N300 " Sched C \\ Rent/lease other bus. prop." "" 1 #t) - #(N299 " Sched C \\ Rent/lease vehicles, equip." "" 1 #t) - #(N315 " Sched C \\ Repairs and maintenance" "" 1 #t) - #(N296 " Sched C \\ Returns and allowances" "" 1 #t) - #(N301 " Sched C \\ Supplies (not from COGS)" "" 1 #t) - #(N316 " Sched C \\ Taxes and licenses" "" 1 #t) - #(N317 " Sched C \\ Travel" "" 1 #t) - #(N318 " Sched C \\ Utilities" "" 1 #t) - #(N297 " Sched C \\ Wages paid" "" 1 #t) - #(N328 " Sched E \\ Advertising" "" 1 #t) - #(N329 " Sched E \\ Auto and travel" "" 1 #t) - #(N330 " Sched E \\ Cleaning and maintenance" "" 1 #t) - #(N331 " Sched E \\ Commissions" "" 1 #t) - #(N332 " Sched E \\ Insurance" "" 1 #t) - #(N333 " Sched E \\ Legal and professional fees" "" 1 #t) - #(N502 " Sched E \\ Management fees" "" 1 #t) - #(N334 " Sched E \\ Mortgage interest expense" "" 1 #t) - #(N341 " Sched E \\ Other expenses" "" 1 #t) - #(N335 " Sched E \\ Other interest expense" "" 1 #t) - #(N336 " Sched E \\ Repairs" "" 1 #t) - #(N337 " Sched E \\ Supplies" "" 1 #t) - #(N338 " Sched E \\ Taxes" "" 1 #t) - #(N339 " Sched E \\ Utilities" "" 1 #t) - #(N543 " Sched F \\ Car and truck expenses" "" 1 #t) - #(N366 " Sched F \\ Chemicals" "" 1 #t) - #(N362 " Sched F \\ Conservation expenses" "" 1 #t) - #(N378 " Sched F \\ Cost of resale livestock/items" "" 1 #t) - #(N367 " Sched F \\ Custom hire expenses" "" 1 #t) - #(N364 " Sched F \\ Employee benefit programs" "" 1 #t) - #(N350 " Sched F \\ Feed purchased" "" 1 #t) - #(N352 " Sched F \\ Fertilizers and lime" "" 1 #t) - #(N361 " Sched F \\ Freight and trucking" "" 1 #t) - #(N356 " Sched F \\ Gasoline, fuel, and oil" "" 1 #t) - #(N359 " Sched F \\ Insurance, other than health" "" 1 #t) - #(N346 " Sched F \\ Interest expense, mortgage" "" 1 #t) - #(N347 " Sched F \\ Interest expense, other" "" 1 #t) - #(N344 " Sched F \\ Labor hired" "" 1 #t) - #(N365 " Sched F \\ Other farm expenses" "" 1 #t) - #(N363 " Sched F \\ Pension/profit sharing plans" "" 1 #t) - #(N348 " Sched F \\ Rent/lease land, animals" "" 1 #t) - #(N349 " Sched F \\ Rent/lease vehicles, equip." "" 1 #t) - #(N345 " Sched F \\ Repairs and maintenance" "" 1 #t) - #(N351 " Sched F \\ Seeds and plants purchased" "" 1 #t) - #(N357 " Sched F \\ Storage and warehousing" "" 1 #t) - #(N353 " Sched F \\ Supplies purchased" "" 1 #t) - #(N358 " Sched F \\ Taxes" "" 1 #t) - #(N360 " Sched F \\ Utilities" "" 1 #t) - #(N355 " Sched F \\ Vet, breeding, and medicine" "" 1 #t) - #(N567 " Sched H \\ Cash wages paid" "" 1 #f) - #(N568 " Sched H \\ Federal tax withheld" "" 1 #f) - #(N461 " W-2 \\ Federal tax withheld, self" "" 1 #t) - #(N507 " W-2 \\ Federal tax withheld, spouse" "" 1 #t) - #(N463 " W-2 \\ Local tax withheld, self" "" 1 #t) - #(N509 " W-2 \\ Local tax withheld, spouse" "" 1 #t) - #(N480 " W-2 \\ Medicare tax withheld, self" "" 1 #t) - #(N510 " W-2 \\ Medicare tax withheld, spouse" "" 1 #t) - #(N462 " W-2 \\ Soc. Sec. tax withheld, self" "" 1 #t) - #(N508 " W-2 \\ Soc. Sec. tax withheld, spouse" "" 1 #t) - #(N464 " W-2 \\ State tax withheld, self" "" 1 #t) - #(N511 " W-2 \\ State tax withheld, spouse" "" 1 #t) - #(N550 " W-2G \\ Federal tax withheld" "" 1 #t) - #(N551 " W-2G \\ State tax withheld" "" 1 #t))) + (list + (cons 'N000 #(none "none" "Tax Report Only - No TXF Export" 0 #f)) + (cons 'N264 #(none "F1040" "Alimony paid" 1 #f)) + (cons 'N265 #(current "F1040" "Early withdrawal penalty" 3 #f)) + (cons 'N521 #(none "F1040" "Federal estimated tax, qrtrly" 1 #f)) + (cons 'N613 #(none "F1040" "Fed tax w/h, RR retire,self" 1 #f)) + (cons 'N611 #(none "F1040" "Fed tax w/h, Soc. Sec.,self" 1 #f)) + (cons 'N614 #(none "F1040" "Fed tax w/h,RR retire,spouse" 1 #f)) + (cons 'N612 #(none "F1040" "Fed tax w/h,Soc. Sec.,spouse" 1 #f)) + (cons 'N482 #(none "F1040" "IRA contrib., non-work spouse" 1 #f)) + (cons 'N262 #(none "F1040" "IRA contribution, self" 1 #f)) + (cons 'N481 #(none "F1040" "IRA contribution, spouse" 1 #f)) + (cons 'N263 #(none "F1040" "Keogh deduction, self" 1 #f)) + (cons 'N516 #(none "F1040" "Keogh deduction, spouse" 1 #f)) + (cons 'N608 #(none "F1040" "Med savings contrib., spouse" 1 #f)) + (cons 'N607 #(none "F1040" "Med savings contribution,self" 1 #f)) + (cons 'N517 #(none "F1040" "SEP deduction, self" 1 #f)) + (cons 'N518 #(none "F1040" "SEP deduction, spouse" 1 #f)) + (cons 'N609 #(none "F1040" "SIMPLE contribution, self" 1 #f)) + (cons 'N610 #(none "F1040" "SIMPLE contribution, spouse" 1 #f)) + (cons 'N636 #(none "F1040" "Student loan interest" 1 #f)) + (cons 'N606 #(none "F1099-G" "Fed tax w/h, unemplymt comp" 1 #t)) + (cons 'N605 #(none "F1099-G" "Unemployment comp repaid" 1 #t)) + (cons 'N558 #(none "F1099-MISC" "Federal tax withheld" 1 #t)) + (cons 'N563 #(none "F1099-MISC" "State tax withheld" 1 #t)) + (cons 'N532 #(none "F1099-R" "IRA federal tax withheld" 1 #t)) + (cons 'N534 #(none "F1099-R" "IRA local tax withheld" 1 #t)) + (cons 'N533 #(none "F1099-R" "IRA state tax withheld" 1 #t)) + (cons 'N529 #(none "F1099-R" "Pension federal tax withheld" 1 #t)) + (cons 'N531 #(none "F1099-R" "Pension local tax withheld" 1 #t)) + (cons 'N530 #(none "F1099-R" "Pension state tax withheld" 1 #t)) + (cons 'N625 #(none "F1099-R" "SIMPLE federal tax withheld" 1 #t)) + (cons 'N627 #(none "F1099-R" "SIMPLE local tax withheld" 1 #t)) + (cons 'N626 #(none "F1099-R" "SIMPLE state tax withheld" 1 #t)) + (cons 'N382 #(none "F2106" "Automobile expenses" 1 #t)) + (cons 'N381 #(none "F2106" "Education expenses" 1 #t)) + (cons 'N391 #(none "F2106" "Employee home office expenses" 1 #t)) + (cons 'N389 #(none "F2106" "Job seeking expenses" 1 #t)) + (cons 'N384 #(none "F2106" "Local transportation exp." 1 #t)) + (cons 'N386 #(none "F2106" "Meal/entertainment expenses" 1 #t)) + (cons 'N385 #(none "F2106" "Other business expenses" 1 #t)) + (cons 'N390 #(none "F2106" "Special clothing expenses" 1 #t)) + (cons 'N383 #(none "F2106" "Travel (away from home)" 1 #t)) + (cons 'N401 #(current "F2441" "Qualifying childcare expenses" 3 #f)) + (cons 'N402 #(current "F2441" "Qualifying household expenses" 3 #f)) + (cons 'N406 #(none "F3903" "Transport/storage of goods" 1 #t)) + (cons 'N407 #(none "F3903" "Travel/lodging, except meals" 1 #t)) + (cons 'N413 #(none "F4684" "Basis of casualty property" 1 #t)) + (cons 'N579 #(none "F4835" "Car and truck expenses" 1 #t)) + (cons 'N580 #(none "F4835" "Chemicals" 1 #t)) + (cons 'N581 #(none "F4835" "Conservation expenses" 1 #t)) + (cons 'N582 #(none "F4835" "Custom hire expenses" 1 #t)) + (cons 'N583 #(none "F4835" "Employee benefit programs" 1 #t)) + (cons 'N584 #(none "F4835" "Feed purchased" 1 #t)) + (cons 'N585 #(none "F4835" "Fertilizers and lime" 1 #t)) + (cons 'N586 #(none "F4835" "Freight and trucking" 1 #t)) + (cons 'N587 #(none "F4835" "Gasoline, fuel, and oil" 1 #t)) + (cons 'N588 #(none "F4835" "Insurance (other than health)" 1 #t)) + (cons 'N589 #(none "F4835" "Interest expense, mortgage" 1 #t)) + (cons 'N590 #(none "F4835" "Interest expense, other" 1 #t)) + (cons 'N591 #(none "F4835" "Labor hired" 1 #t)) + (cons 'N602 #(none "F4835" "Other expenses" 1 #t)) + (cons 'N592 #(none "F4835" "Pension/profit-sharing plans" 1 #t)) + (cons 'N594 #(none "F4835" "Rent/lease land, animals" 1 #t)) + (cons 'N593 #(none "F4835" "Rent/lease vehicles, equip." 1 #t)) + (cons 'N595 #(none "F4835" "Repairs and maintenance" 1 #t)) + (cons 'N596 #(none "F4835" "Seeds and plants purchased" 1 #t)) + (cons 'N597 #(none "F4835" "Storage and warehousing" 1 #t)) + (cons 'N598 #(none "F4835" "Supplies purchased" 1 #t)) + (cons 'N599 #(none "F4835" "Taxes" 1 #t)) + (cons 'N600 #(none "F4835" "Utilities" 1 #t)) + (cons 'N601 #(none "F4835" "Vet, breeding, medicine" 1 #t)) + (cons 'N426 #(none "F4952" "Investment interest expense" 1 #f)) + (cons 'N432 #(none "F6252" "Expenses of sale" 1 #t)) + (cons 'N442 #(none "F8815" "Qual. higher ed. expenses" 1 #f)) + (cons 'N537 #(none "F8829" "Deductible mortgage expense" 1 #t)) + (cons 'N539 #(none "F8829" "Insurance" 1 #t)) + (cons 'N542 #(none "F8829" "Other expenses" 1 #t)) + (cons 'N538 #(none "F8829" "Real estate taxes" 1 #t)) + (cons 'N540 #(none "F8829" "Repairs and maintenance" 1 #t)) + (cons 'N541 #(none "F8829" "Utilities" 1 #t)) + (cons 'N618 #(none "F8839" "Adoption fees" 1 #t)) + (cons 'N620 #(none "F8839" "Attorney fees" 1 #t)) + (cons 'N619 #(none "F8839" "Court costs" 1 #t)) + (cons 'N622 #(none "F8839" "Other expenses" 1 #t)) + (cons 'N621 #(none "F8839" "Traveling expenses" 1 #t)) + (cons 'N397 #(none "Home Sale" "Cost of new home" 1 #t)) + (cons 'N394 #(none "Home Sale" "Expense of sale" 1 #t)) + (cons 'N396 #(none "Home Sale" "Fixing-up expenses" 1 #t)) + (cons 'N280 #(none "Sched A" "Cash charity contributions" 1 #f)) + (cons 'N484 #(none "Sched A" "Doctors, dentists, hospitals" 1 #f)) + (cons 'N272 #(none "Sched A" "Gambling losses" 1 #f)) + (cons 'N545 #(none "Sched A" "Home mortgage int. (no 1098)" 1 #f)) + (cons 'N283 #(none "Sched A" "Home mortgage interest (1098)" 1 #f)) + (cons 'N282 #(none "Sched A" "Investment management fees" 1 #f)) + (cons 'N544 #(none "Sched A" "Local income taxes" 1 #f)) + (cons 'N274 #(none "Sched A" "Medical travel and lodging" 1 #f)) + (cons 'N273 #(none "Sched A" "Medicine and drugs" 1 #f)) + (cons 'N523 #(none "Sched A" "Misc., no 2% AGI limit" 1 #f)) + (cons 'N486 #(none "Sched A" "Misc., subject to 2% AGI limit" 1 #f)) + (cons 'N485 #(none "Sched A" "Non-cash charity contributions" 1 #f)) + (cons 'N277 #(none "Sched A" "Other taxes" 1 #f)) + (cons 'N535 #(none "Sched A" "Personal property taxes" 1 #f)) + (cons 'N284 #(none "Sched A" "Points paid (no 1098)" 1 #f)) + (cons 'N276 #(none "Sched A" "Real estate taxes" 1 #f)) + (cons 'N522 #(none "Sched A" "State estimated tax, qrtrly" 1 #f)) + (cons 'N275 #(none "Sched A" "State income taxes" 1 #f)) + (cons 'N271 #(none "Sched A" "Subscriptions" 1 #f)) + (cons 'N615 #(current "Sched B" "Fed tax w/h, dividend income" 3 #t)) + (cons 'N616 #(current "Sched B" "Fed tax w/h, interest income" 3 #t)) + (cons 'N281 #(none "Sched A" "Tax preparation fees" 1 #f)) + (cons 'N304 #(none "Sched C" "Advertising" 1 #t)) + (cons 'N305 #(none "Sched C" "Bad debts from sales/services" 1 #t)) + (cons 'N306 #(none "Sched C" "Car and truck expenses" 1 #t)) + (cons 'N307 #(none "Sched C" "Commissions and fees" 1 #t)) + (cons 'N309 #(none "Sched C" "Depletion" 1 #t)) + (cons 'N308 #(none "Sched C" "Employee benefit programs" 1 #t)) + (cons 'N310 #(none "Sched C" "Insurance, other than health" 1 #t)) + (cons 'N311 #(none "Sched C" "Interest expense, mortgage" 1 #t)) + (cons 'N312 #(none "Sched C" "Interest expense, other" 1 #t)) + (cons 'N494 #(none "Sched C" "Labor, Cost of Goods" 1 #t)) + (cons 'N298 #(none "Sched C" "Legal and professional fees" 1 #t)) + (cons 'N495 #(none "Sched C" "Materials/supplies, COGS" 1 #t)) + (cons 'N294 #(none "Sched C" "Meals and entertainment" 1 #t)) + (cons 'N313 #(none "Sched C" "Office expenses" 1 #t)) + (cons 'N302 #(none "Sched C" "Other business expenses" 1 #t)) + (cons 'N496 #(none "Sched C" "Other costs, COGS" 1 #t)) + (cons 'N314 #(none "Sched C" "Pension/profit sharing plans" 1 #t)) + (cons 'N493 #(none "Sched C" "Purchases, Cost of Goods" 1 #t)) + (cons 'N300 #(none "Sched C" "Rent/lease other bus. prop." 1 #t)) + (cons 'N299 #(none "Sched C" "Rent/lease vehicles, equip." 1 #t)) + (cons 'N315 #(none "Sched C" "Repairs and maintenance" 1 #t)) + (cons 'N296 #(none "Sched C" "Returns and allowances" 1 #t)) + (cons 'N301 #(none "Sched C" "Supplies (not from COGS)" 1 #t)) + (cons 'N316 #(none "Sched C" "Taxes and licenses" 1 #t)) + (cons 'N317 #(none "Sched C" "Travel" 1 #t)) + (cons 'N318 #(none "Sched C" "Utilities" 1 #t)) + (cons 'N297 #(none "Sched C" "Wages paid" 1 #t)) + (cons 'N328 #(none "Sched E" "Advertising" 1 #t)) + (cons 'N329 #(none "Sched E" "Auto and travel" 1 #t)) + (cons 'N330 #(none "Sched E" "Cleaning and maintenance" 1 #t)) + (cons 'N331 #(none "Sched E" "Commissions" 1 #t)) + (cons 'N332 #(none "Sched E" "Insurance" 1 #t)) + (cons 'N333 #(none "Sched E" "Legal and professional fees" 1 #t)) + (cons 'N502 #(none "Sched E" "Management fees" 1 #t)) + (cons 'N334 #(none "Sched E" "Mortgage interest expense" 1 #t)) + (cons 'N341 #(none "Sched E" "Other expenses" 1 #t)) + (cons 'N335 #(none "Sched E" "Other interest expense" 1 #t)) + (cons 'N336 #(none "Sched E" "Repairs" 1 #t)) + (cons 'N337 #(none "Sched E" "Supplies" 1 #t)) + (cons 'N338 #(none "Sched E" "Taxes" 1 #t)) + (cons 'N339 #(none "Sched E" "Utilities" 1 #t)) + (cons 'N543 #(none "Sched F" "Car and truck expenses" 1 #t)) + (cons 'N366 #(none "Sched F" "Chemicals" 1 #t)) + (cons 'N362 #(none "Sched F" "Conservation expenses" 1 #t)) + (cons 'N378 #(none "Sched F" "Cost of resale livestock/items" 1 #t)) + (cons 'N367 #(none "Sched F" "Custom hire expenses" 1 #t)) + (cons 'N364 #(none "Sched F" "Employee benefit programs" 1 #t)) + (cons 'N350 #(none "Sched F" "Feed purchased" 1 #t)) + (cons 'N352 #(none "Sched F" "Fertilizers and lime" 1 #t)) + (cons 'N361 #(none "Sched F" "Freight and trucking" 1 #t)) + (cons 'N356 #(none "Sched F" "Gasoline, fuel, and oil" 1 #t)) + (cons 'N359 #(none "Sched F" "Insurance, other than health" 1 #t)) + (cons 'N346 #(none "Sched F" "Interest expense, mortgage" 1 #t)) + (cons 'N347 #(none "Sched F" "Interest expense, other" 1 #t)) + (cons 'N344 #(none "Sched F" "Labor hired" 1 #t)) + (cons 'N365 #(none "Sched F" "Other farm expenses" 1 #t)) + (cons 'N363 #(none "Sched F" "Pension/profit sharing plans" 1 #t)) + (cons 'N348 #(none "Sched F" "Rent/lease land, animals" 1 #t)) + (cons 'N349 #(none "Sched F" "Rent/lease vehicles, equip." 1 #t)) + (cons 'N345 #(none "Sched F" "Repairs and maintenance" 1 #t)) + (cons 'N351 #(none "Sched F" "Seeds and plants purchased" 1 #t)) + (cons 'N357 #(none "Sched F" "Storage and warehousing" 1 #t)) + (cons 'N353 #(none "Sched F" "Supplies purchased" 1 #t)) + (cons 'N358 #(none "Sched F" "Taxes" 1 #t)) + (cons 'N360 #(none "Sched F" "Utilities" 1 #t)) + (cons 'N355 #(none "Sched F" "Vet, breeding, and medicine" 1 #t)) + (cons 'N567 #(none "Sched H" "Cash wages paid" 1 #f)) + (cons 'N568 #(none "Sched H" "Federal tax withheld" 1 #f)) + (cons 'N461 #(none "W-2" "Federal tax withheld, self" 1 #t)) + (cons 'N507 #(none "W-2" "Federal tax withheld, spouse" 1 #t)) + (cons 'N463 #(none "W-2" "Local tax withheld, self" 1 #t)) + (cons 'N509 #(none "W-2" "Local tax withheld, spouse" 1 #t)) + (cons 'N480 #(none "W-2" "Medicare tax withheld, self" 1 #t)) + (cons 'N510 #(none "W-2" "Medicare tax withheld, spouse" 1 #t)) + (cons 'N462 #(none "W-2" "Soc. Sec. tax withheld, self" 1 #t)) + (cons 'N508 #(none "W-2" "Soc. Sec. tax withheld, spouse" 1 #t)) + (cons 'N464 #(none "W-2" "State tax withheld, self" 1 #t)) + (cons 'N511 #(none "W-2" "State tax withheld, spouse" 1 #t)) + (cons 'N550 #(none "W-2G" "Federal tax withheld" 1 #t)) + (cons 'N551 #(none "W-2G" "State tax withheld" 1 #t))))