Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Inhalt


Target audienceFiscal Legal Systems
Version1.0.
AuthenticationBearer Token
Message typeAsynchronous
Direction Outbound


Message Description

Transmit invoice data & already assigned fiscal codes.


Message Attributes

IO_InvoiceFiscalizeNotifRQ

Element | @AttributeTypeNumDescription OutboundComments + Contents outboundpAirOnPrem

IO_InvoiceFiscalizeNotifRQ


1Root element of the message.
(Haken)(Fehler)
@CorrelationIDStringLength1to641Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.
(Haken)(Fehler)
@TimestampdateTime0..1

Time of the transaction.


(Haken)(Fehler)
@Versiondecimal0..1

Message version.


(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | UniqueID


0..10

(Haken)(Fehler)

@ID

StringLength1to321ID of the business object (e.g. hotel, invoice, customer, reservation)
(Haken)(Fehler)
@ID_ContextStringLength1to321System identifier (which generated the ID)
(Haken)(Fehler)
@Typeprotel CodeType0..1see protel Code List PIT - IO Unique ID Types
"Tenant", "Invoice", "Customer", "Hotel"

(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRQ | ExternalTerminal
0..1

(Fehler)(Fehler)
@TerminalNamestring1

(Fehler)(Fehler)
@URLstring0..1

(Fehler)(Fehler)
@Locationstring0..1

(Fehler)(Fehler)
@Notesstring0..1

(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalCode


0..1

(Haken)(Fehler)
@Value

Text (number) to display on the invoice.
Will be sent in RQ Reference element for void operation

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalClosingID


0..1

(Haken)(Fehler)
@Value

Text (number) to display on the invoice. 
Will be sent in RQ Reference element for void operation

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalDate


0..1

(Fehler)(Fehler)
@Value

Will be sent in RQ Reference element for void operation
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalNotes


0..1

(Fehler)(Fehler)
@Value

 Textual information regarding the fiscalization process
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalSignatures


0..1 Fiscalization result w/ more complex data (e.g. QR codes & signatures)
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalSignatures | Signature


0..10

(Fehler)(Fehler)

@Type

protel CodeType0..1see protel Code List PIT - IO Unique ID Types
(Fehler)(Fehler)

@Format

protel CodeType0..1see protel Code List PIT - IO Unique ID Types
(Fehler)(Fehler)

@Timestamp

dateTime0..1

(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalSignatures | Signature | Label


0..1

(Fehler)(Fehler)
@Value

 Description of signature created
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | ExternalFiscalSignatures | Signature | Data


1

(Fehler)(Fehler)
@Value

 Actual data of signature (Binary data must be Base64 encoded)
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice


0..1Copy of invoice data sent with RQ
(Haken)(Fehler)
@InvoiceCodestring0..1Invoice number (shown to the user)
(Haken)(Fehler)
@FiscalCodestring0..1The fiscal code assigned to this invoice
(Haken)(Fehler)
@FiscalCodeIDstring0..1Internal ID for the Fiscal code assigned to this invoice
(Haken)(Fehler)
@Openboolean0..1Is this invoice open (true / false)
(Haken)(Fehler)
@Voidboolean0..1Is this invoice voided (true/false)
(Haken)(Fehler)
@InvoiceIDstring0..1Reference to the Voided invoice (@InvoiceCode)
(Haken)(Fehler)
@FiscalCodestring0..1Reference to the voided invoice (@FiscalCode)
(Haken)(Fehler)
@Typestring1"Reservation", "Passerby", "Group", "Unknown"
(Haken)(Fehler)
@InvoiceDatedateTime0..1Timestamp of the invoice generation, stored in invoices table and printed on invoice (ISO DateTime)
(Haken)(Fehler)
@Userstring0..1The user who initiated Invoice creation (close of the folio)
(Haken)(Fehler)
@UserTaxNostring0..1Tax Number of the user who closed/checked Invoice
(Haken)(Fehler)
@DeliveryDatestring0..1Display the invoice delivery date / sales date date (legal for Poland)
(Haken)(Fehler)
@TaxProcedureCodestring0..1For some TAA’s it’s necessary to assign TaxProcedureCode. When this code is assigned then it has to be reported to the Government server.PMS_TaxProcedureCode(Haken)(Fehler)
@BusinessDatestring0..1

(Haken)(Fehler)
@ExternallyFiscalizedboolean0..1

(Haken)(Fehler)
@FiscalCodeNamestring0..1

(Haken)(Fehler)
@FiscalDatestring0..1

(Haken)(Fehler)
@Fiscalizedboolean0..1

(Haken)(Fehler)
@PastEndOfDayboolean0..1

(Haken)(Fehler)
@SystemFiscalCode1
string0..1Fiscal config extra Code1


@SystemFiscalCode2
string0..1Fiscal config extra Code2


@SystemFiscalCode3
string0..1Fiscal config extra Code3


IO_InvoiceFiscalizeNotifRQ | Invoice | VoidReason


0..1Voiding reason info text.
(Haken)(Fehler)
Valuestring0..1Textual description
(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRQ | Invoice | TotalChargeAmount
1Total (gross) charged amount 
(Haken)(Fehler)
@Amountdecimal1Total amount decimal
(Haken)(Fehler)
@CurrencyCodeAlphaLength31Three-letter currency code
(Haken)(Fehler)
@ExchangeRatedecimal0..1The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | TotalPaymentsAmount


1Total payment amount
(Haken)(Fehler)
@Amountdecimal1 Total amount decimal
(Haken)(Fehler)
@CurrencyCodeAlphaLength31  Three-letter currency code
(Haken)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | TotalDepositsAmount


1Total deposits amount
(Haken)(Fehler)
@Amountdecimal1 Total amount decimal
(Haken)(Fehler)
@CurrencyCodeAlphaLength31  Three-letter currency code
(Haken)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | TotalExpensesAmount


1Total expenses amount
(Fehler)(Fehler)
@Amountdecimal1 Total amount decimal
(Fehler)(Fehler)
@CurrencyCodeAlphaLength31  Three-letter currency code
(Fehler)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges


0..1

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item

Anker
Charges
Charges


0..n



(Haken)(Fehler)
@Quantityinteger1Number of items charged/payed
(Haken)(Fehler)
@TaxRatedecimal1Percentage of VAT as a decimal value
(Haken)(Fehler)
@TaxCodeprotel CodeType0..1Tax name as defined by the sender
(Haken)(Fehler)
@Typestring1Type of item (Payment, Article, Expense)
(Haken)(Fehler)
@ServiceDatestring1Date item was posted to the invoice
(Haken)(Fehler)
@CashRegisterIDstring1ID of Cash register the user was logged in to
(Haken)(Fehler)
@IDstring1

(Haken)(Fehler)
@PostingAccountstring0..1

(Haken)(Fehler)
@SystemDatestring1

(Haken)(Fehler)
@GroupCodestring1

In some situations it is necessary to have GTUCode assigned to the invoice header.

This should be related to fiscal code (assignable to fiscal code in PMS SD).

PMS_GroupCode(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | PostingText


1

(Haken)(Fehler)
Valuestring
Description of the item posted
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | AdditionalText


0..1

(Haken)(Fehler)
Valuestring
Additional text to the posting
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | TotalAmountAfterTax


1

(Haken)(Fehler)
@CurrencyCodeAlphaLength31  Three-letter currency code
(Haken)(Fehler)
@ExchangeRatestring0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | TotalAmountAfterTax | Amount


1

(Haken)(Fehler)
Valuedecimal
A decimal value of the item's total
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | SingleAmountAfterTax


1

(Haken)(Fehler)
@CurrencyCodeAlphaLength31  Three-letter currency code
(Haken)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | SingleAmountAfterTax | Amount


1

(Haken)(Fehler)
Value

The decimal value of the item's single amount including VAT
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | TotalAmountBeforeTax


1

(Fehler)(Fehler)
@CurrencyCodeAlphaLength3
 Three-letter currency code
(Fehler)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | TotalAmountBeforeTax | Amount


1

(Fehler)(Fehler)
Value

The decimal value of the item's total amount excluding VAT
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | SingleAmountBeforeTax


1

(Haken)(Fehler)
@CurrencyCodeAlphaLength3
 Three-letter currency code
(Haken)(Fehler)
@ExchangeRatedecimal0..1 The exchange rate applied for conversion to hotel default currency
(Fehler)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | SingleAmountBeforeTax | Amount


1

(Haken)(Fehler)
Value

The decimal value of the item's single amount excluding VAT
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Charges | Item | TaxInfo


0..1

(Haken)(Fehler)
@Ratedecimal0..1Percentage of VAT as a decimal value
(Haken)(Fehler)
@SubCode1protel CodeType0..1Subcode of tax (if given)
(Haken)(Fehler)
@SubCode2protel CodeType0..1Subcode of tax (if given)
(Haken)(Fehler)
@IDprotel CodeType0..1ID of tax
(Haken)(Fehler)
@Codeprotel CodeType0..1Shortname of tax
(Haken)(Fehler)
@Valuestring0..1Description of tax
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Payments


0..1

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Payments | Item


0..n

(Haken)(Fehler)
see Invoice | Charges | Item



(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Deposits


1

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Deposits | Item


0..n

(Haken)(Fehler)
see Invoice | Charges | Item



(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Expenses


1

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | Expenses | Item


0..n

(Haken)(Fehler)
see Invoice | Charges | Item



(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | InvoiceRecipient


1

(Haken)(Fehler)
@ProfileIDstring0..1

(Haken)(Fehler)
@ProfileTypestring0..1

(Haken)(Fehler)
see Generic elements for Legal & Fiscal messaging#Persons
1The legal or individual person receiving this invoice
(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | InvoiceRecipientReminderCode


0..1

(Haken)(Fehler)
@Codeprotel CodeType0..1

(Haken)(Fehler)
@Descriptionstring0..1

(Haken)(Fehler)
@PrimaryIndboolean0..1

(Haken)(Fehler)
@Inactiveboolean1

(Haken)(Fehler)
@CurrencyCodeAlphaLength30..1

(Haken)(Fehler)

IO_InvoiceFiscalizeNotifRQ | Invoice | InvoiceRecipientReminderCode | Level


1..10

(Haken)(Fehler)
@Stepinteger1

(Haken)(Fehler)
@Feedecimal1

(Haken)(Fehler)
@Daysinteger1

(Haken)(Fehler)


IO_InvoiceFiscalizeNotifRS

Element | @AttributeTypeNumDescription OutboundComments + Contents outboundpAirOnPrem

IO_InvoiceFiscalizeNotifRS


1

(Haken)(Fehler)

@CorrelationID

StringLength1to641 Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.


(Haken)(Fehler)

@TimeStamp

 dateTime0..1

Indicates the creation date and time of the message in UTC using the format specified by ISO 8601 with time values using the 24-hour clock


(Haken)(Fehler)

@Version

 decimal0..1 For all OpenTravel versioned messages, the version of the message is indicated by a decimal value.


(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Successboolean0..1

(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Errorsboolean0..1

(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Errors | Resultstring0..nSend one or more errors, that prevented successful message processing
(Haken)(Fehler)
@CodeOTA_CodeType ERR0..1Code of the errorError Codes (ERR)(Haken)(Fehler)
@ReferenceCodestring0..1Refer to the identifier of business in RQ message
(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Errors | Result | Messagestring0..1

(Haken)(Fehler)
@Valuestring1

(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Warningsboolean0..1

(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Warnings | Resultstring0..1

(Haken)(Fehler)
@CodeOTA_CodeType ERR0..1Code of the warningError Codes (ERR)(Haken)(Fehler)
@ReferenceCodestring0..1Refer to the identifier of business in RQ message
(Haken)(Fehler)
IO_InvoiceFiscalizeNotifRS | Warnings | Result | Messagestring0..1

(Haken)(Fehler)
@Valuestring1

(Haken)(Fehler)