My Products
Help
iizy
CONTRIBUTOR ***

Posting / booking ledger transactions in accounting system

by iizy

Good morning,

Currently we import ledger transactions to Visma business Nxt using Batches (batch_create) along with vouchers (voucher_create).

But due to this, a customer needs to post these transactions (drafts) manually in accounting system.

 

I'm wondering if ledger transactions can be posted automatically via API?

 

 

 

 

1 REPLY 1
Accepted solution
omelhus
PARTNER

by omelhus

Hey,

 

You can just update the batch after voucher_create.

 

mutation UpdateBatch($companyNo: Int, $batchNo: Int!) {
  useCompany(no: $companyNo) {
    batch_processings {
      updateBatch(filter: {batchNo: {_eq: $batchNo}}) {
        succeeded
      }
    }
  }
}