import2ledger/tests/data/imports.yml

84 lines
1.9 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"