Lumen help

Switched batch file format

See our data dictionary for more:

 Switched Batch GBUS File Format Record Information
 Switched Batch GBUS File Format Record Information
 Switched Batch GBUS File Format Record Information

GBUS Batch File Format Data Dictionary

The Header Record is the first line of the file and contains required information for every submitted file. All fields must exist as indicated. 5 H’s should precede the first header field, i.e. HHHHH.

BATCH_ID
Examples: BATCH_ID=ABC (or ABCD)
BATCH_ID identifies your company. You are required to use your customer code in place of the ‘ABC’ or ‘ABCD’ in the example above. Your customer code may contain either 3 or 4 characters.

BATCH_TYPE
Example: BATCH_TYPE=BT_WHL3
BATCH_TYPE is an unchangeable field. The required value for this field is 'BT_WHL3'.

FILE_DATE
Example: FILE_DATE=19990731
FILE_DATE identifies the date the file is submitted. The format is YYYYMMDD.

Each Data Record is an order. There is no limit to the number of data records/orders for a given file. However, for better performance and response time, CenturyLink suggests no more than 10,000 records per file.

CUS_ACCT_ID
Example: 30000000
CUS_ACCT_ID is your Customer Account ID.

PRODUCT_ACCOUNT_ID
Example: 300000
PRODUCT_ACCOUNT_ID is the second identifier, which allows CenturyLink to associate the reseller customer with your Customer Account.

SUBMIT_DATE
Example: 19990731
SUBMIT_DATE is the date the file is submitted.

ACTION_CD
Example: A
ACTION_CD is the action for a given record/order. The available Action Codes are:

  • A - Add
  • B - Block
  • C - Change (See pg. WSG 3.21 for current limited changes available on calling cards)
  • D - Disconnect
  • R - Resubmit
  • U – Unblock

CMP_GROUP _CD
Example: AN
CMP_GROUP _CD (Component Group Code) is the identifier associated with the customer's service (i.e. ANI, 8XX, or Calling Card Code). The available Component Group Codes are:

  • AN - ANI
  • IW - 8XX or Inbound Watts
  • BC - Calling Card

CUSTOMER_TYPE
Example: R
CUSTOMER_TYPE identifies the customer as Residential or Business. The LEC assigned Customer Type should be used for this field. The available values for this field are:

  • R - Residential
  • B – Business

PAC_DIG
Example: 999
PAC Digits is the number of digits, defined by the end user, which must be entered by a touch tone phone at the end of a dialing sequence for a non-verified PAC call to be completed.

VPAC_INDEX_NO
Example: 1234
VPAC Index Number identifies an index that contains multiple four-digit codes.

WTN/8XX
Example: 6147986000
Working Telephone Number/Toll Free 8XX (WTN/8XX) is the 10-digit number to which all incurred charges are billed.

BTN/RING_TO
Example: 6147986000
Billing Telephone Number/Ring-To Number (BTN/RING_TO) is the Bill To Number for an ANI (assigned by the LEC) or the Ring-To Number for an 8XX. You must use the LEC assigned BTN in this field.

REQUESTED CARD
Example: 61479860003286 – ex: For Sub-Cic Customer, eg. 0432
REQUESTED CARD is a specific 14-digit Calling Card Code that is only used for Calling Card Code orders.
This field is also used for Sub-CIC customers, for ANI components to populate the Resellers 4-digit CIC Code.

ACCESS NUMBER
Example: 8008604444
ACCESS NUMBER is the 10-digit 8XX number the customer uses to access their Calling Card Code. The two available options are:

  • 800-866-3691
  • 800-860-4444

LOA_DATE
Example: 19990731
LOA_DATE is the Letter of Agency (a.k.a. Letter of Authorization) Date identifying the date the customer authorizes you to provide long distance service. The format is YYYYMMDD.

PRIMARY_NAME
Example: Michael Starr
PRIMARY_NAME contains the customer's name. You must use the billing name assigned by the LEC.

REJ_CODE
Example: 211
REJ_CODE is a reject code representing a CenturyLink error for a previously submitted transaction. This field should only be populated when the record is a correction to a CenturyLink reject.

ORDER ID
Example: AABC0731
ORDER ID is your company's internal Order ID and is user-defined.

INTRALATA IND
Example: Y
INTRALATA IND specifies whether or not the customer would like you to provide IntraLATA service. The available options are:

  • Y - Yes
  • N - No

These fields are for future use and are not required on current Switched Batch files. Skip over these fields and continue to the next section/set of fields.

DA FED/ST LISTING
No example. Tab to the next field.
DA FED/ST LISTING is for future use and left blank at this time.

DA ACTION
No example. Tab to the next field.
DA ACTION is for future use and left blank at this time.

DA NAME
No example. Tab to the next field.
DA NAME is for future use and left blank at this time.

DA TERM CITY
No example. Tab to the next field.
DA TERM CITY is for future use and left blank at this time.

DA TERM STATE
No example. Tab to the next field.
DA TERM STATE is for future use and left blank at this time.

DA TERM NPA
No example. Tab to the next field.
DA TERM NPA is for future use and left blank at this time.

AUTH_INDICATOR
No example. Tab to the next field.
AUTH_INDICATOR is for future use and left blank at this time.

INTERNATIONAL IND
Example: B
INTERNATIONAL_IND specifies the international origination and termination on a Business Card Code. The available options are:

  • B - both international origination and termination
  • O - international origination only
  • T - international termination only
  • V - no international origination or termination
  • Null - the system will default to ‘B’ for both international origination and termination

8XX ENHANCED IND
No example. Tab to the next field.
8XX ENHANCED IND is for future use and left blank at this time.

COMPLIMENTARY IND
Example: Y
COMPLIMENTARY_IND specifies whether or not the 8XX is complimentary, if Y then the CenturyLink to be Resp Org field should be set to N. The available options are:

  • Y - Yes
  • N - No

RESEND IND
Example: Y
This field is used to resend a calling card to the end user. This service is not available for all customers, please contact your Account Manager with any questions. Available options are;

  • Y- yes
  • N- no

SECONDARY NAME
Example: Michael Starr
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

ADDRESS LINE1 TXT
Example: Smith & Smith Co.
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

ADDRESS LINE2 TXT
Example: 420 High Street
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

ADDRESS LINE3 TXT
Example: Suite 220
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

CITY NM
Example: Dublin
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

STATE CD
Example: OH
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

ZIP CD
Example: 43017
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

COUNTRY CD
Example: USA
This field is for fulfillment of calling cards to the reseller’s end users. This service is not available for all customers, please contact your Service Manager with any questions.

TRAILER RECORD
The Trailer Record is the last line of the file and contains a count that validates the number of records preceding it in the file. All parameters must exist as indicated, as this line is mandatory. 5 T's should precede the first trailer field, i.e. TTTTT.

RECORD_COUNT
Example: REC_CNT=5
RECORD_COUNT identifies the total number of records in this file. This number represents all records/orders in the file excluding the header and trailer. If this value does not match the total number of records, your file cannot be processed.