<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -369,7 +369,8 @@ class Invoice(BaseObject):
     object_name = 'invoice'
     TYPE_MAPPINGS = {'invoice_id' : 'int', 'client_id' : 'int',
         'po_number' : 'int', 'discount' : 'float', 'amount' : 'float',
-        'date' : 'datetime'}
+        'date' : 'datetime', 'amount_outstanding' : 'float', 
+        'paid' : 'float'}
 
     def __init__(self):
         '''
@@ -377,7 +378,9 @@ class Invoice(BaseObject):
         attributes for this class
         '''
         for att in ('invoice_id', 'client_id', 'number', 'date', 'po_number',
-      'terms', 'first_name', 'last_name', 'organization', 'p_street1', 'p_street2', 'p_city','p_state', 'p_country', 'p_code', 'amount', 'lines', 'discount', 'status', 'notes', 'url'):
+      'terms', 'first_name', 'last_name', 'organization', 'p_street1', 'p_street2', 
+      'p_city','p_state', 'p_country', 'p_code', 'amount', 'amount_outstanding', 'paid', 
+      'lines', 'discount', 'status', 'notes', 'url'):
             setattr(self, att, None)
         self.lines = []
         self.links = []
@@ -589,6 +592,26 @@ class Expense(BaseObject):
 
 
 #-----------------------------------------------#
+# Category
+#-----------------------------------------------#      
+class Category(BaseObject):
+    '''
+    The Category object
+    '''
+
+    object_name = 'category'
+    TYPE_MAPPINGS = {'category_id' : 'int', 'tax1' : 'float',
+        'tax2' : 'float'}
+
+    def __init__(self):
+        '''
+        The constructor is where we initially create the
+        attributes for this class
+        '''
+        for att in ('category_id', 'name', 'tax1', 'tax2'):
+            setattr(self, att, None)
+
+#-----------------------------------------------#
 # Staff
 #-----------------------------------------------#      
 class Staff(BaseObject):</diff>
      <filename>freshbooks.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>00fb26e58b7844ddc26d7841033af381ee7851ae</id>
    </parent>
  </parents>
  <author>
    <name>Matt Culbreth</name>
    <email>mattculbreth@gmail.com</email>
  </author>
  <url>http://github.com/mattc58/freshbooks.py/commit/93fb4c7835e43384aa79224115b1a754647a49f9</url>
  <id>93fb4c7835e43384aa79224115b1a754647a49f9</id>
  <committed-date>2008-12-27T22:50:41-08:00</committed-date>
  <authored-date>2008-12-27T22:50:41-08:00</authored-date>
  <message>added amount_outstanding and paid to Invoice; added Category object</message>
  <tree>5455ea592ef9360f5e9af433be9fa949ea7a63fb</tree>
  <committer>
    <name>Matt Culbreth</name>
    <email>mattculbreth@gmail.com</email>
  </committer>
</commit>
