# Handling custom payment terms like "20th of the month following"

Use Roadmap's company metafield to automate monthly invoice due dates like 20th of the month following.

Last verified against Shopify: April 28, 2026

This article explains how to handle B2B payment terms that do not fit Shopify's native `Net` options.

Roadmap now ships a company metafield for this workflow.

Use it to set a fixed invoice day, such as the `20th of the month following`.

### Why Shopify's native terms do not cover every arrangement

At the company location level, Shopify supports `Due on fulfillment` and the standard US `Net` terms.

That covers many wholesale relationships, but not every finance agreement.

Common exceptions include terms such as `20th of the month following`.

That kind of rule depends on the calendar, not a flat number of days from checkout.

If you still need the standard company location setup first, use [Setting up payment terms for your B2B retailers](https://www.roadmap.so/docs/trade-and-b2b/checkout-and-payment/setting-up-payment-terms-for-your-b2b-retailers).

### What the Roadmap metafield does

When **Roadmap: Net Monthly Invoice Date** is filled in on the company, Roadmap overrides the order's default due date after fulfillment.

The value is a day number from `1` to `31`.

Example:

- `20` means the invoice is due on the 20th of the month after fulfillment
- leave it blank to keep Shopify's default payment terms

![](https://cdn.sanity.io/images/qnhxgxnh/production/994c4c9da50b41c10c13c26bd2e4901f09a81e3f-2030x926.png?w=1600&fit=max&auto=format)

> **Note:** This override only runs when the metafield has a value.

> If the field is blank, Shopify stays in control.

### How the due date is calculated

Roadmap calculates the date from the fulfillment date, not the order submission date.

That means the due month starts when the order is fulfilled.

For example:

- order placed on `29 April`
- order fulfilled on `2 May`
- metafield value is `20`
- final due date becomes `20 June`

If the same order is fulfilled on `29 April`, the due date becomes `20 May`.

![](https://cdn.sanity.io/images/qnhxgxnh/production/b1f00ca9637e10fc17544bbffebea7182fcb37cc-1348x662.png?w=1600&fit=max&auto=format)

### Recommended setup

Use this setup for retailers who should pay on a fixed monthly cycle after goods ship.

1. **Set order submission to automatic**
   In Shopify B2B, use `Automatically submit orders`.

   This lets the order flow straight into Shopify.

2. **Set the default payment term**
   On the company location, set payment terms to `Due on fulfillment`.

   This is the default term Shopify shows at checkout.

3. **Fill in the Roadmap metafield**
   Set **Roadmap: Net Monthly Invoice Date** to the invoice day you want.

   Use a whole number from `1` to `31`.

4. **Fulfill a test order**
   Place a test order and fulfill it.

   Roadmap updates the due date a few seconds later.

### What the retailer sees

At checkout, Shopify still shows the underlying default term.

With the recommended setup, that is `Due on fulfillment`.

![](https://cdn.sanity.io/images/qnhxgxnh/production/8cc815792203f158b770c1ca575ba914083d1b6f-1054x540.png?w=1600&fit=max&auto=format)

After the order is fulfilled, Roadmap replaces that due date with the fixed monthly date from the metafield.

![](https://cdn.sanity.io/images/qnhxgxnh/production/fbb89fb469763e7cb9342a1ee788469a82ab626d-2298x558.png?w=1600&fit=max&auto=format)

### Example workflow

Use `20` in **Roadmap: Net Monthly Invoice Date**.

Then this happens:

1. The retailer places an order.
2. Checkout shows `Due on fulfillment`.
3. You fulfill the order.
4. Roadmap rewrites the due date to the `20th` of the following month.

This keeps checkout simple, while still giving finance the exact invoice date on the final order.

### When to leave the metafield blank

Leave the field blank when the retailer should stay on Shopify's normal payment terms.

This works well when you want mixed setups, such as:

- some retailers on monthly invoice dates
- some retailers on standard Shopify `Net` terms
- some retailers paying upfront with `No payment terms`

### Important behavior to expect

Keep these points in mind:

- the override is based on fulfillment date
- the metafield always overrides Shopify's default due date when populated
- the order can show Shopify's default state briefly before Roadmap updates it

If your finance rule should be based on order submission date instead, speak to Roadmap before rollout.

### Related articles

- [Choosing your B2B company checkout settings](https://www.roadmap.so/docs/trade-and-b2b/checkout-and-payment/choosing-your-b2b-company-checkout-settings), for the order flow Roadmap recommends before you assign terms.
- [Setting up payment terms for your B2B retailers](https://www.roadmap.so/docs/trade-and-b2b/checkout-and-payment/setting-up-payment-terms-for-your-b2b-retailers), for the native company location and order level term options this workflow builds on.
- [Troubleshooting "Your order cannot be shipped to the selected address" at B2B checkout](https://www.roadmap.so/docs/trade-and-b2b/shipping/troubleshooting-your-order-cannot-be-shipped-to-the-selected-address-at-b2b-checkout), for the checkout error that often disappears once payment terms replace draft review.

Need a hand? Contact us in the Roadmap app via Intercom.
