On this page
No Headings
The expiry terms that define when a conditional rule on an invoice expires, including the expiry condition and the end date.
objectrule_expiry_conditionrequiredstring"THREE_DAYS_AFTER_ISSUE_DATE", "SEVEN_DAYS_AFTER_ISSUE_DATE", "FIFTEEN_DAYS_AFTER_ISSUE_DATE", "THIRTY_DAYS_AFTER_ISSUE_DATE", "ONE_DAY_AFTER_DUE_DATE", "SEVEN_DAYS_AFTER_DUE_DATE", "FIFTEEN_DAYS_AFTER_DUE_DATE", "THIRTY_DAYS_AFTER_DUE_DATE", "SPECIFIC_DATE"Defines the time-based condition that triggers the application of this conditional rule. This is expressed as a period relative to either the invoice issue date (for early payment discounts) or the invoice due date (for late payment surcharges and auto-cancellation). If the value is 'SPECIFIC_DATE', the 'effective_date' field must be provided to specify the exact date.
condition_rule_end_daterequiredobject^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$The stand-alone date, in Internet date and time format. To represent special legal values, such as a date of birth, you should use dates with no associated time or time-zone data. Whenever possible, use the standard date_time type. This regular expression does not validate all dates. For example, February 31 is valid and nothing is known about leap years.
The calculated end date for the conditional rule based on the rule_expiry_condition. This date indicates when the rule will expire or take effect. Specified in Internet date and time format. Only UTC is supported in response. For example, 2025-03-12T00:00:00Z.