This section is a short summary to show how much work the integration is. All columns, examples and the full rules are in the integration guide.
Files
The PMS and KBS Bridge use the same folder. If the folder is on another computer it can be shared on the network.
| File | Written by | Purpose |
kbs_bekleyen.txt | PMS | Guests to be reported |
kbs_sonuc.txt | KBS Bridge | Result of each record |
kbs_durum.txt | KBS Bridge | Whether KBS Bridge is running (read optionally) |
kbs_simdi.txt | PMS | "Send now" request (optional) |
Guest file
kbs_bekleyen.txt
kayitno;bayrak;durum;oda;ad;soyad;kimlikno;uyruk;cinsiyet;dogumtarihi;dogumyeri;giris;cikis;plaka;telefon;eskikimlikno
12345;0;icerde;105;Ayşe;Yılmaz;12345678901;TC;K;14.03.1985;İzmir;23.10.2026 14:05;;35ABC123;05321234567;
12346;1;cikti;107;John;Smith;C01X00T47;GBR;E;02.07.1979;London;21.10.2026 16:30;23.10.2026 11:10;;;
12348;1;icerde;108;Elif;Demir;23456789012;TC;K;05.09.1992;Bursa;22.10.2026 18:20;;;;
#SON
- UTF-8, semicolon separator. First line is the header, last line
#SON. Without #SON KBS Bridge treats the file as incomplete and does not read it.
- The file is generated from the database from scratch every time, written under a temporary name first and then moved into place. Nothing is appended to it.
- For Turkish guests the Turkish ID number and the room are enough; first and last name may be left empty. For foreign guests the document number, first name, last name, date of birth, gender and nationality are required; the Police also require the place of birth.
Reporting flag
The PMS keeps a reporting flag for every record in its own database. KBS Bridge knows what to do from this flag and the guest's status.
| Flag | Meaning |
0 | Not reported. KBS Bridge reports the check-in. |
1 | Check-in reported. KBS Bridge sees room changes and the check-out from this line. |
2 | Check-out reported. The record is no longer written to the file. |
3 | Identity details corrected. KBS Bridge removes the old record from the KBS website and registers the guest again with the correct details. |
Result file
kbs_sonuc.txt
kayitno;islem;bayrak;sonuc;mesaj;zaman;ad;soyad;uyari
12345;giris;1;tamam;KBS sitesine giriş bildirildi.;23.10.2026 14:07;;;
12346;cikis;2;tamam;KBS sitesine çıkış bildirildi.;23.10.2026 14:07;;;
12349;giris;0;hata;eksik bilgi: doğum yeri;23.10.2026 14:07;;;
12351;giris;1;tamam;KBS sitesine giriş bildirildi.;23.10.2026 14:09;ME*****;KA*****;
12352;giris;1;tamam;KBS sitesine giriş bildirildi. Yazılan ad ile KBS sitesindeki ad farklı görünüyor (KBS sitesinde: HA***** YI*****). Kimlik numarasının kontrol edilmesi gerekebilir.;23.10.2026 14:12;;;adfarkli
#SON
Lines are processed in order. If the flag in the database is 3, only duzeltme lines are applied. Otherwise, for a record that comes back tamam the PMS sets the flag to the value in the line, but only if that value is higher than the one in the database. The flag of a record that comes back hata is left alone and the message is shown to the user. If the uyari column says adfarkli, the user is shown a warning to check the ID number.
For Turkish guests first and last name may be left empty in the file; the KBS website finds the person by the ID number. In that case KBS Bridge writes the masked name shown by the KBS website (for example ME*****) to the ad and soyad columns. From the initials the PMS can see that the right person was reported.
What KBS Bridge handles by itself
- Room change: the PMS writes only the new room number. KBS Bridge sees the difference and updates it on the KBS website.
- Synchronising after an outage: compares the records on the KBS website with those in the PMS, reports what is missing and does not repeat what was done by hand. Details in the integration guide.
- Deleted record: if a guest whose check-in was reported is deleted in the PMS, and the PMS keeps writing the record with status
iptal, KBS Bridge removes the guest from the KBS website.
- Identity correction: removes the wrong record of a guest whose identity details were corrected in the PMS after the check-in was reported, and registers the guest again with the correct details.
- Temporary errors: if the KBS website cannot be reached or returns a temporary error, it tries again in the next round. Waiting guests are not lost.
- Missing details: does not send a record the KBS website would reject, and writes the reason clearly to
kbs_sonuc.txt.
Police and Gendarmerie
For the PMS there is no difference between the two; the same file is written. The authority is selected in KBS Bridge's settings. With the Police, KBS Bridge logs in to the EGM system with the hotel's KBS user name and password; the hotel's authorised person reads the EGM SEC code from their phone and types it into KBS Bridge's window. With the Gendarmerie, KBS Bridge uses the web service the Gendarmerie provides to accommodation facilities, with the hotel's facility code and web service password.
📄 Full integration guide