On this page
No Headings
The template-related details. Includes notes, terms and conditions, memo, and attachments.
objectpayment_termobjectThe payment term of the invoice. Payment can be due upon receipt, a specified date, or in a set number of days.
The payment due date for the invoice. Value is either but not both term_type or due_date.
term_typestring"DUE_ON_RECEIPT", "DUE_ON_DATE_SPECIFIED", "NET_10", "NET_15", "NET_30", "NET_45", "NET_60", "NET_90", "NO_DUE_DATE"The payment term. Payment can be due upon receipt, a specified date, or in a set number of days.
conditional_rulesobjectThe conditional rules associated with the payment term of the invoice. Includes early payment discount, late payment surcharge, and auto cancellation details.
early_payment_discountobjectThe early payment discount for the invoice. If the payer pays before the discount end date, the specified discount is applied.
discount_end_dateobject^[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 end date for the early payment discount, in Internet date and time format. For example, yyyy-MM-ddTz.
percentobject^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as 19.99.
The early payment discount percentage value.
amountobjectThe currency and amount for a financial transaction, such as a balance or payment due.
The early payment discount amount value.
currency_coderequiredstring^[\S\s]*$The 3-character ISO-4217 currency code that identifies the currency.
valuerequiredstring^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$The value, which might be:
JPY that are not typically fractional.TND that are subdivided into thousandths.is_appliedbooleanIndicates whether the particular rule is applied or not.
auto_cancellationobjectThe auto cancellation details for the invoice. If the payer does not pay by the specified date, the invoice is automatically cancelled.
cancel_by_dateobject^[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 date by which the invoice is automatically cancelled if unpaid, in Internet date and time format. For example, yyyy-MM-ddTz.
is_appliedbooleanIndicates whether the particular rule is applied or not.
metadataobjectThe audit metadata. Captures all template actions on create and update.
create_timeobject^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time, in Internet date and time format. Seconds are required while fractional seconds are optional.
Note: The regular expression provides guidance but does not reject all invalid dates.
The date and time when the resource was created, in Internet date and time format.
created_bystring^[\S\s]*$The email address of the account that created the resource.
last_update_timeobject^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time, in Internet date and time format. Seconds are required while fractional seconds are optional.
Note: The regular expression provides guidance but does not reject all invalid dates.
The date and time when the resource was last edited, in Internet date and time format.
last_updated_bystring^[\S\s]*$The email address of the account that last edited the resource.