Posting (Extended)
This operation posts a service through an extended method.
Operationcode: PE
PE
Direction
IF Partner → SIHOT
Message
Here we post also the use of the pool. In this case, we use the service SP
defined in SIHOT.
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4717</TN>
<OC>PE</OC>
<HN>4711</HN>
<RN>102</RN>
<SID>SP</SID>
<CALCSID>1</CALCSID>
<TXT>Use of the pool, (31.05.2002 at 13:20)</TXT>
<BD>2002-05-31T13:20:00</BD>
<FLAGS>NO-DISCOUNT</FLAGS>
</SIHOT-Document>
Attributes Message
Attribute | Denotation | Type |
---|---|---|
Attribute | Denotation | Type |
OC | Action Type:PE = Post Extended | String |
TXT | Text | String |
BD | Booking Date | Date Time |
SID | Service Identification | String |
PPU | Price per unit (including taxes, vat, …) in hotel currency. If this value is not given, we use the defined price in SIHOT. | BCD |
UN | Units. If unit is not given, we assume 1. | Long |
OUTLET | Outlet where the posting is coming from | Long |
CASHIER | Cashier who processed the posting | Long |
TICKETNO | Ticket number from the external system | Long |
PCIID | Pre Check-In ID | uns. Long |
AN | Account Number | uns. Long |
CALCSID | Calculates the service ID | Integer |
HN | Hotelnumber to be posted on | Long |
FLAGS | This is an optional parameter.Additional processing flags for several purposes:NO-DISCOUNT = Don’t calculate discounts to prices | String |
Important Hint regarding Postings
See XML-Format/Important Hint.
Response
Everything was charged correctly:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4717</TN>
<OC>ACK</OC>
<RC>0</RC>
</SIHOT-Document>
Attributes Response
Example
Charge to a card
This is an example for the use of the pool by the guest with the card abc1234
:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4717</TN>
<OC>PE</OC>
<HN>4711</HN>
<CARD>
<TYPE>ABC</TYPE>
<NUMBER>abc1234</NUMBER>
</CARD>
<SID>SP</SID>
<CALCSID>1</CALCSID>
<TXT>Use of the pool, (31.05.2002 at 13:20)</TXT>
<BD>2002-05-31T13:20:00</BD>
<FLAGS>NO-DISCOUNT</FLAGS>
</SIHOT-Document>
Everything was charged correctly:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4717</TN>
<OC>ACK</OC>
<RC>0</RC>
</SIHOT-Document>