cancel
Showing results for 
Search instead for 
Did you mean: 
My Areas

Sign in

Sign in or create a new user to get relevant areas automatically added to your areas.

Highlighted
CONTRIBUTOR *

How to create a voucher that replicates a manual external invoice

As described in this KB article, https://community.visma.com/t5/Brukertips-i-Visma-eAccounting/Manuell-reskontro-Faktura-fra-tidliger...

 

We need to create "invoices" in EA through the API that has external invoice numbers.

What would be the way of doing this through the API? Can it be done with a single "VouchersV2" call?

 

thank you for any guidance!

 

1 REPLY 1
Highlighted
MODERATOR

Re: How to create a voucher that replicates a manual external invoice

Hello!

In order to create invoices in eAccounting with the external invoice number, you can use customerledgeritemswithvoucher endpoint

POST /v2/customerledgeritems/customerledgeritemswithvoucher

endpoint.png

with this endpoint, it is possible to define invoice number, and it will generate a voucher for You 😃

More information can be found in Swagger documentation: 

https://eaccountingapi.vismaonline.com/swagger/ui/index#!/CustomerLedgerItemsV2/CustomerLedgerItemsV...

 

Hope this helps!