BulkSMS WebService
1.Link gọi webservice http://125.235.4.202:8998/bulkapi?wsdl
hoặc
http://apismsbrand.viettel.vn:8998/bulkapi?wsdl
3.Khi CP gọi ws thì gồm có 4 thông tin sau dùng để authenticate: User: /Password: , Cpcode: .
Các thông tin này được Admin khai báo trên web cms
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.bulkSms.ws/">
<soapenv:Header/>
<soapenv:Body>
<impl:wsCpMt>
<!--Optional:-->
<User>smsbrand_ldldtphcm</User>
<!--Optional:-->
<Password>123456aA@</Password>
<!--Optional:-->
<CPCode>LDLDTPHCM</CPCode>
<!--Optional:-->
<RequestID>?</RequestID>
<!--Optional:-->
<UserID>?</UserID>
<!--Optional:-->
<ReceiverID>?</ReceiverID>
<!--Optional:-->
<ServiceID>LDLD TPHCM</ServiceID>
<!--Optional:-->
<CommandCode>?</CommandCode>
<!--Optional:-->
<Content>?</Content>
<!--Optional:-->
<ContentType>?</ContentType>
</impl:wsCpMt>
</soapenv:Body>
</soapenv:Envelope>
Parameters
|
Parameter |
Description |
Example value (string) |
|
User |
User do Viettel cung cấp |
Admin khai báo trên CMS |
|
Password |
Password do Viettel cung cấp |
|
|
CPCode |
Mã do 70xx cung cấp |
|
|
RequestID |
Mặc định là RequestID MO |
Từ MT thứ 2 trở đi RequestID = 4 |
|
UserID |
Số điện thoai gửi |
84976969454 |
|
ReceiverID |
Số điện thoai nhận. Chú ý số điện thoại phải có định dạng như bên |
84976969454 |
|
ServiceID |
= với các Mạng Vina, Mobi, Viettel |
Ví dụ muốn gửi = brandname ABC thì ServiceID = “ABC”. Alias phải được đăng kí trước với viettel |
|
CommandCode |
Mã lệnh BulkSMS cung cấp |
bulksms |
|
Content |
Nội dung gửi |
Nội dung cần gửi (không dấu, 1MT không quá 480 ký tự, không sử dụng ký tự &) |
|
ContentType |
Loại nội dung gửi 0: Tin nhắn nội dung không dấu. 1: Tin nhắn nội dung có dấu. |
0 |
Ví dụ một bản tin MT
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.bulkSms.ws/">
<soapenv:Header/>
<soapenv:Body>
<impl:wsCpMt>
<!--Optional:-->
<User>user duoc cap</User>
<!--Optional:-->
<Password>pass duoc cap</Password>
<!--Optional:-->
<CPCode>CPCODE duoc cap viet hoa</CPCode>
<!--Optional:-->
<RequestID>1</RequestID>
<!--Optional:-->
<UserID>84972218325- so dien thoai nhan tin </UserID>
<!--Optional:-->
<ReceiverID>84972218325so dien thoai nhan tin </ReceiverID>
<!--Optional:-->
<ServiceID>Đau so duoc cap vi du la 70xxx</ServiceID>
<!--Optional:-->
<CommandCode>bulksms</CommandCode>
<!--Optional:-->
<Content>Noi dung tin nhan</Content>
<!--Optional:-->
<ContentType>F</ContentType>
</impl:wsCpMt>
</soapenv:Body>
</soapenv:Envelope>
Kết quả nếu thành công:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:wsCpMtResponse xmlns:ns2="http://impl.bulkSms.ws/">
<return>
<message>Insert MT_QUEUE: OK</message>
<result>1</result>
</return>
</ns2:wsCpMtResponse>
</S:Body>
</S:Envelope>
Kết quả nếu sai password:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:wsCpMtResponse xmlns:ns2="http://impl.bulkSms.ws/">
<return>
<message>Authenticate: WRONG_INFORMATION_AUTHENTICATE</message>
<result>0</result>
</return>
</ns2:wsCpMtResponse>
</S:Body>
</S:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.bulkSms.ws/">
<soapenv:Header/>
<soapenv:Body>
<impl:checkBalance>
<!--Optional:-->
<User>?</User>
<!--Optional:-->
<Password>?</Password>
<!--Optional:-->
<CPCode>?</CPCode>
</impl:checkBalance>
</soapenv:Body>
</soapenv:Envelope>
|
Parameter |
Description |
Example value (string) |
|
User |
User do Viettel cung cấp |
Admin khai báo trên CMS |
|
Password |
Password do Viettel cung cấp |
|
|
CPCode |
Mã do 70xx cung cấp |
|
|
|
|
|
Ví dụ:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.bulkSms.ws/">
<soapenv:Header/>
<soapenv:Body>
<impl:checkBalance>
<!--Optional:-->
<User>user_xxxxx</User>
<!--Optional:-->
<Password>pass_xxxxx</Password>
<!--Optional:-->
<CPCode>CP_XXXX</CPCode>
</impl:checkBalance>
</soapenv:Body>
</soapenv:Envelope>
Kết quả thành công:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:checkBalanceResponse xmlns:ns2="http://impl.bulkSms.ws/">
<return>
<balance>214085</balance>
<errCode>0</errCode>
<errDesc>check balance success</errDesc>
</return>
</ns2:checkBalanceResponse>
</S:Body>
</S:Envelope>
Kết quả thất bại:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:checkBalanceResponse xmlns:ns2="http://impl.bulkSms.ws/">
<return>
<balance>0</balance>
<errCode>1</errCode>
<errDesc>Authenticate: IP_INVALID</errDesc>
</return>
</ns2:checkBalanceResponse>
</S:Body>
</S:Envelope>
//---CP khong phai CP tra truoc----------------------------------------------------------
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:checkBalanceResponse xmlns:ns2="http://impl.bulkSms.ws/">
<return>
<balance>0</balance>
<errCode>1</errCode>
<errDesc>check balance failure</errDesc>
</return>
</ns2:checkBalanceResponse>
</S:Body>
</S:Envelope>
Thông tư 32/2011/TT-BTC hướng dẫn về khởi tạo, phát hành và sử dụng hóa đơn điện tử bán hàng hóa và cung ứng dịch vụ
Hiện nay, Viettel đang triển khai xác thực thông tin thuê bao theo Thông tư 08/2026/TT-BKHCN nhằm chuẩn hóa dữ liệu khách hàng và đảm bảo quyền lợi người dùng.
👉 Nếu không thực hiện đúng thời hạn, thuê bao của bạn có thể bị:
Khóa 1 chiều (chỉ nhận cuộc gọi)
Sau 60 ngày sẽ bị chặn 2 chiều hoàn toàn
Bạn cần kiểm tra và thực hiện xác thực nếu thuộc các trường hợp sau:
Thuê bao đăng ký bằng CMND 9 số cũ
Thuê bao sử dụng hộ chiếu
Thuê bao dùng giấy tờ Công an / Quân đội
Sim chưa đăng ký chính chủ
Nhận được tin nhắn yêu cầu xác thực từ Viettel
Bắt đầu: 15/04/2026
Kết thúc: 31/05/2026
👉 Sau ngày 15/06/2026:
Thuê bao chưa xác thực sẽ bị khóa 1 chiều
Sau 60 ngày tiếp theo sẽ bị chặn 2 chiều
Mang theo CCCD gắn chip (bản gốc)
Đến cửa hàng Viettel gần nhất
Nhân viên hỗ trợ cập nhật chỉ mất 5–10 phút
👉 Ưu điểm: Nhanh, chính xác, hạn chế lỗi
Mở app My Viettel
Chọn mục Cập nhật thông tin thuê bao
Chụp CCCD + xác thực khuôn mặt
Gửi yêu cầu và chờ duyệt
👉 Lưu ý: Thông tin phải rõ nét, trùng khớp
Kiểm tra tin nhắn từ Viettel
Hoặc đăng nhập app My Viettel
Hoặc đến trực tiếp cửa hàng để được kiểm tra miễn phí
Tránh bị gián đoạn liên lạc
Bảo vệ quyền sở hữu số điện thoại
Hạn chế bị kẻ xấu lợi dụng SIM
Đảm bảo sử dụng đầy đủ dịch vụ Viettel
Nếu bạn chưa rõ cách thực hiện, hãy đến cửa hàng Viettel gần nhất để được hỗ trợ nhanh chóng.
👉 Đặc biệt hỗ trợ:
Kiểm tra sim chính chủ
Cập nhật thông tin nhanh
Tư vấn miễn phí
xác thực thông tin thuê bao viettel 2026, chuẩn hóa sim viettel, cập nhật sim chính chủ, sim viettel bị khóa 1 chiều, thông tư 08 viettel, xác minh thuê bao viettel
Việc xác thực thông tin thuê bao Viettel là bắt buộc trong năm 2026. Hãy thực hiện ngay hôm nay để tránh bị khóa SIM và đảm bảo quyền lợi của bạn.
👉 Đừng chờ đến sát hạn mới làm – có thể bị quá tải hệ thống!
Cách chừa hóa đơn điện tử sử dụng 2 dãy serial :
Đăng ký 2 serial AA/19E và AB/19E
Dãy AA/19E có số từ 1 - 1000
Dãy AB/19E có số từ 1 - 1000
Dãy AA/19E xuất liên tục khi có hóa đơn điện tử
Dãy AB/19E dùng để dự phòng xuất chừa hóa đơn