My Products
Help
Snuffsis
CONTRIBUTOR ***

Error creating supplierinvoice: "Supplier Currency and Base currency are identical"

by Snuffsis

Hi,

 

I am receiving an odd error that says, as the title mentions, that the "Supplier currencty and the Base currency are Identical".

I have been looking at what we are sending in and i can't find any issues, except possibly for how big the supplier invoice.

I tried cutting the amount of invoice lines in half, and it worked just fine.

So it seems like the issue is the amount of invoice lines, and not the currencies, because the lines all contain the same data, which looks like this:

    {
      "quantity": {
        "Value": 1
      },
      "costInCurrency": {
        "Value": 450.00
      },
      "unitCostInCurrency": {
        "Value": 450.00
      },
      "subaccount": [
        {
          "segmentId": 1,
          "segmentValue": ">id<"
        },
        {
          "segmentId": 2,
          "segmentValue": ">project<"
        }
      ],
      "transactionDescription": {
        "Value": ">info here<"
      },
      "operation": "Insert",
      "lineNumber": {
        "Value": 0
      }
    },

I even tried it in reverse, creating a supplier invoice with the previously cut out half and that also worked fine. So there isn't an issue where it appeared in the later lines but not the earlier ones.

1 REPLY 1
Sandra Anté
VISMA

by Sandra Anté (Updated ‎26-03-2024 09:27 by Sandra Anté VISMA )

Hi,

Could you please send us the JSON file for the request and a screen print of the Supplier from the UI? Please send this to you local support:
https://community.visma.com/t5/Forum-in-Developers-Visma-net/Update-on-Visma-net-ERP-API-Support-cha... 

Kind regards
Sandra Anté