Sign in

Create general ledger booking

documented

Create a general ledger booking/batch.

POST /api/latest/clients/{clientname}/glGeneral ledgerno 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://service.runmyaccounts.com/api/latest/clients/{{$clientname}}/gl" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-RMA-KEY: {{RUNMYACCOUNTS_API_KEY}}" \
  -d '{"batch_number":"{{$batch_number}}","transdate":"{{$transdate}}","description":"{{$description}}","currency":"CHF","exchangerate":{{$exchangerate}},"gl_transactions":{"gl_transaction":[{"accno":"{{$debit_accno}}","debit_amount":{{$debit_amount}},"credit_amount":0},{"accno":"{{$credit_accno}}","debit_amount":0,"credit_amount":{{$credit_amount}}}]}}'
Create general ledger booking · runmyaccounts · OpenIntegrations