PUT Invoices/Invoice/v2/Finalize

Request Information

URI Parameters

None.

Body Parameters

InvoiceFinalizeBatchDTO
NameDescriptionTypeAdditional information
PostingDate

date

None.

ClientInvoices

Collection of ClientInvoicesFinalizeDTO

None.

InvoiceBatchIdentifier

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "postingDate": "2024-12-04T08:04:38.2478075+00:00",
  "clientInvoices": [
    {
      "clientID": 1,
      "invoiceIDs": [
        1,
        2
      ],
      "invoiceBatchIdentifier": "754e1e7a-f11a-4d90-b6bb-158b503ac973"
    },
    {
      "clientID": 1,
      "invoiceIDs": [
        1,
        2
      ],
      "invoiceBatchIdentifier": "754e1e7a-f11a-4d90-b6bb-158b503ac973"
    }
  ],
  "invoiceBatchIdentifier": "ad5164de-f60d-4b54-be00-73747c65c90b"
}

application/xml, text/xml

Sample:
<InvoiceFinalizeBatchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Billings.Models">
  <ClientInvoices>
    <ClientInvoicesFinalizeDTO>
      <ClientID>1</ClientID>
      <InvoiceBatchIdentifier>754e1e7a-f11a-4d90-b6bb-158b503ac973</InvoiceBatchIdentifier>
      <InvoiceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </InvoiceIDs>
    </ClientInvoicesFinalizeDTO>
    <ClientInvoicesFinalizeDTO>
      <ClientID>1</ClientID>
      <InvoiceBatchIdentifier>754e1e7a-f11a-4d90-b6bb-158b503ac973</InvoiceBatchIdentifier>
      <InvoiceIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </InvoiceIDs>
    </ClientInvoicesFinalizeDTO>
  </ClientInvoices>
  <InvoiceBatchIdentifier>ad5164de-f60d-4b54-be00-73747c65c90b</InvoiceBatchIdentifier>
  <PostingDate>2024-12-04T08:04:38.2478075+00:00</PostingDate>
</InvoiceFinalizeBatchDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
���=�@F�2���]fY�������C71`��Nfᑼ�����{_����'8�Ø�Cm�$IF!�xK�!6y���K�jEd� J����'0��j0"��6M�r"��/�����LS��e�i�QDm��"���ΡP�S�[_����_6(Qp����bt�u�Y�B���OS�B�M

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/x-compressed-json

Sample:

Sample not available.