import2ledger/tests/data/imports.yml

1057 lines
30 KiB
YAML
Raw Normal View History

- source: PatreonPatronReport_2017-09-01.csv
importer: patreon.Income2017Importer
expect:
- payee: Alex Jones
# PyYAML 6 appears to require UnsafeLoader to handle complex Python tags.
date: !date "2017-09-01"
amount: !decimal "1500.00"
currency: USD
email: alex@example.org
- payee: Dakota Doe
date: !date "2017-09-01"
amount: !decimal "12.00"
currency: USD
email: ddoe@example.org
- source: PatreonPatronReport_2020-08-01.csv
importer: patreon.Income2020AugustImporter
expect:
- payee: Alex Jones
email: ajones@example.com
tier: Even tier
patreon_id: "1234567"
date: !date "2020-08-01"
amount: !decimal "2"
currency: USD
- payee: Breonna
email: breonna@example.org
tier: Odd tier
patreon_id: "234567"
date: !date "2020-08-02"
amount: !decimal "5.00"
currency: USD
- source: PatreonPatronReport_2020-10-01.csv
importer: patreon.Income2020OctoberImporter
expect:
- payee: Alex Jones
email: ajones@example.com
tier: Even tier
patreon_id: "1234567"
date: !date "2020-08-01"
amount: !decimal "2"
currency: USD
- payee: Breonna
email: breonna@example.org
tier: Odd tier
patreon_id: "234567"
date: !date "2020-08-02"
amount: !decimal "5.00"
currency: USD
- source: PatreonPatronReport_2020-11-01.csv
importer: patreon.IncomeImporter
expect:
- payee: Alex Jones
email: ajones@example.com
tier: Even tier
patreon_id: "1234567"
date: !date "2020-08-01"
amount: !decimal "2"
currency: USD
- payee: Breonna
email: breonna@example.org
tier: Odd tier
patreon_id: "234567"
date: !date "2020-08-02"
amount: !decimal "5.00"
currency: USD
- source: PatreonEarnings.csv
importer: patreon.ServiceFeesImporter
expect:
- payee: Patreon
date: !date "2017-09-01"
amount: !decimal "61.73"
currency: USD
- payee: Patreon
date: !date "2017-10-01"
amount: !decimal "117.03"
currency: USD
- source: PatreonEarnings2020.csv
importer: patreon.EarningsImporter
expect:
- payee: Frances Jones
email: fjones@example.com
user_id: "32101234"
event_id: "30123456"
date: !date "2020-12-03"
currency: USD
amount: !decimal "5"
tax_amount: !decimal "1"
net_amount: !decimal "4.31"
platform_fee: !decimal "0.25"
processing_fee: !decimal "0.44"
currency_fee: !decimal "0"
- payee: Barbara Johnson
email: bjohnson@example.com
user_id: "2345678"
event_id: "34567890"
date: !date "2020-12-02"
currency: USD
amount: !decimal "6.06"
tax_amount: !decimal "1.27"
net_amount: !decimal "5.14"
platform_fee: !decimal "0.31"
processing_fee: !decimal "0.42"
currency_fee: !decimal "0.19"
- payee: Alex Jones
email: ajones@example.com
user_id: "7654321"
event_id: "456789090"
date: !date "2020-12-01"
currency: USD
amount: !decimal "14"
tax_amount: !decimal "0"
net_amount: !decimal "12.64"
platform_fee: !decimal ".7"
processing_fee: !decimal ".66"
currency_fee: !decimal "0"
- source: PatreonEarnings.csv
importer: patreon.CardFeesImporter
expect:
- payee: Patreon
date: !date "2017-09-01"
amount: !decimal "52.47"
currency: USD
- payee: Patreon
date: !date "2017-10-01"
amount: !decimal "99.47"
currency: USD
2017-10-26 12:40:28 -04:00
- source: PatreonVat.csv
importer: patreon.VATImporter
expect:
- payee: Patreon
date: !date "2017-09-01"
amount: !decimal "2.00"
2017-10-26 12:40:28 -04:00
currency: USD
country_code: AT
country_name: Austria
- payee: Patreon
date: !date "2017-09-01"
amount: !decimal "3.30"
2017-10-26 12:40:28 -04:00
currency: USD
country_code: BE
country_name: Belgium
- payee: Patreon
date: !date "2017-10-01"
amount: !decimal "0.40"
2017-10-26 12:40:28 -04:00
currency: USD
country_code: BG
country_name: Bulgaria
- payee: Patreon
date: !date "2017-10-01"
amount: !decimal "6.05"
2017-10-26 12:40:28 -04:00
currency: USD
country_code: CZ
country_name: Czech Republic
2018-07-10 11:36:07 -04:00
- source: PatreonPayouts.csv
importer: patreon.PayoutImporter
expect:
- payee: Patreon
date: !date "2018-04-01"
amount: !decimal "123.45"
pledges_amount: !decimal "0"
transfer_amount: !decimal "123.45"
2018-07-10 11:36:07 -04:00
currency: USD
- payee: Patreon
date: !date "2018-05-01"
amount: !decimal "2345.67"
pledges_amount: !decimal "0"
transfer_amount: !decimal "2345.67"
2018-07-10 11:36:07 -04:00
currency: USD
- source: StripePayments.csv
importer: stripe.PaymentImporter
expect:
- payee: Dakota Smith
date: !date "2017-11-08"
amount: !decimal "100.00"
fee: !decimal "3"
tax: !decimal "0"
currency: USD
payment_id: ch_oxuish6phae2Raighooghi3U
customer_id: cus_DohSheeQu8eng3
customer_email: one@example.org
payout_id: po_aeYees2ahtier8ohju7Eeyie
description: "Payment for invoice #102"
- payee: Dakota Jones
date: !date "2017-10-28"
amount: !decimal "50.00"
fee: !decimal "1.4"
tax: !decimal "0"
currency: USD
payment_id: ch_hHee9ef1aeyee1ruo7ochee9
customer_id: cus_iepae2Iecae8Ei
customer_email: two@example.org
payout_id: po_aeYees2ahtier8ohju7Eeyie
description: "Payment for invoice #100"
2018-01-25 17:59:19 -05:00
- source: StripePayouts.csv
importer: stripe.PayoutImporter
expect:
- payee: Stripe
date: !date "2017-11-30"
amount: !decimal "-50"
currency: USD
payment_count: !decimal "0"
payment_gross: !decimal "0"
payment_fees: !decimal "0"
payment_net: !decimal "0"
refund_count: !decimal "1"
refund_gross: !decimal "-50"
refund_fees: !decimal "0"
refund_net: !decimal "-50"
collected_fee_count: !decimal "0"
collected_fee_gross: !decimal "0"
collected_fee_refund_count: !decimal "0"
collected_fee_refund_gross: !decimal "0"
adjustment_count: !decimal "0"
adjustment_gross: !decimal "0"
adjustment_fees: !decimal "0"
adjustment_net: !decimal "0"
validation_count: !decimal "0"
validation_fees: !decimal "0"
retried_payout_count: !decimal "0"
retried_payout_net: !decimal "0"
total_count: !decimal "1"
total_gross: !decimal "-50"
total_fees: !decimal "0"
total_net: !decimal "-50"
2018-01-25 17:59:19 -05:00
payout_id: po_faegh6aeghishuethuoSoT2i
destination_id: ba_chu0Woop5queewi2Ea1Aibah
balance_txid: txn_EiKahrazei3aeMohk7EeDigh
failure_txid: ""
- payee: Stripe
date: !date "2017-11-29"
amount: !decimal "146.50"
currency: USD
payment_count: !decimal "2"
payment_gross: !decimal "150"
payment_fees: !decimal "3.5"
payment_net: !decimal "146.5"
refund_count: !decimal "0"
refund_gross: !decimal "0"
refund_fees: !decimal "0"
refund_net: !decimal "0"
collected_fee_count: !decimal "0"
collected_fee_gross: !decimal "0"
collected_fee_refund_count: !decimal "0"
collected_fee_refund_gross: !decimal "0"
adjustment_count: !decimal "0"
adjustment_gross: !decimal "0"
adjustment_fees: !decimal "0"
adjustment_net: !decimal "0"
validation_count: !decimal "0"
validation_fees: !decimal "0"
retried_payout_count: !decimal "0"
retried_payout_net: !decimal "0"
total_count: !decimal "2"
total_gross: !decimal "150"
total_fees: !decimal "3.5"
total_net: !decimal "146.5"
2018-01-25 17:59:19 -05:00
payout_id: po_Do9pathoo9Pu8jaePhahJa0e
destination_id: ba_chu0Woop5queewi2Ea1Aibah
balance_txid: txn_ahsaixiene6Thie1aiti3tuo
failure_txid: ""
- source: nbpy2017a.html
importer: nbpy2017.InvoiceImporter
expect:
- payee: Python Person A
ledger template: nbpy2017 invoice ledger entry
date: !date "2017-10-19"
amount: !decimal "80.00"
tickets_sold: !decimal "1"
ticket_price: !decimal "80.00"
ticket_rate: Early Bird (Ticket - Individual Supporter)
shirts_sold: !decimal "1"
shirt_price: !decimal "0"
shirt_rate: "Complimentary for ticket holder (Supporter-level and above) (T-Shirt - Men's/Straight Cut Size L)"
currency: USD
status: Invoice
invoice_id: "83"
invoice_date: !date "2017-10-19"
- payee: Python Person A
ledger template: nbpy2017 payment ledger entry
date: !date "2017-10-19"
amount: !decimal "80.00"
tickets_sold: !decimal "1"
ticket_price: !decimal "80.00"
ticket_rate: Early Bird (Ticket - Individual Supporter)
shirts_sold: !decimal "1"
shirt_price: !decimal "0"
shirt_rate: "Complimentary for ticket holder (Supporter-level and above) (T-Shirt - Men's/Straight Cut Size L)"
currency: USD
status: Payment
invoice_id: "83"
invoice_date: !date "2017-10-19"
payment_id: ch_ahr0ue8lai1ohqu4Gei4Biem
stripe_id: ch_ahr0ue8lai1ohqu4Gei4Biem
- source: nbpy2017b.html
importer: nbpy2017.InvoiceImporter
expect:
- payee: Python Person B
ledger template: nbpy2017 invoice ledger entry
date: !date "2017-12-03"
amount: !decimal "50.00"
tickets_sold: !decimal "1"
ticket_price: !decimal "50.00"
ticket_rate: Ticket - Unaffiliated Individual
shirts_sold: !decimal "0"
shirt_price: !decimal "0"
shirt_rate: ""
status: Invoice
currency: USD
invoice_date: !date "2017-12-03"
invoice_id: "304"
- payee: Python Person B
ledger template: nbpy2017 payment ledger entry
date: !date "2017-12-03"
amount: !decimal "50.00"
tickets_sold: !decimal "1"
ticket_price: !decimal "50.00"
ticket_rate: Ticket - Unaffiliated Individual
shirts_sold: !decimal "0"
shirt_price: !decimal "0"
shirt_rate: ""
status: Payment
currency: USD
invoice_date: !date "2017-12-03"
payment_id: ch_eishei9aiY8aiqu4lieYiu9i
stripe_id: ch_eishei9aiY8aiqu4lieYiu9i
invoice_id: "304"
- source: nbpy2017c.html
importer: nbpy2017.InvoiceImporter
expect:
- payee: Python Person C
ledger template: nbpy2017 invoice ledger entry
date: !date "2017-09-05"
amount: !decimal "60.00"
tickets_sold: !decimal "0"
ticket_price: !decimal "0"
ticket_rate: Ticket - Talk Proposer
shirts_sold: !decimal "2"
shirt_price: !decimal "30.00"
shirt_rate: "T-Shirt - Men's/Straight Cut Size M"
status: Invoice
currency: USD
invoice_date: !date "2017-09-05"
invoice_id: "11"
- payee: Python Person C
ledger template: nbpy2017 payment ledger entry
date: !date "2017-09-05"
amount: !decimal "60.00"
tickets_sold: !decimal "0"
ticket_price: !decimal "0"
ticket_rate: Ticket - Talk Proposer
shirts_sold: !decimal "2"
shirt_price: !decimal "30.00"
shirt_rate: "T-Shirt - Men's/Straight Cut Size M"
status: Payment
currency: USD
invoice_date: !date "2017-09-05"
payment_id: ch_daer0ahwoh9oDeiqu2eimoD7
stripe_id: ch_daer0ahwoh9oDeiqu2eimoD7
invoice_id: "11"
- source: AmazonAffiliateEarnings.csv
importer: amazon.EarningsImporter
header_rows: 1
header_cols: 12
expect:
- payee: Amazon
date: !date "2016-12-20"
amount: !decimal "4.24"
currency: USD
- payee: Amazon
date: !date "2017-01-07"
amount: !decimal "-.08"
currency: USD
- source: Benevity2018.csv
importer: benevity.Donations2018Importer
header_rows: 11
header_cols: 17
expect:
- date: !date "2017-10-28"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 20
match_amount: !decimal 0
match_amount: !decimal 0
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890QWERT
ledger template: benevity donations ledger entry
- date: !date "2017-10-30"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 25
net_amount: !decimal 25
donation_amount: !decimal 25
match_amount: !decimal 0
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890WERTY
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 10
net_amount: !decimal 10
donation_amount: !decimal 0
match_amount: !decimal 10
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890ERTYU
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 0
match_amount: !decimal 20
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890RTYUI
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 30
net_amount: !decimal 30
donation_amount: !decimal 30
match_amount: !decimal 0
payee: Anonymous
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
corporation: Company B
project: ""
comment: ""
frequency: Recurring
transaction_id: 67890TYUIO
ledger template: benevity donations ledger entry
- source: Benevity2019.csv
importer: benevity.Donations2019Importer
header_rows: 11
header_cols: 21
expect:
- date: !date "2017-10-28"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 20
match_amount: !decimal 0
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890QWERT
ledger template: benevity donations ledger entry
- date: !date "2017-10-30"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 25
net_amount: !decimal 25
donation_amount: !decimal 25
match_amount: !decimal 0
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890WERTY
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 10
net_amount: !decimal 10
donation_amount: !decimal 0
match_amount: !decimal 10
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890ERTYU
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 0
match_amount: !decimal 20
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890RTYUI
ledger template: benevity donations ledger entry
- date: !date "2017-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 30
net_amount: !decimal 30
donation_amount: !decimal 30
match_amount: !decimal 0
donation_fee: !decimal 0
match_fee: !decimal 0
merchant_fee: !decimal 0
fee_comment: null
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Recurring
transaction_id: 67890TYUIO
ledger template: benevity donations ledger entry
- date: !date "2017-10-18"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal "19.55"
donation_amount: !decimal 10
match_amount: !decimal 10
donation_fee: !decimal ".1"
match_fee: !decimal ".2"
merchant_fee: !decimal ".15"
fee_comment: null
payee: Anonymous
corporation: Company C
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890YUIOP
ledger template: benevity donations ledger entry
- date: !date "2017-10-21"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal "19.55"
donation_amount: !decimal 10
match_amount: !decimal 10
donation_fee: !decimal ".1"
match_fee: !decimal ".2"
merchant_fee: !decimal ".15"
fee_comment: null
payee: Anonymous
corporation: Company C
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890ASDFG
ledger template: benevity donations ledger entry
- source: Benevity2020.csv
importer: benevity.Donations2020Importer
header_rows: 11
header_cols: 23
expect:
- date: !date "2019-10-28"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 20
match_amount: !decimal 0
donation_fee: !decimal 0
merchant_fee: !decimal 0
match_fee: !decimal 0
fee_comment: ""
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890QWERT
ledger template: benevity donations ledger entry
- date: !date "2019-10-30"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 25
net_amount: !decimal 25
donation_amount: !decimal 25
match_amount: !decimal 0
donation_fee: !decimal 0
merchant_fee: !decimal 0
match_fee: !decimal 0
fee_comment: ""
payee: Dakota Smith
corporation: Company A
project: ""
comment: ""
frequency: One-time
transaction_id: 67890WERTY
ledger template: benevity donations ledger entry
- date: !date "2019-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 10
net_amount: !decimal 10
donation_amount: !decimal 0
match_amount: !decimal 10
donation_fee: !decimal 0
merchant_fee: !decimal 0
match_fee: !decimal 0
fee_comment: ""
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890ERTYU
ledger template: benevity donations ledger entry
- date: !date "2019-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal 20
donation_amount: !decimal 0
match_amount: !decimal 20
donation_fee: !decimal 0
merchant_fee: !decimal 0
match_fee: !decimal 0
fee_comment: ""
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890RTYUI
ledger template: benevity donations ledger entry
- date: !date "2019-10-19"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 30
net_amount: !decimal 30
donation_amount: !decimal 30
match_amount: !decimal 0
donation_fee: !decimal 0
merchant_fee: !decimal 0
match_fee: !decimal 0
fee_comment: ""
payee: Anonymous
corporation: Company B
project: ""
comment: ""
frequency: Recurring
transaction_id: 67890TYUIO
ledger template: benevity donations ledger entry
- date: !date "2019-10-18"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal "19.55"
donation_amount: !decimal 10
match_amount: !decimal 10
donation_fee: !decimal ".3"
merchant_fee: !decimal ".15"
match_fee: !decimal 0
fee_comment: ""
payee: Anonymous
corporation: Company C
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890YUIOP
ledger template: benevity donations ledger entry
- date: !date "2019-10-21"
currency: USD
disbursement_id: ABCDE12345
amount: !decimal 20
net_amount: !decimal "19.55"
donation_amount: !decimal 10
match_amount: !decimal 10
donation_fee: !decimal ".3"
merchant_fee: !decimal ".15"
match_fee: !decimal 0
fee_comment: ""
payee: Anonymous
corporation: Company C
project: ""
comment: ""
frequency: Unknown
transaction_id: 67890ASDFG
ledger template: benevity donations ledger entry
- source: BrightFunds.xls
importer: brightfunds.DonorReportXLSImporter
expect:
- date: !date "2017-10-20"
currency: USD
amount: !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 10:24:21 -04:00
- source: BrightFunds.csv
importer: brightfunds.DonorReportImporter
expect:
- date: !date "2020-10-01"
currency: USD
amount: !decimal 15
payee: Company
corporation: Company
company_name: Company
designation: ""
donor_name: Company
donor_email: ""
fund: ""
on_behalf_of: Employed Person
type: MatchingTransaction
- date: !date "2020-09-24"
currency: USD
amount: !decimal 15
payee: Employed Person
corporation: Company
company_name: Company
designation: ""
donor_name: Employed Person
donor_email: person@example.com
fund: ""
on_behalf_of: ""
type: CreditCardTransaction
2018-07-03 10:24:21 -04:00
- source: OReillyRoyalties.csv
importer: oreilly.RoyaltiesImporter
expect:
- date: !date "2018-03-31"
start_date: !date "2018-03-01"
2018-07-03 10:24:21 -04:00
paid_date: null
currency: USD
amount: !decimal "11.96"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2018-02-28"
start_date: !date "2018-02-01"
paid_date: !date "2018-03-29"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "20.83"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2018-01-31"
start_date: !date "2018-01-01"
paid_date: !date "2018-03-29"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "8.51"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2017-03-31"
start_date: !date "2017-03-01"
paid_date: !date "2017-04-28"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "26.91"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2017-01-31"
start_date: !date "2017-01-01"
paid_date: !date "2017-04-28"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "12.33"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2016-12-31"
start_date: !date "2016-12-01"
paid_date: !date "2017-04-28"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "9.15"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2016-09-30"
start_date: !date "2016-09-01"
paid_date: !date "2016-12-16"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "26.19"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2016-08-31"
start_date: !date "2016-08-01"
paid_date: !date "2016-11-30"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "27.58"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2010-03-31"
start_date: !date "2010-01-01"
paid_date: !date "2010-03-31"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "73.85"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- source: OReillyPayments.csv
importer: oreilly.PaymentsImporter
expect:
- date: !date "2018-03-29"
paid_date: !date "2018-03-29"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "29.34"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2017-04-27"
paid_date: !date "2017-04-28"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "26.91"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2017-04-24"
paid_date: !date "2017-04-28"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "21.48"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2016-12-16"
paid_date: !date "2016-12-16"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "26.19"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2016-11-29"
paid_date: !date "2016-11-30"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "27.58"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
- date: !date "2010-03-31"
paid_date: !date "2010-03-31"
2018-07-03 10:24:21 -04:00
currency: USD
amount: !decimal "73.85"
2018-07-03 10:24:21 -04:00
payee: "O'Reilly Media, Inc."
2019-02-25 12:39:19 -05:00
- source: YourCause.csv
importer: yourcause.DonationsImporter
expect:
- date: !date "2018-12-20"
2019-02-25 12:39:19 -05:00
currency: USD
original_currency: USD
payment_id: "10006789"
transaction_id: 2-34567891
amount: !decimal 12
original_amount: !decimal 12
received_amount: !decimal 12
donor_amount: !decimal 12
match_amount: !decimal 0
2019-02-25 12:39:19 -05:00
dedication_type: ""
dedication: ""
designation: Note
payee: Dakota Smith
donor: Dakota Smith
corporation: Company A
- date: !date "2018-12-31"
2019-02-25 12:39:19 -05:00
currency: USD
original_currency: USD
payment_id: "10006789"
transaction_id: 2-34567893
amount: !decimal 14
original_amount: !decimal 14
received_amount: !decimal 14
donor_amount: !decimal 14
match_amount: !decimal 0
2019-02-25 12:39:19 -05:00
dedication_type: ""
dedication: ""
designation: ""
payee: Anonymous
donor: Anonymous
corporation: Company B
- date: !date "2018-12-20"
2019-02-25 12:39:19 -05:00
currency: USD
original_currency: USD
payment_id: "10006789"
transaction_id: 2-34567895
amount: !decimal 12
original_amount: !decimal 12
received_amount: !decimal 12
donor_amount: !decimal 0
match_amount: !decimal 12
2019-02-25 12:39:19 -05:00
dedication_type: ""
dedication: ""
designation: Note
payee: Company A
donor: Dakota Smith
corporation: Company A
- date: !date "2018-12-31"
2019-02-25 12:39:19 -05:00
currency: USD
original_currency: USD
payment_id: "10006789"
transaction_id: 2-34567897
amount: !decimal 14
original_amount: !decimal 14
received_amount: !decimal 14
donor_amount: !decimal 0
match_amount: !decimal 14
2019-02-25 12:39:19 -05:00
dedication_type: ""
dedication: ""
designation: ""
payee: Company B
donor: Anonymous
corporation: Company B
- date: !date "2018-12-15"
2019-02-25 12:39:19 -05:00
currency: USD
original_currency: GBP
payment_id: "10006789"
transaction_id: 2-34567899
amount: !decimal "12.50"
original_amount: !decimal 10
received_amount: !decimal "12.50"
donor_amount: !decimal "12.50"
match_amount: !decimal 0
2019-02-25 12:39:19 -05:00
dedication_type: ""
dedication: ""
designation: ""
payee: Alex Jones
donor: Alex Jones
corporation: Company C
2019-07-04 19:10:11 -04:00
- source: EventBrite.csv
importer: eventbrite.SalesImporter
expect:
- date: !date "2018-11-27"
2019-07-04 19:10:11 -04:00
currency: USD
event_name: First Event
event_id: "12345678901"
order_id: "123432101"
attendee_id: "432123401"
payee: Alex Jones
corporation: ""
ticket_type: Discount Ticket
quantity: !decimal "1"
amount: !decimal "10"
total_fees: !decimal "3.99"
eventbrite_fees: !decimal "2.99"
payment_fees: !decimal "1"
tax: !decimal 0
- date: !date "2018-12-06"
2019-07-04 19:10:11 -04:00
currency: USD
event_name: First Event
event_id: "12345678901"
order_id: "123432102"
attendee_id: "432123402"
payee: Bret Baker
corporation: ""
ticket_type: Regular Ticket
quantity: !decimal "1"
amount: !decimal "30"
total_fees: !decimal "3.99"
eventbrite_fees: !decimal "2.99"
payment_fees: !decimal "1"
tax: !decimal 0
- date: !date "2019-01-07"
2019-07-04 19:10:11 -04:00
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: !decimal "1"
amount: !decimal "60"
total_fees: !decimal "6.39"
eventbrite_fees: !decimal "4.39"
payment_fees: !decimal "2"
tax: !decimal 0
- date: !date "2019-01-23"
currency: EUR
2019-07-04 19:10:11 -04:00
event_name: Second Event
event_id: "12345678902"
order_id: "123432110"
attendee_id: "432123410"
payee: Jam Jones
corporation: ""
ticket_type: Discount Ticket
quantity: !decimal "1"
amount: !decimal "25"
total_fees: !decimal "3.99"
eventbrite_fees: !decimal "2.99"
payment_fees: !decimal "1"
tax: !decimal 0
2020-07-07 10:16:29 -04:00
- source: GitHubSponsors.csv
importer: github.SponsorsImporter
expect:
- date: !date "2020-01-02"
payee: exampleA
2020-07-07 10:16:29 -04:00
handle: exampleA
email: ajones@example.com
transaction_id: ch_1Gabcdefghijklmnopqrstuv
amount: !decimal "1"
2020-07-07 10:16:29 -04:00
currency: USD
- date: !date "2020-01-03"
2020-07-07 10:16:29 -04:00
payee: exampleB
handle: exampleB
email: ""
transaction_id: 1023ABCD5678EFGHI
amount: !decimal "10"
2020-07-07 10:16:29 -04:00
currency: USD
- date: !date "2020-01-04"
payee: exampleC
2020-07-07 10:16:29 -04:00
handle: exampleC
email: info@example.com
transaction_id: ch_1Gabcdefghijklmnopqrstuw
amount: !decimal "120"
2020-07-07 10:16:29 -04:00
currency: USD