> For the complete documentation index, see [llms.txt](https://docs.xtrakit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xtrakit.com/overview.md).

# Overview

- [Sales](https://docs.xtrakit.com/overview/sales.md): XtraKit's Sales API allows you to programmatically handle sales data. Sales management may be easily integrated into your applications by using it to retrieve, add, change, or manage sales.
- [List Sales](https://docs.xtrakit.com/overview/sales/list-sales.md): A list of all sales may be obtained using this endpoint. For emphasis on specific results, you can add filters based on date, status, customer, and other variables.
- [Fetch Sale](https://docs.xtrakit.com/overview/sales/fetch-sale.md): Retrieve a single invoice using this endpoint. By passing the invoice\_code to the endpoint.
- [Add Sale](https://docs.xtrakit.com/overview/sales/add-sale.md): Adding new sales may be obtained using this endpoint. For emphasis on specific results, you can add the following parameters when creating new sales.
- [Edit Sale](https://docs.xtrakit.com/overview/sales/edit-sale.md): Updates an existing sale record . This endpoint allows modification of any of the sales details, including customer id , invoice code , invoice number , total amount   and other variables.
- [Expenses](https://docs.xtrakit.com/overview/expenses.md): XtraKit's Expense API allows you to programmatically handle expenses data. Expense management may be easily integrated into your applications by using it to retrieve, add, change, or manage expenses.
- [List Expenses](https://docs.xtrakit.com/overview/expenses/list-expenses.md): A list of all expenses may be obtained using this endpoint. For emphasis on specific results, you can add filters based on business code, expense type,  and other variables.
- [Fetch Expense](https://docs.xtrakit.com/overview/expenses/fetch-expense.md): Retrieves detailed information about a specific expense identified by its unique ID. This endpoint is useful for viewing or verifying details of a particular expense record.
- [Add Expense](https://docs.xtrakit.com/overview/expenses/add-expense.md): Adding new expenses may be obtained using this endpoint. For emphasis on specific results, you can add the following parameters when creating new expenses.
- [Edit Expense](https://docs.xtrakit.com/overview/expenses/edit-expense.md): Updates an existing expense record identified by its unique ID. This endpoint allows modification of any of the expense details, including expense type, description, and image URL.
- [Inventory](https://docs.xtrakit.com/overview/inventory.md): XtraKit's Inventory API allows you to programmatically handle items data. Items management may be easily integrated into your applications by using it to retrieve, add, change, or manage items.
- [List Items](https://docs.xtrakit.com/overview/inventory/list-items.md): A list of all items available in the inventory may be obtained using this endpoint. For emphasis on specific results, you can add filters based on user, business, or category.
- [List Item Categories](https://docs.xtrakit.com/overview/inventory/list-item-categories.md): This endpoint allows you to obtain a list of all item categories available in the inventory. To emphasise specific results, you can add filters based on category name.
- [Fetch Item](https://docs.xtrakit.com/overview/inventory/fetch-item.md): Retrieves the full details of a specific item based on the item's unique ID(item\_code). This is useful when you need in-depth information on a particular item, including its name, category and others.
- [Add Item](https://docs.xtrakit.com/overview/inventory/add-item.md): Allows you to add a new item to the inventory. This endpoint is used when introducing new products to your stock. You’ll need to provide essential details such as the item name, price and others.
- [Edit Item](https://docs.xtrakit.com/overview/inventory/edit-item.md): Updates the details of an existing item in the inventory. This endpoint is used to modify any of the item’s attributes such as item name, price, quantity, or description.
- [Storefront](https://docs.xtrakit.com/overview/storefront.md): XtraKit's Storefront API allows you to programmatically handle stores data. Stores management may be easily integrated into your applications by using it to retrieve, add, change, or manage stores.
- [Create Store](https://docs.xtrakit.com/overview/storefront/create-store.md): Allows you to add a new store record using this endpoint. This endpoint is used when introducing new stores.
- [Fetch Store Orders](https://docs.xtrakit.com/overview/storefront/fetch-store-orders.md): Retrieve a specific store using the store id. To retrieve complete store details, use this endpoint. For emphasis on specific results, you can add filters based on other variables.
- [Edit Store](https://docs.xtrakit.com/overview/storefront/edit-store.md): Modify an existing store's information using this endpoint. For emphasis on specific results, you can add filters based on  other variables.
- [Customers](https://docs.xtrakit.com/overview/customers.md): XtraKit's Customer API allows you to programmatically handle customers data. Customers management may be easily integrated into your applications by using it to retrieve, add, or manage customers.
- [List Customers](https://docs.xtrakit.com/overview/customers/list-customers.md): A list of all customers may be obtained using this endpoint. For emphasis on specific results, you can add filters based on customer's group id and other variables.
- [Fetch Customer](https://docs.xtrakit.com/overview/customers/fetch-customer.md): Retrieves detailed information for a specific customer based on the customer ID provided in the request URL. This is useful when you need in-depth information on a particular customer.
- [Fetch Customer Group](https://docs.xtrakit.com/overview/customers/fetch-customer-group.md): Retrieves detailed information about a specific customer group by ID. This can be useful for viewing the details of an existing customer group.
- [List Customer Group](https://docs.xtrakit.com/overview/customers/list-customer-group.md): A list of all customer groups may be obtained using this endpoint. For emphasis on specific results, you can add filters based on business code, date created and other variables.
- [Add Customer](https://docs.xtrakit.com/overview/customers/add-customer.md): This endpoint allows you to add a new customer to the system. You can store customer details like name, email, phone, address, and other relevant information.
- [Add Customer Group](https://docs.xtrakit.com/overview/customers/add-customer-group.md): Creates a new customer group to categorize customers based on certain criteria. Each customer group will have a name and description.
- [Edit Customer](https://docs.xtrakit.com/overview/customers/edit-customer.md): Updates the information of an existing customer. You can modify various fields such as customer details, addresses, and status.
- [Edit Customer Group](https://docs.xtrakit.com/overview/customers/edit-customer-group.md): Updates the information of an existing customer group, allowing changes to the name, description, and other fields.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xtrakit.com/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
