import2ledger/tests/data/imports.yml

129 lines
3 KiB
YAML
Raw Normal View History

- source: PatreonPatronReport_2017-09-01.csv
importer: patreon.IncomeImporter
expect:
- payee: Alex Jones
date: [2017, 9, 1]
amount: "150.00"
currency: USD
- payee: Dakota Doe
date: [2017, 9, 1]
amount: "12.00"
currency: USD
- source: PatreonEarnings.csv
importer: patreon.PatreonFeeImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "61.73"
currency: USD
- payee: Patreon
date: [2017, 10, 1]
amount: "117.03"
currency: USD
- source: PatreonEarnings.csv
importer: patreon.CardFeeImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "52.47"
currency: USD
- payee: Patreon
date: [2017, 10, 1]
amount: "99.47"
currency: USD
2017-10-26 16:40:28 +00:00
- source: PatreonVat.csv
importer: patreon.VATImporter
expect:
- payee: Patreon
date: [2017, 9, 1]
amount: "2.00"
2017-10-26 16:40:28 +00:00
currency: USD
country_code: AT
country_name: Austria
- payee: Patreon
date: [2017, 9, 1]
amount: "3.30"
currency: USD
country_code: BE
country_name: Belgium
- payee: Patreon
date: [2017, 10, 1]
amount: "0.40"
currency: USD
country_code: BG
country_name: Bulgaria
- payee: Patreon
date: [2017, 10, 1]
amount: "6.05"
currency: USD
country_code: CZ
country_name: Czech Republic
- source: StripePayments.csv
importer: stripe.PaymentImporter
expect:
- payee: Dakota Smith
date: [2017, 11, 8]
amount: "100.00"
fee: "3.0"
tax: "0.0"
currency: USD
payment_id: ch_oxuish6phae2Raighooghi3U
description: "Payment for invoice #102"
- payee: Dakota Jones
date: [2017, 10, 28]
amount: "50.00"
fee: "1.4"
tax: "0.0"
currency: USD
payment_id: ch_hHee9ef1aeyee1ruo7ochee9
description: "Payment for invoice #100"
- source: nbpy2017a.html
importer: nbpy2017.Payment2017Importer
expect:
- payee: Python Person A
date: [2017, 10, 19]
amount: "80.00"
tickets_sold: "1.0"
ticket_rate: "21.25"
shirts_sold: "1.0"
shirt_rate: "25.50"
currency: USD
invoice_id: "83"
payment_id: ch_ahr0ue8lai1ohqu4Gei4Biem
stripe_id: ch_ahr0ue8lai1ohqu4Gei4Biem
- source: nbpy2017b.html
importer: nbpy2017.Payment2017Importer
expect:
- payee: Python Person B
date: [2017, 12, 3]
amount: "50.00"
tickets_sold: "1.0"
ticket_rate: "42.50"
shirts_sold: "0.0"
shirt_rate: "25.50"
currency: USD
payment_id: ch_eishei9aiY8aiqu4lieYiu9i
stripe_id: ch_eishei9aiY8aiqu4lieYiu9i
invoice_id: "304"
- source: nbpy2017c.html
importer: nbpy2017.Payment2017Importer
expect:
- payee: Python Person C
date: [2017, 10, 5]
amount: "55.00"
tickets_sold: "1.0"
ticket_rate: "21.25"
shirts_sold: "1.0"
shirt_rate: "25.50"
currency: USD
payment_id: ch_daer0ahwoh9oDeiqu2eimoD7
stripe_id: ch_daer0ahwoh9oDeiqu2eimoD7
invoice_id: "11"