Skip to content

Instantly share code, notes, and snippets.

@tomstuart
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomstuart/d326801fba1f868e9cae to your computer and use it in GitHub Desktop.
Save tomstuart/d326801fba1f868e9cae to your computer and use it in GitHub Desktop.
Rules for auto-explaining FreeAgent transactions
[
{
"textToMatch": "HISCOX",
"description": "Liability & indemnity insurance",
"vat": "0",
"category": "Insurance",
"shouldHaveAttachment": false,
"ecStatus": "Non-EC"
},
{
"textToMatch": "SRVCHG",
"description": "Service charge",
"vat": "0",
"category": "Bank/Finance Charges",
"shouldHaveAttachment": false,
"ecStatus": "Non-EC"
},
{
"textToMatch": "CARPENTER BOX FEES",
"description": "[Month] 2014 accountancy",
"vat": "20",
"category": "Accountancy Fees",
"shouldHaveAttachment": false,
"ecStatus": "Non-EC"
},
{
"textToMatch": "GANDI/UXEMBOURG",
"description": "[Comma-separated domain names]",
"vat": "15",
"category": "Web Hosting",
"shouldHaveAttachment": true,
"ecStatus": "Non-EC"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment