@getyetty-sdk/pennylane 2026.3.17 → 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 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
  */
@@ -4070,6 +4086,8 @@ declare const SupplierInvoicePdpReason: {
4070
4086
  readonly RECIPIENT_ERROR: "recipient_error";
4071
4087
  readonly CONTRACT_COMPLETED: "contract_completed";
4072
4088
  readonly DUPLICATE_INVOICE: "duplicate_invoice";
4089
+ readonly INCORRECT_PRICES: "incorrect_prices";
4090
+ readonly NON_COMPLIANT_INVOICE: "non_compliant_invoice";
4073
4091
  };
4074
4092
  type SupplierInvoicePdpReason = (typeof SupplierInvoicePdpReason)[keyof typeof SupplierInvoicePdpReason];
4075
4093
  declare const Null2: {
@@ -4213,7 +4231,7 @@ type SupplierInvoicesResponse = {
4213
4231
  */
4214
4232
  e_invoicing: {
4215
4233
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
4216
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
4234
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
4217
4235
  } | null;
4218
4236
  /**
4219
4237
  * The time the invoice has been archived
@@ -10126,6 +10144,10 @@ type PostCustomerInvoicesData = {
10126
10144
  */
10127
10145
  rank: number;
10128
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;
10129
10151
  /**
10130
10152
  * A unique external reference you can provide to track this customer invoice. If not provided, Pennylane will generate an identifier for you.
10131
10153
  */
@@ -10266,6 +10288,10 @@ type PostCustomerInvoicesData = {
10266
10288
  */
10267
10289
  special_mention?: string | null;
10268
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;
10269
10295
  discount?: {
10270
10296
  /**
10271
10297
  * Discount type.
@@ -10779,6 +10805,10 @@ type ImportCustomerInvoicesData = {
10779
10805
  * Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
10780
10806
  */
10781
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;
10782
10812
  /**
10783
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).
10784
10814
  */
@@ -18754,11 +18784,19 @@ type UpdateCustomerInvoiceData = {
18754
18784
  id: number;
18755
18785
  }>;
18756
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;
18757
18791
  /**
18758
18792
  * The unique external reference that was assigned during creation either by you or Pennylane.
18759
18793
  */
18760
18794
  external_reference?: string;
18761
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;
18762
18800
  /**
18763
18801
  * Schema for creating/updating a transaction reference
18764
18802
  */
@@ -21028,7 +21066,7 @@ type GetSupplierInvoicesResponses = {
21028
21066
  */
21029
21067
  e_invoicing: {
21030
21068
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
21031
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
21069
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
21032
21070
  } | null;
21033
21071
  /**
21034
21072
  * The time the invoice has been archived
@@ -21270,7 +21308,7 @@ type GetSupplierInvoiceResponses = {
21270
21308
  */
21271
21309
  e_invoicing: {
21272
21310
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
21273
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
21311
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
21274
21312
  } | null;
21275
21313
  /**
21276
21314
  * The time the invoice has been archived
@@ -21305,6 +21343,10 @@ type PutSupplierInvoiceData = {
21305
21343
  * The invoice number
21306
21344
  */
21307
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;
21308
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';
21309
21351
  /**
21310
21352
  * Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
@@ -21673,7 +21715,7 @@ type PutSupplierInvoiceResponses = {
21673
21715
  */
21674
21716
  e_invoicing: {
21675
21717
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
21676
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
21718
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
21677
21719
  } | null;
21678
21720
  /**
21679
21721
  * The time the invoice has been archived
@@ -22518,6 +22560,10 @@ type ImportSupplierInvoiceData = {
22518
22560
  * Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
22519
22561
  */
22520
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;
22521
22567
  /**
22522
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).
22523
22569
  */
@@ -22833,7 +22879,7 @@ type ImportSupplierInvoiceResponses = {
22833
22879
  */
22834
22880
  e_invoicing: {
22835
22881
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
22836
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
22882
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
22837
22883
  } | null;
22838
22884
  /**
22839
22885
  * The time the invoice has been archived
@@ -23183,7 +23229,7 @@ type ValidateAccountingSupplierInvoiceResponses = {
23183
23229
  */
23184
23230
  e_invoicing: {
23185
23231
  status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
23186
- reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | null;
23232
+ reason: 'incorrect_vat_rate' | 'incorrect_unit_prices' | 'incorrect_billed_quantity' | 'incorrect_billed_item' | 'defective_delivered_item' | 'delivery_issue' | 'bank_details_error' | 'incorrect_payment_terms' | 'missing_legal_notice' | 'missing_contractual_reference' | 'recipient_error' | 'contract_completed' | 'duplicate_invoice' | 'incorrect_prices' | 'non_compliant_invoice' | null;
23187
23233
  } | null;
23188
23234
  /**
23189
23235
  * The time the invoice has been archived
@@ -30988,10 +31034,8 @@ type GetProAccountMandatesData = {
30988
31034
  /**
30989
31035
  * You can choose to filter items on specific fields.
30990
31036
  * Available fields and operators:
30991
- * - `signed_at`: `lt`, `lteq`, `gt`, `gteq`, `eq`, `not_eq`, `in`, `not_in`
30992
31037
  * - `status`: `eq`, `not_eq`, `in`, `not_in`
30993
31038
  * - `customer_id`: `lt`, `lteq`, `gt`, `gteq`, `eq`, `not_eq`, `in`, `not_in`
30994
- * - `active_subscriptions_count`: `lt`, `lteq`, `gt`, `gteq`, `eq`, `not_eq`, `in`, `not_in`
30995
31039
  *
30996
31040
  */
30997
31041
  filter?: string;
@@ -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";
@@ -37028,7 +37100,7 @@ declare const SupplierInvoicePDPStatusSchema: {
37028
37100
  };
37029
37101
  declare const SupplierInvoicePDPReasonSchema: {
37030
37102
  readonly type: "string";
37031
- readonly enum: readonly ["incorrect_vat_rate", "incorrect_unit_prices", "incorrect_billed_quantity", "incorrect_billed_item", "defective_delivered_item", "delivery_issue", "bank_details_error", "incorrect_payment_terms", "missing_legal_notice", "missing_contractual_reference", "recipient_error", "contract_completed", "duplicate_invoice"];
37103
+ readonly enum: readonly ["incorrect_vat_rate", "incorrect_unit_prices", "incorrect_billed_quantity", "incorrect_billed_item", "defective_delivered_item", "delivery_issue", "bank_details_error", "incorrect_payment_terms", "missing_legal_notice", "missing_contractual_reference", "recipient_error", "contract_completed", "duplicate_invoice", "incorrect_prices", "non_compliant_invoice"];
37032
37104
  };
37033
37105
  declare const NullSchema: {
37034
37106
  readonly nullable: true;
@@ -37262,7 +37334,7 @@ declare const SupplierInvoices__ResponseSchema: {
37262
37334
  readonly reason: {
37263
37335
  readonly anyOf: readonly [{
37264
37336
  readonly type: "string";
37265
- readonly enum: readonly ["incorrect_vat_rate", "incorrect_unit_prices", "incorrect_billed_quantity", "incorrect_billed_item", "defective_delivered_item", "delivery_issue", "bank_details_error", "incorrect_payment_terms", "missing_legal_notice", "missing_contractual_reference", "recipient_error", "contract_completed", "duplicate_invoice"];
37337
+ readonly enum: readonly ["incorrect_vat_rate", "incorrect_unit_prices", "incorrect_billed_quantity", "incorrect_billed_item", "defective_delivered_item", "delivery_issue", "bank_details_error", "incorrect_payment_terms", "missing_legal_notice", "missing_contractual_reference", "recipient_error", "contract_completed", "duplicate_invoice", "incorrect_prices", "non_compliant_invoice"];
37266
37338
  }, {
37267
37339
  readonly nullable: true;
37268
37340
  readonly type: "string";
@@ -40114,7 +40186,7 @@ declare const getLedgerAccount: <ThrowOnError extends boolean = false>(options:
40114
40186
  * Update a ledger account
40115
40187
  *
40116
40188
  * > ℹ️
40117
- * > This endpoint requires one of the following scopes: `ledger_accounts:all`
40189
+ * > This endpoint requires the following scope: `ledger_accounts:all`
40118
40190
  */
40119
40191
  declare const updateLedgerAccount: <ThrowOnError extends boolean = false>(options: Options<UpdateLedgerAccountData, ThrowOnError>) => RequestResult<UpdateLedgerAccountResponses, UpdateLedgerAccountErrors, ThrowOnError, "fields">;
40120
40192
  /**
@@ -40128,7 +40200,7 @@ declare const updateLedgerAccount: <ThrowOnError extends boolean = false>(option
40128
40200
  * For more details, see our API documentation https://pennylane.readme.io/docs/2026-api-changes-guide for migration instructions.
40129
40201
  *
40130
40202
  * > ℹ️
40131
- * > This endpoint requires one of the following scopes: `ledger`
40203
+ * > This endpoint requires the following scope: `ledger`
40132
40204
  *
40133
40205
  * @deprecated
40134
40206
  */
@@ -40144,7 +40216,7 @@ declare const getLedgerAttachments: <ThrowOnError extends boolean = false>(optio
40144
40216
  * > As an alternative, please use the [File Attachments: Upload a file](https://pennylane.readme.io/reference/postfileattachments#/) endpoint.
40145
40217
  *
40146
40218
  * > ℹ️
40147
- * > This endpoint requires one of the following scopes: `ledger`
40219
+ * > This endpoint requires the following scope: `ledger`
40148
40220
  *
40149
40221
  * @deprecated
40150
40222
  */
@@ -40332,7 +40404,7 @@ declare const getCustomerInvoices: <ThrowOnError extends boolean = false>(option
40332
40404
  *
40333
40405
  *
40334
40406
  * > ℹ️
40335
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40407
+ * > This endpoint requires the following scope: `customer_invoices:all`
40336
40408
  */
40337
40409
  declare const postCustomerInvoices: <ThrowOnError extends boolean = false>(options: Options<PostCustomerInvoicesData, ThrowOnError>) => RequestResult<PostCustomerInvoicesResponses, PostCustomerInvoicesErrors, ThrowOnError, "fields">;
40338
40410
  /**
@@ -40344,7 +40416,7 @@ declare const postCustomerInvoices: <ThrowOnError extends boolean = false>(optio
40344
40416
  *
40345
40417
  *
40346
40418
  * > ℹ️
40347
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40419
+ * > This endpoint requires the following scope: `customer_invoices:all`
40348
40420
  */
40349
40421
  declare const importCustomerInvoices: <ThrowOnError extends boolean = false>(options: Options<ImportCustomerInvoicesData, ThrowOnError>) => RequestResult<ImportCustomerInvoicesResponses, ImportCustomerInvoicesErrors, ThrowOnError, "fields">;
40350
40422
  /**
@@ -40357,7 +40429,7 @@ declare const importCustomerInvoices: <ThrowOnError extends boolean = false>(opt
40357
40429
  *
40358
40430
  *
40359
40431
  * > ℹ️
40360
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40432
+ * > This endpoint requires the following scope: `customer_invoices:all`
40361
40433
  */
40362
40434
  declare const createCustomerInvoiceEInvoiceImport: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerInvoiceEInvoiceImportData, ThrowOnError>) => RequestResult<CreateCustomerInvoiceEInvoiceImportResponses, CreateCustomerInvoiceEInvoiceImportErrors, ThrowOnError, "fields">;
40363
40435
  /**
@@ -40368,7 +40440,7 @@ declare const createCustomerInvoiceEInvoiceImport: <ThrowOnError extends boolean
40368
40440
  *
40369
40441
  *
40370
40442
  * > ℹ️
40371
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40443
+ * > This endpoint requires the following scope: `customer_invoices:all`
40372
40444
  */
40373
40445
  declare const createCustomerInvoiceFromQuote: <ThrowOnError extends boolean = false>(options: Options<CreateCustomerInvoiceFromQuoteData, ThrowOnError>) => RequestResult<CreateCustomerInvoiceFromQuoteResponses, CreateCustomerInvoiceFromQuoteErrors, ThrowOnError, "fields">;
40374
40446
  /**
@@ -40388,7 +40460,7 @@ declare const getBillingSubscriptions: <ThrowOnError extends boolean = false>(op
40388
40460
  *
40389
40461
  *
40390
40462
  * > ℹ️
40391
- * > This endpoint requires one of the following scopes: `billing_subscriptions:all`
40463
+ * > This endpoint requires the following scope: `billing_subscriptions:all`
40392
40464
  */
40393
40465
  declare const postBillingSubscriptions: <ThrowOnError extends boolean = false>(options: Options<PostBillingSubscriptionsData, ThrowOnError>) => RequestResult<PostBillingSubscriptionsResponses, PostBillingSubscriptionsErrors, ThrowOnError, "fields">;
40394
40466
  /**
@@ -40406,7 +40478,7 @@ declare const getBillingSubscription: <ThrowOnError extends boolean = false>(opt
40406
40478
  * Update a billing subscription
40407
40479
  *
40408
40480
  * > ℹ️
40409
- * > This endpoint requires one of the following scopes: `billing_subscriptions:all`
40481
+ * > This endpoint requires the following scope: `billing_subscriptions:all`
40410
40482
  */
40411
40483
  declare const putBillingSubscriptions: <ThrowOnError extends boolean = false>(options: Options<PutBillingSubscriptionsData, ThrowOnError>) => RequestResult<PutBillingSubscriptionsResponses, PutBillingSubscriptionsErrors, ThrowOnError, "fields">;
40412
40484
  /**
@@ -40442,7 +40514,7 @@ declare const getProducts: <ThrowOnError extends boolean = false>(options?: Opti
40442
40514
  * Create a product
40443
40515
  *
40444
40516
  * > ℹ️
40445
- * > This endpoint requires one of the following scopes: `products:all`
40517
+ * > This endpoint requires the following scope: `products:all`
40446
40518
  */
40447
40519
  declare const postProducts: <ThrowOnError extends boolean = false>(options: Options<PostProductsData, ThrowOnError>) => RequestResult<PostProductsResponses, PostProductsErrors, ThrowOnError, "fields">;
40448
40520
  /**
@@ -40460,7 +40532,7 @@ declare const getProduct: <ThrowOnError extends boolean = false>(options: Option
40460
40532
  * Update a product
40461
40533
  *
40462
40534
  * > ℹ️
40463
- * > This endpoint requires one of the following scopes: `products:all`
40535
+ * > This endpoint requires the following scope: `products:all`
40464
40536
  */
40465
40537
  declare const putProduct: <ThrowOnError extends boolean = false>(options: Options<PutProductData, ThrowOnError>) => RequestResult<PutProductResponses, PutProductErrors, ThrowOnError, "fields">;
40466
40538
  /**
@@ -40487,7 +40559,7 @@ declare const getFileAttachments: <ThrowOnError extends boolean = false>(options
40487
40559
  *
40488
40560
  *
40489
40561
  * > ℹ️
40490
- * > This endpoint requires one of the following scopes: `file_attachments:all`
40562
+ * > This endpoint requires the following scope: `file_attachments:all`
40491
40563
  */
40492
40564
  declare const postFileAttachments: <ThrowOnError extends boolean = false>(options: Options<PostFileAttachmentsData, ThrowOnError>) => RequestResult<PostFileAttachmentsResponses, PostFileAttachmentsErrors, ThrowOnError, "fields">;
40493
40565
  /**
@@ -40496,7 +40568,7 @@ declare const postFileAttachments: <ThrowOnError extends boolean = false>(option
40496
40568
  * List customer invoice templates
40497
40569
  *
40498
40570
  * > ℹ️
40499
- * > This endpoint requires one of the following scopes: `customer_invoice_templates:readonly`
40571
+ * > This endpoint requires the following scope: `customer_invoice_templates:readonly`
40500
40572
  */
40501
40573
  declare const getCustomerInvoiceTemplates: <ThrowOnError extends boolean = false>(options?: Options<GetCustomerInvoiceTemplatesData, ThrowOnError>) => RequestResult<GetCustomerInvoiceTemplatesResponses, GetCustomerInvoiceTemplatesErrors, ThrowOnError, "fields">;
40502
40574
  /**
@@ -40505,7 +40577,7 @@ declare const getCustomerInvoiceTemplates: <ThrowOnError extends boolean = false
40505
40577
  * This endpoint allows you to create an Analytical General Ledger export. The generated export file is an xlsx file, using the in-line analytical mode by default.
40506
40578
  *
40507
40579
  * > ℹ️
40508
- * > This endpoint requires one of the following scopes: `exports:agl`
40580
+ * > This endpoint requires the following scope: `exports:agl`
40509
40581
  */
40510
40582
  declare const exportAnalyticalGeneralLedger: <ThrowOnError extends boolean = false>(options: Options<ExportAnalyticalGeneralLedgerData, ThrowOnError>) => RequestResult<ExportAnalyticalGeneralLedgerResponses, ExportAnalyticalGeneralLedgerErrors, ThrowOnError, "fields">;
40511
40583
  /**
@@ -40514,7 +40586,7 @@ declare const exportAnalyticalGeneralLedger: <ThrowOnError extends boolean = fal
40514
40586
  * The endpoint returns a specific Analytical General Ledger export. The export file is an xlsx file, using the in-line analytical mode.
40515
40587
  *
40516
40588
  * > ℹ️
40517
- * > This endpoint requires one of the following scopes: `exports:agl`
40589
+ * > This endpoint requires the following scope: `exports:agl`
40518
40590
  */
40519
40591
  declare const getAnalyticalGeneralLedgerExport: <ThrowOnError extends boolean = false>(options: Options<GetAnalyticalGeneralLedgerExportData, ThrowOnError>) => RequestResult<GetAnalyticalGeneralLedgerExportResponses, GetAnalyticalGeneralLedgerExportErrors, ThrowOnError, "fields">;
40520
40592
  /**
@@ -40523,7 +40595,7 @@ declare const getAnalyticalGeneralLedgerExport: <ThrowOnError extends boolean =
40523
40595
  * This endpoint allows you to create a FEC export
40524
40596
  *
40525
40597
  * > ℹ️
40526
- * > This endpoint requires one of the following scopes: `exports:fec`
40598
+ * > This endpoint requires the following scope: `exports:fec`
40527
40599
  */
40528
40600
  declare const exportFec: <ThrowOnError extends boolean = false>(options: Options<ExportFecData, ThrowOnError>) => RequestResult<ExportFecResponses, ExportFecErrors, ThrowOnError, "fields">;
40529
40601
  /**
@@ -40532,7 +40604,7 @@ declare const exportFec: <ThrowOnError extends boolean = false>(options: Options
40532
40604
  * The endpoint returns a specific FEC export
40533
40605
  *
40534
40606
  * > ℹ️
40535
- * > This endpoint requires one of the following scopes: `exports:fec`
40607
+ * > This endpoint requires the following scope: `exports:fec`
40536
40608
  */
40537
40609
  declare const getFecExport: <ThrowOnError extends boolean = false>(options: Options<GetFecExportData, ThrowOnError>) => RequestResult<GetFecExportResponses, GetFecExportErrors, ThrowOnError, "fields">;
40538
40610
  /**
@@ -40541,7 +40613,7 @@ declare const getFecExport: <ThrowOnError extends boolean = false>(options: Opti
40541
40613
  * This endpoint returns the created company customer.
40542
40614
  *
40543
40615
  * > ℹ️
40544
- * > This endpoint requires one of the following scopes: `customers:all`
40616
+ * > This endpoint requires the following scope: `customers:all`
40545
40617
  */
40546
40618
  declare const postCompanyCustomer: <ThrowOnError extends boolean = false>(options: Options<PostCompanyCustomerData, ThrowOnError>) => RequestResult<PostCompanyCustomerResponses, PostCompanyCustomerErrors, ThrowOnError, "fields">;
40547
40619
  /**
@@ -40559,7 +40631,7 @@ declare const getCompanyCustomer: <ThrowOnError extends boolean = false>(options
40559
40631
  * This endpoint returns the updated company customer.
40560
40632
  *
40561
40633
  * > ℹ️
40562
- * > This endpoint requires one of the following scopes: `customers:all`
40634
+ * > This endpoint requires the following scope: `customers:all`
40563
40635
  */
40564
40636
  declare const putCompanyCustomer: <ThrowOnError extends boolean = false>(options: Options<PutCompanyCustomerData, ThrowOnError>) => RequestResult<PutCompanyCustomerResponses, PutCompanyCustomerErrors, ThrowOnError, "fields">;
40565
40637
  /**
@@ -40568,7 +40640,7 @@ declare const putCompanyCustomer: <ThrowOnError extends boolean = false>(options
40568
40640
  * This endpoint returns the created individual customer.
40569
40641
  *
40570
40642
  * > ℹ️
40571
- * > This endpoint requires one of the following scopes: `customers:all`
40643
+ * > This endpoint requires the following scope: `customers:all`
40572
40644
  */
40573
40645
  declare const postIndividualCustomer: <ThrowOnError extends boolean = false>(options: Options<PostIndividualCustomerData, ThrowOnError>) => RequestResult<PostIndividualCustomerResponses, PostIndividualCustomerErrors, ThrowOnError, "fields">;
40574
40646
  /**
@@ -40586,7 +40658,7 @@ declare const getIndividualCustomer: <ThrowOnError extends boolean = false>(opti
40586
40658
  * This endpoint returns the updated individual customer.
40587
40659
  *
40588
40660
  * > ℹ️
40589
- * > This endpoint requires one of the following scopes: `customers:all`
40661
+ * > This endpoint requires the following scope: `customers:all`
40590
40662
  */
40591
40663
  declare const putIndividualCustomer: <ThrowOnError extends boolean = false>(options: Options<PutIndividualCustomerData, ThrowOnError>) => RequestResult<PutIndividualCustomerResponses, PutIndividualCustomerErrors, ThrowOnError, "fields">;
40592
40664
  /**
@@ -40630,7 +40702,7 @@ declare const getCustomerCategories: <ThrowOnError extends boolean = false>(opti
40630
40702
  *
40631
40703
  *
40632
40704
  * > ℹ️
40633
- * > This endpoint requires one of the following scopes: `customers:all`
40705
+ * > This endpoint requires the following scope: `customers:all`
40634
40706
  */
40635
40707
  declare const putCustomerCategories: <ThrowOnError extends boolean = false>(options: Options<PutCustomerCategoriesData, ThrowOnError>) => RequestResult<PutCustomerCategoriesResponses, PutCustomerCategoriesErrors, ThrowOnError, "fields">;
40636
40708
  /**
@@ -40657,7 +40729,7 @@ declare const getSuppliers: <ThrowOnError extends boolean = false>(options?: Opt
40657
40729
  * This endpoint returns the created supplier.
40658
40730
  *
40659
40731
  * > ℹ️
40660
- * > This endpoint requires one of the following scopes: `suppliers:all`
40732
+ * > This endpoint requires the following scope: `suppliers:all`
40661
40733
  */
40662
40734
  declare const postSupplier: <ThrowOnError extends boolean = false>(options: Options<PostSupplierData, ThrowOnError>) => RequestResult<PostSupplierResponses, PostSupplierErrors, ThrowOnError, "fields">;
40663
40735
  /**
@@ -40675,7 +40747,7 @@ declare const getSupplier: <ThrowOnError extends boolean = false>(options: Optio
40675
40747
  * This endpoint returns the updated supplier.
40676
40748
  *
40677
40749
  * > ℹ️
40678
- * > This endpoint requires one of the following scopes: `suppliers:all`
40750
+ * > This endpoint requires the following scope: `suppliers:all`
40679
40751
  */
40680
40752
  declare const putSupplier: <ThrowOnError extends boolean = false>(options: Options<PutSupplierData, ThrowOnError>) => RequestResult<PutSupplierResponses, PutSupplierErrors, ThrowOnError, "fields">;
40681
40753
  /**
@@ -40701,7 +40773,7 @@ declare const getSupplierCategories: <ThrowOnError extends boolean = false>(opti
40701
40773
  *
40702
40774
  *
40703
40775
  * > ℹ️
40704
- * > This endpoint requires one of the following scopes: `suppliers:all`
40776
+ * > This endpoint requires the following scope: `suppliers:all`
40705
40777
  */
40706
40778
  declare const putSupplierCategories: <ThrowOnError extends boolean = false>(options: Options<PutSupplierCategoriesData, ThrowOnError>) => RequestResult<PutSupplierCategoriesResponses, PutSupplierCategoriesErrors, ThrowOnError, "fields">;
40707
40779
  /**
@@ -40756,7 +40828,7 @@ declare const getCustomerInvoiceMatchedTransactions: <ThrowOnError extends boole
40756
40828
  *
40757
40829
  *
40758
40830
  * > ℹ️
40759
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40831
+ * > This endpoint requires the following scope: `customer_invoices:all`
40760
40832
  */
40761
40833
  declare const postCustomerInvoiceMatchedTransactions: <ThrowOnError extends boolean = false>(options: Options<PostCustomerInvoiceMatchedTransactionsData, ThrowOnError>) => RequestResult<PostCustomerInvoiceMatchedTransactionsResponses, PostCustomerInvoiceMatchedTransactionsErrors, ThrowOnError, "fields">;
40762
40834
  /**
@@ -40766,7 +40838,7 @@ declare const postCustomerInvoiceMatchedTransactions: <ThrowOnError extends bool
40766
40838
  *
40767
40839
  *
40768
40840
  * > ℹ️
40769
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40841
+ * > This endpoint requires the following scope: `customer_invoices:all`
40770
40842
  */
40771
40843
  declare const deleteCustomerInvoiceMatchedTransactions: <ThrowOnError extends boolean = false>(options: Options<DeleteCustomerInvoiceMatchedTransactionsData, ThrowOnError>) => RequestResult<DeleteCustomerInvoiceMatchedTransactionsResponses, DeleteCustomerInvoiceMatchedTransactionsErrors, ThrowOnError, "fields">;
40772
40844
  /**
@@ -40787,7 +40859,7 @@ declare const getCustomerInvoiceAppendices: <ThrowOnError extends boolean = fals
40787
40859
  *
40788
40860
  *
40789
40861
  * > ℹ️
40790
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40862
+ * > This endpoint requires the following scope: `customer_invoices:all`
40791
40863
  */
40792
40864
  declare const postCustomerInvoiceAppendices: <ThrowOnError extends boolean = false>(options: Options<PostCustomerInvoiceAppendicesData, ThrowOnError>) => RequestResult<PostCustomerInvoiceAppendicesResponses, PostCustomerInvoiceAppendicesErrors, ThrowOnError, "fields">;
40793
40865
  /**
@@ -40796,7 +40868,7 @@ declare const postCustomerInvoiceAppendices: <ThrowOnError extends boolean = fal
40796
40868
  * Delete a draft customer invoice or draft credit note
40797
40869
  *
40798
40870
  * > ℹ️
40799
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40871
+ * > This endpoint requires the following scope: `customer_invoices:all`
40800
40872
  */
40801
40873
  declare const deleteCustomerInvoices: <ThrowOnError extends boolean = false>(options: Options<DeleteCustomerInvoicesData, ThrowOnError>) => RequestResult<DeleteCustomerInvoicesResponses, DeleteCustomerInvoicesErrors, ThrowOnError, "fields">;
40802
40874
  /**
@@ -40814,7 +40886,7 @@ declare const getCustomerInvoice: <ThrowOnError extends boolean = false>(options
40814
40886
  * Update a customer invoice
40815
40887
  *
40816
40888
  * > ℹ️
40817
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40889
+ * > This endpoint requires the following scope: `customer_invoices:all`
40818
40890
  */
40819
40891
  declare const updateCustomerInvoice: <ThrowOnError extends boolean = false>(options: Options<UpdateCustomerInvoiceData, ThrowOnError>) => RequestResult<UpdateCustomerInvoiceResponses, UpdateCustomerInvoiceErrors, ThrowOnError, "fields">;
40820
40892
  /**
@@ -40825,7 +40897,7 @@ declare const updateCustomerInvoice: <ThrowOnError extends boolean = false>(opti
40825
40897
  *
40826
40898
  *
40827
40899
  * > ℹ️
40828
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40900
+ * > This endpoint requires the following scope: `customer_invoices:all`
40829
40901
  */
40830
40902
  declare const markAsPaidCustomerInvoice: <ThrowOnError extends boolean = false>(options: Options<MarkAsPaidCustomerInvoiceData, ThrowOnError>) => RequestResult<MarkAsPaidCustomerInvoiceResponses, MarkAsPaidCustomerInvoiceErrors, ThrowOnError, "fields">;
40831
40903
  /**
@@ -40841,7 +40913,7 @@ declare const markAsPaidCustomerInvoice: <ThrowOnError extends boolean = false>(
40841
40913
  *
40842
40914
  *
40843
40915
  * > ℹ️
40844
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40916
+ * > This endpoint requires the following scope: `customer_invoices:all`
40845
40917
  */
40846
40918
  declare const sendByEmailCustomerInvoice: <ThrowOnError extends boolean = false>(options: Options<SendByEmailCustomerInvoiceData, ThrowOnError>) => RequestResult<SendByEmailCustomerInvoiceResponses, SendByEmailCustomerInvoiceErrors, ThrowOnError, "fields">;
40847
40919
  /**
@@ -40868,7 +40940,7 @@ declare const getCustomerInvoiceCategories: <ThrowOnError extends boolean = fals
40868
40940
  *
40869
40941
  *
40870
40942
  * > ℹ️
40871
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40943
+ * > This endpoint requires the following scope: `customer_invoices:all`
40872
40944
  */
40873
40945
  declare const putCustomerInvoiceCategories: <ThrowOnError extends boolean = false>(options: Options<PutCustomerInvoiceCategoriesData, ThrowOnError>) => RequestResult<PutCustomerInvoiceCategoriesResponses, PutCustomerInvoiceCategoriesErrors, ThrowOnError, "fields">;
40874
40946
  /**
@@ -40879,7 +40951,7 @@ declare const putCustomerInvoiceCategories: <ThrowOnError extends boolean = fals
40879
40951
  *
40880
40952
  *
40881
40953
  * > ℹ️
40882
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40954
+ * > This endpoint requires the following scope: `customer_invoices:all`
40883
40955
  */
40884
40956
  declare const updateImportedCustomerInvoice: <ThrowOnError extends boolean = false>(options: Options<UpdateImportedCustomerInvoiceData, ThrowOnError>) => RequestResult<UpdateImportedCustomerInvoiceResponses, UpdateImportedCustomerInvoiceErrors, ThrowOnError, "fields">;
40885
40957
  /**
@@ -40890,7 +40962,7 @@ declare const updateImportedCustomerInvoice: <ThrowOnError extends boolean = fal
40890
40962
  *
40891
40963
  *
40892
40964
  * > ℹ️
40893
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40965
+ * > This endpoint requires the following scope: `customer_invoices:all`
40894
40966
  */
40895
40967
  declare const finalizeCustomerInvoice: <ThrowOnError extends boolean = false>(options: Options<FinalizeCustomerInvoiceData, ThrowOnError>) => RequestResult<FinalizeCustomerInvoiceResponses, FinalizeCustomerInvoiceErrors, ThrowOnError, "fields">;
40896
40968
  /**
@@ -40899,7 +40971,7 @@ declare const finalizeCustomerInvoice: <ThrowOnError extends boolean = false>(op
40899
40971
  * Link a credit note to a customer invoice
40900
40972
  *
40901
40973
  * > ℹ️
40902
- * > This endpoint requires one of the following scopes: `customer_invoices:all`
40974
+ * > This endpoint requires the following scope: `customer_invoices:all`
40903
40975
  */
40904
40976
  declare const linkCreditNote: <ThrowOnError extends boolean = false>(options: Options<LinkCreditNoteData, ThrowOnError>) => RequestResult<LinkCreditNoteResponses, LinkCreditNoteErrors, ThrowOnError, "fields">;
40905
40977
  /**
@@ -40935,7 +41007,7 @@ declare const getSupplierInvoice: <ThrowOnError extends boolean = false>(options
40935
41007
  * This endpoint allows you to update a supplier invoice.
40936
41008
  *
40937
41009
  * > ℹ️
40938
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41010
+ * > This endpoint requires the following scope: `supplier_invoices:all`
40939
41011
  */
40940
41012
  declare const putSupplierInvoice: <ThrowOnError extends boolean = false>(options: Options<PutSupplierInvoiceData, ThrowOnError>) => RequestResult<PutSupplierInvoiceResponses, PutSupplierInvoiceErrors, ThrowOnError, "fields">;
40941
41013
  /**
@@ -40961,7 +41033,7 @@ declare const getSupplierInvoiceCategories: <ThrowOnError extends boolean = fals
40961
41033
  *
40962
41034
  *
40963
41035
  * > ℹ️
40964
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41036
+ * > This endpoint requires the following scope: `supplier_invoices:all`
40965
41037
  */
40966
41038
  declare const putSupplierInvoiceCategories: <ThrowOnError extends boolean = false>(options: Options<PutSupplierInvoiceCategoriesData, ThrowOnError>) => RequestResult<PutSupplierInvoiceCategoriesResponses, PutSupplierInvoiceCategoriesErrors, ThrowOnError, "fields">;
40967
41039
  /**
@@ -40981,7 +41053,7 @@ declare const getSupplierInvoicePayments: <ThrowOnError extends boolean = false>
40981
41053
  *
40982
41054
  *
40983
41055
  * > ℹ️
40984
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41056
+ * > This endpoint requires the following scope: `supplier_invoices:all`
40985
41057
  */
40986
41058
  declare const updateSupplierInvoicePaymentStatus: <ThrowOnError extends boolean = false>(options: Options<UpdateSupplierInvoicePaymentStatusData, ThrowOnError>) => RequestResult<UpdateSupplierInvoicePaymentStatusResponses, UpdateSupplierInvoicePaymentStatusErrors, ThrowOnError, "fields">;
40987
41059
  /**
@@ -41003,7 +41075,7 @@ declare const getSupplierInvoiceMatchedTransactions: <ThrowOnError extends boole
41003
41075
  *
41004
41076
  *
41005
41077
  * > ℹ️
41006
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41078
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41007
41079
  */
41008
41080
  declare const postSupplierInvoiceMatchedTransactions: <ThrowOnError extends boolean = false>(options: Options<PostSupplierInvoiceMatchedTransactionsData, ThrowOnError>) => RequestResult<PostSupplierInvoiceMatchedTransactionsResponses, PostSupplierInvoiceMatchedTransactionsErrors, ThrowOnError, "fields">;
41009
41081
  /**
@@ -41014,7 +41086,7 @@ declare const postSupplierInvoiceMatchedTransactions: <ThrowOnError extends bool
41014
41086
  *
41015
41087
  *
41016
41088
  * > ℹ️
41017
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41089
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41018
41090
  */
41019
41091
  declare const deleteSupplierInvoiceMatchedTransactions: <ThrowOnError extends boolean = false>(options: Options<DeleteSupplierInvoiceMatchedTransactionsData, ThrowOnError>) => RequestResult<DeleteSupplierInvoiceMatchedTransactionsResponses, DeleteSupplierInvoiceMatchedTransactionsErrors, ThrowOnError, "fields">;
41020
41092
  /**
@@ -41027,7 +41099,7 @@ declare const deleteSupplierInvoiceMatchedTransactions: <ThrowOnError extends bo
41027
41099
  *
41028
41100
  *
41029
41101
  * > ℹ️
41030
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41102
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41031
41103
  */
41032
41104
  declare const postSupplierInvoiceLinkedPurchaseRequests: <ThrowOnError extends boolean = false>(options: Options<PostSupplierInvoiceLinkedPurchaseRequestsData, ThrowOnError>) => RequestResult<PostSupplierInvoiceLinkedPurchaseRequestsResponses, PostSupplierInvoiceLinkedPurchaseRequestsErrors, ThrowOnError, "fields">;
41033
41105
  /**
@@ -41038,7 +41110,7 @@ declare const postSupplierInvoiceLinkedPurchaseRequests: <ThrowOnError extends b
41038
41110
  *
41039
41111
  *
41040
41112
  * > ℹ️
41041
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41113
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41042
41114
  */
41043
41115
  declare const importSupplierInvoice: <ThrowOnError extends boolean = false>(options: Options<ImportSupplierInvoiceData, ThrowOnError>) => RequestResult<ImportSupplierInvoiceResponses, ImportSupplierInvoiceErrors, ThrowOnError, "fields">;
41044
41116
  /**
@@ -41051,7 +41123,7 @@ declare const importSupplierInvoice: <ThrowOnError extends boolean = false>(opti
41051
41123
  *
41052
41124
  *
41053
41125
  * > ℹ️
41054
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41126
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41055
41127
  */
41056
41128
  declare const createSupplierInvoiceEInvoiceImport: <ThrowOnError extends boolean = false>(options: Options<CreateSupplierInvoiceEInvoiceImportData, ThrowOnError>) => RequestResult<CreateSupplierInvoiceEInvoiceImportResponses, CreateSupplierInvoiceEInvoiceImportErrors, ThrowOnError, "fields">;
41057
41129
  /**
@@ -41060,7 +41132,7 @@ declare const createSupplierInvoiceEInvoiceImport: <ThrowOnError extends boolean
41060
41132
  * Turn the supplier invoice into a Complete state.
41061
41133
  *
41062
41134
  * > ℹ️
41063
- * > This endpoint requires one of the following scopes: `supplier_invoices:all`
41135
+ * > This endpoint requires the following scope: `supplier_invoices:all`
41064
41136
  */
41065
41137
  declare const validateAccountingSupplierInvoice: <ThrowOnError extends boolean = false>(options: Options<ValidateAccountingSupplierInvoiceData, ThrowOnError>) => RequestResult<ValidateAccountingSupplierInvoiceResponses, ValidateAccountingSupplierInvoiceErrors, ThrowOnError, "fields">;
41066
41138
  /**
@@ -41105,7 +41177,7 @@ declare const getCategories: <ThrowOnError extends boolean = false>(options?: Op
41105
41177
  * Create a category
41106
41178
  *
41107
41179
  * > ℹ️
41108
- * > This endpoint requires one of the following scopes: `categories:all`
41180
+ * > This endpoint requires the following scope: `categories:all`
41109
41181
  */
41110
41182
  declare const postCategories: <ThrowOnError extends boolean = false>(options: Options<PostCategoriesData, ThrowOnError>) => RequestResult<PostCategoriesResponses, PostCategoriesErrors, ThrowOnError, "fields">;
41111
41183
  /**
@@ -41123,7 +41195,7 @@ declare const getCategory: <ThrowOnError extends boolean = false>(options: Optio
41123
41195
  * This endpoint updates a category.
41124
41196
  *
41125
41197
  * > ℹ️
41126
- * > This endpoint requires one of the following scopes: `categories:all`
41198
+ * > This endpoint requires the following scope: `categories:all`
41127
41199
  */
41128
41200
  declare const updateCategory: <ThrowOnError extends boolean = false>(options: Options<UpdateCategoryData, ThrowOnError>) => RequestResult<UpdateCategoryResponses, UpdateCategoryErrors, ThrowOnError, "fields">;
41129
41201
  /**
@@ -41137,7 +41209,7 @@ declare const updateCategory: <ThrowOnError extends boolean = false>(options: Op
41137
41209
  * For more details, see our API documentation https://pennylane.readme.io/docs/2026-api-changes-guide for migration instructions.
41138
41210
  *
41139
41211
  * > ℹ️
41140
- * > This endpoint requires one of the following scopes: `trial_balance:readonly`
41212
+ * > This endpoint requires the following scope: `trial_balance:readonly`
41141
41213
  */
41142
41214
  declare const getTrialBalance: <ThrowOnError extends boolean = false>(options: Options<GetTrialBalanceData, ThrowOnError>) => RequestResult<GetTrialBalanceResponses, GetTrialBalanceErrors, ThrowOnError, "fields">;
41143
41215
  /**
@@ -41155,7 +41227,7 @@ declare const getTrialBalance: <ThrowOnError extends boolean = false>(options: O
41155
41227
  *
41156
41228
  *
41157
41229
  * > ℹ️
41158
- * > This endpoint requires one of the following scopes: `fiscal_years:readonly`
41230
+ * > This endpoint requires the following scope: `fiscal_years:readonly`
41159
41231
  */
41160
41232
  declare const companyFiscalYears: <ThrowOnError extends boolean = false>(options?: Options<CompanyFiscalYearsData, ThrowOnError>) => RequestResult<CompanyFiscalYearsResponses, CompanyFiscalYearsErrors, ThrowOnError, "fields">;
41161
41233
  /**
@@ -41281,7 +41353,7 @@ declare const getBankAccounts: <ThrowOnError extends boolean = false>(options?:
41281
41353
  * Create a bank account
41282
41354
  *
41283
41355
  * > ℹ️
41284
- * > This endpoint requires one of the following scopes: `bank_accounts:all`
41356
+ * > This endpoint requires the following scope: `bank_accounts:all`
41285
41357
  */
41286
41358
  declare const postBankAccount: <ThrowOnError extends boolean = false>(options: Options<PostBankAccountData, ThrowOnError>) => RequestResult<PostBankAccountResponses, PostBankAccountErrors, ThrowOnError, "fields">;
41287
41359
  /**
@@ -41308,7 +41380,7 @@ declare const getTransactions: <ThrowOnError extends boolean = false>(options?:
41308
41380
  * Create a banking transaction
41309
41381
  *
41310
41382
  * > ℹ️
41311
- * > This endpoint requires one of the following scopes: `transactions:all`
41383
+ * > This endpoint requires the following scope: `transactions:all`
41312
41384
  */
41313
41385
  declare const createTransaction: <ThrowOnError extends boolean = false>(options: Options<CreateTransactionData, ThrowOnError>) => RequestResult<CreateTransactionResponses, CreateTransactionErrors, ThrowOnError, "fields">;
41314
41386
  /**
@@ -41326,7 +41398,7 @@ declare const getTransaction: <ThrowOnError extends boolean = false>(options: Op
41326
41398
  * This endpoint returns the updated transaction.
41327
41399
  *
41328
41400
  * > ℹ️
41329
- * > This endpoint requires one of the following scopes: `transactions:all`
41401
+ * > This endpoint requires the following scope: `transactions:all`
41330
41402
  */
41331
41403
  declare const updateTransaction: <ThrowOnError extends boolean = false>(options: Options<UpdateTransactionData, ThrowOnError>) => RequestResult<UpdateTransactionResponses, UpdateTransactionErrors, ThrowOnError, "fields">;
41332
41404
  /**
@@ -41352,7 +41424,7 @@ declare const getTransactionCategories: <ThrowOnError extends boolean = false>(o
41352
41424
  *
41353
41425
  *
41354
41426
  * > ℹ️
41355
- * > This endpoint requires one of the following scopes: `transactions:all`
41427
+ * > This endpoint requires the following scope: `transactions:all`
41356
41428
  */
41357
41429
  declare const putTransactionCategories: <ThrowOnError extends boolean = false>(options: Options<PutTransactionCategoriesData, ThrowOnError>) => RequestResult<PutTransactionCategoriesResponses, PutTransactionCategoriesErrors, ThrowOnError, "fields">;
41358
41430
  /**
@@ -41379,7 +41451,7 @@ declare const listQuotes: <ThrowOnError extends boolean = false>(options?: Optio
41379
41451
  * This endpoint allows you to create a quote
41380
41452
  *
41381
41453
  * > ℹ️
41382
- * > This endpoint requires one of the following scopes: `quotes:all`
41454
+ * > This endpoint requires the following scope: `quotes:all`
41383
41455
  */
41384
41456
  declare const postQuotes: <ThrowOnError extends boolean = false>(options: Options<PostQuotesData, ThrowOnError>) => RequestResult<PostQuotesResponses, PostQuotesErrors, ThrowOnError, "fields">;
41385
41457
  /**
@@ -41397,7 +41469,7 @@ declare const getQuote: <ThrowOnError extends boolean = false>(options: Options<
41397
41469
  * This endpoint allows you to update a quote
41398
41470
  *
41399
41471
  * > ℹ️
41400
- * > This endpoint requires one of the following scopes: `quotes:all`
41472
+ * > This endpoint requires the following scope: `quotes:all`
41401
41473
  */
41402
41474
  declare const updateQuote: <ThrowOnError extends boolean = false>(options: Options<UpdateQuoteData, ThrowOnError>) => RequestResult<UpdateQuoteResponses, UpdateQuoteErrors, ThrowOnError, "fields">;
41403
41475
  /**
@@ -41418,7 +41490,7 @@ declare const getQuoteAppendices: <ThrowOnError extends boolean = false>(options
41418
41490
  *
41419
41491
  *
41420
41492
  * > ℹ️
41421
- * > This endpoint requires one of the following scopes: `quotes:all`
41493
+ * > This endpoint requires the following scope: `quotes:all`
41422
41494
  */
41423
41495
  declare const postQuoteAppendices: <ThrowOnError extends boolean = false>(options: Options<PostQuoteAppendicesData, ThrowOnError>) => RequestResult<PostQuoteAppendicesResponses, PostQuoteAppendicesErrors, ThrowOnError, "fields">;
41424
41496
  /**
@@ -41452,7 +41524,7 @@ declare const getQuoteInvoiceLineSections: <ThrowOnError extends boolean = false
41452
41524
  *
41453
41525
  *
41454
41526
  * > ℹ️
41455
- * > This endpoint requires one of the following scopes: `quotes:all`
41527
+ * > This endpoint requires the following scope: `quotes:all`
41456
41528
  */
41457
41529
  declare const sendByEmailQuote: <ThrowOnError extends boolean = false>(options: Options<SendByEmailQuoteData, ThrowOnError>) => RequestResult<SendByEmailQuoteResponses, SendByEmailQuoteErrors, ThrowOnError, "fields">;
41458
41530
  /**
@@ -41461,7 +41533,7 @@ declare const sendByEmailQuote: <ThrowOnError extends boolean = false>(options:
41461
41533
  * This endpoint allows you to update the status of a quote
41462
41534
  *
41463
41535
  * > ℹ️
41464
- * > This endpoint requires one of the following scopes: `quotes:all`
41536
+ * > This endpoint requires the following scope: `quotes:all`
41465
41537
  */
41466
41538
  declare const updateStatusQuote: <ThrowOnError extends boolean = false>(options: Options<UpdateStatusQuoteData, ThrowOnError>) => RequestResult<UpdateStatusQuoteResponses, UpdateStatusQuoteErrors, ThrowOnError, "fields">;
41467
41539
  /**
@@ -41500,7 +41572,7 @@ declare const getCommercialDocumentAppendices: <ThrowOnError extends boolean = f
41500
41572
  *
41501
41573
  *
41502
41574
  * > ℹ️
41503
- * > This endpoint requires one of the following scopes: `commercial_documents:all`
41575
+ * > This endpoint requires the following scope: `commercial_documents:all`
41504
41576
  */
41505
41577
  declare const postCommercialDocumentAppendices: <ThrowOnError extends boolean = false>(options: Options<PostCommercialDocumentAppendicesData, ThrowOnError>) => RequestResult<PostCommercialDocumentAppendicesResponses, PostCommercialDocumentAppendicesErrors, ThrowOnError, "fields">;
41506
41578
  /**
@@ -41536,7 +41608,7 @@ declare const getSepaMandates: <ThrowOnError extends boolean = false>(options?:
41536
41608
  * This endpoint allows you to create a SEPA mandate to enable direct debit payments
41537
41609
  *
41538
41610
  * > ℹ️
41539
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41611
+ * > This endpoint requires the following scope: `customer_mandates:all`
41540
41612
  */
41541
41613
  declare const postSepaMandates: <ThrowOnError extends boolean = false>(options: Options<PostSepaMandatesData, ThrowOnError>) => RequestResult<PostSepaMandatesResponses, PostSepaMandatesErrors, ThrowOnError, "fields">;
41542
41614
  /**
@@ -41545,7 +41617,7 @@ declare const postSepaMandates: <ThrowOnError extends boolean = false>(options:
41545
41617
  * This endpoint allows you to delete a specific SEPA mandate
41546
41618
  *
41547
41619
  * > ℹ️
41548
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41620
+ * > This endpoint requires the following scope: `customer_mandates:all`
41549
41621
  */
41550
41622
  declare const deleteSepaMandate: <ThrowOnError extends boolean = false>(options: Options<DeleteSepaMandateData, ThrowOnError>) => RequestResult<DeleteSepaMandateResponses, DeleteSepaMandateErrors, ThrowOnError, "fields">;
41551
41623
  /**
@@ -41563,7 +41635,7 @@ declare const getSepaMandate: <ThrowOnError extends boolean = false>(options: Op
41563
41635
  * This endpoint allows you to update an existing SEPA mandate
41564
41636
  *
41565
41637
  * > ℹ️
41566
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41638
+ * > This endpoint requires the following scope: `customer_mandates:all`
41567
41639
  */
41568
41640
  declare const putSepaMandate: <ThrowOnError extends boolean = false>(options: Options<PutSepaMandateData, ThrowOnError>) => RequestResult<PutSepaMandateResponses, PutSepaMandateErrors, ThrowOnError, "fields">;
41569
41641
  /**
@@ -41590,7 +41662,7 @@ declare const getGocardlessMandate: <ThrowOnError extends boolean = false>(optio
41590
41662
  * This endpoint allows you to send an email request for a GoCardless mandate to a recipient.
41591
41663
  *
41592
41664
  * > ℹ️
41593
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41665
+ * > This endpoint requires the following scope: `customer_mandates:all`
41594
41666
  */
41595
41667
  declare const postGocardlessMandateMailRequests: <ThrowOnError extends boolean = false>(options: Options<PostGocardlessMandateMailRequestsData, ThrowOnError>) => RequestResult<PostGocardlessMandateMailRequestsResponses, PostGocardlessMandateMailRequestsErrors, ThrowOnError, "fields">;
41596
41668
  /**
@@ -41599,7 +41671,7 @@ declare const postGocardlessMandateMailRequests: <ThrowOnError extends boolean =
41599
41671
  * Cancels a specific Gocardless mandate by ID. The mandate must be in a cancellable state, having one of the following statuses: `pending_submission`, `submitted` or `active`.
41600
41672
  *
41601
41673
  * > ℹ️
41602
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41674
+ * > This endpoint requires the following scope: `customer_mandates:all`
41603
41675
  */
41604
41676
  declare const postGocardlessMandateCancellations: <ThrowOnError extends boolean = false>(options: Options<PostGocardlessMandateCancellationsData, ThrowOnError>) => RequestResult<PostGocardlessMandateCancellationsResponses, PostGocardlessMandateCancellationsErrors, ThrowOnError, "fields">;
41605
41677
  /**
@@ -41608,7 +41680,7 @@ declare const postGocardlessMandateCancellations: <ThrowOnError extends boolean
41608
41680
  * This endpoint allows you to associate a GoCardless mandate to a customer.
41609
41681
  *
41610
41682
  * > ℹ️
41611
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41683
+ * > This endpoint requires the following scope: `customer_mandates:all`
41612
41684
  */
41613
41685
  declare const postGocardlessMandateAssociations: <ThrowOnError extends boolean = false>(options: Options<PostGocardlessMandateAssociationsData, ThrowOnError>) => RequestResult<PostGocardlessMandateAssociationsResponses, PostGocardlessMandateAssociationsErrors, ThrowOnError, "fields">;
41614
41686
  /**
@@ -41623,7 +41695,7 @@ declare const postGocardlessMandateAssociations: <ThrowOnError extends boolean =
41623
41695
  *
41624
41696
  *
41625
41697
  * > ℹ️
41626
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41698
+ * > This endpoint requires the following scope: `customer_mandates:all`
41627
41699
  */
41628
41700
  declare const postProAccountMandateMailRequests: <ThrowOnError extends boolean = false>(options: Options<PostProAccountMandateMailRequestsData, ThrowOnError>) => RequestResult<PostProAccountMandateMailRequestsResponses, PostProAccountMandateMailRequestsErrors, ThrowOnError, "fields">;
41629
41701
  /**
@@ -41653,7 +41725,7 @@ declare const getProAccountMandateMigrations: <ThrowOnError extends boolean = fa
41653
41725
  *
41654
41726
  *
41655
41727
  * > ℹ️
41656
- * > This endpoint requires one of the following scopes: `customer_mandates:all`
41728
+ * > This endpoint requires the following scope: `customer_mandates:all`
41657
41729
  */
41658
41730
  declare const postProAccountMandateMigrations: <ThrowOnError extends boolean = false>(options: Options<PostProAccountMandateMigrationsData, ThrowOnError>) => RequestResult<PostProAccountMandateMigrationsResponses, PostProAccountMandateMigrationsErrors, ThrowOnError, "fields">;
41659
41731
  /**
@@ -41692,7 +41764,7 @@ declare const getCustomerInvoiceCustomHeaderFields: <ThrowOnError extends boolea
41692
41764
  * > - [Import a supplier e-invoice](https://pennylane.readme.io/reference/createsupplierinvoiceeinvoiceimport) endpoint
41693
41765
  *
41694
41766
  * > ℹ️
41695
- * > This endpoint requires one of the following scopes: `e_invoices:all`
41767
+ * > This endpoint requires the following scope: `e_invoices:all`
41696
41768
  *
41697
41769
  * @deprecated
41698
41770
  */
@@ -41705,7 +41777,7 @@ declare const createEInvoiceImport: <ThrowOnError extends boolean = false>(optio
41705
41777
  *
41706
41778
  *
41707
41779
  * > ℹ️
41708
- * > This endpoint requires one of the following scopes: `purchase_requests:all`
41780
+ * > This endpoint requires the following scope: `purchase_requests:all`
41709
41781
  */
41710
41782
  declare const createPurchaseRequestImport: <ThrowOnError extends boolean = false>(options: Options<CreatePurchaseRequestImportData, ThrowOnError>) => RequestResult<CreatePurchaseRequestImportResponses, CreatePurchaseRequestImportErrors, ThrowOnError, "fields">;
41711
41783
  /**
@@ -41732,7 +41804,7 @@ declare const getPurchaseRequests: <ThrowOnError extends boolean = false>(option
41732
41804
  * List bank establishments
41733
41805
  *
41734
41806
  * > ℹ️
41735
- * > This endpoint requires one of the following scopes: `bank_establishments:readonly`
41807
+ * > This endpoint requires the following scope: `bank_establishments:readonly`
41736
41808
  */
41737
41809
  declare const getBankEstablishments: <ThrowOnError extends boolean = false>(options?: Options<GetBankEstablishmentsData, ThrowOnError>) => RequestResult<GetBankEstablishmentsResponses, GetBankEstablishmentsErrors, ThrowOnError, "fields">;
41738
41810
  //#endregion