POST company/Invoice/{invoiceId}/Lines/Update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
invoiceId

integer

Required

Body Parameters

Collection of InvoiceLineDto
NameDescriptionTypeAdditional information
InvoiceLineId

integer

None.

InvoiceId

integer

None.

LineNumber

integer

None.

LineType

InvoiceLineType

None.

Description

string

None.

Quantity

decimal number

None.

UnitPrice

decimal number

None.

LineSubtotal

decimal number

None.

DiscountAmount

decimal number

None.

TaxableAmount

decimal number

None.

TaxAmount

decimal number

None.

LineTotal

decimal number

None.

AuditId

integer

None.

TemplateId

integer

None.

LocationId

integer

None.

TaxRateId

integer

None.

TaxRatePercent

decimal number

None.

IsDeleted

boolean

None.

CreatedByUserId

integer

None.

CreatedOn

date

None.

ModifiedByUserId

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "InvoiceLineId": 1,
    "InvoiceId": 2,
    "LineNumber": 3,
    "LineType": 0,
    "Description": "sample string 4",
    "Quantity": 5.0,
    "UnitPrice": 6.0,
    "LineSubtotal": 7.0,
    "DiscountAmount": 8.0,
    "TaxableAmount": 9.0,
    "TaxAmount": 10.0,
    "LineTotal": 11.0,
    "AuditId": 1,
    "TemplateId": 1,
    "LocationId": 1,
    "TaxRateId": 1,
    "TaxRatePercent": 1.0,
    "IsDeleted": true,
    "CreatedByUserId": 13,
    "CreatedOn": "2026-06-01T14:45:47.5579748-04:00",
    "ModifiedByUserId": 1,
    "ModifiedOn": "2026-06-01T14:45:47.5579748-04:00"
  },
  {
    "InvoiceLineId": 1,
    "InvoiceId": 2,
    "LineNumber": 3,
    "LineType": 0,
    "Description": "sample string 4",
    "Quantity": 5.0,
    "UnitPrice": 6.0,
    "LineSubtotal": 7.0,
    "DiscountAmount": 8.0,
    "TaxableAmount": 9.0,
    "TaxAmount": 10.0,
    "LineTotal": 11.0,
    "AuditId": 1,
    "TemplateId": 1,
    "LocationId": 1,
    "TaxRateId": 1,
    "TaxRatePercent": 1.0,
    "IsDeleted": true,
    "CreatedByUserId": 13,
    "CreatedOn": "2026-06-01T14:45:47.5579748-04:00",
    "ModifiedByUserId": 1,
    "ModifiedOn": "2026-06-01T14:45:47.5579748-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInvoiceLineDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices">
  <InvoiceLineDto>
    <AuditId>1</AuditId>
    <CreatedByUserId>13</CreatedByUserId>
    <CreatedOn>2026-06-01T14:45:47.5579748-04:00</CreatedOn>
    <Description>sample string 4</Description>
    <DiscountAmount>8</DiscountAmount>
    <InvoiceId>2</InvoiceId>
    <InvoiceLineId>1</InvoiceLineId>
    <IsDeleted>true</IsDeleted>
    <LineNumber>3</LineNumber>
    <LineSubtotal>7</LineSubtotal>
    <LineTotal>11</LineTotal>
    <LineType>Unknown</LineType>
    <LocationId>1</LocationId>
    <ModifiedByUserId>1</ModifiedByUserId>
    <ModifiedOn>2026-06-01T14:45:47.5579748-04:00</ModifiedOn>
    <Quantity>5</Quantity>
    <TaxAmount>10</TaxAmount>
    <TaxRateId>1</TaxRateId>
    <TaxRatePercent>1</TaxRatePercent>
    <TaxableAmount>9</TaxableAmount>
    <TemplateId>1</TemplateId>
    <UnitPrice>6</UnitPrice>
  </InvoiceLineDto>
  <InvoiceLineDto>
    <AuditId>1</AuditId>
    <CreatedByUserId>13</CreatedByUserId>
    <CreatedOn>2026-06-01T14:45:47.5579748-04:00</CreatedOn>
    <Description>sample string 4</Description>
    <DiscountAmount>8</DiscountAmount>
    <InvoiceId>2</InvoiceId>
    <InvoiceLineId>1</InvoiceLineId>
    <IsDeleted>true</IsDeleted>
    <LineNumber>3</LineNumber>
    <LineSubtotal>7</LineSubtotal>
    <LineTotal>11</LineTotal>
    <LineType>Unknown</LineType>
    <LocationId>1</LocationId>
    <ModifiedByUserId>1</ModifiedByUserId>
    <ModifiedOn>2026-06-01T14:45:47.5579748-04:00</ModifiedOn>
    <Quantity>5</Quantity>
    <TaxAmount>10</TaxAmount>
    <TaxRateId>1</TaxRateId>
    <TaxRatePercent>1</TaxRatePercent>
    <TaxableAmount>9</TaxableAmount>
    <TemplateId>1</TemplateId>
    <UnitPrice>6</UnitPrice>
  </InvoiceLineDto>
</ArrayOfInvoiceLineDto>

multipart/form-data

Sample:
<ArrayOfInvoiceLineDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices"><InvoiceLineDto><AuditId>1</AuditId><CreatedByUserId>13</CreatedByUserId><CreatedOn>2026-06-01T14:45:47.5579748-04:00</CreatedOn><Description>sample string 4</Description><DiscountAmount>8</DiscountAmount><InvoiceId>2</InvoiceId><InvoiceLineId>1</InvoiceLineId><IsDeleted>true</IsDeleted><LineNumber>3</LineNumber><LineSubtotal>7</LineSubtotal><LineTotal>11</LineTotal><LineType>Unknown</LineType><LocationId>1</LocationId><ModifiedByUserId>1</ModifiedByUserId><ModifiedOn>2026-06-01T14:45:47.5579748-04:00</ModifiedOn><Quantity>5</Quantity><TaxAmount>10</TaxAmount><TaxRateId>1</TaxRateId><TaxRatePercent>1</TaxRatePercent><TaxableAmount>9</TaxableAmount><TemplateId>1</TemplateId><UnitPrice>6</UnitPrice></InvoiceLineDto><InvoiceLineDto><AuditId>1</AuditId><CreatedByUserId>13</CreatedByUserId><CreatedOn>2026-06-01T14:45:47.5579748-04:00</CreatedOn><Description>sample string 4</Description><DiscountAmount>8</DiscountAmount><InvoiceId>2</InvoiceId><InvoiceLineId>1</InvoiceLineId><IsDeleted>true</IsDeleted><LineNumber>3</LineNumber><LineSubtotal>7</LineSubtotal><LineTotal>11</LineTotal><LineType>Unknown</LineType><LocationId>1</LocationId><ModifiedByUserId>1</ModifiedByUserId><ModifiedOn>2026-06-01T14:45:47.5579748-04:00</ModifiedOn><Quantity>5</Quantity><TaxAmount>10</TaxAmount><TaxRateId>1</TaxRateId><TaxRatePercent>1</TaxRatePercent><TaxableAmount>9</TaxableAmount><TemplateId>1</TemplateId><UnitPrice>6</UnitPrice></InvoiceLineDto></ArrayOfInvoiceLineDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.