INVOICE GET V001
Service Reference Name: S_INVOICE_GET_V001
Deprecated
This has been deprecated. Please refer to:
- S_INVOICE_GET_V002 - Extended with reservation information and pdf as base64.
General
This service returns a specific invoice
Input
- INVOICE-OBJID: ObjID of the invoice, which can be obtained from other defined services. Mandatory
Output
- invoice information
- list of payment-, service postings
- invoiceholder information: this information are saved on the invoice. If you need more information from guest then use other serivce
- list of vats and taxs
-
currency information
-
used combo box:
- invoicenoset "RKWD"
- hotel "HNA"
- accounttype "38CB"
- vat "53"
- service "09Tax"
- taxFormel "FO"
Direction
SIHOT.PMS ← IF Partner
Message
<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>
<S_INVOICE_GET_V001Request xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><TransactionID>string</TransactionID>
<Authentication>
<SecurityID>string</SecurityID>
</Authentication>
<INVOICE>
<INVOICE-OBJID>Base: string Pattern: ([0-9])*</INVOICE-OBJID>
</INVOICE>
</S_INVOICE_GET_V001Request>
</soapenv:Body>
</soapenv:Envelope>
Attributes Message
Name | Type |
---|---|
S_INVOICE_GET_V001Request | |
TransactionID | string |
Authentication | Node |
SecurityID | string |
INVOICE | Node |
INVOICE-OBJID | Base: string Pattern: ([0-9])* |
Response
<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>
<S_INVOICE_GET_V001Response xmlns="http://www.gubse.com/IFS/SihotServices01.xsd"><!--Optional--><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--><INVOICE>
<INVOICE-OBJID>Base: string Pattern: ([0-9])*</INVOICE-OBJID>
<invoiceno>Base: string Pattern: ([0-9])*</invoiceno>
<invoicenoset>Base: string minLength: 0 maxLength: 2</invoicenoset>
<hotel>Base: string Pattern: ([-+]){0,1}([0-9])*</hotel>
<externalreference>Base: string minLength: 0 maxLength: 30</externalreference>
<externalreference2>Base: string minLength: 0 maxLength: 30</externalreference2>
<date>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</date>
<creationdate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</creationdate>
<creationtime>Base: string Pattern: ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])|</creationtime>
<operator>Base: string minLength: 0 maxLength: 3</operator>
<CANCELTYPE>Base: string Pattern: ([-+]){0,1}([0-9])*</CANCELTYPE>
<cancellationinvoiceno>string</cancellationinvoiceno>
<resno>Base: string Pattern: ([-+]){0,1}([0-9])*</resno>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<amountpaid>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountpaid>
<currency>string</currency>
<currencyinvoiceamount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyinvoiceamount>
<typeofpayment>string</typeofpayment>
<fiscalsignature>string</fiscalsignature>
<INVOICEHOLDER>
<GUEST-OBJID>Base: string Pattern: ([0-9])*</GUEST-OBJID>
<salutation>string</salutation>
<lastName>string</lastName>
<firstName>string</firstName>
<guestType>string</guestType>
<country>string</country>
<city>string</city>
<pobox>string</pobox>
<postcode>string</postcode>
<street>string</street>
<guestHotel>Base: string Pattern: ([-+]){0,1}([0-9])*</guestHotel>
<guestNo>Base: string Pattern: ([-+]){0,1}([0-9])*</guestNo>
<identificationNo>string</identificationNo>
<documentnumber>string</documentnumber>
<documenttype>string</documenttype>
<documentdate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</documentdate>
<taxnumber>string</taxnumber>
<taxnumber2>string</taxnumber2>
<taxnumber3>string</taxnumber3>
</INVOICEHOLDER><!--Optional--><MAINACCOUNT>
<ACCOUNT-OBJID>Base: string Pattern: ([0-9])*</ACCOUNT-OBJID>
<accounttype>string</accounttype>
<accountno>Base: string Pattern: ([-+]){0,1}([0-9])*</accountno>
<arrival>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</arrival>
<departure>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</departure>
</MAINACCOUNT>
<VATS><!--Optional--><VAT>
<vat>string</vat>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<amountvat>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountvat>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</VAT>
</VATS>
<TAXS><!--Optional--><TAX>
<tax>string</tax>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<taxformel>string</taxformel>
<taxpercent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</taxpercent>
<amounttax>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amounttax>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</TAX>
</TAXS>
<SERVICES><!--Optional--><SERVICE>
<SERVICE-OBJID>Base: string Pattern: ([0-9])*</SERVICE-OBJID>
<servicetype>Base: string minLength: 0 maxLength: 2</servicetype>
<service>string</service>
<descriptionlst>string</descriptionlst>
<arrival>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</arrival>
<quantity>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</quantity>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<priceperunit>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</priceperunit>
<currency>string</currency>
<currencyamount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyamount>
<currencyexchangefactor>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyexchangefactor>
<hoteldate>Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2})|</hoteldate>
<packages>string</packages>
<originalroom>string</originalroom>
<VATS><!--Optional--><VAT>
<vat>string</vat>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<amountvat>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountvat>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</VAT>
</VATS>
<TAXS><!--Optional--><TAX>
<tax>string</tax>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<taxformel>string</taxformel>
<taxpercent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</taxpercent>
<amounttax>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amounttax>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</TAX>
</TAXS>
<PARTLIST><!--Optional--><COMPONENT>
<COMPONENT-OBJID>Base: string Pattern: ([0-9])*</COMPONENT-OBJID>
<servicetype>string</servicetype>
<service>string</service>
<descriptionlst>string</descriptionlst>
<quantity>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</quantity>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<priceperunit>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</priceperunit>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
<revenuearea>Base: string Pattern: ([-+]){0,1}([0-9])*</revenuearea>
<discount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</discount>
</COMPONENT>
<VATS><!--Optional--><VAT>
<vat>string</vat>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<amountvat>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountvat>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</VAT>
</VATS>
<TAXS><!--Optional--><TAX>
<tax>string</tax>
<description>string</description>
<percent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</percent>
<taxformel>string</taxformel>
<taxpercent>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</taxpercent>
<amounttax>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amounttax>
<amountnet>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountnet>
<amountgross>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amountgross>
<revenueaccount>Base: string Pattern: ([-+]){0,1}([0-9])*</revenueaccount>
</TAX>
</TAXS>
</PARTLIST>
</SERVICE>
</SERVICES>
<PAYMENTS><!--Optional--><PAYMENT>
<PAYMENT-OBJID>Base: string Pattern: ([0-9])*</PAYMENT-OBJID>
<typeofpayment>string</typeofpayment>
<description>string</description>
<amount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</amount>
<currency>string</currency>
<currencyamount>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyamount>
<currencyexchangefactor>Base: string Pattern: ([-+]){0,1}([0-9])*\.{0,1}([0-9])*</currencyexchangefactor>
</PAYMENT>
</PAYMENTS>
</INVOICE>
</S_INVOICE_GET_V001Response>
</soapenv:Body>
</soapenv:Envelope>
Attributes Response
Name | Type |
---|---|
S_INVOICE_GET_V001Response | |
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 |
INVOICE | Node |
INVOICE-OBJID | Base: string Pattern: ([0-9])* |
invoiceno | Base: string Pattern: ([0-9])* |
invoicenoset | Base: string minLength: 0 maxLength: 2 |
hotel | Base: string Pattern: ([-+]){0,1}([0-9])* |
externalreference | Base: string minLength: 0 maxLength: 30 |
externalreference2 | Base: string minLength: 0 maxLength: 30 |
date | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
creationdate | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
creationtime | Base: string Pattern: ([01][0-9] |
operator | Base: string minLength: 0 maxLength: 3 |
CANCELTYPE | Base: string Pattern: ([-+]){0,1}([0-9])* |
cancellationinvoiceno | string |
resno | Base: string Pattern: ([-+]){0,1}([0-9])* |
amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountpaid | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currency | string |
currencyinvoiceamount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
typeofpayment | string |
fiscalsignature | string |
INVOICEHOLDER | Node |
GUEST-OBJID | Base: string Pattern: ([0-9])* |
salutation | string |
lastName | string |
firstName | string |
guestType | string |
country | string |
city | string |
pobox | string |
postcode | string |
street | string |
guestHotel | Base: string Pattern: ([-+]){0,1}([0-9])* |
guestNo | Base: string Pattern: ([-+]){0,1}([0-9])* |
identificationNo | string |
documentnumber | string |
documenttype | string |
documentdate | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
taxnumber | string |
taxnumber2 | string |
taxnumber3 | string |
MAINACCOUNT | Node |
ACCOUNT-OBJID | Base: string Pattern: ([0-9])* |
accounttype | string |
accountno | Base: string Pattern: ([-+]){0,1}([0-9])* |
arrival | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
departure | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
VATS | Node |
VAT | Node |
vat | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountvat | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
TAXS | Node |
TAX | Node |
tax | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
taxformel | string |
taxpercent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amounttax | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
SERVICES | Node |
SERVICE | Node |
SERVICE-OBJID | Base: string Pattern: ([0-9])* |
servicetype | Base: string minLength: 0 maxLength: 2 |
service | string |
descriptionlst | string |
arrival | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
quantity | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
priceperunit | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currency | string |
currencyamount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencyexchangefactor | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
hoteldate | Base: string Pattern: ([0-9]{4})-([0-9]{2})-([0-9]{2}) |
packages | string |
originalroom | string |
VATS | Node |
VAT | Node |
vat | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountvat | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
TAXS | Node |
TAX | Node |
tax | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
taxformel | string |
taxpercent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amounttax | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
PARTLIST | Node |
COMPONENT | Node |
COMPONENT-OBJID | Base: string Pattern: ([0-9])* |
servicetype | string |
service | string |
descriptionlst | string |
quantity | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
priceperunit | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
revenuearea | Base: string Pattern: ([-+]){0,1}([0-9])* |
discount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
VATS | Node |
VAT | Node |
vat | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountvat | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
TAXS | Node |
TAX | Node |
tax | string |
description | string |
percent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
taxformel | string |
taxpercent | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amounttax | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountnet | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
amountgross | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
revenueaccount | Base: string Pattern: ([-+]){0,1}([0-9])* |
PAYMENTS | Node |
PAYMENT | Node |
PAYMENT-OBJID | Base: string Pattern: ([0-9])* |
typeofpayment | string |
description | string |
amount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currency | string |
currencyamount | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |
currencyexchangefactor | Base: string Pattern: ([-+]){0,1}([0-9]).{0,1}([0-9]) |