POST api/Invoices/InvoiceExternalReferenceData

Creates InvoiceExternalReferenceData record for given invoice

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials

Returns:
200 OK - If Invoice is found and SyncImInvoiceExternalReferenceData record has been created
400 BadRequest - If both InvoiceNo and InvoiceGuid is sent but not matching
401 Unauthorized - If credentials are invalid
404 NotFound - If invoice is not found

Request Information

URI Parameters

None.

Body Parameters

InvoiceExternalReferenceData
NameDescriptionTypeAdditional information
IDSeq

string

None.

Guid

string

None.

RowCreatedDate

date

None.

Deleted

boolean

None.

ImInvoiceGuid

string

None.

ImInvoicePositionGuid

string

None.

ImInvoiceAdditionalCostGuid

string

None.

InvoiceNo

string

Max length: 20

ExternalReference1

string

Max length: 50

ExternalReference2

string

Max length: 50

ExternalReference3

string

Max length: 50

ExternalReference4

string

Max length: 50

ExternalReference5

string

Max length: 50

ExternalReference6

string

Max length: 50

ExternalReference7

string

Max length: 50

ExternalReference8

string

Max length: 50

ExternalReference9

string

Max length: 50

ExternalReference10

string

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "IDSeq": "sample string 1",
  "Guid": "sample string 2",
  "RowCreatedDate": "2026-01-11T09:29:11.4766196+02:00",
  "Deleted": true,
  "ImInvoiceGuid": "sample string 5",
  "ImInvoicePositionGuid": "sample string 6",
  "ImInvoiceAdditionalCostGuid": "sample string 7",
  "InvoiceNo": "sample string 8",
  "ExternalReference1": "sample string 9",
  "ExternalReference2": "sample string 10",
  "ExternalReference3": "sample string 11",
  "ExternalReference4": "sample string 12",
  "ExternalReference5": "sample string 13",
  "ExternalReference6": "sample string 14",
  "ExternalReference7": "sample string 15",
  "ExternalReference8": "sample string 16",
  "ExternalReference9": "sample string 17",
  "ExternalReference10": "sample string 18"
}

application/xml, text/xml

Sample:
<InvoiceExternalReferenceData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IDSeq>sample string 1</IDSeq>
  <Guid>sample string 2</Guid>
  <RowCreatedDate>2026-01-11T09:29:11.4766196+02:00</RowCreatedDate>
  <Deleted>true</Deleted>
  <ImInvoiceGuid>sample string 5</ImInvoiceGuid>
  <ImInvoicePositionGuid>sample string 6</ImInvoicePositionGuid>
  <ImInvoiceAdditionalCostGuid>sample string 7</ImInvoiceAdditionalCostGuid>
  <InvoiceNo>sample string 8</InvoiceNo>
  <ExternalReference1>sample string 9</ExternalReference1>
  <ExternalReference2>sample string 10</ExternalReference2>
  <ExternalReference3>sample string 11</ExternalReference3>
  <ExternalReference4>sample string 12</ExternalReference4>
  <ExternalReference5>sample string 13</ExternalReference5>
  <ExternalReference6>sample string 14</ExternalReference6>
  <ExternalReference7>sample string 15</ExternalReference7>
  <ExternalReference8>sample string 16</ExternalReference8>
  <ExternalReference9>sample string 17</ExternalReference9>
  <ExternalReference10>sample string 18</ExternalReference10>
</InvoiceExternalReferenceData>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.