> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Resource codes for Billing and Payments REST API

> Check the resource codes for Billing and Payments REST API.

Check the resource codes for Billing and Payments REST API.

The 8-digit error code of Billing REST API consists of two components: a 6-digit REST API resource code, and a 2-digit error category code. This page focuses on the resource codes only. All available error category codes are summarized in [Error category codes](https://developer.zuora.com/docs/guides/error-codes/#error-category-codes) for the v1 API.

The resource code indicates the Billing REST API resource, typically a field of a Zuora object, on which the issue occurs. For example, 531003 refers to the `termType` field of the `subscription` object. The resource code that corresponds to an object without any field indicates that the issue is related to this object but not one specific field. One resource code might correspond to multiple API operations or resources.

Note that Zuora determines resource codes based on the request payload. Therefore, if GET and DELETE requests that do not contain payloads fail, you will get `500000` as the resource code, which indicates an unknown object and an unknown field. The error category code of these requests is valid and still follows the rules described in the [Error category codes](https://developer.zuora.com/docs/guides/error-codes/#error-category-codes) section. In such case, you can refer to the returned error message to troubleshoot.

The following information is a full list of all effective resource codes of Zuora Billing REST API. You can also download this CSV file that includes all Billing resource codes for reference.