POST 17.0/app/accounts/createinvoice

Description

Creates a new invoice by grouping specified transactions.

URI Parameters

None.

Contains invoice details and transaction IDs to include.

Name Description Type Additional information
TransactionIds

Collection of integer

None.

CompanyId

integer

None.

ContactId

integer

None.

PropertyId

integer

None.

InvoiceDate

date

None.

application/json, text/json

Sample:
{
  "transactionIds": [
    1,
    2
  ],
  "companyId": 1,
  "contactId": 2,
  "propertyId": 3,
  "invoiceDate": "2026-01-27T10:07"
}

application/xml, text/xml

Sample:
<CreateInvoiceRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TransactionIds>
    <int>1</int>
    <int>2</int>
  </TransactionIds>
  <CompanyId>1</CompanyId>
  <ContactId>2</ContactId>
  <PropertyId>3</PropertyId>
  <InvoiceDate>2026-01-27T10:07:55.350401+00:00</InvoiceDate>
</CreateInvoiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

The unique identifier of the created invoice.

integer

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>