2017-10-22 17:38:53 +00:00
|
|
|
- source: PatreonPatronReport_2017-09-01.csv
|
|
|
|
importer: patreon.IncomeImporter
|
|
|
|
expect:
|
|
|
|
- payee: Alex Jones
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
2017-12-18 19:09:54 +00:00
|
|
|
amount: !!python/object/apply:decimal.Decimal ["1500.00"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
|
|
|
- payee: Dakota Doe
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["12.00"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
|
|
|
|
|
|
|
- source: PatreonEarnings.csv
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: patreon.ServiceFeesImporter
|
2017-10-22 17:38:53 +00:00
|
|
|
expect:
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["61.73"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["117.03"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
|
|
|
|
|
|
|
- source: PatreonEarnings.csv
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: patreon.CardFeesImporter
|
2017-10-22 17:38:53 +00:00
|
|
|
expect:
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["52.47"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["99.47"]
|
2017-10-22 17:38:53 +00:00
|
|
|
currency: USD
|
2017-10-26 16:40:28 +00:00
|
|
|
|
|
|
|
- source: PatreonVat.csv
|
|
|
|
importer: patreon.VATImporter
|
|
|
|
expect:
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["2.00"]
|
2017-10-26 16:40:28 +00:00
|
|
|
currency: USD
|
|
|
|
country_code: AT
|
|
|
|
country_name: Austria
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["3.30"]
|
2017-10-26 16:40:28 +00:00
|
|
|
currency: USD
|
|
|
|
country_code: BE
|
|
|
|
country_name: Belgium
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["0.40"]
|
2017-10-26 16:40:28 +00:00
|
|
|
currency: USD
|
|
|
|
country_code: BG
|
|
|
|
country_name: Bulgaria
|
|
|
|
- payee: Patreon
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["6.05"]
|
2017-10-26 16:40:28 +00:00
|
|
|
currency: USD
|
|
|
|
country_code: CZ
|
|
|
|
country_name: Czech Republic
|
2017-11-09 20:06:02 +00:00
|
|
|
|
2018-07-10 15:36:07 +00:00
|
|
|
- source: PatreonPayouts.csv
|
|
|
|
importer: patreon.PayoutImporter
|
|
|
|
expect:
|
|
|
|
- payee: Patreon
|
|
|
|
date: !!python/object/apply:datetime.date [2018, 4, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["123.45"]
|
|
|
|
pledges_amount: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
transfer_amount: !!python/object/apply:decimal.Decimal ["123.45"]
|
|
|
|
currency: USD
|
|
|
|
- payee: Patreon
|
|
|
|
date: !!python/object/apply:datetime.date [2018, 5, 1]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["2345.67"]
|
|
|
|
pledges_amount: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
transfer_amount: !!python/object/apply:decimal.Decimal ["2345.67"]
|
|
|
|
currency: USD
|
|
|
|
|
2017-11-09 20:06:02 +00:00
|
|
|
- source: StripePayments.csv
|
|
|
|
importer: stripe.PaymentImporter
|
|
|
|
expect:
|
|
|
|
- payee: Dakota Smith
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 11, 8]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["100.00"]
|
|
|
|
fee: !!python/object/apply:decimal.Decimal ["3"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal ["0"]
|
2017-11-09 20:06:02 +00:00
|
|
|
currency: USD
|
|
|
|
payment_id: ch_oxuish6phae2Raighooghi3U
|
2018-01-25 17:11:58 +00:00
|
|
|
customer_id: cus_DohSheeQu8eng3
|
|
|
|
customer_email: one@example.org
|
|
|
|
payout_id: po_aeYees2ahtier8ohju7Eeyie
|
2017-11-09 20:06:02 +00:00
|
|
|
description: "Payment for invoice #102"
|
|
|
|
- payee: Dakota Jones
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 28]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["50.00"]
|
|
|
|
fee: !!python/object/apply:decimal.Decimal ["1.4"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal ["0"]
|
2017-11-09 20:06:02 +00:00
|
|
|
currency: USD
|
|
|
|
payment_id: ch_hHee9ef1aeyee1ruo7ochee9
|
2018-01-25 17:11:58 +00:00
|
|
|
customer_id: cus_iepae2Iecae8Ei
|
|
|
|
customer_email: two@example.org
|
|
|
|
payout_id: po_aeYees2ahtier8ohju7Eeyie
|
2017-11-09 20:06:02 +00:00
|
|
|
description: "Payment for invoice #100"
|
2017-12-18 01:46:00 +00:00
|
|
|
|
2018-01-25 22:59:19 +00:00
|
|
|
- source: StripePayouts.csv
|
|
|
|
importer: stripe.PayoutImporter
|
|
|
|
expect:
|
|
|
|
- payee: Stripe
|
|
|
|
date: !!python/object/apply:datetime.date [2017, 11, 30]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["-50"]
|
|
|
|
currency: USD
|
|
|
|
payment_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
payment_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
payment_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
refund_count: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
refund_gross: !!python/object/apply:decimal.Decimal ["-50"]
|
|
|
|
refund_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
refund_net: !!python/object/apply:decimal.Decimal ["-50"]
|
|
|
|
collected_fee_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_refund_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_refund_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
validation_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
validation_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
retried_payout_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
retried_payout_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
total_count: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
total_gross: !!python/object/apply:decimal.Decimal ["-50"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
total_net: !!python/object/apply:decimal.Decimal ["-50"]
|
|
|
|
payout_id: po_faegh6aeghishuethuoSoT2i
|
|
|
|
destination_id: ba_chu0Woop5queewi2Ea1Aibah
|
|
|
|
balance_txid: txn_EiKahrazei3aeMohk7EeDigh
|
|
|
|
failure_txid: ""
|
|
|
|
- payee: Stripe
|
|
|
|
date: !!python/object/apply:datetime.date [2017, 11, 29]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["146.50"]
|
|
|
|
currency: USD
|
|
|
|
payment_count: !!python/object/apply:decimal.Decimal ["2"]
|
|
|
|
payment_gross: !!python/object/apply:decimal.Decimal ["150"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["3.5"]
|
|
|
|
payment_net: !!python/object/apply:decimal.Decimal ["146.5"]
|
|
|
|
refund_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
refund_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
refund_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
refund_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_refund_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
collected_fee_refund_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_gross: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
adjustment_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
validation_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
validation_fees: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
retried_payout_count: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
retried_payout_net: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
total_count: !!python/object/apply:decimal.Decimal ["2"]
|
|
|
|
total_gross: !!python/object/apply:decimal.Decimal ["150"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["3.5"]
|
|
|
|
total_net: !!python/object/apply:decimal.Decimal ["146.5"]
|
|
|
|
payout_id: po_Do9pathoo9Pu8jaePhahJa0e
|
|
|
|
destination_id: ba_chu0Woop5queewi2Ea1Aibah
|
|
|
|
balance_txid: txn_ahsaixiene6Thie1aiti3tuo
|
|
|
|
failure_txid: ""
|
|
|
|
|
2017-12-18 15:47:04 +00:00
|
|
|
- source: nbpy2017a.html
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: nbpy2017.InvoiceImporter
|
2017-12-18 15:47:04 +00:00
|
|
|
expect:
|
|
|
|
- payee: Python Person A
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 invoice ledger entry
|
2017-12-18 15:47:04 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["80.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["80.00"]
|
|
|
|
ticket_rate: Early Bird (Ticket - Individual Supporter)
|
2017-12-18 15:47:04 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: "Complimentary for ticket holder (Supporter-level and above) (T-Shirt - Men's/Straight Cut Size L)"
|
2017-12-18 15:47:04 +00:00
|
|
|
currency: USD
|
|
|
|
status: Invoice
|
|
|
|
invoice_id: "83"
|
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 10, 19]
|
2017-12-18 01:46:00 +00:00
|
|
|
- payee: Python Person A
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 payment ledger entry
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["80.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["80.00"]
|
|
|
|
ticket_rate: Early Bird (Ticket - Individual Supporter)
|
2017-12-18 15:28:05 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: "Complimentary for ticket holder (Supporter-level and above) (T-Shirt - Men's/Straight Cut Size L)"
|
2017-12-18 01:46:00 +00:00
|
|
|
currency: USD
|
2017-12-18 15:47:04 +00:00
|
|
|
status: Payment
|
2017-12-18 01:46:00 +00:00
|
|
|
invoice_id: "83"
|
2017-12-18 15:47:04 +00:00
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 10, 19]
|
2017-12-18 01:46:00 +00:00
|
|
|
payment_id: ch_ahr0ue8lai1ohqu4Gei4Biem
|
|
|
|
stripe_id: ch_ahr0ue8lai1ohqu4Gei4Biem
|
|
|
|
|
|
|
|
- source: nbpy2017b.html
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: nbpy2017.InvoiceImporter
|
2017-12-18 01:46:00 +00:00
|
|
|
expect:
|
|
|
|
- payee: Python Person B
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 invoice ledger entry
|
2017-12-31 23:52:30 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 12, 3]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["50.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["50.00"]
|
|
|
|
ticket_rate: Ticket - Unaffiliated Individual
|
2017-12-31 23:52:30 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["0"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: ""
|
2017-12-31 23:52:30 +00:00
|
|
|
status: Invoice
|
|
|
|
currency: USD
|
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 12, 3]
|
|
|
|
invoice_id: "304"
|
|
|
|
- payee: Python Person B
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 payment ledger entry
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 12, 3]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["50.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["50.00"]
|
|
|
|
ticket_rate: Ticket - Unaffiliated Individual
|
2017-12-18 15:28:05 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["0"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: ""
|
2017-12-18 15:47:04 +00:00
|
|
|
status: Payment
|
2017-12-18 01:46:00 +00:00
|
|
|
currency: USD
|
2017-12-18 15:47:04 +00:00
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 12, 3]
|
2017-12-18 01:46:00 +00:00
|
|
|
payment_id: ch_eishei9aiY8aiqu4lieYiu9i
|
|
|
|
stripe_id: ch_eishei9aiY8aiqu4lieYiu9i
|
|
|
|
invoice_id: "304"
|
|
|
|
|
|
|
|
- source: nbpy2017c.html
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: nbpy2017.InvoiceImporter
|
2017-12-18 01:46:00 +00:00
|
|
|
expect:
|
|
|
|
- payee: Python Person C
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 invoice ledger entry
|
2018-09-28 02:55:46 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 5]
|
2018-09-28 12:33:03 +00:00
|
|
|
amount: !!python/object/apply:decimal.Decimal ["60.00"]
|
2018-09-28 12:31:24 +00:00
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["0"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
ticket_rate: Ticket - Talk Proposer
|
2018-09-28 12:33:03 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["2"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["30.00"]
|
|
|
|
shirt_rate: "T-Shirt - Men's/Straight Cut Size M"
|
2017-12-31 23:52:30 +00:00
|
|
|
status: Invoice
|
|
|
|
currency: USD
|
2018-09-28 02:55:46 +00:00
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 9, 5]
|
2017-12-31 23:52:30 +00:00
|
|
|
invoice_id: "11"
|
|
|
|
- payee: Python Person C
|
2018-01-24 23:01:16 +00:00
|
|
|
ledger template: nbpy2017 payment ledger entry
|
2018-09-28 02:55:46 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 9, 5]
|
2018-09-28 12:33:03 +00:00
|
|
|
amount: !!python/object/apply:decimal.Decimal ["60.00"]
|
2018-09-28 12:31:24 +00:00
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["0"]
|
2019-10-15 19:41:47 +00:00
|
|
|
ticket_price: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
ticket_rate: Ticket - Talk Proposer
|
2018-09-28 12:33:03 +00:00
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["2"]
|
2019-10-15 19:41:47 +00:00
|
|
|
shirt_price: !!python/object/apply:decimal.Decimal ["30.00"]
|
|
|
|
shirt_rate: "T-Shirt - Men's/Straight Cut Size M"
|
2017-12-18 15:47:04 +00:00
|
|
|
status: Payment
|
2017-12-18 01:46:00 +00:00
|
|
|
currency: USD
|
2018-09-28 02:55:46 +00:00
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 9, 5]
|
2017-12-18 01:46:00 +00:00
|
|
|
payment_id: ch_daer0ahwoh9oDeiqu2eimoD7
|
|
|
|
stripe_id: ch_daer0ahwoh9oDeiqu2eimoD7
|
|
|
|
invoice_id: "11"
|
2017-12-30 21:14:15 +00:00
|
|
|
|
|
|
|
- source: AmazonAffiliateEarnings.csv
|
|
|
|
importer: amazon.EarningsImporter
|
2019-08-28 14:22:10 +00:00
|
|
|
header_rows: 1
|
|
|
|
header_cols: 12
|
2017-12-30 21:14:15 +00:00
|
|
|
expect:
|
|
|
|
- payee: Amazon
|
|
|
|
date: !!python/object/apply:datetime.date [2016, 12, 20]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["4.24"]
|
|
|
|
currency: USD
|
|
|
|
- payee: Amazon
|
|
|
|
date: !!python/object/apply:datetime.date [2017, 1, 7]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["-.08"]
|
|
|
|
currency: USD
|
2017-12-30 21:39:38 +00:00
|
|
|
|
2019-02-15 16:47:27 +00:00
|
|
|
- source: Benevity2018.csv
|
|
|
|
importer: benevity.Donations2018Importer
|
2019-08-28 14:22:10 +00:00
|
|
|
header_rows: 11
|
|
|
|
header_cols: 17
|
2017-12-30 21:39:38 +00:00
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 28]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
2019-02-15 17:49:57 +00:00
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [20]
|
2017-12-30 21:39:38 +00:00
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
2019-02-15 17:49:57 +00:00
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890QWERT
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 30]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890WERTY
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890ERTYU
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890RTYUI
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [30]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [30]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [30]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Anonymous
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Recurring
|
|
|
|
transaction_id: 67890TYUIO
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
|
|
|
|
- source: Benevity2019.csv
|
|
|
|
importer: benevity.Donations2019Importer
|
2019-08-28 14:22:10 +00:00
|
|
|
header_rows: 11
|
|
|
|
header_cols: 21
|
2019-02-15 17:49:57 +00:00
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 28]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
2017-12-30 21:39:38 +00:00
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890QWERT
|
2019-02-15 16:47:27 +00:00
|
|
|
ledger template: benevity donations ledger entry
|
2017-12-30 21:39:38 +00:00
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 30]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [25]
|
2019-02-15 17:49:57 +00:00
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [25]
|
2017-12-30 21:39:38 +00:00
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
2019-02-15 17:49:57 +00:00
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
2017-12-30 21:39:38 +00:00
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890WERTY
|
2019-02-15 16:47:27 +00:00
|
|
|
ledger template: benevity donations ledger entry
|
2017-12-30 21:39:38 +00:00
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [10]
|
2019-02-15 17:49:57 +00:00
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [10]
|
2017-12-30 21:39:38 +00:00
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [10]
|
2019-02-15 17:49:57 +00:00
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
2017-12-30 21:39:38 +00:00
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890ERTYU
|
2019-02-15 16:47:27 +00:00
|
|
|
ledger template: benevity donations ledger entry
|
2017-12-30 21:39:38 +00:00
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
2019-02-15 17:49:57 +00:00
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [20]
|
2017-12-30 21:39:38 +00:00
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [20]
|
2019-02-15 17:49:57 +00:00
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
2017-12-30 21:39:38 +00:00
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890RTYUI
|
2019-02-15 16:47:27 +00:00
|
|
|
ledger template: benevity donations ledger entry
|
2017-12-30 21:39:38 +00:00
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [30]
|
2019-02-15 17:49:57 +00:00
|
|
|
net_amount: !!python/object/apply:decimal.Decimal [30]
|
2017-12-30 21:39:38 +00:00
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [30]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
2019-02-15 17:49:57 +00:00
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [0]
|
2017-12-30 21:39:38 +00:00
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Recurring
|
|
|
|
transaction_id: 67890TYUIO
|
2019-02-15 16:47:27 +00:00
|
|
|
ledger template: benevity donations ledger entry
|
2019-02-15 17:49:57 +00:00
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 18]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal ["19.55"]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [".1"]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [".2"]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [".15"]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company C
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890YUIOP
|
|
|
|
ledger template: benevity donations ledger entry
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 21]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
net_amount: !!python/object/apply:decimal.Decimal ["19.55"]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
donation_fee: !!python/object/apply:decimal.Decimal [".1"]
|
|
|
|
match_fee: !!python/object/apply:decimal.Decimal [".2"]
|
|
|
|
merchant_fee: !!python/object/apply:decimal.Decimal [".15"]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company C
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890ASDFG
|
|
|
|
ledger template: benevity donations ledger entry
|
2018-01-21 22:04:37 +00:00
|
|
|
|
|
|
|
- source: BrightFunds.xls
|
|
|
|
importer: brightfunds.DonorReportImporter
|
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 20]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [120]
|
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company
|
|
|
|
company_name: ""
|
|
|
|
designation: ""
|
|
|
|
donor_name: Company
|
|
|
|
donor_email: ""
|
|
|
|
fund: ""
|
|
|
|
on_behalf_of: Dakota Smith
|
|
|
|
type: Matched Donation
|
2018-07-03 14:24:21 +00:00
|
|
|
|
|
|
|
- source: OReillyRoyalties.csv
|
|
|
|
importer: oreilly.RoyaltiesImporter
|
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 3, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2018, 3, 1]
|
|
|
|
paid_date: null
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["11.96"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 2, 28]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2018, 2, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2018, 3, 29]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["20.83"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 1, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2018, 1, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2018, 3, 29]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["8.51"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 3, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2017, 3, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2017, 4, 28]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["26.91"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 1, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2017, 1, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2017, 4, 28]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["12.33"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2016, 12, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2016, 12, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2017, 4, 28]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["9.15"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2016, 9, 30]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2016, 9, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2016, 12, 16]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["26.19"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2016, 8, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2016, 8, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2016, 11, 30]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["27.58"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2010, 3, 31]
|
|
|
|
start_date: !!python/object/apply:datetime.date [2010, 1, 1]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2010, 3, 31]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["73.85"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
|
|
|
|
- source: OReillyPayments.csv
|
|
|
|
importer: oreilly.PaymentsImporter
|
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 3, 29]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2018, 3, 29]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["29.34"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 4, 27]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2017, 4, 28]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["26.91"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 4, 24]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2017, 4, 28]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["21.48"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2016, 12, 16]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2016, 12, 16]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["26.19"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2016, 11, 29]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2016, 11, 30]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["27.58"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
|
|
|
- date: !!python/object/apply:datetime.date [2010, 3, 31]
|
|
|
|
paid_date: !!python/object/apply:datetime.date [2010, 3, 31]
|
|
|
|
currency: USD
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["73.85"]
|
|
|
|
payee: "O'Reilly Media, Inc."
|
2019-02-25 17:39:19 +00:00
|
|
|
|
|
|
|
- source: YourCause.csv
|
|
|
|
importer: yourcause.DonationsImporter
|
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 20]
|
|
|
|
currency: USD
|
|
|
|
original_currency: USD
|
|
|
|
payment_id: "10006789"
|
|
|
|
transaction_id: 2-34567891
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
original_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
received_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
donor_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
dedication_type: ""
|
|
|
|
dedication: ""
|
|
|
|
designation: Note
|
|
|
|
payee: Dakota Smith
|
|
|
|
donor: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 31]
|
|
|
|
currency: USD
|
|
|
|
original_currency: USD
|
|
|
|
payment_id: "10006789"
|
|
|
|
transaction_id: 2-34567893
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
original_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
received_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
donor_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
dedication_type: ""
|
|
|
|
dedication: ""
|
|
|
|
designation: ""
|
|
|
|
payee: Anonymous
|
|
|
|
donor: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 20]
|
|
|
|
currency: USD
|
|
|
|
original_currency: USD
|
|
|
|
payment_id: "10006789"
|
|
|
|
transaction_id: 2-34567895
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
original_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
received_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
donor_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [12]
|
|
|
|
dedication_type: ""
|
|
|
|
dedication: ""
|
|
|
|
designation: Note
|
|
|
|
payee: Company A
|
|
|
|
donor: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 31]
|
|
|
|
currency: USD
|
|
|
|
original_currency: USD
|
|
|
|
payment_id: "10006789"
|
|
|
|
transaction_id: 2-34567897
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
original_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
received_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
donor_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [14]
|
|
|
|
dedication_type: ""
|
|
|
|
dedication: ""
|
|
|
|
designation: ""
|
|
|
|
payee: Company B
|
|
|
|
donor: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 15]
|
|
|
|
currency: USD
|
|
|
|
original_currency: GBP
|
|
|
|
payment_id: "10006789"
|
|
|
|
transaction_id: 2-34567899
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["12.50"]
|
|
|
|
original_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
received_amount: !!python/object/apply:decimal.Decimal ["12.50"]
|
|
|
|
donor_amount: !!python/object/apply:decimal.Decimal ["12.50"]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
dedication_type: ""
|
|
|
|
dedication: ""
|
|
|
|
designation: ""
|
|
|
|
payee: Alex Jones
|
|
|
|
donor: Alex Jones
|
|
|
|
corporation: Company C
|
2019-07-04 23:10:11 +00:00
|
|
|
|
|
|
|
- source: EventBrite.csv
|
|
|
|
importer: eventbrite.SalesImporter
|
|
|
|
expect:
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 11, 27]
|
|
|
|
currency: USD
|
|
|
|
event_name: First Event
|
|
|
|
event_id: "12345678901"
|
|
|
|
order_id: "123432101"
|
|
|
|
attendee_id: "432123401"
|
|
|
|
payee: Alex Jones
|
|
|
|
corporation: ""
|
|
|
|
ticket_type: Discount Ticket
|
|
|
|
quantity: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["10"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["3.99"]
|
|
|
|
eventbrite_fees: !!python/object/apply:decimal.Decimal ["2.99"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
- date: !!python/object/apply:datetime.date [2018, 12, 6]
|
|
|
|
currency: USD
|
|
|
|
event_name: First Event
|
|
|
|
event_id: "12345678901"
|
|
|
|
order_id: "123432102"
|
|
|
|
attendee_id: "432123402"
|
|
|
|
payee: Bret Baker
|
|
|
|
corporation: ""
|
|
|
|
ticket_type: Regular Ticket
|
|
|
|
quantity: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["30"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["3.99"]
|
|
|
|
eventbrite_fees: !!python/object/apply:decimal.Decimal ["2.99"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
- date: !!python/object/apply:datetime.date [2019, 1, 7]
|
|
|
|
currency: USD
|
|
|
|
event_name: First Event
|
|
|
|
event_id: "12345678901"
|
|
|
|
order_id: "123432103"
|
|
|
|
attendee_id: "432123403"
|
|
|
|
payee: Cam Smith
|
|
|
|
corporation: SampleCo
|
|
|
|
ticket_type: Premium Ticket
|
|
|
|
quantity: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["60"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["6.39"]
|
|
|
|
eventbrite_fees: !!python/object/apply:decimal.Decimal ["4.39"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["2"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
- date: !!python/object/apply:datetime.date [2019, 1, 23]
|
2019-07-29 15:41:49 +00:00
|
|
|
currency: EUR
|
2019-07-04 23:10:11 +00:00
|
|
|
event_name: Second Event
|
|
|
|
event_id: "12345678902"
|
|
|
|
order_id: "123432110"
|
|
|
|
attendee_id: "432123410"
|
|
|
|
payee: Jam Jones
|
|
|
|
corporation: ""
|
|
|
|
ticket_type: Discount Ticket
|
|
|
|
quantity: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["25"]
|
|
|
|
total_fees: !!python/object/apply:decimal.Decimal ["3.99"]
|
|
|
|
eventbrite_fees: !!python/object/apply:decimal.Decimal ["2.99"]
|
|
|
|
payment_fees: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
tax: !!python/object/apply:decimal.Decimal [0]
|