Hoofdmenu
-menu

Toon bijdragen

Deze sectie stelt je in staat om alle bijdragen van dit lid te bekijken. Je kunt alleen de bijdragen zien waar je op dit moment toegang toe hebt.

Toon bijdragen-menu

Berichten - TCD

#1
Hallo,

Ik heb inderdaad het zelfde in mijn Prestashop-koppeling, hebben jullie al weten te achterhalen wat de oplossing is?
Ik moet nu alles handmatig aanpassen en doorvoeren, alle BTW-tarieven van Europa staan in Prestashop gekoppeld, worden ook correct opgepikt, maar in Acumulus komt steeds met buitenlandse bestellingen deze foutmeldingen die hier boven ook worden genoemd.

Soms heb ik marge artikelen, dan snap ik dat Acumulus-koppeling dit niet goed kan verwerken.
Maar in dit geval gaat het om een reguliere bestelling, wat ook allemaal klopt in Prestashop, maar in Acumulus gat het fout met de volgende
Wat mij opvalt is de foutmelding "Invalid vatrate for NL at issuedate".
Maar het is een klant met afleveradres in Duitsland.

Request: Request: uri=https://api.sielsystems.nl/acumulus/stable/invoices/invoice_add.php
submit={
"contract": {
"emailonerror": "plugins@siel.nl",
"emailonwarning": "plugins@siel.nl",
"contractcode": "xxxxxx",
"username": "xxxxxxxxx",
"password": "REMOVED FOR SECURITY"
},
"format": "json",
"testmode": 0,
"lang": "de",
"connector": {
"application": "PrestaShop 1.7.8.5",
"webkoppel": "Acumulus 7.6.7",
"development": "SIEL - Buro RaDer",
"remark": "Library 7.5.0 - PHP 7.4.33",
"sourceuri": "https:\/\/github.com\/SIELOnline\/libAcumulus"
},
"customer": {
"type": 1,
"vattypeid": 1,
"contactyourid": "3806",
"contactstatus": 1,
"fullname": "X X",
"address1": "Xstr 34",
"postalcode": "34739",
"city": "xxxxx",
"countrycode": "DE",
"country": "Duitsland",
"telephone": "0173xxx5046",
"email": "xyz@mail.de",
"overwriteifexists": 1,
"invoice": {
"concept": 0,
"meta-id": 3806,
"number": 2844,
"issuedate": "2025-02-07",
"costcenter": "97656",
"accountnumber": "208264",
"paymentstatus": 2,
"paymentdate": "2025-02-07",
"description": "bestelling OMXUTJXTN",
"template": 96404,
"meta-currency": "EUR",
"meta-currency-rate": 1,
"meta-currency-do-convert": true,
"meta-payment-method": "mollie",
"meta-invoice-amountinc": 28.75,
"meta-invoice-amount": 25.8,
"meta-invoice-vatamount": 2.9499999999999993,
"meta-invoice-calculated": "meta-invoice-vatamount",
"line": [
{
"itemnumber": "9001-000-00",
"product": "Product A",
"nature": "Product",
"costprice": "2.000000",
"unitprice": 4.25,
"unitpriceinc": 4.25,
"meta-line-amount": 19.5,
"meta-line-amountinc": 21.25,
"quantity": "5",
"vatrate": "9.000",
"meta-vatrate-source": "exact",
"meta-vatclass-id": 28,
"meta-vatclass-name": "9%",
"meta-vatrate-lookup": 9,
"meta-vatrate-lookup-label": "MwSt",
"meta-fields-calculated": "[\"vatamount\",\"vatamount (from vatrate)\"]",
"meta-line-type": "order-item",
"vatamount": 0.35091747,
"meta-vattypes-possible": "1,5",
"meta-recalculate-old-price": 3.899083
},
{
"product": "Deutsche Post",
"unitprice": 7.5,
"unitpriceinc": 7.5,
"quantity": 1,
"vatrate": "19.000",
"vatamount": 1.1974789915966388,
"meta-vatrate-source": "exact",
"meta-fields-calculated": "[\"unitprice\",\"vatamount\"]",
"meta-vatclass-id": 32,
"meta-vatclass-name": "EU BTW regels",
"meta-vatrate-lookup": 19,
"meta-vatrate-lookup-label": "MwSt",
"meta-line-type": "shipping",
"nature": "Product",
"meta-vattypes-possible": "6",
"costprice": 0,
"meta-recalculate-old-price": 6.302521008403361
}
],
"meta-lines-amount": 25.80252100840336,
"meta-lines-amountinc": 28.75,
"meta-lines-vatamount": 2.952066341596639,
"vattype": 5,
"meta-vattype-source": "Completor::completeVatType: Convert all lines to margin scheme",
"meta-vattypes-possible-invoice": "1,6,5",
"meta-vattypes-possible-lines-intersection": "",
"meta-vattypes-possible-lines-union": "1,5,6"
}
}
}
Response: Response: status=400