@getyetty-sdk/pennylane 2026.3.18 → 2026.3.19
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 +72 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +28 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2279,6 +2279,10 @@ type CustomerInvoicesPostDraftRequest = {
|
|
|
2279
2279
|
*/
|
|
2280
2280
|
rank: number;
|
|
2281
2281
|
}>;
|
|
2282
|
+
/**
|
|
2283
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
2284
|
+
*/
|
|
2285
|
+
label?: string | null;
|
|
2282
2286
|
/**
|
|
2283
2287
|
* A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
|
|
2284
2288
|
*/
|
|
@@ -2556,6 +2560,10 @@ type CustomerInvoicesPostFinalizedRequest = {
|
|
|
2556
2560
|
*/
|
|
2557
2561
|
special_mention?: string | null;
|
|
2558
2562
|
language?: 'fr_FR' | 'en_GB';
|
|
2563
|
+
/**
|
|
2564
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
2565
|
+
*/
|
|
2566
|
+
label?: string | null;
|
|
2559
2567
|
discount?: {
|
|
2560
2568
|
/**
|
|
2561
2569
|
* Discount type.
|
|
@@ -3763,6 +3771,10 @@ type CustomerInvoicesPutDraftRequest = {
|
|
|
3763
3771
|
id: number;
|
|
3764
3772
|
}>;
|
|
3765
3773
|
};
|
|
3774
|
+
/**
|
|
3775
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
3776
|
+
*/
|
|
3777
|
+
label?: string | null;
|
|
3766
3778
|
/**
|
|
3767
3779
|
* The unique external reference that was assigned during creation either by you or Pennylane.
|
|
3768
3780
|
*/
|
|
@@ -3772,6 +3784,10 @@ type CustomerInvoicesPutDraftRequest = {
|
|
|
3772
3784
|
* Finalized Customer Invoice
|
|
3773
3785
|
*/
|
|
3774
3786
|
type CustomerInvoicesPutFinalizedRequest = {
|
|
3787
|
+
/**
|
|
3788
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
3789
|
+
*/
|
|
3790
|
+
label?: string | null;
|
|
3775
3791
|
/**
|
|
3776
3792
|
* Schema for creating/updating a transaction reference
|
|
3777
3793
|
*/
|
|
@@ -10128,6 +10144,10 @@ type PostCustomerInvoicesData = {
|
|
|
10128
10144
|
*/
|
|
10129
10145
|
rank: number;
|
|
10130
10146
|
}>;
|
|
10147
|
+
/**
|
|
10148
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10149
|
+
*/
|
|
10150
|
+
label?: string | null;
|
|
10131
10151
|
/**
|
|
10132
10152
|
* A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
|
|
10133
10153
|
*/
|
|
@@ -10268,6 +10288,10 @@ type PostCustomerInvoicesData = {
|
|
|
10268
10288
|
*/
|
|
10269
10289
|
special_mention?: string | null;
|
|
10270
10290
|
language?: 'fr_FR' | 'en_GB';
|
|
10291
|
+
/**
|
|
10292
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10293
|
+
*/
|
|
10294
|
+
label?: string | null;
|
|
10271
10295
|
discount?: {
|
|
10272
10296
|
/**
|
|
10273
10297
|
* Discount type.
|
|
@@ -10781,6 +10805,10 @@ type ImportCustomerInvoicesData = {
|
|
|
10781
10805
|
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
10782
10806
|
*/
|
|
10783
10807
|
tax?: string;
|
|
10808
|
+
/**
|
|
10809
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
10810
|
+
*/
|
|
10811
|
+
label?: string | null;
|
|
10784
10812
|
/**
|
|
10785
10813
|
* 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
10814
|
*/
|
|
@@ -18756,11 +18784,19 @@ type UpdateCustomerInvoiceData = {
|
|
|
18756
18784
|
id: number;
|
|
18757
18785
|
}>;
|
|
18758
18786
|
};
|
|
18787
|
+
/**
|
|
18788
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
18789
|
+
*/
|
|
18790
|
+
label?: string | null;
|
|
18759
18791
|
/**
|
|
18760
18792
|
* The unique external reference that was assigned during creation either by you or Pennylane.
|
|
18761
18793
|
*/
|
|
18762
18794
|
external_reference?: string;
|
|
18763
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;
|
|
18764
18800
|
/**
|
|
18765
18801
|
* Schema for creating/updating a transaction reference
|
|
18766
18802
|
*/
|
|
@@ -21307,6 +21343,10 @@ type PutSupplierInvoiceData = {
|
|
|
21307
21343
|
* The invoice number
|
|
21308
21344
|
*/
|
|
21309
21345
|
invoice_number?: string;
|
|
21346
|
+
/**
|
|
21347
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
21348
|
+
*/
|
|
21349
|
+
label?: string | null;
|
|
21310
21350
|
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
21351
|
/**
|
|
21312
21352
|
* Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
|
|
@@ -22520,6 +22560,10 @@ type ImportSupplierInvoiceData = {
|
|
|
22520
22560
|
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
22521
22561
|
*/
|
|
22522
22562
|
tax?: string;
|
|
22563
|
+
/**
|
|
22564
|
+
* Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.
|
|
22565
|
+
*/
|
|
22566
|
+
label?: string | null;
|
|
22523
22567
|
/**
|
|
22524
22568
|
* 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
22569
|
*/
|
|
@@ -34094,6 +34138,13 @@ declare const CustomerInvoices__PostDraft_RequestSchema: {
|
|
|
34094
34138
|
readonly required: readonly ["rank"];
|
|
34095
34139
|
};
|
|
34096
34140
|
};
|
|
34141
|
+
readonly label: {
|
|
34142
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
34143
|
+
readonly type: "string";
|
|
34144
|
+
readonly maxLength: 2000;
|
|
34145
|
+
readonly nullable: true;
|
|
34146
|
+
readonly example: "Custom accounting label";
|
|
34147
|
+
};
|
|
34097
34148
|
readonly external_reference: {
|
|
34098
34149
|
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
34150
|
readonly type: "string";
|
|
@@ -34499,6 +34550,13 @@ declare const CustomerInvoices__PostFinalized_RequestSchema: {
|
|
|
34499
34550
|
readonly default: "fr_FR";
|
|
34500
34551
|
readonly enum: readonly ["fr_FR", "en_GB"];
|
|
34501
34552
|
};
|
|
34553
|
+
readonly label: {
|
|
34554
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
34555
|
+
readonly type: "string";
|
|
34556
|
+
readonly maxLength: 2000;
|
|
34557
|
+
readonly nullable: true;
|
|
34558
|
+
readonly example: "Custom accounting label";
|
|
34559
|
+
};
|
|
34502
34560
|
readonly discount: {
|
|
34503
34561
|
readonly type: "object";
|
|
34504
34562
|
readonly additionalProperties: false;
|
|
@@ -36875,6 +36933,13 @@ declare const CustomerInvoices__PutDraft_RequestSchema: {
|
|
|
36875
36933
|
};
|
|
36876
36934
|
};
|
|
36877
36935
|
};
|
|
36936
|
+
readonly label: {
|
|
36937
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
36938
|
+
readonly type: "string";
|
|
36939
|
+
readonly maxLength: 2000;
|
|
36940
|
+
readonly nullable: true;
|
|
36941
|
+
readonly example: "Custom accounting label";
|
|
36942
|
+
};
|
|
36878
36943
|
readonly external_reference: {
|
|
36879
36944
|
readonly description: "The unique external reference that was assigned during creation either by you or Pennylane.";
|
|
36880
36945
|
readonly type: "string";
|
|
@@ -36887,6 +36952,13 @@ declare const CustomerInvoices__PutFinalized_RequestSchema: {
|
|
|
36887
36952
|
readonly type: "object";
|
|
36888
36953
|
readonly additionalProperties: false;
|
|
36889
36954
|
readonly properties: {
|
|
36955
|
+
readonly label: {
|
|
36956
|
+
readonly description: "Custom label for the invoice used on accounting (ledger) entries. If not provided, Pennylane generates a label automatically.";
|
|
36957
|
+
readonly type: "string";
|
|
36958
|
+
readonly maxLength: 2000;
|
|
36959
|
+
readonly nullable: true;
|
|
36960
|
+
readonly example: "Custom accounting label";
|
|
36961
|
+
};
|
|
36890
36962
|
readonly transaction_reference: {
|
|
36891
36963
|
readonly description: "Schema for creating/updating a transaction reference";
|
|
36892
36964
|
readonly type: "object";
|