# EasyInvoice: API Demo App

EasyInvoice is a web application built with Next.js that allows users to create and manage invoices, and accept crypto payments via the Request Network API. It mimics Web2 apps in its functionalities, providing a user-friendly experience with Google login and real-time updates.

{% hint style="info" %}
**Reach out**

For more details on how to start accepting crypto payments, [get in touch](https://2deywy.share-eu1.hsforms.com/2b92phs9LR_eJdeZoxzmoMA?utm_source=request.network\&utm_medium=docs\&utm_campaign=evergreen\&utm_content=get_in_touch) and we will reach out.
{% endhint %}

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f579">🕹️</span> <strong>Try it out</strong></td><td></td><td><a href="https://easyinvoice.request.network">https://easyinvoice.request.network</a></td></tr><tr><td></td><td><span data-gb-custom-inline data-tag="emoji" data-code="2139">ℹ️</span> <strong>View Source</strong></td><td></td><td><a href="https://github.com/RequestNetwork/easy-invoice">https://github.com/RequestNetwork/easy-invoice</a></td></tr></tbody></table>

## Key Features

### Overall Supported Currencies and Chains

15 stablecoins: USDC/USDT/DAI on 5 chains (Ethereum, Polygon, Arbitrum One, Base, OP Mainnet) + 4 testnet tokens on Sepolia + USD fiat for Conversion and Crypto-to-fiat payments.

### **Invoice Creation**

* **Invoice Creation**: A simple form to create invoices.
  * Client name and email fields.
  * Items, amounts, and notes fields.
  * Invoice currency and payment currency options, supporting currency conversion via the Request Network API.
* **Currency Conversion**: uses on-chain price feeds to calculate the exact payment currency amount based on the invoice currency at the moment of payment so you always receive the correct amount.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-3131460d6bf75ace6bb05d56d348b1bd5e26b0b0%2FScreenshot%20from%202025-02-13%2014-48-47.png?alt=media" alt=""><figcaption><p>EasyInvoice Create Invoice Page</p></figcaption></figure>

### **Dashboard**

* **Dashboard**: View key metrics and a table of your invoices.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-08bb2c43cda2cbb658a9f1f253d09fe4aa153811%2FScreenshot%20from%202025-02-14%2001-00-51.png?alt=media" alt=""><figcaption><p>EasyInvoice Dashboard</p></figcaption></figure>

### Invoice Payment

* **Invoice Payment:**
  * View invoice details and initiate payment using transaction calldata provided by the Request Network API.
  * Compatible with 80+ different crypto wallets via Reown AppKit
* **Real-time Updates**: The app receives webhooks from the Request Network API to update the invoice status in real-time.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-194de7d59aceefc3e98529f6fc470b68179e6a58%2FScreenshot%20from%202025-02-14%2001-01-00.png?alt=media" alt=""><figcaption><p>EasyInvoice Invoice Payment Page</p></figcaption></figure>

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-aa6eba6e357825684e36735b00922664fc6c43bd%2Fimage%20(1).png?alt=media" alt=""><figcaption><p>EasyInvoice supports 80+ wallets via Reown AppKit</p></figcaption></figure>

### Invoice Crosschain Payment

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-48739d507550f8489d876ba298ef0ee94cc5ede4%2FScreenshot%202025-04-01%20at%204.07.30%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/OpAd3Xzu8zU>" %}

#### Crosschain Payment Supported Currencies

For Crosschain (and Samechain) Payments, EasyInvoice supports 12 stablecoins: USDC/USDT/DAI on 4 chains (Ethereum, Arbitrum One, Base, OP Mainnet)

### Crypto-to-fiat Payment

{% embed url="<https://youtu.be/1Y7QIi6oZoU>" %}

#### Crypto-to-fiat Payment Supported Currencies

For Crypto-to-fiat Payments, EasyInvoice supports USDC on Sepolia.

### Batch Pay Invoices

{% embed url="<https://youtu.be/BsbENNP00AI>" %}

### Recurring Invoices

* **Recurring Invoice**: Automatically create new invoices based on the selected start date and frequency

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-b0761801ebbfd42f807425721a07ae688b2205c5%2FScreenshot%202025-04-02%20at%204.03.45%E2%80%AFPM.png?alt=media" alt=""><figcaption><p>Create New Invoice page - Recurring Invoice Enabled</p></figcaption></figure>

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-1b49f707f277973d2a3d2ca1a6c5729cdb6f8dc3%2FScreenshot%202025-04-02%20at%204.08.57%E2%80%AFPM.png?alt=media" alt=""><figcaption><p>Invoice Dashboard - Recurring Invoice</p></figcaption></figure>

### Payout

* **Payout**: Send a payment without having to create a request first.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-9d8b59fc962c49a59bedec3a10c0128ea7c5ee46%2Fimage%20(6).png?alt=media" alt=""><figcaption><p>EasyInvoice Direct Payment page</p></figcaption></figure>

### Batch Payout

{% embed url="<https://youtu.be/craVMSj8PRs>" %}

### InvoiceMe Link

* **InvoiceMe Link**: Prompt clients to send you an invoice prefilled with your name and email address.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-633e8cd81e5cfbf71d0c911a31be57b15429b0c6%2Fimage9.png?alt=media" alt=""><figcaption><p>Create InvoiceMe Link page</p></figcaption></figure>

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-7cd1e7e68a5520effb952d1d1054e684e0b68d6d%2Fimage7.png?alt=media" alt=""><figcaption><p>Create Invoice via InvoiceMe Link</p></figcaption></figure>

### Subscriptions

{% embed url="<https://www.youtube.com/watch?v=jEo5tYFuUs0>" %}

### Login

* **Google Login**: Securely log in to your account using Google OAuth.

<figure><img src="https://1914277788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fei6UAiSK3iAAi0mFH667%2Fuploads%2Fgit-blob-ea25fd7becc61ac6c2b839899c854a1fe8e81dd4%2Fimage.png?alt=media" alt=""><figcaption><p>EasyInvioce Login Page</p></figcaption></figure>


---

# 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://docs.request.network/request-network-api/easyinvoice-api-demo-app.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.
