POST 17.0/app/transactions/statementinvoicepdf

Description

Generates a PDF invoice for a specific statement and contact.

URI Parameters

None.

The request containing ContactId, StatementId, and CompanyId.

Name Description Type Additional information
ContactId

integer

None.

StatementId

integer

None.

CompanyId

integer

None.

application/json, text/json

Sample:
{
  "contactId": 1,
  "statementId": 2,
  "companyId": 3
}

application/xml, text/xml

Sample:
<StatementInvoiceRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ContactId>1</ContactId>
  <StatementId>2</StatementId>
  <CompanyId>3</CompanyId>
</StatementInvoiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

A PDF file as an attachment if an invoice exists; otherwise, a BadRequest response.

None.

application/json, text/json

Sample:

Sample not available.