---
title: SubscriptionContractLastBillingErrorType - Customer API
description: The possible values of the last billing error on a subscription contract.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/customer/latest/enums/subscriptioncontractlastbillingerrortype
  md: https://shopify.dev/docs/api/customer/latest/enums/subscriptioncontractlastbillingerrortype.md
---

# Subscription​Contract​Last​Billing​Error​Type

enum

The possible values of the last billing error on a subscription contract.

## Valid values

* CUSTOMER\_​ERROR

  Subscription billing attempt error due to customer error.

* INVENTORY\_​ERROR

  Subscription billing attempt error due to inventory error.

* OTHER

  All other billing attempt errors.

* PAYMENT\_​ERROR

  Subscription billing attempt error due to payment error.

***

## Fields

* [Subscription​Contract.lastBillingAttemptErrorType](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionContract#field-SubscriptionContract.fields.lastBillingAttemptErrorType)

  OBJECT

  A Subscription Contract.

***

## Map

### Fields with this enum

* [Subscription​Contract.lastBillingAttemptErrorType](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionContract#field-SubscriptionContract.fields.lastBillingAttemptErrorType)