TaxJar has a great api that works as advertised. You build a c_object, send it via http_request and process (deconstruct) the object returned.
You send the token they want in the headers array that is part of http_request. https://developers.taxjar.com/api/reference/?shell#introduction <https://developers.taxjar.com/api/reference/?shell#introduction> The curl examples show you what the returned objects will look like, or use the example from the language you’re most familiar with. > On Oct 31, 2018, at 10:58 PM, Dan Ivy via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > After some research it looks like we will settle on taxjar. Could you please > share some tips or 4D code on how you are communicating with their api? I'm > not sure where to start. > > Thank you! > Dan Ivy > > > <quote author='4D Tech mailing list'> > I talked to this service via 4D. Best API I’ve dealt with aside from maybe > Stripe. > > https://www.taxjar.com/ <https://www.taxjar.com/> > > >> On Aug 16, 2018, at 9:28 AM, Dan Ivy via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> I'm looking for suggestions to address the new US sales tax law and the >> requirement for calculating sales tax across all states and jurisdictions. >> I >> have done sales tax calculations for some clients with a physical presence >> in a couple of states, and that is manageable. Trying to keep up with tax >> laws in all states and counties, seems unmanageable, kinda like a 50 state >> payroll system. >> >> Has anyone done this directly in 4D? have you integrated 4D with a cloud >> SaaS tax service? Can regularly updated sales tax "tables" be purchased >> from third parties? >> >> There's so little traffic on the 4D board about "sales tax" that it must >> be >> given there's readily available solutions for tax calculation. >> >> Thanks for the ideas >> >> Dan Ivy >> ivyleaf systems >> birmingham al >> >> > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** > </quote> > Quoted from: > http://4d.1045681.n5.nabble.com/Sales-Tax-Solutions-for-4D-tp5759604p5759607.html > > _____________________________________ > Sent from http://4d.1045681.n5.nabble.com > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************