POST api/RetailInvoices/ModifyRetailInvoice

Request Information

URI Parameters

None.

Body Parameters

RetailInvoiceBaseHeader
NameDescriptionTypeAdditional information
InvoiceYear

integer

None.

ShopId

string

None.

EventType

string

None.

InvoiceBook

string

None.

InvoiceNumber

integer

None.

InternalInvoiceNumberMP

string

None.

NrOfInvoiceCopies

integer

None.

UniqueInvoiceID

string

None.

SecurityCodeOfInvoice

string

None.

RetailInvoicePaymentLines

RetailInvoicePaymentLines

None.

RetailInvoiceTaxCertifications

RetailInvoiceTaxCertifications

None.

RetailInvoicePOSTerminalLogs

RetailInvoicePOSTerminalLogs

None.

Request Formats

application/xml, text/xml

Sample:
<RetailInvoiceBaseHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <InvoiceYear>1</InvoiceYear>
  <ShopId>sample string 2</ShopId>
  <EventType>sample string 3</EventType>
  <InvoiceBook>sample string 4</InvoiceBook>
  <InvoiceNumber>5</InvoiceNumber>
  <InternalInvoiceNumberMP>sample string 6</InternalInvoiceNumberMP>
  <NrOfInvoiceCopies>7</NrOfInvoiceCopies>
  <UniqueInvoiceID>sample string 8</UniqueInvoiceID>
  <SecurityCodeOfInvoice>sample string 9</SecurityCodeOfInvoice>
  <RetailInvoicePaymentLines>
    <RetailInvoicePaymentLine>
      <PaymentLineNo>1</PaymentLineNo>
      <PaymentPurposeID>sample string 2</PaymentPurposeID>
      <PaymentAmount>1</PaymentAmount>
      <GiftCardID>sample string 3</GiftCardID>
    </RetailInvoicePaymentLine>
    <RetailInvoicePaymentLine>
      <PaymentLineNo>1</PaymentLineNo>
      <PaymentPurposeID>sample string 2</PaymentPurposeID>
      <PaymentAmount>1</PaymentAmount>
      <GiftCardID>sample string 3</GiftCardID>
    </RetailInvoicePaymentLine>
  </RetailInvoicePaymentLines>
  <RetailInvoiceTaxCertifications>
    <RetailInvoiceTaxCertification>
      <TaxYear>1</TaxYear>
      <TurnoverType>sample string 2</TurnoverType>
      <InvoiceBookID>sample string 3</InvoiceBookID>
      <InvoiceNumber>1</InvoiceNumber>
      <TaxLineNo>1</TaxLineNo>
      <TaxMessage>sample string 4</TaxMessage>
      <ApplicationID>sample string 5</ApplicationID>
    </RetailInvoiceTaxCertification>
    <RetailInvoiceTaxCertification>
      <TaxYear>1</TaxYear>
      <TurnoverType>sample string 2</TurnoverType>
      <InvoiceBookID>sample string 3</InvoiceBookID>
      <InvoiceNumber>1</InvoiceNumber>
      <TaxLineNo>1</TaxLineNo>
      <TaxMessage>sample string 4</TaxMessage>
      <ApplicationID>sample string 5</ApplicationID>
    </RetailInvoiceTaxCertification>
  </RetailInvoiceTaxCertifications>
  <RetailInvoicePOSTerminalLogs>
    <RetailInvoicePOSTerminalLog>
      <CardName>sample string 1</CardName>
      <LineNumber>2</LineNumber>
      <TerminalID>sample string 3</TerminalID>
      <CardType>sample string 4</CardType>
      <CardNumber>sample string 5</CardNumber>
      <Amount>1</Amount>
      <POSMessage>sample string 6</POSMessage>
      <ID>sample string 7</ID>
      <Slip>sample string 8</Slip>
      <Storno>sample string 9</Storno>
      <InsertedTime>2024-11-23T10:46:42.4754598+01:00</InsertedTime>
      <MPEcrID>sample string 10</MPEcrID>
      <MPErrorID>sample string 11</MPErrorID>
      <MPPOSResponse>sample string 12</MPPOSResponse>
      <MPWhen>2024-11-23T10:46:42.4754598+01:00</MPWhen>
    </RetailInvoicePOSTerminalLog>
    <RetailInvoicePOSTerminalLog>
      <CardName>sample string 1</CardName>
      <LineNumber>2</LineNumber>
      <TerminalID>sample string 3</TerminalID>
      <CardType>sample string 4</CardType>
      <CardNumber>sample string 5</CardNumber>
      <Amount>1</Amount>
      <POSMessage>sample string 6</POSMessage>
      <ID>sample string 7</ID>
      <Slip>sample string 8</Slip>
      <Storno>sample string 9</Storno>
      <InsertedTime>2024-11-23T10:46:42.4754598+01:00</InsertedTime>
      <MPEcrID>sample string 10</MPEcrID>
      <MPErrorID>sample string 11</MPErrorID>
      <MPPOSResponse>sample string 12</MPPOSResponse>
      <MPWhen>2024-11-23T10:46:42.4754598+01:00</MPWhen>
    </RetailInvoicePOSTerminalLog>
  </RetailInvoicePOSTerminalLogs>
</RetailInvoiceBaseHeader>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResult
NameDescriptionTypeAdditional information
ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</UpdateResult>