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
|
|
|
|
|
|
|
- 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
|
|
|
|
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
|
|
|
|
description: "Payment for invoice #100"
|
2017-12-18 01:46:00 +00:00
|
|
|
|
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
|
2017-12-31 23:52:30 +00:00
|
|
|
ledger entry: 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"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["21.25"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
|
|
|
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
|
2017-12-31 23:52:30 +00:00
|
|
|
ledger entry: 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"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["21.25"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
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
|
2017-12-31 23:52:30 +00:00
|
|
|
ledger entry: nbpy2017 invoice ledger entry
|
|
|
|
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"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["42.50"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
|
|
|
status: Invoice
|
|
|
|
currency: USD
|
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 12, 3]
|
|
|
|
invoice_id: "304"
|
|
|
|
- payee: Python Person B
|
|
|
|
ledger entry: 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"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["42.50"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["0"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
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
|
2017-12-31 23:52:30 +00:00
|
|
|
ledger entry: nbpy2017 invoice ledger entry
|
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 5]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["55.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["21.25"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
|
|
|
status: Invoice
|
|
|
|
currency: USD
|
|
|
|
invoice_date: !!python/object/apply:datetime.date [2017, 10, 5]
|
|
|
|
invoice_id: "11"
|
|
|
|
- payee: Python Person C
|
|
|
|
ledger entry: nbpy2017 payment ledger entry
|
2017-12-18 15:28:05 +00:00
|
|
|
date: !!python/object/apply:datetime.date [2017, 10, 5]
|
|
|
|
amount: !!python/object/apply:decimal.Decimal ["55.00"]
|
|
|
|
tickets_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
ticket_rate: !!python/object/apply:decimal.Decimal ["21.25"]
|
|
|
|
shirts_sold: !!python/object/apply:decimal.Decimal ["1"]
|
|
|
|
shirt_rate: !!python/object/apply:decimal.Decimal ["25.50"]
|
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, 10, 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
|
|
|
|
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
|
|
|
|
|
|
|
- source: Benevity.csv
|
2017-12-31 23:52:30 +00:00
|
|
|
importer: benevity.DonationsImporter
|
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]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890QWERT
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 30]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [25]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
payee: Dakota Smith
|
|
|
|
corporation: Company A
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: One-time
|
|
|
|
transaction_id: 67890WERTY
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [10]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890ERTYU
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
donation_amount: !!python/object/apply:decimal.Decimal [0]
|
|
|
|
match_amount: !!python/object/apply:decimal.Decimal [20]
|
|
|
|
payee: Anonymous
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Unknown
|
|
|
|
transaction_id: 67890RTYUI
|
|
|
|
- date: !!python/object/apply:datetime.date [2017, 10, 19]
|
|
|
|
currency: USD
|
|
|
|
disbursement_id: ABCDE12345
|
|
|
|
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
|
|
|
|
corporation: Company B
|
|
|
|
project: ""
|
|
|
|
comment: ""
|
|
|
|
frequency: Recurring
|
|
|
|
transaction_id: 67890TYUIO
|
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
|