@getyetty-sdk/pennylane 2026.3.18 → 2026.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +96 -15
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +53 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -370,15 +370,17 @@ declare const createClient: (config?: Config) => Client;
|
|
|
370
370
|
declare const CompanyWebhookSubscriptionEvents: {
|
|
371
371
|
readonly CUSTOMER_INVOICE_CREATED: "customer_invoice.created";
|
|
372
372
|
readonly QUOTE_CREATED: "quote.created";
|
|
373
|
+
readonly DMS_FILE_CREATED: "dms_file.created";
|
|
373
374
|
};
|
|
374
375
|
type CompanyWebhookSubscriptionEvents = (typeof CompanyWebhookSubscriptionEvents)[keyof typeof CompanyWebhookSubscriptionEvents];
|
|
375
376
|
/**
|
|
376
377
|
* Array of event types to subscribe to.
|
|
377
378
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
378
379
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
380
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
379
381
|
*
|
|
380
382
|
*/
|
|
381
|
-
type WebhookSubscriptionsEvents = Array<'customer_invoice.created' | 'quote.created'>;
|
|
383
|
+
type WebhookSubscriptionsEvents = Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
382
384
|
type WebhookSubscriptionsResponse = {
|
|
383
385
|
/**
|
|
384
386
|
* ID of the webhook subscription
|
|
@@ -392,9 +394,10 @@ type WebhookSubscriptionsResponse = {
|
|
|
392
394
|
* Array of event types to subscribe to.
|
|
393
395
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
394
396
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
397
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
395
398
|
*
|
|
396
399
|
*/
|
|
397
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
400
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
398
401
|
/**
|
|
399
402
|
* Indicates whether the webhook subscription is active
|
|
400
403
|
*/
|
|
@@ -449,9 +452,10 @@ type WebhookSubscriptionsCreateResponse = {
|
|
|
449
452
|
* Array of event types to subscribe to.
|
|
450
453
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
451
454
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
455
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
452
456
|
*
|
|
453
457
|
*/
|
|
454
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
458
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
455
459
|
/**
|
|
456
460
|
* Indicates whether the webhook subscription is active
|
|
457
461
|
*/
|
|
@@ -2279,6 +2283,10 @@ type CustomerInvoicesPostDraftRequest = {
|
|
|
2279
2283
|
*/
|
|
2280
2284
|
rank: number;
|
|
2281
2285
|
}>;
|
|
2286
|
+
/**
|
|
2287
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
2288
|
+
*/
|
|
2289
|
+
label?: string | null;
|
|
2282
2290
|
/**
|
|
2283
2291
|
* A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
|
|
2284
2292
|
*/
|
|
@@ -2556,6 +2564,10 @@ type CustomerInvoicesPostFinalizedRequest = {
|
|
|
2556
2564
|
*/
|
|
2557
2565
|
special_mention?: string | null;
|
|
2558
2566
|
language?: 'fr_FR' | 'en_GB';
|
|
2567
|
+
/**
|
|
2568
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
2569
|
+
*/
|
|
2570
|
+
label?: string | null;
|
|
2559
2571
|
discount?: {
|
|
2560
2572
|
/**
|
|
2561
2573
|
* Discount type.
|
|
@@ -3763,6 +3775,10 @@ type CustomerInvoicesPutDraftRequest = {
|
|
|
3763
3775
|
id: number;
|
|
3764
3776
|
}>;
|
|
3765
3777
|
};
|
|
3778
|
+
/**
|
|
3779
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
3780
|
+
*/
|
|
3781
|
+
label?: string | null;
|
|
3766
3782
|
/**
|
|
3767
3783
|
* The unique external reference that was assigned during creation either by you or Pennylane.
|
|
3768
3784
|
*/
|
|
@@ -3772,6 +3788,10 @@ type CustomerInvoicesPutDraftRequest = {
|
|
|
3772
3788
|
* Finalized Customer Invoice
|
|
3773
3789
|
*/
|
|
3774
3790
|
type CustomerInvoicesPutFinalizedRequest = {
|
|
3791
|
+
/**
|
|
3792
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
3793
|
+
*/
|
|
3794
|
+
label?: string | null;
|
|
3775
3795
|
/**
|
|
3776
3796
|
* Schema for creating/updating a transaction reference
|
|
3777
3797
|
*/
|
|
@@ -5735,9 +5755,10 @@ type GetWebhookSubscriptionResponses = {
|
|
|
5735
5755
|
* Array of event types to subscribe to.
|
|
5736
5756
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5737
5757
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
5758
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
5738
5759
|
*
|
|
5739
5760
|
*/
|
|
5740
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5761
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
5741
5762
|
/**
|
|
5742
5763
|
* Indicates whether the webhook subscription is active
|
|
5743
5764
|
*/
|
|
@@ -5763,9 +5784,10 @@ type PostWebhookSubscriptionData = {
|
|
|
5763
5784
|
* Array of event types to subscribe to.
|
|
5764
5785
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5765
5786
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
5787
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
5766
5788
|
*
|
|
5767
5789
|
*/
|
|
5768
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5790
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
5769
5791
|
/**
|
|
5770
5792
|
* Indicates whether the webhook subscription is active
|
|
5771
5793
|
*/
|
|
@@ -5855,9 +5877,10 @@ type PostWebhookSubscriptionResponses = {
|
|
|
5855
5877
|
* Array of event types to subscribe to.
|
|
5856
5878
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5857
5879
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
5880
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
5858
5881
|
*
|
|
5859
5882
|
*/
|
|
5860
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5883
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
5861
5884
|
/**
|
|
5862
5885
|
* Indicates whether the webhook subscription is active
|
|
5863
5886
|
*/
|
|
@@ -5889,9 +5912,10 @@ type PutWebhookSubscriptionData = {
|
|
|
5889
5912
|
* Array of event types to subscribe to.
|
|
5890
5913
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5891
5914
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
5915
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
5892
5916
|
*
|
|
5893
5917
|
*/
|
|
5894
|
-
events?: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5918
|
+
events?: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
5895
5919
|
/**
|
|
5896
5920
|
* Indicates whether the webhook subscription is active
|
|
5897
5921
|
*/
|
|
@@ -5974,9 +5998,10 @@ type PutWebhookSubscriptionResponses = {
|
|
|
5974
5998
|
* Array of event types to subscribe to.
|
|
5975
5999
|
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5976
6000
|
* - `quote.created`: the event is triggered when a quote is created.
|
|
6001
|
+
* - `dms_file.created`: the event is triggered when a dms file is created.
|
|
5977
6002
|
*
|
|
5978
6003
|
*/
|
|
5979
|
-
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
6004
|
+
events: Array<'customer_invoice.created' | 'quote.created' | 'dms_file.created'>;
|
|
5980
6005
|
/**
|
|
5981
6006
|
* Indicates whether the webhook subscription is active
|
|
5982
6007
|
*/
|
|
@@ -10128,6 +10153,10 @@ type PostCustomerInvoicesData = {
|
|
|
10128
10153
|
*/
|
|
10129
10154
|
rank: number;
|
|
10130
10155
|
}>;
|
|
10156
|
+
/**
|
|
10157
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10158
|
+
*/
|
|
10159
|
+
label?: string | null;
|
|
10131
10160
|
/**
|
|
10132
10161
|
* A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
|
|
10133
10162
|
*/
|
|
@@ -10268,6 +10297,10 @@ type PostCustomerInvoicesData = {
|
|
|
10268
10297
|
*/
|
|
10269
10298
|
special_mention?: string | null;
|
|
10270
10299
|
language?: 'fr_FR' | 'en_GB';
|
|
10300
|
+
/**
|
|
10301
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10302
|
+
*/
|
|
10303
|
+
label?: string | null;
|
|
10271
10304
|
discount?: {
|
|
10272
10305
|
/**
|
|
10273
10306
|
* Discount type.
|
|
@@ -10781,6 +10814,10 @@ type ImportCustomerInvoicesData = {
|
|
|
10781
10814
|
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
10782
10815
|
*/
|
|
10783
10816
|
tax?: string;
|
|
10817
|
+
/**
|
|
10818
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10819
|
+
*/
|
|
10820
|
+
label?: string | null;
|
|
10784
10821
|
/**
|
|
10785
10822
|
* By adding this field you can automatically reconcile the newly imported invoice with a transaction. See documentation about [automatic payment matching](https://pennylane.readme.io/v2.0/docs/automating-payment-matching).
|
|
10786
10823
|
*/
|
|
@@ -18756,11 +18793,19 @@ type UpdateCustomerInvoiceData = {
|
|
|
18756
18793
|
id: number;
|
|
18757
18794
|
}>;
|
|
18758
18795
|
};
|
|
18796
|
+
/**
|
|
18797
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
18798
|
+
*/
|
|
18799
|
+
label?: string | null;
|
|
18759
18800
|
/**
|
|
18760
18801
|
* The unique external reference that was assigned during creation either by you or Pennylane.
|
|
18761
18802
|
*/
|
|
18762
18803
|
external_reference?: string;
|
|
18763
18804
|
} | {
|
|
18805
|
+
/**
|
|
18806
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
18807
|
+
*/
|
|
18808
|
+
label?: string | null;
|
|
18764
18809
|
/**
|
|
18765
18810
|
* Schema for creating/updating a transaction reference
|
|
18766
18811
|
*/
|
|
@@ -21307,6 +21352,10 @@ type PutSupplierInvoiceData = {
|
|
|
21307
21352
|
* The invoice number
|
|
21308
21353
|
*/
|
|
21309
21354
|
invoice_number?: string;
|
|
21355
|
+
/**
|
|
21356
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
21357
|
+
*/
|
|
21358
|
+
label?: string | null;
|
|
21310
21359
|
currency?: 'EUR' | 'USD' | 'GBP' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'ZWL';
|
|
21311
21360
|
/**
|
|
21312
21361
|
* Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
|
|
@@ -22520,6 +22569,10 @@ type ImportSupplierInvoiceData = {
|
|
|
22520
22569
|
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
22521
22570
|
*/
|
|
22522
22571
|
tax?: string;
|
|
22572
|
+
/**
|
|
22573
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
22574
|
+
*/
|
|
22575
|
+
label?: string | null;
|
|
22523
22576
|
/**
|
|
22524
22577
|
* By adding this field you can automatically reconcile the newly imported invoice with a transaction. See documentation about [automatic payment matching](https://pennylane.readme.io/v2.0/docs/automating-payment-matching).
|
|
22525
22578
|
*/
|
|
@@ -32001,14 +32054,14 @@ declare const client: Client;
|
|
|
32001
32054
|
//#region src/generated/schemas.gen.d.ts
|
|
32002
32055
|
declare const CompanyWebhookSubscriptionEventsSchema: {
|
|
32003
32056
|
readonly type: "string";
|
|
32004
|
-
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
32057
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
|
|
32005
32058
|
};
|
|
32006
32059
|
declare const WebhookSubscriptions__EventsSchema: {
|
|
32007
|
-
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
|
|
32060
|
+
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
|
|
32008
32061
|
readonly type: "array";
|
|
32009
32062
|
readonly items: {
|
|
32010
32063
|
readonly type: "string";
|
|
32011
|
-
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
32064
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
|
|
32012
32065
|
};
|
|
32013
32066
|
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
32014
32067
|
readonly minItems: 1;
|
|
@@ -32029,11 +32082,11 @@ declare const WebhookSubscriptions__ResponseSchema: {
|
|
|
32029
32082
|
readonly example: "https://example.com/webhooks";
|
|
32030
32083
|
};
|
|
32031
32084
|
readonly events: {
|
|
32032
|
-
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
|
|
32085
|
+
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
|
|
32033
32086
|
readonly type: "array";
|
|
32034
32087
|
readonly items: {
|
|
32035
32088
|
readonly type: "string";
|
|
32036
|
-
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
32089
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
|
|
32037
32090
|
};
|
|
32038
32091
|
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
32039
32092
|
readonly minItems: 1;
|
|
@@ -32078,11 +32131,11 @@ declare const WebhookSubscriptions__CreateResponseSchema: {
|
|
|
32078
32131
|
readonly example: "https://example.com/webhooks";
|
|
32079
32132
|
};
|
|
32080
32133
|
readonly events: {
|
|
32081
|
-
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n";
|
|
32134
|
+
readonly description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n";
|
|
32082
32135
|
readonly type: "array";
|
|
32083
32136
|
readonly items: {
|
|
32084
32137
|
readonly type: "string";
|
|
32085
|
-
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
32138
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created", "dms_file.created"];
|
|
32086
32139
|
};
|
|
32087
32140
|
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
32088
32141
|
readonly minItems: 1;
|
|
@@ -34094,6 +34147,13 @@ declare const CustomerInvoices__PostDraft_RequestSchema: {
|
|
|
34094
34147
|
readonly required: readonly ["rank"];
|
|
34095
34148
|
};
|
|
34096
34149
|
};
|
|
34150
|
+
readonly label: {
|
|
34151
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
34152
|
+
readonly type: "string";
|
|
34153
|
+
readonly maxLength: 2000;
|
|
34154
|
+
readonly nullable: true;
|
|
34155
|
+
readonly example: "Custom accounting label";
|
|
34156
|
+
};
|
|
34097
34157
|
readonly external_reference: {
|
|
34098
34158
|
readonly description: "A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.";
|
|
34099
34159
|
readonly type: "string";
|
|
@@ -34499,6 +34559,13 @@ declare const CustomerInvoices__PostFinalized_RequestSchema: {
|
|
|
34499
34559
|
readonly default: "fr_FR";
|
|
34500
34560
|
readonly enum: readonly ["fr_FR", "en_GB"];
|
|
34501
34561
|
};
|
|
34562
|
+
readonly label: {
|
|
34563
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
34564
|
+
readonly type: "string";
|
|
34565
|
+
readonly maxLength: 2000;
|
|
34566
|
+
readonly nullable: true;
|
|
34567
|
+
readonly example: "Custom accounting label";
|
|
34568
|
+
};
|
|
34502
34569
|
readonly discount: {
|
|
34503
34570
|
readonly type: "object";
|
|
34504
34571
|
readonly additionalProperties: false;
|
|
@@ -36875,6 +36942,13 @@ declare const CustomerInvoices__PutDraft_RequestSchema: {
|
|
|
36875
36942
|
};
|
|
36876
36943
|
};
|
|
36877
36944
|
};
|
|
36945
|
+
readonly label: {
|
|
36946
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
36947
|
+
readonly type: "string";
|
|
36948
|
+
readonly maxLength: 2000;
|
|
36949
|
+
readonly nullable: true;
|
|
36950
|
+
readonly example: "Custom accounting label";
|
|
36951
|
+
};
|
|
36878
36952
|
readonly external_reference: {
|
|
36879
36953
|
readonly description: "The unique external reference that was assigned during creation either by you or Pennylane.";
|
|
36880
36954
|
readonly type: "string";
|
|
@@ -36887,6 +36961,13 @@ declare const CustomerInvoices__PutFinalized_RequestSchema: {
|
|
|
36887
36961
|
readonly type: "object";
|
|
36888
36962
|
readonly additionalProperties: false;
|
|
36889
36963
|
readonly properties: {
|
|
36964
|
+
readonly label: {
|
|
36965
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
36966
|
+
readonly type: "string";
|
|
36967
|
+
readonly maxLength: 2000;
|
|
36968
|
+
readonly nullable: true;
|
|
36969
|
+
readonly example: "Custom accounting label";
|
|
36970
|
+
};
|
|
36890
36971
|
readonly transaction_reference: {
|
|
36891
36972
|
readonly description: "Schema for creating/updating a transaction reference";
|
|
36892
36973
|
readonly type: "object";
|