Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Importing Call Billing Information

Discussion in '3CX Phone System - General' started by joshhough, Feb 24, 2016.

Thread Status:
Not open for further replies.
  1. joshhough

    Feb 22, 2011
    Likes Received:

    We are wanting to update the CDR Costs/Codes within the 3CX Management portal but I seem to be experiencing issues, so before i go and do anything, i'd like to get some feedback on it from others.

    When exporting the current/default CDR information from the management console, it comes as an XML file like this:
        <value n="default" p="default" r="1.0" />
    For each of the entries in the billing platform.

    I have two options from my supplier, i can export the costs (which include my margin) in either CSV or an XML file, but my XML output from the supplier looks like this:
    <rate uniqueId="35818755">
    		<destination>084 Catch All</destination>
    		<validFrom>2015-07-07 23:00:00</validFrom>
    Which is obviously hugely different from the 3CX output (as that is for each country code, prefix, etc.

    Whats the best way to go about this have people found?

    Thanks in advance,

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. NickD_3CX

    NickD_3CX Support Team
    Staff Member 3CX Support

    Jun 2, 2014
    Likes Received:
    I am guessing there must be a few ways to do this, but one way I found easy was using Excel. Open what your supplier gave you with excel (csv or xml) so that it loads it in columns and get the information you want, then export the xml from 3CX, also open it with Excel and copy-paste everything you want into it, then export it as xml again in the 3CX format.

    The only thing I had to do after this is to open the final file after saving it with excel with notepad and remove the first line which is the schema as 3CX doesn't need it.
Thread Status:
Not open for further replies.