piecash.business.person module¶
-
class
piecash.business.person.
Address
(name='', addr1='', addr2='', addr3='', addr4='', email='', fax='', phone='')[source]¶ Bases:
object
An Address object encapsulates information regarding an address in GnuCash.
-
class
piecash.business.person.
Person
[source]¶ Bases:
object
A mixin declaring common field for Customer, Vendor and Employee
-
class
piecash.business.person.
Customer
(name, currency, id=None, notes='', active=1, tax_override=0, credit=Decimal('0'), discount=Decimal('0'), taxtable=None, address=None, shipping_address=None, tax_included='USEGLOBAL', book=None)[source]¶ Bases:
piecash.business.person.Person
,piecash._declbase.DeclarativeBaseGuid
A GnuCash Customer
-
discount
¶ see Gnucash documentation
- Type
-
credit
¶ see Gnucash documentation
- Type
-
currency
¶ the currency of the customer
-
taxtable
¶ tax table of the customer
- Type
piecash.business.tax.TaxTable
-
term
¶ bill term of the customer
- Type
piecash.business.invoice.Billterm
-
-
class
piecash.business.person.
Employee
(name, currency, creditcard_account=None, id=None, active=1, acl='', language='', workday=Decimal('0'), rate=Decimal('0'), address=None, book=None)[source]¶ Bases:
piecash.business.person.Person
,piecash._declbase.DeclarativeBaseGuid
A GnuCash Employee
-
workday
¶ see Gnucash documentation
- Type
-
rate
¶ see Gnucash documentation
- Type
-
currency
¶ the currency of the employee
-
creditcard_account
¶ credit card account for the employee
-
-
class
piecash.business.person.
Vendor
(name, currency, id=None, notes='', active=1, tax_override=0, taxtable=None, credit=Decimal('0'), discount=Decimal('0'), address=None, tax_included='USEGLOBAL', book=None)[source]¶ Bases:
piecash.business.person.Person
,piecash._declbase.DeclarativeBaseGuid
A GnuCash Vendor
-
currency
¶ the currency of the vendor
-
taxtable
¶ tax table of the vendor
- Type
piecash.business.tax.TaxTable
-
term
¶ bill term of the vendor
- Type
piecash.business.invoice.Billterm
-