If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more
conditional_rules
The expiry terms that define when a conditional rule on an invoice expires, including the expiry condition and the end 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.
Allowed values
"THREE_DAYS_AFTER_ISSUE_DATE"
The rule expires 3 days after the invoice issue date. Applicable for early payment discount rules.
"SEVEN_DAYS_AFTER_ISSUE_DATE"
The rule expires 7 days after the invoice issue date. Applicable for early payment discount rules.
"FIFTEEN_DAYS_AFTER_ISSUE_DATE"
The rule expires 15 days after the invoice issue date. Applicable for early payment discount rules.
"THIRTY_DAYS_AFTER_ISSUE_DATE"
The rule expires 30 days after the invoice issue date. Applicable for early payment discount rules.
"ONE_DAY_AFTER_DUE_DATE"
The rule takes effect 1 day after the invoice due date. Applicable for late payment surcharge and auto-cancellation rules.
"SEVEN_DAYS_AFTER_DUE_DATE"
The rule takes effect 7 days after the invoice due date. Applicable for late payment surcharge and auto-cancellation rules.
"FIFTEEN_DAYS_AFTER_DUE_DATE"
The rule takes effect 15 days after the invoice due date. Applicable for late payment surcharge and auto-cancellation rules.
"THIRTY_DAYS_AFTER_DUE_DATE"
The rule takes effect 30 days after the invoice due date. Applicable for late payment surcharge and auto-cancellation rules.
"SPECIFIC_DATE"
The rule expires or takes effect on a specific date provided in the `condition_rule_end_date` field. Applicable for all conditional rule types.
The stand-alone date, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). 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.