Sign in

Update journal

documented

Update a journal.

PUT /Journal/{id}Journalsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.saasu.com/v1/Journal/{{$journal_id}}?FileId={{$file_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"Items": [{"Type": "{{$item_type}}", "AccountId": {{$item_account_id}}, "TaxCode": "{{$item_tax_code}}", "Amount": {{$item_amount}}}], "Notes": "{{$notes}}", "TransactionDate": "{{$transaction_date}}", "Summary": "{{$summary}}", "Currency": "{{$currency}}", "FxRate": {{$fx_rate}}, "AutoPopulateFxRate": {{$auto_populate_fx_rate}}, "Reference": "{{$reference}}", "JournalContactId": {{$journal_contact_id}}, "Tags": ["{{$tag1}}", "{{$tag2}}"]}'