Recurring Records

This documentation defines the Recurring Records (ARSUBDET) schema fields.

Please Note This documentation defines the most relevant fields. Treat the response from the View Table Schema (XMGETFMT) endpoint as the authoritative field list for any specific site.

Date formats

NTD is a timestamp format used by DICE. NTD dates are used when defining time frames within endpoint calls. See the Date Format documentation for information on converting NTD to UNIX and vice versa if needed.

Field definitions

#NameDescriptionLengthPadding Type
1AR_NUMBERThe unique accounting identifier assigned to the customer.10Pad with trailing spaces.
2ACCOUNT_NUMBERThe subscriber account number assigned upon creation.9Right justify data and pad with leading spaces.
3BILLING_CODE_LINEThe unique identifier assigned to the line.2Pad with trailing spaces.
4BILLING_CODEThe assigned billing code that determines the sales and deferred GL accounts for recurring charges.6Pad with trailing spaces.
5DESCRIPTIONA brief description of the billing code.35Pad with trailing spaces.
6BILLABLE_AMOUNTThe amount that will be billed when this line is included.6Pad with trailing spaces.
7STOP_DATEIf applicable, the date the line should stop being billed.6Pad with trailing spaces.
8INCREASE_DATEIf applicable, the date the rate for this line will increase.6Pad with trailing spaces.
9LAST_RATE_CHGThe date the line’s rate was last changed.6Pad with trailing spaces.
10CONTRACT_DATEThe date assigned to the contract applied to this line.6Pad with trailing spaces.
11INTERVAL_TYPEThe billing interval used to determine how often this line is billed. The available options are defined below.1Pad with trailing spaces.
12SALES_TAX_GROUPThe code of the tax group used when billing this line.6Pad with trailing spaces.
13CONTRACT_CODEThe code assigned to the contract applied to this line.6Pad with trailing spaces.
14WARRANTY_CODEThe ID of the warranty assigned to covered parts/labor for this line.6Pad with trailing spaces.
15SYSTEM_TYPEIf applicable, the ID assigned to the system type associated with the parts/labor for this line.6Pad with trailing spaces.
16COMMUNICATION_TYPEIf applicable, the ID assigned to the communication method used by the system associated with the parts/labor for this line.6Pad with trailing spaces.
17COMMISSIONABLEIf applicable, the value that determines how commissions are calculated for this line.1Pad with trailing spaces.
18TAXABLEThe ID used to determine the tax category used for this line.1Pad with trailing spaces.
19PRORATEDDetermines if the line should bill from the start date rather than the start cycle when billed. Updates to N after the line has been billed. Accepts: Y or N.1Pad with trailing spaces.
20PO_NUMBERThe PO number that should be associated with this recurring line.15Pad with trailing spaces.
21LAST_RATEThe rate previously used for this line.6Pad with trailing spaces.
22NEW_RATEThe rate that will be used for this line on the increase date.6Pad with trailing spaces.
23JOB_NUMBERThe ID of the job assigned to the recurring line.12Pad with trailing spaces.
24LINE_MSR_TOTALThe monthly rate used for the line.6Pad with trailing spaces.
25PHASELegacy field. No longer used.6Pad with trailing spaces.
26LAST_ENTRYThe date this line was last changed.6Pad with trailing spaces.
27LAST_OPERATORThe operator code of the individual who last updated the recurring line.3Pad with trailing spaces.
28START_DATEThe date this line began billing.6Pad with trailing spaces.
29START_CYCLEThe date this line will next be billed.6Pad with trailing spaces.
30LAST_INVOICEDThe date of the last invoice this line was included on.6Pad with trailing spaces.
31POSTING_CODEDetermines the GL receivable account used for this line.6Pad with trailing spaces.
32GROUPING_CODEIf applicable, the group this line belongs to for linking multiple lines into one.6Pad with trailing spaces.
33DEFERDetermines if this line’s revenue is deferred and recognized over its billing period. Accepts: Y or N.1Pad with trailing spaces.
34RATE_TABLEDetermines the rate table used to charge the customer based on alarm activity/setup.6Pad with trailing spaces.
35SERVICE_CODEIf applicable, determines the service code assigned to the line for service contracts.6Pad with trailing spaces.
36OVERRIDE_COMMISSIONIf applicable, the commission amount that should be used for this line over the default commission rate.6Pad with trailing spaces.
37REC_IDENTIFIER_1Recurring identifier 1.9Pad with trailing spaces.
38REC_IDENTIFIER_2Recurring identifier 2.9Pad with trailing spaces.
39REC_IDENTIFIER_3Recurring identifier 3.9Pad with trailing spaces.
40REC_IDENTIFIER_4Recurring identifier 4.9Pad with trailing spaces.
41REFERENCE_JOB_NUMBERIf applicable, the job number that should be used as a reference for this line.12Pad with trailing spaces.
42REFERENCE_JOB_TYPEIf applicable, the job type that should be used as a reference for this line.6Pad with trailing spaces.

