Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 2 Nächste Version anzeigen »

POS is the system used to issue the invoice to the customer.
Fiscal service is the system handling fiscal obligations as part or on behalf of the respective tax authority.


Message Description

Message from Fiscal Service to be received at the POS

The message received must hold data from the tax authority (or a system acting as deputy) which is needed to fulfil fiscalization requirements (codes to assign to an invoice).

Basic message structure description

Header data

  • CorrelationID of message exchange
  • Timestamp of sending
  • Version of message type

Process data

  • Success flag
  • Error list
  • Warning list

Identification data

  • Hotel ID
  • Provider ID
  • Invoice ID from provider

Invoice and fiscal data

  • Invoice code
  • Fiscal code (number range)
  • Fiscal closure info (number range to be combined w/ fiscal code)
  • Fiscal signature data (cryptographically checksums)
    • Signature label
    • Signature data
    • Signature type
    • Signature format
  • Notes (Label)



Message to be received at the POS (IO_InvoiceFiscalizeRS)

Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<p:IO_InvoiceFiscalizeRS xmlns:p="http://protel.io/soap" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:htng="http://htng.org/2014B" InvoiceVoidedInd="false" CorrelationID="INV#000102#CLOSE#000262#1547047465014#69A5" Version="1.0" TimeStamp="2019-01-09T15:24:25Z">
    <p:Success>true</p:Success>
    <p:Warnings>
        <p:Result Code="1" ReferenceCode="19289">
            <p:Message>Invoice in request not balanced.</p:Message>
        </p:Result>
    </p:Warnings>
    <p:UniqueID Type="Invoice" ID="19289" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Hotel" ID="9787" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Tenant" ID="ROFISCPROV" ID_Context="io.protel.air"/>
    <p:FiscalCode>993</p:FiscalCode>
    <p:FiscalClosureID>ft3E1</p:FiscalClosureID>
    <p:FiscalNotes>ACK Servicii WEB ANAF</p:FiscalNotes>
    <p:FiscalSignatures>
        <p:Signature Type="RO_QRCODE" Format="QR_CODE">
            <p:Data>7e038d0921f0_8Y5SOPiFXOM=_JsQ3VlmQKNcTmM3D8SQ4SDPDhoIzNICorzuUFZNOqRJ2YcSajkMaVgpafByhB3l2yt7pdHin89A8KYtyQCQ44A==</p:Data>
            <p:Label>QR-Code</p:Label>
        </p:Signature>
        <p:Signature Type="RO_HASH" Format="TEXT_CODE">
            <p:Data>ft3E0#992_zRMeYeA=</p:Data>
            <p:Label>Internal</p:Label>
        </p:Signature>
    </p:FiscalSignatures>
</p:IO_InvoiceFiscalizeRS>

Field description table

IO_InvoiceFiscalizeRS

Element countAdditional Information
see Generic elements for Legal & Fiscal messaging#GenericElements
Mandatory Message headers



IO_InvoiceFiscalizeRS/UniqueID

1..10
see Generic elements for Legal & Fiscal messaging#Businessobjects
Mandatory Reference IDs



IO_InvoiceFiscalizeRS/FiscalCode

0..1


Text (number) to display on invoice

IO_InvoiceFiscalizeRS/FiscalClosureID

0..1


Text (number) to display on invoice

IO_InvoiceFiscalizeRS/FiscalNotes

0..1


Text (number) to display on invoice

IO_InvoiceFiscalizeRS/FiscalSignatures

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

IO_InvoiceFiscalizeRS/FiscalSignatures/Signature

1..10
@Type1Type of signature algorithm
@Format1Format of signature created
@Timestamp1ISO timestamp of signature creation

IO_InvoiceFiscalizeRS/FiscalSignatures/Signature/Label

1


Description of signature created

IO_InvoiceFiscalizeRS/FiscalSignatures/Signature/Data

1


Actual data of signature

IO_InvoiceFiscalizeRS/Invoice

0..1(Optional) Copy of invoice data sent with RQ
see IO_InvoiceFiscalizeRQ message description#Invoice

IO_InvoiceFiscalizeRS/Terminal

0..1(Optional) Copy of Terminal data send with RQ
see Messages from POS to Fiscal Service#IO_InvoiceFiscalizeRQ/Terminal





  • Keine Stichwörter