Create Record Invoices

Adds or links invoices to a given record.

Resource Information

Scope records

Deprecated scope name:   create_invoice

App Type All
Authorization Type Access token
URI /v4/records/{recordId}/invoices?lang={lang}&fields={fields}
HTTP Method POST
Automation Version(s) 7.3.3.2

Request Information

Field or Parameter Type Required Values Description Automation Version
fields string No   Comma-delimited names of fields to be returned in the response. Note: Field names are case-sensitive and only first-level fields are supported. Invalid field names are ignored. 7.3.3.2
lang String No   Indicates the language applied. 7.3.3.2
recordId string Yes Get All Records Search Records Get My Records The unique ID associated with a record. 7.3.3.2
invoiceFeeId[] integer Yes An array of invoice fee IDs to be added to the record. 7.3.3.2

Example

Sample Request Head

POST https://apis.accela.com/v4/records/APIAUTO-REC17-00000-0006D/invoices

Sample Request Body

[
  14985489
]

Response Information

Field Type Description Automation Version
result result{}   7.3.3.2
result.code string A code identifying an associated item 7.3.3.2
result.id string The unique identifier for the object, assigned by the Civic Platform server and provided in a response. 7.3.3.2
result.isSuccess boolean Indicates whether or not the operation on the item is successful. 7.3.3.2
result.message string A text message related to the operation. 7.3.3.2
status integer The request status. 7.3.3.2

Example

Sample Response Body

{
  "status":200,
  "result":{
    "code":"0",
    "id":193}
}