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.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

YEAR_MONTH_TOO_OLD

Cannot request invoices issued before 2019-01-01.

NOT_INVOICED_CUSTOMER

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

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.