My Products
Help
Dante Cavallin
CONTRIBUTOR *

Issue when creating CustomeInvoice

by Dante Cavallin

I am in the process of developing a new integration against VismaNet and I get the following error when trying to create a customer invoice:

 

uri: /controller/api/v2/customerinvoice
method : POST

 

{"message":"VismaId: 40aa17ec-a0cc-4a6d-9dcf-72aa20502126. Error creating document. CS error: Unable to generate the next number. Manual numbering is activated for 'ARINVOICE'."}

 

1 REPLY 1
Accepted solution
Yıldırım
VISMA

by Yıldırım

Hello, 

in accordance with the error message, manual numbering is enabled for the "CustomerInvoice" on the company that you send the request, therefore you should include 

 "referenceNumber": {
    "value": "string"
  },

 in the payload. 

 

This setting can be found in the Financials ERP UI - Number Series <ScreenId=CS201010>

Number series.jpg