PUT
/
v0
/
journal-entries
/
{journal_entry_id}
Authorization
Header
Path
Body
curl --request PUT \
  --url https://api.sandbox.teal.dev/v0/journal-entries/{journal_entry_id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'teal-instance-id: <teal-instance-id>' \
  --data '{
  "datetime": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "line_entry_changes": {
    "create": [],
    "delete": [],
    "update": []
  }
}'
{
  "datetime": "2022-01-01T00:00:00Z",
  "description": "Payment of legal fees",
  "id": "C4ocnUQze8kDwQ3EczkZXn"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

journal_entry_id
string
required

Journal entry ID

Body

application/json
datetime
string
required

The date that the journal entry occurred

description
string
required

A description of the journal entry

line_entry_changes
object
required

Line entries in the journal entry

Response

201 - application/json
datetime
string
required

Date that the journal entry occurred

description
string
required
id
string
required