Example code: 1111-2222-3-4444-5555

1st Set - 1111 is the Site ID for the site. 

2nd Set - 2222 is the Campaign_id for the donation campaign or Ecommerce store, etc.

3rd Set - 3 is the Donation Type for the transaction
    1 = Settled Donation
    2 = Pledge Payment
    3 = Recurring Gift
    4 = Ticket Purchase
    20 = TeamRaiser Registration
    21 = Tributes Registration
    25 = eCommerce Purchase
    30 = Refund

4th Set - 4444 are the uniquely generated numbers based on the type of donation it is.

5th Set - 5555 is the four digit Valued Transaction ID for the donation.