> For the complete documentation index, see [llms.txt](https://loop-crypto.gitbook.io/old-loop-crypto/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://loop-crypto.gitbook.io/old-loop-crypto/integrations/stripe-+-loop/invoicing.md).

# Invoicing

## Overview

Loop lets you create an invoice in Stripe and include a [Loop payment link](/old-loop-crypto/technical-docs/archeticture/collecting-authorization/checkout-page.md#payment-links-for-invoices), and Loop will take care of the rest. Set this payment link as a default payment option and never think about adding your wallet address again.&#x20;

* Loop will mark the invoice as paid when funds are received (including the transaction hash)&#x20;
* Ensure you get paid the full amount on the right chain in the right token
* Any automations you have built off of closing invoices can now be automatically triggered
* Send you a message letting you know you got paid&#x20;

Loop makes it easy to get paid in crypto. &#x20;

#### Supported functionality&#x20;

:white\_check\_mark: Invoice for one or multiple items

:white\_check\_mark: Invoice for new or existing customers

:white\_check\_mark: Include both fiat and crypto payment options

:white\_check\_mark: Charging taxes, coupons, or quantities > 1

:x:**Updating an invoice&#x20;*****after*****&#x20;a customer gave authorization (coming soon)**&#x20;

{% hint style="info" %}
If the one-time product in Stripe has customized pricing, Loop will ultimately pull in the total amount of the invoice and show this amount on the checkout page.
{% endhint %}

## Steps:&#x20;

{% embed url="<https://www.loom.com/share/63cf36325b5f4a59ab148bfc3e66aca9?sid=52bbd0c7-28de-4658-bea6-322c4d6d9c2b>" %}

**1. Create the invoice**&#x20;

<figure><img src="/files/VwDobu6C7lSYl3NOBJrO" alt=""><figcaption></figcaption></figure>

* Select the customer, and item you'd like to invoice for. Both can be new or existing.&#x20;
* Select request payment and chose the due date. Loop will schedule and process the payment on this date. If the date is in the past, Loop will process immediately.&#x20;

<figure><img src="/files/fIIZyyW5rkHaRDiY2myE" alt="" width="375"><figcaption></figcaption></figure>

* Select a delivery method.&#x20;

#### 2. Add the Loop checkout link&#x20;

Check add Memo and add in the Loop payment link.&#x20;

<figure><img src="/files/LlnbZw5RGosx53cTln5J" alt="" width="375"><figcaption></figcaption></figure>

Loop offers an invoicing landing page where you can use a static payment link that you include in all invoices and your customer can type in their invoice number and amount to pay their bill.&#x20;

```
https://checkout.loopcrypto.xyz/<entityID>
```

<figure><img src="/files/i42EEf154zgQ4GIT2xfv" alt="" width="375"><figcaption></figcaption></figure>

Conversely, you can pre-populate the payment link so that it takes the customer directly to their unique checkout page. However, the invoice number isn't created until after the invoice is finalized. Thus, this method works best if you are manually sending the invoice to the customer.&#x20;

{% code overflow="wrap" %}

```markup
https://checkout.loopcrypto.xyz/<entityID>?invoiceId=<invoice_number>&invoiceAmount=<invoiceamount>
```

{% endcode %}

Example link:&#x20;

<figure><img src="/files/PQjKOXeEec97qNs5H2bM" alt=""><figcaption></figcaption></figure>

* Note, the amount is passed through in "hundreds", i.e. $3.00 = 300.&#x20;

```
https://checkout.loopcrypto.xyz/<entityID>?invoiceId=5CF3CA7A-0011&invoiceAmount=300
```

#### 3. (Optional): Edit the acceptable tokens&#x20;

After you've created the invoice, you can edit the tokens and networks that you are willing to accept. To do this, head to the "one-time payments" page on the company dashboard, find the item you are billing for, and [edit the accepted tokens/networks. ](/old-loop-crypto/learn/core-components/collecting-authorization/enabling-payment-on-multiple-networks.md)

#### 4. Getting paid

Customers have the option to schedule the date when they want the payment to process.

<figure><img src="/files/tcDy8blng4raBnSgMZcB" alt=""><figcaption></figcaption></figure>

After the customer has successfully gone through the Loop checkout and the transaction is finalized, Loop will automatically mark the Stripe invoice as paid and include the transaction hash within the memo field of the payment.&#x20;

Please note, payers will see an error message if any of the following is true:&#x20;

* invoice number entered isn’t found
* the amount entered doesn’t match the invoice&#x20;
* the invoice is already paid
* the invoice is in draft

## Add Loop payment link as a default option&#x20;

Settings -> billings -> invoices -> default memo field

<figure><img src="/files/ltZibewxCYf1kmI3aYlK" alt="" width="561"><figcaption></figcaption></figure>

## Updating an invoice&#x20;

If you update an invoice, Stripe will create a NEW invoice number. Payers can use the new number to provide authorization and pay.&#x20;

Please note, if the payer gave authorization to the original invoice already, then you cannot update the invoice. We are adding functionality to enable this.
