POST 17.0/app/accounts/createreceipt

Description

Creates a receipt by grouping one or more transactions (and optionally an overpayment) for a specific contact, company, and property.

URI Parameters

None.

Contains contact ID, company ID, property ID, list of transaction IDs to include in the receipt, and optional overpayment transaction ID.

Name Description Type Additional information
CompanyId

integer

None.

ContactId

integer

None.

PropertyId

integer

None.

OverpaymentTransactionId

integer

None.

TransactionIds

Collection of integer

None.

application/json, text/json

Sample:
{
  "companyId": 1,
  "contactId": 2,
  "propertyId": 3,
  "overpaymentTransactionId": 4,
  "transactionIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CreateReceiptRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyId>1</CompanyId>
  <ContactId>2</ContactId>
  <PropertyId>3</PropertyId>
  <OverpaymentTransactionId>4</OverpaymentTransactionId>
  <TransactionIds>
    <int>1</int>
    <int>2</int>
  </TransactionIds>
</CreateReceiptRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

The database-generated ID of the newly created receipt.

integer

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>