Tim Purcell Posted August 6 Share Posted August 6 Is there a way to pass tax details on AP Bills? And have these returned on queries? I'm getting the following error: { "errorId": "SL-0749", "code": "informationMissing", "message": "Tax details are either missing or do not belong to the tax solution.", "correction": "Ensure that each line item has a tax detail that belongs to the applicable tax solution.", "additionalInfo": { "messageId": "IA.TAX_DETAILS_ARE_EITHER_MISSING_OR_DON_T_BELONG", "placeholders": {}, "propertySet": {} } } Request is: { "billNumber": "TP-01", "vendor": { "id": "102823" }, "referenceNumber": "TP-01", "description": "bill - 001 - vendor 1099", "createdDate": "2022-08-06", "postingDate": "2022-08-06", "isOnHold": false, "currency": { "baseCurrency": "GBP", "txnCurrency": "GBP" }, "location": {"id":"500"}, "taxSolution":{"id":"United Kingdom - VAT"}, "lines": [ { "glAccount": { "id": "50300" }, "txnAmount": "5", "totalTxnAmount": "15.00", "dimensions": { "location": {"id":"500"}, "department": {"id":"500"}, "project": {"id":"10000"}, "customer": {}, "vendor": {}, "employee": {}, "item": {"id":"1004"}, "class": {"id":"100"} }, "memo": "bill - 001 - vendor 1099", "hasForm1099": "false", "project": { "isBillable": true } } ] } Link to comment Share on other sites More sharing options...
Members Sterio, Louis Posted August 7 Members Share Posted August 7 @Tim Purcell Can you email me the company ID and enable external access so I can go in there and reproduce this issue? Link to comment Share on other sites More sharing options...
Tim Purcell Posted August 8 Author Share Posted August 8 will do Link to comment Share on other sites More sharing options...
Members Sterio, Louis Posted August 8 Members Share Posted August 8 Tim, Thanks for your email. I also tried to do some testing and got stuck. I am confirming with the AP team now. I will get back to you early next week on the status. Link to comment Share on other sites More sharing options...
Sydney Hayslett Posted August 8 Share Posted August 8 It looks like you have the "tax solution" but you're not passing in the "tax detail" for each line. I believe you have to specify which tax detail is applicable. You can find the various options for tax details in the ui under Accounts Payable > Setup > Tax > Details. I found this requirement to be true as well on the standard upload templates from Intacct. Link to comment Share on other sites More sharing options...
Members Sterio, Louis Posted August 8 Members Share Posted August 8 It doesn't appear there is a way to do that via the REST API at the moment. I have asked the AP team to confirm. Maybe I am missing something or its still in development. Link to comment Share on other sites More sharing options...
Tim Purcell Posted August 10 Author Share Posted August 10 OK, thanks Louis. This is quite a good use case, as this will be a common requirement for the UK. I'm wondering whether it is a general issue for the REST API, or possibly because TOP LEVEL doesnt have a tax solution but the sub-entities do. I've not tried it where the TOP LEVEL has a tax solution. Link to comment Share on other sites More sharing options...
Lee Savidge Posted August 12 Share Posted August 12 Had the same issue using the XML gateway but at least on that, I could create my own custom object to pass it as the gateway allowed it, even though the SDK didn't provide for it. Not sure if you can do the same thing with the REST API? Lee Link to comment Share on other sites More sharing options...
Tim Purcell Posted August 13 Author Share Posted August 13 Not had an issue with the XML API. It provides taxdetail fields both on CREATE and the read functions. Link to comment Share on other sites More sharing options...
Members Sterio, Louis Posted August 16 Members Share Posted August 16 I am still waiting for a response from the AP team on this. I just sent them a reminder. 1 Link to comment Share on other sites More sharing options...
Members Sterio, Louis Posted August 19 Members Share Posted August 19 @Tim Purcell I got confirmation that this is known and will be fixed/addressed in 24R4. Link to comment Share on other sites More sharing options...
Tim Purcell Posted August 19 Author Share Posted August 19 OK, thanks Louis. Link to comment Share on other sites More sharing options...
Recommended Posts