Create a journal entry

Creates a journal entry.

SecuritySecretApiKey or JWT
Request
Request Body schema: application/json

Journal entry resource.

required
object
startDate
string <date>
endDate
string <date>
currency
required
string = 3 characters

Currency of the journal record revenue.

description
string
Responses
201

Journal entry created.

Response Headers
Location
string <uri>

Location of the related resource.

Example: "https://api.rebilly.com/example"
Response Schema: application/json
required
object
startDate
string <date>
endDate
string <date>
currency
required
string = 3 characters

Currency of the journal record revenue.

id
string <= 50 characters

ID of the journal entry.

description
string
createdTime
string <date-time> (CreatedTime)

Date and time which is set automatically when the resource is created.

updatedTime
string <date-time> (UpdatedTime)

Date and time which updates automatically when the resource is updated.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

post/journal-entries
Request samples
application/json
{
  • "period": {
    },
  • "currency": "USD",
  • "description": "string"
}
Response samples
application/json
{
  • "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
  • "period": {
    },
  • "currency": "USD",
  • "description": "string",
  • "createdTime": "2019-08-24T14:15:22Z",
  • "updatedTime": "2019-08-24T14:15:22Z"
}