> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trykintsugi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Lab

> Interactive API steps for learning and testing Kintsugi endpoints

export const Button = ({href, children}) => {
  return <div className="not-prose group mt-3">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-xl group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
      </button>
    </a>
  </div>;
};

<CardGroup cols={2}>
  <Card title="Estimate Tax" href="/recipes/calculate-tax" icon="calculator" iconType="solid">
    Calculate tax for a transaction before committing. Test the tax estimation endpoint with real-time calculations.

    <Button href="/recipes/calculate-tax">Open API Lab</Button>
  </Card>

  <Card title="Managing Products" href="/recipes/managing-products" icon="box" iconType="solid">
    Create products, fetch categories, and retrieve product details. Learn how to properly classify products for accurate tax calculations.

    <Button href="/recipes/managing-products">Open API Lab</Button>
  </Card>

  <Card title="Managing Customers" href="/recipes/managing-customers" icon="users" iconType="solid">
    Create customer records and retrieve customer information. Essential for managing tax-exempt customers and exemptions.

    <Button href="/recipes/managing-customers">Open API Lab</Button>
  </Card>

  <Card title="Creating Transactions" href="/recipes/creating-transactions" icon="receipt" iconType="solid">
    Create transaction records for completed sales and retrieve transaction data. Learn how to sync sales for compliance tracking.

    <Button href="/recipes/creating-transactions">Open API Lab</Button>
  </Card>

  <Card title="Creating Credit Notes" href="/recipes/creating-credit-notes" icon="rotate-left" iconType="solid">
    Create credit notes (refunds) for sale transactions. Maintain accurate sales records by properly handling refunds and returns.

    <Button href="/recipes/creating-credit-notes">Open API Lab</Button>
  </Card>

  <Card title="Managing Nexus" href="/recipes/managing-nexus" icon="map-pin" iconType="solid">
    Create physical nexus and registrations, then retrieve nexus information. Understand where your business has tax obligations.

    <Button href="/recipes/managing-nexus">Open API Lab</Button>
  </Card>
</CardGroup>
