examples/csv: add example for capital one credit cards [ci skip]
This commit is contained in:
		
							parent
							
								
									42bcbad2fd
								
							
						
					
					
						commit
						3303ac11b8
					
				
							
								
								
									
										21
									
								
								examples/csv/capital-one.csv.rules
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								examples/csv/capital-one.csv.rules
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| # this is the format that capital one returns if you export | ||||
| # data as .csv as of July 9 2022 | ||||
| 
 | ||||
| account1 liabilities:credit cards:capital one | ||||
| 
 | ||||
| # first rows are headers | ||||
| skip 1 | ||||
| 
 | ||||
| # columns are Transaction Date in yyyy-mmm-dd, Posted Date, Card no., | ||||
| # Description, Category, Debit, Credit | ||||
| fields date, posting-date, _, description, _, amount-out, amount-in | ||||
| 
 | ||||
| currency  $ | ||||
| 
 | ||||
| # create the posting date per: | ||||
| # https://hledger.org/1.26/hledger.html#posting-dates | ||||
| comment1 date:%posting-date | ||||
| 
 | ||||
| # example autopay entry; fill in your bank and uncomment if helpful | ||||
| # if CAPITAL ONE AUTOPAY PYMT | ||||
| #   account2 assets:bank:yours:checking | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user