[BACK]Return to rt_invoice.conf.sample CVS log [TXT][DIR] Up to [local] / RT / Invoicing

File: [local] / RT / Invoicing / rt_invoice.conf.sample (download)

Revision 1.3, Fri Dec 30 03:20:45 2011 UTC (12 years, 4 months ago) by andrew
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -0 lines

Past due only if older than $cust->{net} days

{
   "rt" : {
      "user" : "user",
      "pass" : "password",
      "server" : "https://rt.example.com",
      "timeout" : "30"
   },
   "from" : {
      "name" : "Example Company",
      "phone" : "(800) 555-1212",
      "state" : "America",
      "addr2" : "Suite C",
      "email" : "company@example.com",
      "city" : "Anytown",
      "zip" : "11111",
      "addr1" : "22115 Central Way"
   },
   "info" : [
      "Visit me online at http://example.com",
      "Create a new ticket rt@example.com"
   ], 
   "default" : {
      "net" : "30",
      "hours" : {
         "default" : "1"
      },
      "rates" : {
         "Emergency" : "125",
         "default" : "75",
         "Normal" : "100"
      }
   },
   "customers" : [
      {  "id": "jsmithllc",
         "base_rate" : "100",
         "per" : "month",
         "frequency" : "3",
         "day" : "18",
         "match" : [
            {
               "type" : "requestors",
               "regex" : "lauren@"
            }
         ],
         "hours" : {
            "Emergency" : "1",
            "Normal" : "5"
         },
         "address" : {
            "name" : "Jane Smith",
            "addr1" : "4567 Corner Cir",
            "city" : "Anytown",
            "state" : "America",
            "zip" : "11111"
         },
      },
      {  "id": "jdoeinc",
         "base_rate" : "300",
         "day" : "3",
         "per" : "week",
         "hours" : {
            "Normal" : "1"
         },
         "match" : [
            {
               "type" : "queue",
               "queue" : "IWS"
            }
         ],
         "address" : {
            "name" : "John Doe",
            "addr1" : "123 W Main St",
            "city" : "Anytown",
            "state" : "America",
            "zip" : "11111"
         },
      },
      {  "id": "andrew",
         "match" : [
            {
               "type" : "requestors",
               "regex" : "andrew@afresh1.com"
            }
         ],
      }
   ]
}