InvoiceError

  • Describes possible errors when requesting invoices.

  • Errors can occur due to date restrictions, customer status, or billing setup issues.

  • Specific errors include requesting invoices too old, for non-invoiced or non-serving customers, or for unapproved or non-monthly invoicing billing setups.

Enum describing possible invoice errors.

Proto definition

Enums

BILLING_SETUP_NOT_APPROVED

Cannot request invoices for a non approved billing setup.

BILLING_SETUP_NOT_ON_MONTHLY_INVOICING

Cannot request invoices for a billing setup that is not on monthly invoicing.

NON_SERVING_CUSTOMER

Cannot request invoices for a non serving customer.

NOT_INVOICED_CUSTOMER

Cannot request invoices for customer who doesn't receive invoices.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

YEAR_MONTH_TOO_OLD

Cannot request invoices issued before 2019-01-01.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.