POST api/Invoice/ModifyInvoiceReferences

Request Information

URI Parameters

None.

Body Parameters

InvoiceReferencesHeader
NameDescriptionTypeAdditional information
InvoiceYear

integer

None.

InvoiceBook

string

None.

InvoiceNumber

integer

None.

References

InvoiceReferences

None.

Request Formats

application/xml, text/xml

Sample:
<InvoiceReferencesHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <InvoiceYear>1</InvoiceYear>
  <InvoiceBook>sample string 2</InvoiceBook>
  <InvoiceNumber>3</InvoiceNumber>
  <References>
    <Reference>
      <ReferenceNumber>1</ReferenceNumber>
      <DocumentType>sample string 1</DocumentType>
      <Year>1</Year>
      <BookID>sample string 2</BookID>
      <DocumentID>sample string 3</DocumentID>
      <Document>sample string 4</Document>
      <DocumentDate>2024-06-14T04:46:42.5218523+02:00</DocumentDate>
      <ReferenceType>1</ReferenceType>
      <EInvoice>true</EInvoice>
    </Reference>
    <Reference>
      <ReferenceNumber>1</ReferenceNumber>
      <DocumentType>sample string 1</DocumentType>
      <Year>1</Year>
      <BookID>sample string 2</BookID>
      <DocumentID>sample string 3</DocumentID>
      <Document>sample string 4</Document>
      <DocumentDate>2024-06-14T04:46:42.5218523+02:00</DocumentDate>
      <ReferenceType>1</ReferenceType>
      <EInvoice>true</EInvoice>
    </Reference>
  </References>
</InvoiceReferencesHeader>

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>