Versionen im Vergleich

Schlüssel

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

...

Auszug

Message to be received at the POS (IO_InvoiceFiscalizeRS)

Example w/ FiscalCode only

Codeblock
<?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" CorrelationID="INV#2100172#CLOSE#000001#1582133852649#C089" Version="1.0" TimeStamp="2020-02-19T17:37:32Z">
    <p:Success>true</p:Success>
    <p:UniqueID Type="Invoice" ID="1279" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Hotel" ID="2878" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Tenant" ID="ROFISCPROV" ID_Context="io.protel.air"/>
    <p:ExternalTerminal TerminalName="ro.bit-soft.fiscal-legal">
        <p:URL>https://pairfiscal.bit-soft.ro/protel/</p:URL>
        <p:Location>BitsoftHQ</p:Location>
    </p:ExternalTerminal>
    <p:ExternalFiscalDate>2020-02-19T18:37:32+01:00</p:ExternalFiscalDate>
    <p:ExternalFiscalCode>ft3E1</p:ExternalFiscalCode>
    <p:ExternalFiscalClosingID>993</p:ExternalFiscalClosingID>
    <p:ExternalFiscalNotes>ACK Servicii WEB ANAF</p:ExternalFiscalNotes>
</p:IO_InvoiceFiscalizeRS>


Example w/ FiscalCode and multiple Signature elements

Codeblock
languagexml
themeEmacs
collapsetrue
<?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#69A5INV#2100172#CLOSE#000001#1582133852649#C089" Version="1.0" TimeStamp="20192020-0102-09T1519T17:2437:25Z32Z">
    <p:Success>true</p:Success>
    <p:Warnings>
        <p:Result Code="1" ReferenceCode="192891279">
            <p:Message>Invoice in request not balanced.</p:Message>
        </p:Result>
    </p:Warnings>
    <p:UniqueID Type="Invoice" ID="192891279" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Hotel" ID="97872878" ID_Context="io.protel.air"/>
    <p:UniqueID Type="Tenant" ID="ROFISCPROV" ID_Context="io.protel.air"/>
    <p:ExternalTerminal TerminalName="ro.bit-soft.fiscal-legal">
        <p:URL>https://pairfiscal.bit-soft.ro/protel/</p:URL>
        <p:Location>BitsoftHQ</p:Location>
    <p:FiscalCode>993<</p:ExternalTerminal>
    <p:ExternalFiscalDate>2020-02-19T18:37:32+01:00</p:ExternalFiscalDate>
    <p:ExternalFiscalCode>ft3E1</p:FiscalCode>ExternalFiscalCode>
    <p:FiscalClosureID>ft3E1<ExternalFiscalClosingID>993</p:FiscalClosureID>ExternalFiscalClosingID>
    <p:FiscalNotes>ACKExternalFiscalNotes>ACK Servicii WEB ANAF</p:FiscalNotes>ExternalFiscalNotes>
    <p:FiscalSignatures>ExternalFiscalSignatures>
        <p:Signature Type="ZOIRO_SLOVENIAQRCODE" Format="IO_SIG_FORMAT_INTEGER" Timestamp="2020-01-31T22:21:01+03:00"QR_CODE">
            <p:Data>964798465265672529879<Data>7e038d0921f0_8Y5SOPiFXOM=_JsQ3VlmQKNcTmM3D8SQ4SDPDhoIzNICorzuUFZNOqRJ2YcSajkMaVgpafByhB3l2yt7pdHin89A8KYtyQCQ44A==</p:Data>
            <p:Label>ZOI - Bureau Fiscal Slovenia<Label>QR-Code</p:Label>
        </p:Signature>
        <p:Signature Type="EFSTA_SIG_TYPE_BKPRO_HASH" Format="EFSTA_SIG_FORMAT_TEXT" Timestamp="2020-01-31T22:21:01+03:00"TEXT_CODE">
            <p:Data>QKNcTmM3D8SQ4SDPDhoIzNICorzuUFZNOqRJ2YcSajkMaVgpafByhB3l2yt7pdHin89A8K<Data>ft3E0#992_zRMeYeA=</p:Data>
            <p:Label>QR-Code<Label>Internal</p:Label>
        </p:Signature>
        <p:Signature Type="ROZOI_HASHSLOVENIA" Format="IO_SIG_FORMAT_TEXT" Timestamp="2020-01-31T22:21:01+03:00"HEX">
            <p:Data>ft3E0#992<Data>123456789012345678901234567890AB</p:Data>
            <p:Label>Internal<Label>HexZoi</p:Label>
        </p:Signature>
        <p:Signature Type="FT_SIG_TYPE_AT_RKSV_BZOI_SLOVENIA" Format="IO_SIG_FORMAT_BASE64" Timestamp="2020-01-31T22:21:01+03:00">   	  DECIMAL">
            <p:Data>tdtbFKhIlww0CLb26ETKTlED...8x2y/MzuiyYBlWEDg0Mzx4j+jVq/PWLH+DXa+Ab4C4cYT8v9zCg+4ZVkGhZxa22uQHXt952+b9XDP4/P+xuJMhAAA=</Data>12345678901234567890123456789045</p:Data>
            <p:Label>Internal<Label>DecimalZoi</p:Label>
        </p:Signature>
    </p:FiscalSignatures>ExternalFiscalSignatures>
</p:IO_InvoiceFiscalizeRS>

Field description table

IO_InvoiceFiscalizeRS

Element countAdditional InformationValid values
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/ExternalFiscalCode

0..1



Text (number) to display on invoice

IO_InvoiceFiscalizeRS/ExternalFiscalClosingID

0..1



Text (number) to display on invoice

IO_InvoiceFiscalizeRS/FiscalNotes

0..1



Textual information regarding the fiscalization process

IO_InvoiceFiscalizeRS/ExternalFiscalSignatures

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

IO_InvoiceFiscalizeRS/ExternalFiscalSignatures/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 (Binary data must be Base64 encoded)

IO_InvoiceFiscalizeRS/Invoice

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


IO_InvoiceFiscalizeRS/ExternalTerminal

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




...