SegmentedDonation Complex Type
ROA = Required on Add, ROU = Required on Update, Click Column Header to Sort Column
Name Type ROA ROU Read Only Basic Comments Special Comments
type int     Yes Set to 10 when journal entry is retrieved from eTapestry  
accountRef string     Yes Must be a donor role account  
accountName string     Yes    
ref string   Yes Yes    
final boolean         SC1
date date   Yes      
totalAmount double Yes Yes   Must be greater than or equal to zero SC2
totalNonDeductibleAmount double       Must be greater than or equal to zero and less than or equal to the totalAmount SC3
segments object array Yes Yes   Must have from 2 to 60 items SC4
offsettingRef string     Yes   SC5

Special Comments
SC1) The field final indicates whether the transaction can be updated by non admin users.  A true value means it cannot be updated by non admin users.
SC2) The field totalAmount must equal the sum of the amounts on the segments.
SC3) The field nonDeductibleAmount must equal the sum of the non deductible amounts on the segments.
SC4) The field segments must contain two or more gifts and/or payments.  This field can only contain gifts and payments.
SC5) eTapestry allows transactions to be reversed.  The field offsettingRef indicates this transaction is a transaction that has been reversed or the reversal transaction.  Reversal transanctions or transactions that have been reveresed cannot be updated.