# Configuring Billing

You can configure billing for any service you create in Onestop. Billing is configured by the creation of billing tasks in your workflow. Billing tasks are responsible for calculating charges and generating invoices for customers to make payments. Billing tasks can either be automated or user-initiated. Automated tasks generate invoices automatically with no user intervention whereas user-initiated tasks require a user to explicitly generate an invoice by executing the task and counter checking billing fees if necessary. One of the key components of configuring billing is setting up payment methods that customers can use to pay for the service. Onestop SaaS is currently integrated to various payment gateways that you can choose from when configuring a billing task and we plan to accommodate more providers with time.&#x20;

It is important to note, that if you do not select a digital payment method for your billing configuration, Onestop defaults to a Payment Form that you must configure e.g. for users have to attach a proof of payment, to validate payment codes against a dataset, to validate against a HTTP API etc. See  [Configuring Payment Forms](/managing-services/configuring-billing/configuring-payment-forms.md).


---

# Agent Instructions: 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:

```
GET https://admin-docs.onestop.site/managing-services/configuring-billing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
