News for hackers. Stuff that matters.
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by gondo on Thursday March 10, 2022 @10:39AM (#30628102)
How do you deal with taxes? Or how do you help your customers deal with taxes?
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by asommer12 on Thursday March 10, 2022 @10:52AM (#30628285)
As of today, Kable relies on our payment partners to calculate tax.

If you connect your Stripe account to Kable, you can enable automatic tax calculation in your Stripe dashboard, and invoices generated by Kable will be taxed by Stripe. As we add other payment partners, we will follow the same pattern. In the future, though, we do plan to add the option to calculate taxes directly within Kable.

Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by gondo on Thursday March 10, 2022 @11:28AM (#30628737)
I see. Stripe actually does not help with taxes at all. All the work is left for users to figure out, configure and file.
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by asommer12 on Thursday March 10, 2022 @11:36AM (#30628844)
@gondo I think this was a relatively recent change by Stripe. Check out Stripe Tax -- https://stripe.com/docs/tax/invoicing

Kable uses Stripe's Invoice API directly (we don't create Stripe subscriptions which would cost an extra 0.5%). You can set up Stripe Tax to work with Invoices, and I believe most of what you'd want happens automatically.

I may be wrong though -- please let me know if you've had a different experience!

Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by asommer12 on Thursday March 10, 2022 @11:37AM (#30628854)
Ahh, are you talking about the actual setup of tax codes in Stripe?
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by searchableguy on Thursday March 10, 2022 @12:17PM (#30629440)
Is there a way to integrate paddle?
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by asommer12 on Thursday March 10, 2022 @01:36PM (#30630608)
Integrating Paddle (and other payment providers) is in our plans for the spring. Our existing customers have skewed toward Stripe, so we started there. If you're using Paddle today and want to get started with Kable, let me know and we can chat about prioritizing Paddle sooner
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by searchableguy on Thursday March 10, 2022 @03:22PM (#30631925)
Have any example on how to add kable to a graphql API?
Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by asommer12 on Thursday March 10, 2022 @04:39PM (#30632834)
We don't currently have any customers using Kable and GraphQL together. To be totally honest, I'm not a GraphQL expert, and I don't want to give you any false information, so unfortunately no, I don't have an example for you.

Kable can be accessed through our Node and Python libraries (more languages on the way) or over HTTPS REST API. I will have to defer to your design sense about the best way to leverage these technologies with a GraphQL API today.

Re:Launch HN: Kable (YC W22) – All-in-one platform for API p... by monstermachine on Thursday March 10, 2022 @09:57PM (#30635596)
One of the problems with graphql is a single query can fetch your entire API.

This means to record for billing, you would need to parse the AST and tag the parts as well as their associated cost in a query.

It's not an easy drop in, unfortunately.