- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hi
In visma.net there is one setting for numbering of invoice etc, which says manul numbering when making an import. (they have automatic numbering when creating in gui)
Is it then possible to push a custom invoice number for the invoice when creating an invoice through the API?
I have tried by setting the field ReferenceNumber when posting the invoice, but it doesn't get the result I expect. The invoice number is still getting set by visma and not through the values from the API request.
Gabriella Hennings
Cloud Connection AB
Solved! Go to Solution.
- Categories:
-
API:NumberSeries
Hello,
This feature is currently available on the following endpoints, so please make sure you are using the "overrideNumberseries" on POST CustomerInvoice V2.
POST Customer |
POST CustomerDebitNote V2 |
POST SalesOrder |
POST Supplier |
POST Journal Transaction V2 |
POST PurchaseOrder |
POST Supplier Invoice |
POST CustomerCreditNote V2 |
POST CustomerInvoice V2 |
Visma.net Financials API updates for version 8.25 (September 2020)
You are now able to override the number series of a customer invoice by specifying the field overrideNumberSeries=true when creating a customer invoice. This functionality has to be enabled in the Number series (CS201010) window by selecting option Allow manual numbering on imports. You also can specify a longer customer invoice number when using overrideNumberSeries than what is specified in number series for customer invoice.
1-Set Allow manual numbering on imports = true on the UI
2-Set
"overrideNumberSeries": { "value": true },3-Add
"referenceNumber": { "value": "string" },
Hi,
To be able to not use the automatic number series when posting via the API you need to include the field:
"overrideNumberSeries": { "value": true },
This allow you to post the invoice with the number you specify in the referenceNumber field.
