[{"data":1,"prerenderedAt":510},["ShallowReactive",2],{"project-14076997":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":49,"what":50,"said":92,"maker_in_thread":204,"shape":213,"grid":217,"attempts":472,"same_week":473,"maker_shows":41,"maker_hidden":502,"reader_version":503,"card":504},"14076997","VAT Moss API","A REST API for Calculating VAT in the EU","title","Show HN: A REST API for Calculating VAT in the EU","https:\u002F\u002Fvatmossapi.com","vatmossapi.com","mherrmann",1491815030,2017,59,116,716,2242,32,"notable","web_saas","tax calculation api","api",[24,25,26,27,28],"eu vat","vat calculator","vat moss","tax api","digital services tax","roasted",-0.484,{"positive":32,"neutral":33,"mixed":34,"critical":35},0,10,1,19,30,{"docs":38,"idea":40,"execution":42,"design":44,"privacy":45,"pricing":46},{"positive":32,"critical":39},2,{"positive":32,"critical":41},5,{"positive":32,"critical":43},8,{"positive":32,"critical":39},{"positive":32,"critical":39},{"positive":32,"critical":32},[48,34,34,34,48,34,48,34,34,32,34,34,32,32,32,34,34,34,48,39,34,48,32,32,34,34,32,32,32,32,32,32,32,48,34,34,32,32,32,32],3,null,{"problem":51,"audience":65,"pricing":49,"motivation":71,"time_to_build":49,"stack":84,"openness":89,"stage":90,"team_size":91},{"value":52,"source":53,"evidence":54},"Calculating EU VAT for digital goods and services sold to consumers","commenter",[55,59,62],{"id":56,"by":57,"text":58},"14079182","agopaul","The barrier of running an EU B2C business is so high if you need to sell all over EU that most of the time it doesn't even make sense. It's a shame because if you're in the EU…",{"id":60,"by":11,"text":61},"14077688","It's only for digital goods\u002Fservices.",{"id":63,"by":11,"text":64},"14077652","It is only for calculating tax when selling to consumers.",{"value":66,"source":67,"evidence":68},"Businesses selling digital goods or services to EU consumers","inferred",[69,70],{"id":56,"by":57,"text":58},{"id":63,"by":11,"text":64},{"value":72,"source":73,"evidence":74},"Help small EU businesses sell across the EU; wraps an open source VAT library","maker",[75,78,81],{"id":76,"by":11,"text":77},"14079298","Yes - this API is an attempt to help with that.",{"id":79,"by":11,"text":80},"14078057","All it does is provide a REST API for an existing open source library. That's written on the home page. You can use the existing open source library (if you're using PHP). But…",{"id":82,"by":11,"text":83},"14079448","The data for the API comes from the most widely used open source library on the subject [1]. It has 418 stars, is used by lots of people and is continually receiving pull…",[85],{"value":86,"source":73,"evidence":87},"PHP",[88],{"id":79,"by":11,"text":80},"open_source","launched","unknown",{"praise":93,"objections":105,"requests":147,"questions":164,"alternatives":182},[94,101],{"value":95,"source":53,"evidence":96},"Open sourcing the code and effort appreciated",[97],{"id":98,"by":99,"text":100},"14079416","ckastner","While the effort in general should be appreciated (especially open sourcing the code!), I'm doubtful that the REST API has practical use. \"I calculated the VAT for the products…",{"value":102,"source":53,"evidence":103},"Useful for small EU businesses wanting to sell across the EU",[104],{"id":56,"by":57,"text":58},[106,121,129,140],{"value":107,"source":53,"evidence":108},"Ignores B2B versus B2C distinction and product-specific rates",[109,113,117],{"id":110,"by":111,"text":112},"14077564","kk_cz","How about different rates for different goods \u002F services? This looks like a gross oversimplification. Doing VAT correctly is quite hard - there is a reason why there are…",{"id":114,"by":115,"text":116},"14077573","jacquesm","This does not make the distinction between consumers and corporate (VAT registered) customers nor does it make a distinction between services and goods (and various classes of…",{"id":118,"by":119,"text":120},"14079213","thiscatis2","You should specify a bit more clearly (it's on the bottom though) that this is for B2C. B2B different rules apply.",{"value":122,"source":53,"evidence":123},"Liability risk and unclear data sources",[124,125],{"id":98,"by":99,"text":100},{"id":126,"by":127,"text":128},"14077607","Silhouette","The EU administration itself or the national tax authorities in the EU should have provided an official service like this to go with the VAT changes for digital sales from day…",{"value":130,"source":53,"evidence":131},"Wrong rate for some countries such as Ireland and Netherlands",[132,136],{"id":133,"by":134,"text":135},"14077628","talideon","That won't work in Ireland. While 23% is the headline rate, it's not the only rate: https:\u002F\u002Fwww.taxworld.ie\u002Fvat\u002Fsummary\u002Fvat-rates\u002F",{"id":137,"by":138,"text":139},"14077304","timvdalen","Correct, but you're not required to pay the local (Dutch) VAT, so the seller doesn't have to collect it. This tool shows the Dutch VAT rate (0.21) for all buyer countries, which…",{"value":141,"source":53,"evidence":142},"Privacy concerns about sending business data",[143],{"id":144,"by":145,"text":146},"14077642","vog","While this is a great way for you to collect internal business numbers from other companies, I don't quite see how the benefit for those companies is so large that it warrants…",[148,156,160],{"value":149,"source":53,"evidence":150},"Release the source code",[151,155],{"id":152,"by":153,"text":154},"14077844","mike-cardwell","This shouldn't be an API. It should be a query library and a dataset you can download with a batch job. Please consider releasing the source code.",{"id":126,"by":127,"text":128},{"value":157,"source":53,"evidence":158},"Provide a dataset or query library instead of an API",[159],{"id":152,"by":153,"text":154},{"value":161,"source":53,"evidence":162},"Add a note on sources and update frequency",[163],{"id":126,"by":127,"text":128},[165,175],{"value":166,"source":53,"evidence":167},"Why ask for the seller's country",[168,172],{"id":169,"by":170,"text":171},"14079491","thirdsun","Is there any reason to ask for the country of the business\u002Fseller? As far as I know it's irrelevant and the VAT only depends on the buyer's country (for digital goods\u002Fservices).",{"id":173,"by":127,"text":174},"14077900","So why ask for the country of the seller in the API? I wondered the same thing. I'm not aware of any circumstances under which it would make a difference that are still affected…",{"value":176,"source":53,"evidence":177},"Why use POST",[178],{"id":179,"by":180,"text":181},"14081930","sajal83","Why use POST?",[183,190,197],{"value":184,"source":53,"evidence":185},"VIES VAT ID verification service",[186],{"id":187,"by":188,"text":189},"14078055","NicoJuicy","Something similar, but not the same: http:\u002F\u002Fec.europa.eu\u002Ftaxation_customs\u002Fvies\u002FtechnicalInformation.html Official Europe VAT Verification Service endpoint ( docs ) Edit: for…",{"value":191,"source":53,"evidence":192},"european_vat Elixir library",[193],{"id":194,"by":195,"text":196},"14077925","andy_ppp","I was looking into this recently and found this for Elixir, it looks good: https:\u002F\u002Fgithub.com\u002Fxavier\u002Feuropean_vat",{"value":198,"source":53,"evidence":199},"TaxJar API",[200],{"id":201,"by":202,"text":203},"14079279","MatthewWilkes","Complex sales tax almost seems inevitable, there are lots of similar services in the US, like https:\u002F\u002Fwww.taxjar.com\u002Fapi\u002F. One of the things regulators want from a tax code is to…",{"comments":205,"answered":206,"key":207},20,7,[208,211,212],{"id":209,"text":210},"14077681","The source is mentioned at the bottom of the page. Please read the full page before criticising.",{"id":60,"text":61},{"id":76,"text":77},{"commenters":214,"max_depth":33,"maker_replies":205,"first_comment_mins":215,"lifespan_hours":216},35,69,50,[218,220,223,226,229,232,233,235,237,241,242,244,246,248,249,251,253,255,257,261,262,265,268,271,273,274,276,279,280,282,284,286,288,290,292,294,297,299,301,303,306,309,311,313,315,317,318,319,322,325,327,329,332,334,336,338,340,344,346,347,349,351,353,355,357,359,362,364,366,367,369,371,373,375,377,379,383,386,388,390,392,394,396,398,401,403,405,407,409,411,413,414,417,420,423,426,429,431,433,436,439,441,443,444,446,448,451,453,455,457,459,461,463,465,468,470],[126,32,48,219,127,32],"project\u002Fmixed\u002Fdocs",[221,32,32,222,115,32],"14077633","commenter\u002Fneutral\u002Fnone",[224,32,34,225,127,32],"14077768","project\u002Fcritical\u002Fdocs",[227,32,34,228,115,32],"14077804","project\u002Fcritical\u002Fidea",[230,32,34,231,127,32],"14077983","project\u002Fcritical\u002Fexecution",[209,32,32,222,11,34],[234,32,34,231,127,32],"14077741",[236,32,32,222,115,32],"14077842",[238,32,32,239,240,32],"14080137","other\u002Fneutral\u002Fidea","tonyedgecombe",[110,34,34,231,111,32],[60,34,32,243,11,34],"project\u002Fneutral\u002Fidea",[245,34,32,222,111,32],"14078005",[247,34,48,243,115,32],"14077743",[56,39,32,239,57,32],[76,39,32,250,11,34],"project\u002Fpositive\u002Fidea",[252,39,34,228,240,32],"14080075",[254,39,32,222,57,32],"14080871",[256,39,32,222,240,32],"14081289",[258,39,32,259,260,32],"14083028","other\u002Fneutral\u002Fnone","mobiplayer",[169,48,48,243,170,32],[263,48,32,264,11,34],"14079504","project\u002Fneutral\u002Fdocs",[266,48,48,243,267,32],"14080167","nik736",[269,48,34,270,170,32],"14081160","project\u002Fcritical\u002Fdesign",[98,272,34,228,99,32],4,[82,272,32,264,11,34],[275,272,32,222,99,32],"14079570",[277,272,32,259,278,32],"14082523","return0",[187,41,32,239,188,32],[281,41,32,222,11,34],"14078066",[133,283,34,231,134,32],6,[285,283,32,222,127,32],"14077703",[287,283,32,222,115,32],"14077772",[289,283,32,222,127,32],"14077857",[291,283,34,231,115,32],"14077884",[293,283,32,259,127,32],"14077941",[295,283,32,259,296,32],"14079524","stdbrouw",[298,283,32,259,115,32],"14079653",[300,283,32,259,127,32],"14081512",[302,283,32,259,115,32],"14081591",[304,283,32,259,305,32],"14083067","zigzigzag",[307,283,32,259,308,32],"14079425","blibble",[310,283,32,222,134,32],"14079218",[312,283,32,222,170,32],"14079423",[314,283,32,222,127,32],"14080131",[316,283,34,228,134,32],"14096636",[194,206,32,259,195,32],[118,43,48,264,119,32],[144,320,34,321,145,32],9,"project\u002Fcritical\u002Fprivacy",[323,320,32,324,11,34],"14077659","commenter\u002Fneutral\u002Fprivacy",[326,320,34,321,145,32],"14077672",[328,320,32,324,11,34],"14077693",[330,320,48,331,145,32],"14077725","project\u002Fneutral\u002Fprivacy",[333,320,32,331,11,34],"14077734",[335,320,48,331,115,32],"14077764",[337,320,32,331,11,34],"14077789",[339,320,48,331,115,32],"14077861",[341,33,48,342,343,32],"14078021","project\u002Fneutral\u002Fpricing","anon2017100",[114,345,34,231,115,32],11,[63,345,32,264,11,34],[348,345,34,225,115,32],"14077707",[350,345,32,222,296,32],"14079590",[352,345,32,222,115,32],"14081621",[354,345,48,243,127,32],"14077687",[356,345,32,243,11,34],"14077697",[358,345,32,222,115,32],"14077719",[360,345,32,361,11,34],"14077726","maker\u002Fneutral\u002Fnone",[363,345,32,222,127,32],"14077800",[365,345,32,222,115,32],"14077835",[173,345,32,222,127,32],[368,345,32,243,11,34],"14078087",[370,345,34,231,115,32],"14078912",[372,345,32,222,11,34],"14079410",[374,345,32,222,115,32],"14081665",[152,376,34,270,153,32],12,[79,376,32,378,11,34],"project\u002Fneutral\u002Fdesign",[380,381,32,259,382,32],"14079103",13,"tomschlick",[384,381,32,259,385,32],"14079206","thecopy",[387,381,32,259,296,32],"14079211",[389,381,32,259,308,32],"14079320",[391,381,32,222,296,32],"14079351",[393,381,32,222,308,32],"14079388",[395,381,32,222,296,32],"14079457",[397,381,32,222,308,32],"14079538",[399,381,32,222,400,32],"14080280","toyg",[402,381,32,222,308,32],"14080483",[404,381,32,222,400,32],"14085969",[406,381,32,259,57,32],"14079217",[408,381,32,239,382,32],"14079261",[410,381,32,259,57,32],"14079364",[412,381,32,259,240,32],"14080116",[201,381,32,259,202,32],[415,381,32,259,416,32],"14079540","bambax",[418,381,32,259,419,32],"14079755","waynecochran",[421,381,32,259,422,32],"14080245","kspaans",[424,381,32,259,425,32],"14083270","martinald",[427,381,32,259,428,32],"14079974","thescriptkiddie",[179,430,48,378,180,32],14,[432,430,32,378,11,34],"14082040",[434,435,34,228,138,32],"14077240",15,[437,435,32,222,438,32],"14077283","wayn3",[440,435,32,361,11,34],"14077302",[442,435,32,222,115,32],"14077595",[137,435,34,231,138,32],[445,435,32,259,438,32],"14077362",[447,435,32,222,115,32],"14077586",[449,435,32,222,450,32],"14079531","dullgiulio",[452,435,32,222,115,32],"14079662",[454,435,32,222,11,34],"14077393",[456,435,32,259,138,32],"14077536",[458,435,32,259,115,32],"14077563",[460,435,32,222,11,34],"14077639",[462,435,32,222,127,32],"14077673",[464,435,32,222,115,32],"14077554",[466,435,32,259,467,32],"14082383","BukhariH",[469,435,32,222,138,32],"14078377",[471,435,32,222,115,32],"14078928",[],[474,479,484,488,493,497],{"id":475,"name":476,"points":477,"category":478},"14058815","Resumegen",227,"productivity",{"id":480,"name":481,"points":482,"category":483},"14068525","therecipe\u002Fqt",222,"languages",{"id":485,"name":486,"points":487,"category":478},"14097011","Remote Stash",214,{"id":489,"name":490,"points":491,"category":492},"14076198","LuaGB",136,"games",{"id":494,"name":495,"points":491,"category":496},"14096982","Kim","dev_tools",{"id":498,"name":499,"points":500,"category":501},"14091952","strategic-options.com",96,"finance_crypto",false,"v2",{"id":505,"name":5,"line":6,"ai":502,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":506,"top":18,"kw":507,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":508,"url":9,"mix":509,"praise":95,"objection":107,"sub":21},14076997,-0.48,[24,25,26,27,28],"3111313110110001113213001100000003110000",[32,33,34,35],1793990957580]