Interval type options

OptionDefinition
0Ten Year
2Bi-Annually
3Tri-Annually
4Four Year
5Five Year
6Six Year
7Seven Year
8Eight Year
9Nine Year
AAnnually
BBi-Monthly
EEighteen Months
FFour Months
IBi-Weekly
MMonthly
QQuarterly
SSemi-Annually
WWeekly

Example request

curl --request GET \
--url 'https://global-rest.ci.matrixmcloud.com/rest/rest.php?dataSource=dice&*view=arsubdet&*limit=1&*blanks=all' \
--header 'X-DICE-APPKEY: {{X-DICE-APPKEY}}' \
--header 'X-DICE-USERNAME: {{X-DICE-USERNAME}}' \
--header 'X-DICE-DATE: {{X-DICE-DATE}}' \
--header 'X-DICE-NONCE: {{X-DICE-NONCE}}' \
--header 'X-DICE-DIGEST: {{X-DICE-DIGEST}}' \
--header 'Accept: application/json' \

Example response

{
  "ARSUBDET": [
    {
      "AR_NUMBER": "0000000010",
      "ACCOUNT_NUMBER": "   BATEST",
      "BILLING_CODE_LINE": " !",
      "BILLING_CODE": "RESA",
      "DESCRIPTION": "RESIDENTIAL MONITORING",
      "BILLABLE_AMOUNT": 119.88,
      "STOP_DATE": "",
      "INCREASE_DATE": "09/25/20",
      "LAST_RATE_CHG": "06/20/19133502",
      "CONTRACT_DATE": "06/20/19",
      "INTERVAL_TYPE": "A",
      "SALES_TAX_GROUP": "MI",
      "CONTRACT_CODE": "1YEAR",
      "WARRANTY_CODE": "1YEAR",
      "SYSTEM_TYPE": "",
      "COMMUNICATION_TYPE": "",
      "COMMISSIONABLE": "N",
      "TAXABLE": "",
      "PRORATED": "Y",
      "PO_NUMBER": "",
      "LAST_RATE": 119.88,
      "NEW_RATE": 122.28,
      "JOB_NUMBER": "",
      "LINE_MSR_TOTAL": 0,
      "PHASE": "",
      "LAST_ENTRY": "08/12/24",
      "LAST_OPERATOR": "TJC",
      "START_DATE": "06/20/19133502",
      "START_CYCLE": "01/01/21",
      "LAST_INVOICED": "",
      "POSTING_CODE": "ALL",
      "GROUPING_CODE": "NONE",
      "DEFER": "Y",
      "RATE_TABLE": "",
      "SERVICE_CODE": "",
      "OVERRIDE_COMMISSION": 0,
      "REC_IDENTIFIER_1": "",
      "REC_IDENTIFIER_2": "",
      "REC_IDENTIFIER_3": "",
      "REC_IDENTIFIER_4": "",
      "REFERENCE_JOB_NUMBER": "",
      "REFERENCE_JOB_TYPE": ""
    }
  ],
  "totalRecords": 1
}