Service Reference Name: AccountBook
The accountbook request contains 2 blocks. The block_service and block_payment. Both blocks can be sent together (usually at the end of the day) or each separately (e.g. when booking a service on a guest account, only the block_service is sent).
REQUEST
SEMANTICS
It is being booked on the account given in SIHOT. Therefore, it is necessary to inquire the SIHOT.PMS before the booking to have the current information.
If an error status is returned, the booking has to remain open in the POS.
RESPONSE
The answer is of type Result
RESTRICTION
SIHOT.PMS ← IF Partner
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soapenv:Header />
<soapenv:Body>
<AccountBookRequest xmlns="http://www.gubse.com/IFS/RMS.xsd">
<TransactionID>string</TransactionID>
<Authentification>
<SecurityID>string</SecurityID>
</Authentification>
<accountbook>Base: string Pattern: ([0-9])*</accountbook><!--Optional--><flags>string</flags><!--Optional--><block_service>
<supercat>Base: string Pattern: ([0-9])*</supercat>
<supercat_desc>string</supercat_desc>
<middlecat>Base: string Pattern: ([0-9])*</middlecat>
<middlecat_desc>string</middlecat_desc>
<articlecat>Base: string Pattern: ([0-9])*</articlecat>
<articlecat_desc>string</articlecat_desc>
<articleno>Base: string Pattern: ([0-9])*</articleno>
<articleno_desc>string</articleno_desc>
<priceperunit>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</priceperunit>
<pricetotal>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</pricetotal>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<billno>string</billno>
<cashno>Base: string Pattern: ([0-9])*</cashno>
<cashier>Base: string Pattern: ([0-9])*</cashier><!--Optional--><source>Base: string Pattern: Guest or Z-POS</source>
<vatpercentage>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</vatpercentage><!--Optional--><serviceID>string</serviceID><!--Optional--><fiscalBookingSignature>string</fiscalBookingSignature><!--Optional--><vattype>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</vattype>
</block_service><!--Optional--><block_payment>
<type>string</type>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount><!--Optional--><billno>string</billno><!--Optional--><cashno>Base: string Pattern: ([0-9])*</cashno><!--Optional--><cashier>Base: string Pattern: ([0-9])*</cashier><!--Optional--><payment_desc>string</payment_desc><!--Optional--><source>Base: string Pattern: Guest or Z-POS</source><!--Optional--><externalprocessingdate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</externalprocessingdate><!--Optional--><terminalid>string</terminalid><!--Optional--><traceno>string</traceno>
</block_payment>
</AccountBookRequest>
</soapenv:Body>
</soapenv:Envelope>
| Name | Type |
|---|---|
| AccountBookRequest | |
| TransactionID | string |
| Authentification | Node |
| SecurityID | string |
| accountbook | Base: string Pattern: ([0-9])* |
| flags | string |
| block_service | Node |
| supercat | Base: string Pattern: ([0-9])* |
| supercat_desc | string |
| middlecat | Base: string Pattern: ([0-9])* |
| middlecat_desc | string |
| articlecat | Base: string Pattern: ([0-9])* |
| articlecat_desc | string |
| articleno | Base: string Pattern: ([0-9])* |
| articleno_desc | string |
| priceperunit | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| pricetotal | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| billno | string |
| cashno | Base: string Pattern: ([0-9])* |
| cashier | Base: string Pattern: ([0-9])* |
| source | Base: string Pattern: Guest or Z-POS |
| vatpercentage | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| serviceID | string |
| fiscalBookingSignature | string |
| vattype | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| block_payment | Node |
| type | string |
| amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| billno | string |
| cashno | Base: string Pattern: ([0-9])* |
| cashier | Base: string Pattern: ([0-9])* |
| payment_desc | string |
| source | Base: string Pattern: Guest or Z-POS |
| externalprocessingdate | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
| terminalid | string |
| traceno | string |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:envgen="http://soapenvelopegenerator.eduardocastro.info/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soapenv:Header />
<soapenv:Body>
<AccountBookResponse xmlns="http://www.gubse.com/IFS/RMS.xsd">
<TransactionID>string</TransactionID>
<Result>
<Success>Base: string Pattern: true or false</Success><!--Optional--><ErrorMsg>string</ErrorMsg><!--Optional--><MSG-LIST><!--Optional--><MSG-ENTRY><!--Optional--><MSG-LEVEL>Base: string Pattern: ERROR or WARNING or INFO</MSG-LEVEL><!--Optional--><MSG-CLASS>string</MSG-CLASS><!--Optional--><MSG-NO>Base: string Pattern: ([0-9])*</MSG-NO><!--Optional--><MSG-TEXT>string</MSG-TEXT><!--Optional--><MSG-ENTRY-PARAM-LIST><!--Optional--><PARAM><!--Optional--><INDEX>Base: string Pattern: ([0-9])*</INDEX><!--Optional--><VALUE>string</VALUE>
</PARAM>
</MSG-ENTRY-PARAM-LIST><!--Optional--><MSG-COMMENT>string</MSG-COMMENT><!--Optional--><MSG-SUPRESSED>string</MSG-SUPRESSED>
</MSG-ENTRY>
</MSG-LIST>
</Result><!--Optional--><bookingdetail>string</bookingdetail><!--Optional--><block_service>
<supercat>Base: string Pattern: ([0-9])*</supercat>
<supercat_desc>string</supercat_desc>
<middlecat>Base: string Pattern: ([0-9])*</middlecat>
<middlecat_desc>string</middlecat_desc>
<articlecat>Base: string Pattern: ([0-9])*</articlecat>
<articlecat_desc>string</articlecat_desc>
<articleno>Base: string Pattern: ([0-9])*</articleno>
<articleno_desc>string</articleno_desc>
<priceperunit>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</priceperunit>
<pricetotal>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</pricetotal>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<billno>string</billno>
<cashno>Base: string Pattern: ([0-9])*</cashno>
<cashier>Base: string Pattern: ([0-9])*</cashier><!--Optional--><source>Base: string Pattern: Guest or Z-POS</source>
<vatpercentage>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</vatpercentage><!--Optional--><serviceID>string</serviceID><!--Optional--><fiscalBookingSignature>string</fiscalBookingSignature><!--Optional--><vattype>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</vattype><!--Optional--><rebatedprice>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</rebatedprice>
</block_service>
</AccountBookResponse>
</soapenv:Body>
</soapenv:Envelope>
| Name | Type |
|---|---|
| AccountBookResponse | |
| TransactionID | string |
| Result | Node |
| Success | Base: string Pattern: true or false |
| ErrorMsg | string |
| MSG-LIST | Node |
| MSG-ENTRY | Node |
| MSG-LEVEL | Base: string Pattern: ERROR or WARNING or INFO |
| MSG-CLASS | string |
| MSG-NO | Base: string Pattern: ([0-9])* |
| MSG-TEXT | string |
| MSG-ENTRY-PARAM-LIST | Node |
| PARAM | Node |
| INDEX | Base: string Pattern: ([0-9])* |
| VALUE | string |
| MSG-COMMENT | string |
| MSG-SUPRESSED | string |
| bookingdetail | string |
| block_service | Node |
| supercat | Base: string Pattern: ([0-9])* |
| supercat_desc | string |
| middlecat | Base: string Pattern: ([0-9])* |
| middlecat_desc | string |
| articlecat | Base: string Pattern: ([0-9])* |
| articlecat_desc | string |
| articleno | Base: string Pattern: ([0-9])* |
| articleno_desc | string |
| priceperunit | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| pricetotal | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| billno | string |
| cashno | Base: string Pattern: ([0-9])* |
| cashier | Base: string Pattern: ([0-9])* |
| source | Base: string Pattern: Guest or Z-POS |
| vatpercentage | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| serviceID | string |
| fiscalBookingSignature | string |
| vattype | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
| rebatedprice | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |