Crate tktax_amazon

Crate tktax_amazon 

Source

Macros§

amazon_business
amazon_medical

Structs§

AmazonConfig
if we provide this struct, we need all three fields.
AmazonItemListing
AmazonStoreBusinessPurchase
AmazonStoreBusinessPurchaseBuilder
Builder for AmazonStoreBusinessPurchase.
AmazonStoreMedicalPurchase
AmazonStoreMedicalPurchaseBuilder
Builder for AmazonStoreMedicalPurchase.
AmazonTx
AmazonTx1
this one is from the window 2009-2019
AmazonTx2
this one is from the window 2019-2023, after the first amazon account closing
AmazonTxBuilder
Builder for AmazonTx.
IndexedAmazonTx

Enums§

AmazonError
AmazonStoreBusinessPurchaseBuilderError
Error type for AmazonStoreBusinessPurchaseBuilder
AmazonStoreMedicalPurchaseBuilderError
Error type for AmazonStoreMedicalPurchaseBuilder
AmazonTxBuilderError
Error type for AmazonTxBuilder

Traits§

AmazonTxn

Functions§

analyze_amazon_line_items
create_amazon_item_map
might return None if we have no way to create it due to missing items in ProgramConfig
fuse_amazon_transactions_from_two_epochs
maybe_fuse_amazon_csv_from_two_epochs
whether this does anything depends what we have in our config.toml
mock_example_amazon_business_expenses
mock_example_amazon_med_expenses
parse_amazon_csv
write_to_csv

Type Aliases§

AmazonItemMap
AmazonResult