Skip to content

Commit b7294a3

Browse files
authored
Merge pull request #657 from recurly/v3-v2021-02-25-5662333064
Generated Latest Changes for v2021-02-25 (Ramp Dates, Net Terms, Invoice Business Entity)
2 parents 14bb40d + c45d01d commit b7294a3

File tree

2 files changed

+183
-39
lines changed

2 files changed

+183
-39
lines changed

openapi/api.yaml

Lines changed: 134 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15202,7 +15202,7 @@ paths:
1520215202

1520315203
Use for **Adyen HPP** and **Online Banking** transaction requests.
1520415204
This runs the validations but not the transactions.
15205-
The API request allows the inclusion of one of the following fields: **external_hpp_type** with `'adyen'` and **online_banking_payment_type** with `'ideal'` or `'sofort'` in the **billing_info** object.
15205+
The API request allows the inclusion of the following field: **external_hpp_type** with `'adyen'` in the **billing_info** object.
1520615206

1520715207
For additional information regarding shipping fees, please see https://docs.recurly.com/docs/shipping
1520815208

@@ -18291,6 +18291,7 @@ components:
1829118291
"$ref": "#/components/schemas/ExternalHppTypeEnum"
1829218292
online_banking_payment_type:
1829318293
"$ref": "#/components/schemas/OnlineBankingPaymentTypeEnum"
18294+
deprecated: true
1829418295
card_type:
1829518296
"$ref": "#/components/schemas/CardTypeEnum"
1829618297
BillingInfoVerify:
@@ -19332,13 +19333,24 @@ components:
1933219333
net_terms:
1933319334
type: integer
1933419335
title: Net terms
19335-
description: Integer representing the number of days after an invoice's
19336-
creation that the invoice will become past due. If an invoice's net terms
19337-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
19338-
after it’s created. If an invoice is due net 30, it will become past due
19339-
at 31 days exactly.
19336+
description: |-
19337+
Integer paired with `Net Terms Type` and representing the number
19338+
of days past the current date (for `net` Net Terms Type) or days after
19339+
the last day of the current month (for `eom` Net Terms Type) that the
19340+
invoice will become past due. For any value, an additional 24 hours is
19341+
added to ensure the customer has the entire last day to make payment before
19342+
becoming past due. For example:
19343+
19344+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
19345+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
19346+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
19347+
19348+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
19349+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
1934019350
minimum: 0
1934119351
default: 0
19352+
net_terms_type:
19353+
"$ref": "#/components/schemas/NetTermsTypeEnum"
1934219354
address:
1934319355
"$ref": "#/components/schemas/InvoiceAddress"
1934419356
shipping_address:
@@ -19516,13 +19528,24 @@ components:
1951619528
net_terms:
1951719529
type: integer
1951819530
title: Net terms
19519-
description: Integer representing the number of days after an invoice's
19520-
creation that the invoice will become past due. If an invoice's net terms
19521-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
19522-
after it’s created. If an invoice is due net 30, it will become past due
19523-
at 31 days exactly.
19524-
default: 0
19531+
description: |-
19532+
Integer paired with `Net Terms Type` and representing the number
19533+
of days past the current date (for `net` Net Terms Type) or days after
19534+
the last day of the current month (for `eom` Net Terms Type) that the
19535+
invoice will become past due. For any value, an additional 24 hours is
19536+
added to ensure the customer has the entire last day to make payment before
19537+
becoming past due. For example:
19538+
19539+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
19540+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
19541+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
19542+
19543+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
19544+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
1952519545
minimum: 0
19546+
default: 0
19547+
net_terms_type:
19548+
"$ref": "#/components/schemas/NetTermsTypeEnum"
1952619549
po_number:
1952719550
type: string
1952819551
title: Purchase order number
@@ -19629,6 +19652,11 @@ components:
1962919652
number:
1963019653
type: string
1963119654
title: Invoice number
19655+
business_entity_id:
19656+
type: string
19657+
title: Business Entity ID
19658+
description: Unique ID to identify the business entity assigned to the invoice.
19659+
Available when the `Multiple Business Entities` feature is enabled.
1963219660
type:
1963319661
title: Invoice type
1963419662
"$ref": "#/components/schemas/InvoiceTypeEnum"
@@ -21600,13 +21628,24 @@ components:
2160021628
net_terms:
2160121629
type: integer
2160221630
title: Net terms
21603-
description: Integer representing the number of days after an invoice's
21604-
creation that the invoice will become past due. If an invoice's net terms
21605-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
21606-
after it’s created. If an invoice is due net 30, it will become past due
21607-
at 31 days exactly.
21631+
description: |-
21632+
Integer paired with `Net Terms Type` and representing the number
21633+
of days past the current date (for `net` Net Terms Type) or days after
21634+
the last day of the current month (for `eom` Net Terms Type) that the
21635+
invoice will become past due. For any value, an additional 24 hours is
21636+
added to ensure the customer has the entire last day to make payment before
21637+
becoming past due. For example:
21638+
21639+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
21640+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
21641+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
21642+
21643+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
21644+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
2160821645
minimum: 0
2160921646
default: 0
21647+
net_terms_type:
21648+
"$ref": "#/components/schemas/NetTermsTypeEnum"
2161021649
terms_and_conditions:
2161121650
type: string
2161221651
title: Terms and conditions
@@ -22162,13 +22201,17 @@ components:
2216222201
net_terms:
2216322202
type: integer
2216422203
title: Net terms
22165-
description: Integer representing the number of days after an invoice's
22166-
creation that the invoice will become past due. If an invoice's net terms
22167-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
22168-
after it’s created. If an invoice is due net 30, it will become past due
22169-
at 31 days exactly.
22204+
description: |-
22205+
Integer normally paired with `Net Terms Type` and representing the number of days past
22206+
the current date (for `net` Net Terms Type) or days after the last day of the current
22207+
month (for `eom` Net Terms Type) that the invoice will become past due. During a subscription
22208+
change, it's not necessary to provide both the `Net Terms Type` and `Net Terms` parameters.
22209+
22210+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
2217022211
minimum: 0
2217122212
default: 0
22213+
net_terms_type:
22214+
"$ref": "#/components/schemas/NetTermsTypeEnum"
2217222215
transaction_type:
2217322216
description: An optional type designation for the payment gateway transaction
2217422217
created by this request. Supports 'moto' value, which is the acronym for
@@ -22373,13 +22416,24 @@ components:
2237322416
net_terms:
2237422417
type: integer
2237522418
title: Net terms
22376-
description: Integer representing the number of days after an invoice's
22377-
creation that the invoice will become past due. If an invoice's net terms
22378-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
22379-
after it’s created. If an invoice is due net 30, it will become past due
22380-
at 31 days exactly.
22419+
description: |-
22420+
Integer paired with `Net Terms Type` and representing the number
22421+
of days past the current date (for `net` Net Terms Type) or days after
22422+
the last day of the current month (for `eom` Net Terms Type) that the
22423+
invoice will become past due. For any value, an additional 24 hours is
22424+
added to ensure the customer has the entire last day to make payment before
22425+
becoming past due. For example:
22426+
22427+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
22428+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
22429+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
22430+
22431+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
22432+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
2238122433
minimum: 0
2238222434
default: 0
22435+
net_terms_type:
22436+
"$ref": "#/components/schemas/NetTermsTypeEnum"
2238322437
transaction_type:
2238422438
description: An optional type designation for the payment gateway transaction
2238522439
created by this request. Supports 'moto' value, which is the acronym for
@@ -22549,13 +22603,24 @@ components:
2254922603
net_terms:
2255022604
type: integer
2255122605
title: Terms that the subscription is due on
22552-
description: Integer representing the number of days after an invoice's
22553-
creation that the invoice will become past due. If an invoice's net terms
22554-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
22555-
after it’s created. If an invoice is due net 30, it will become past due
22556-
at 31 days exactly.
22606+
description: |-
22607+
Integer paired with `Net Terms Type` and representing the number
22608+
of days past the current date (for `net` Net Terms Type) or days after
22609+
the last day of the current month (for `eom` Net Terms Type) that the
22610+
invoice will become past due. For any value, an additional 24 hours is
22611+
added to ensure the customer has the entire last day to make payment before
22612+
becoming past due. For example:
22613+
22614+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
22615+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
22616+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
22617+
22618+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
22619+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
2255722620
minimum: 0
2255822621
default: 0
22622+
net_terms_type:
22623+
"$ref": "#/components/schemas/NetTermsTypeEnum"
2255922624
gateway_code:
2256022625
type: string
2256122626
title: Gateway Code
@@ -22694,6 +22759,14 @@ components:
2269422759
remaining_billing_cycles:
2269522760
type: integer
2269622761
description: Represents how many billing cycles are left in a ramp interval.
22762+
starting_on:
22763+
type: string
22764+
format: date-time
22765+
title: Date the ramp interval starts
22766+
ending_on:
22767+
type: string
22768+
format: date-time
22769+
title: Date the ramp interval ends
2269722770
unit_amount:
2269822771
type: number
2269922772
format: float
@@ -23253,13 +23326,24 @@ components:
2325323326
net_terms:
2325423327
type: integer
2325523328
title: Net terms
23256-
description: Integer representing the number of days after an invoice's
23257-
creation that the invoice will become past due. If an invoice's net terms
23258-
are set to '0', it is due 'On Receipt' and will become past due 24 hours
23259-
after it’s created. If an invoice is due net 30, it will become past due
23260-
at 31 days exactly.
23329+
description: |-
23330+
Integer paired with `Net Terms Type` and representing the number
23331+
of days past the current date (for `net` Net Terms Type) or days after
23332+
the last day of the current month (for `eom` Net Terms Type) that the
23333+
invoice will become past due. For any value, an additional 24 hours is
23334+
added to ensure the customer has the entire last day to make payment before
23335+
becoming past due. For example:
23336+
23337+
If an invoice is due `net 0`, it is due 'On Receipt' and will become past due 24 hours after it's created.
23338+
If an invoice is due `net 30`, it will become past due at 31 days exactly.
23339+
If an invoice is due `eom 30`, it will become past due 31 days from the last day of the current month.
23340+
23341+
When `eom` Net Terms Type is passed, the value for `Net Terms` is restricted to `0, 15, 30, 45, 60, or 90`.
23342+
For more information please visit our docs page (https://docs.recurly.com/docs/manual-payments#section-collection-terms)
2326123343
minimum: 0
2326223344
default: 0
23345+
net_terms_type:
23346+
"$ref": "#/components/schemas/NetTermsTypeEnum"
2326323347
terms_and_conditions:
2326423348
type: string
2326523349
title: Terms and conditions
@@ -24798,6 +24882,19 @@ components:
2479824882
- at_range_start
2479924883
- evenly
2480024884
- never
24885+
NetTermsTypeEnum:
24886+
type: string
24887+
title: Net Terms Type
24888+
description: |
24889+
Optionally supplied string that may be either `net` or `eom` (end-of-month).
24890+
When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date.
24891+
When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.
24892+
24893+
This field is only available when the EOM Net Terms feature is enabled.
24894+
enum:
24895+
- net
24896+
- eom
24897+
default: net
2480124898
InvoiceTypeEnum:
2480224899
type: string
2480324900
enum:

0 commit comments

Comments
 (0)