POST company/Invoice/Payment/Apply

Request Information

URI Parameters

None.

Body Parameters

InvoicePaymentDto
NameDescriptionTypeAdditional information
InvoicePaymentId

integer

None.

InvoiceId

integer

None.

PaymentDate

date

None.

Amount

decimal number

None.

CurrencyCode

string

None.

ExchangeRateToInvoice

decimal number

None.

PaymentMethod

PaymentMethod

None.

ReferenceNumber

string

None.

Notes

string

None.

CreatedByUserId

integer

None.

CreatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoicePaymentId": 1,
  "InvoiceId": 2,
  "PaymentDate": "2026-06-01T14:45:40.84804-04:00",
  "Amount": 4.0,
  "CurrencyCode": "sample string 5",
  "ExchangeRateToInvoice": 1.0,
  "PaymentMethod": 1,
  "ReferenceNumber": "sample string 6",
  "Notes": "sample string 7",
  "CreatedByUserId": 8,
  "CreatedOn": "2026-06-01T14:45:40.84804-04:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<InvoicePaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices">
  <Amount>4</Amount>
  <CreatedByUserId>8</CreatedByUserId>
  <CreatedOn>2026-06-01T14:45:40.84804-04:00</CreatedOn>
  <CurrencyCode>sample string 5</CurrencyCode>
  <ExchangeRateToInvoice>1</ExchangeRateToInvoice>
  <InvoiceId>2</InvoiceId>
  <InvoicePaymentId>1</InvoicePaymentId>
  <IsDeleted>true</IsDeleted>
  <Notes>sample string 7</Notes>
  <PaymentDate>2026-06-01T14:45:40.84804-04:00</PaymentDate>
  <PaymentMethod>Cash</PaymentMethod>
  <ReferenceNumber>sample string 6</ReferenceNumber>
</InvoicePaymentDto>

multipart/form-data

Sample:
<InvoicePaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Invoices"><Amount>4</Amount><CreatedByUserId>8</CreatedByUserId><CreatedOn>2026-06-01T14:45:40.84804-04:00</CreatedOn><CurrencyCode>sample string 5</CurrencyCode><ExchangeRateToInvoice>1</ExchangeRateToInvoice><InvoiceId>2</InvoiceId><InvoicePaymentId>1</InvoicePaymentId><IsDeleted>true</IsDeleted><Notes>sample string 7</Notes><PaymentDate>2026-06-01T14:45:40.84804-04:00</PaymentDate><PaymentMethod>Cash</PaymentMethod><ReferenceNumber>sample string 6</ReferenceNumber></InvoicePaymentDto>

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.