You are here

Import of UBS Credit Card transactions

 

 

This filter lets you import UBS credit card transactions

This filter lets you import UBS credit card transactions.

You can use the filter as it is, or modify it to insert automatically the debit/credit accounts or for a simple accounting the account/category numbers.

Installation

Adapt the filter

If you desire that the filter inserts automatically the account number and the category number (for a double accounting the debit and credit account) open the filter in a text editor and change or complete the parts that are marked in bold:


//The purpose of this function is to let the user specify how to convert the categories
function postProcessIntermediaryData(intermediaryData) {
   
   /** INSERT HERE THE LIST OF ACCOUNTS NAME AND THE CONVERSION NUMBER
   * If the content of "Account" is the same of the text
   * it will be replaced by the account number given */
   //Accounts conversion
   var accounts = {
      "__default__" : "1020",

      "4000 1470 7378" : "1020"
      
      //...
   }

   /** INSERT HERE THE LIST OF CATEGORIES NAME AND THE CONVERSION NUMBER
   * If the content of "ContraAccount" is the same of the text
   * it will be replaced by the account number given */
   //Categories conversion
   var categories = {
      "__default__" : "4200",
      
      "Cure veterinarie": "4200",
      "Distributore di benzina" : "6200",
      "Do it yourself / Centri bricola": "4200",
      "Negozio di abbigliamento" : "4200",

      //...
}

Share this article: Twitter | Facebook | Email