File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 116
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-373ca3e805c414f75a90b0088c57cbb60ff207abdca0a8e397c551de88606c4a .yml
3- openapi_spec_hash : 1c30d01bd9c38f8a2aa4bd088fbe69bc
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a44cccd16bb58080f7cc0669999403f6ed3f77287fad901caa6fd2523f2fbafd .yml
3+ openapi_spec_hash : af6444648d0b2a70b7f7ad234bd37541
44config_hash : 1f535c1fa222aacf28b636eed21bec72
Original file line number Diff line number Diff line change @@ -722,14 +722,6 @@ export interface InvoiceCreateParams {
722722
723723 line_items : Array < InvoiceCreateParams . LineItem > ;
724724
725- /**
726- * Determines the difference between the invoice issue date for subscription
727- * invoices as the date that they are due. A value of '0' here represents that the
728- * invoice is due on issue, whereas a value of 30 represents that the customer has
729- * 30 days to pay the invoice.
730- */
731- net_terms : number ;
732-
733725 /**
734726 * The id of the `Customer` to create this invoice for. One of `customer_id` and
735727 * `external_customer_id` are required.
@@ -759,6 +751,14 @@ export interface InvoiceCreateParams {
759751 */
760752 metadata ?: { [ key : string ] : string | null } | null ;
761753
754+ /**
755+ * Determines the difference between the invoice issue date for subscription
756+ * invoices as the date that they are due. A value of '0' here represents that the
757+ * invoice is due on issue, whereas a value of 30 represents that the customer has
758+ * 30 days to pay the invoice.
759+ */
760+ net_terms ?: number | null ;
761+
762762 /**
763763 * When true, this invoice will be submitted for issuance upon creation. When
764764 * false, the resulting invoice will require manual review to issue. Defaulted to
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ describe('resource invoices', () => {
2424 unit_config : { unit_amount : 'unit_amount' } ,
2525 } ,
2626 ] ,
27- net_terms : 0 ,
2827 } ) ;
2928 const rawResponse = await responsePromise . asResponse ( ) ;
3029 expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -50,7 +49,6 @@ describe('resource invoices', () => {
5049 unit_config : { unit_amount : 'unit_amount' } ,
5150 } ,
5251 ] ,
53- net_terms : 0 ,
5452 customer_id : '4khy3nwzktxv7' ,
5553 discount : {
5654 discount_type : 'percentage' ,
@@ -62,6 +60,7 @@ describe('resource invoices', () => {
6260 external_customer_id : 'external-customer-id' ,
6361 memo : 'An optional memo for my invoice.' ,
6462 metadata : { foo : 'string' } ,
63+ net_terms : 0 ,
6564 will_auto_issue : false ,
6665 } ) ;
6766 } ) ;
You can’t perform that action at this time.
0 commit comments