Meaning of number and boolean in tax code definitions
alex.aycinena at gmail.com
Sat May 24 00:35:58 EDT 2014
> ---------- Forwarded message ----------
> From: "Clint Redwood" <clint at screwtape.co.uk>
> To: "gnucash-devel at gnucash.org" <gnucash-devel at gnucash.org>
> Date: Thu, 22 May 2014 10:02:07 +0100
> Subject: Meaning of number and boolean in tax code definitions
> Hi again!
> Can anyone tell me what the number and boolean mean in the tax code
> definitions? I've scoured the scheme code and can't find any explanation,
> and so I thought rather than hacking any further, I'd ask...
> I get most of the values. I'm not quite sure about the
> none/not-impl/parent, but particularly I'm unable to discern what the
> number after the line description means, or the following #t/#f:
> (cons 'N374 #(none "Sched F" "CCC loans forfeited or repaid" 1 #t ""
> ((2011 "5b") (1990 "7b"))))
> (cons 'N421 #(not-impl "F4797" "ST dep. prop. - business" 5 #f ""
> ((1997 "10") (1992 "11") (1990 "10"))))
> (cons 'N1759 #(parent "F8825" "Gross rents – B" 1 #t "" ((1990 "2B"))))
> If anyone can point me in the direction of any documentation or just tell
> me what the 1,2,3,4,5 etc, and #t/#f mean that'd be great.
> Clint Redwood
> Screwtape Limited, Registered 06663232, Babington House, 26 College Road,
> Chilwell, Nottingham NG9 4AS
The 'none/not-impl/parent' is used by the report to determine if the item
is reported using the account's description or the parent account's
description (so for example, if the account tree has an account with the
description containing the name of a brokerage, and sub-accounts for
interest and dividends, the name of the brokerage account can be fetched
from the dividend accounts' parent account for the report);
gnc:txf-get-payer-name-source. The same field is used to indicate that a
particular txf code is not implemented in the gnucash txf system.
The numbers correspond to txf formats; gnc:txf-get-format.
The #t/#f tell the report/extract if there can be multiple copies of a
particular form/schedule in a tax filing (for example, in US tax filing,
there can only be one Schedule B but multiple Schedule Cs);
More information about the gnucash-devel