@getyetty-sdk/pennylane 2026.4.16 → 2026.4.18

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
@@ -4271,6 +4271,201 @@ type SupplierInvoicesEInvoicesImportsImportOptions = {
4271
4271
  ledger_account_id?: number | null;
4272
4272
  }>;
4273
4273
  };
4274
+ declare const SupplierInvoicePdpDisputeReason: {
4275
+ readonly INCORRECT_VAT_RATE: "incorrect_vat_rate";
4276
+ readonly INCORRECT_UNIT_PRICES: "incorrect_unit_prices";
4277
+ readonly INCORRECT_BILLED_QUANTITY: "incorrect_billed_quantity";
4278
+ readonly INCORRECT_BILLED_ITEM: "incorrect_billed_item";
4279
+ readonly DEFECTIVE_DELIVERED_ITEM: "defective_delivered_item";
4280
+ readonly DELIVERY_ISSUE: "delivery_issue";
4281
+ readonly BANK_DETAILS_ERROR: "bank_details_error";
4282
+ readonly INCORRECT_PAYMENT_TERMS: "incorrect_payment_terms";
4283
+ readonly MISSING_LEGAL_NOTICE: "missing_legal_notice";
4284
+ readonly MISSING_CONTRACTUAL_REFERENCE: "missing_contractual_reference";
4285
+ readonly RECIPIENT_ERROR: "recipient_error";
4286
+ };
4287
+ type SupplierInvoicePdpDisputeReason = (typeof SupplierInvoicePdpDisputeReason)[keyof typeof SupplierInvoicePdpDisputeReason];
4288
+ /**
4289
+ * Dispute
4290
+ */
4291
+ type SupplierInvoicesEInvoiceStatusDisputeRequest = {
4292
+ status: 'disputed';
4293
+ 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';
4294
+ };
4295
+ declare const SupplierInvoicePdpRefuseReason: {
4296
+ readonly INCORRECT_VAT_RATE: "incorrect_vat_rate";
4297
+ readonly CONTRACT_COMPLETED: "contract_completed";
4298
+ readonly DUPLICATE_INVOICE: "duplicate_invoice";
4299
+ readonly RECIPIENT_ERROR: "recipient_error";
4300
+ readonly INCORRECT_PRICES: "incorrect_prices";
4301
+ readonly NON_COMPLIANT_INVOICE: "non_compliant_invoice";
4302
+ };
4303
+ type SupplierInvoicePdpRefuseReason = (typeof SupplierInvoicePdpRefuseReason)[keyof typeof SupplierInvoicePdpRefuseReason];
4304
+ /**
4305
+ * Refuse
4306
+ */
4307
+ type SupplierInvoicesEInvoiceStatusRefuseRequest = {
4308
+ status: 'refused';
4309
+ reason: 'incorrect_vat_rate' | 'contract_completed' | 'duplicate_invoice' | 'recipient_error' | 'incorrect_prices' | 'non_compliant_invoice';
4310
+ };
4311
+ /**
4312
+ * Undispute
4313
+ */
4314
+ type SupplierInvoicesEInvoiceStatusUndisputeRequest = {
4315
+ status: 'approved';
4316
+ };
4317
+ type SupplierInvoicesEInvoiceStatusResponse = {
4318
+ /**
4319
+ * The ID of the supplier invoice
4320
+ */
4321
+ id: number;
4322
+ label: string | null;
4323
+ invoice_number: string;
4324
+ 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' | 'CHE' | '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' | 'MRU' | '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' | 'SLE' | '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';
4325
+ /**
4326
+ * Invoice amount (total value of the invoice in euros). If the currency is euro, `currency_amount` and `amount` are identical.
4327
+ */
4328
+ amount: string;
4329
+ /**
4330
+ * Invoice currency amount (total value of the invoice in the currency of the invoice)
4331
+ */
4332
+ currency_amount: string;
4333
+ /**
4334
+ * Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
4335
+ */
4336
+ currency_amount_before_tax: string;
4337
+ /**
4338
+ * Invoice exchange rate (used to convert the invoice to euros. If the invoice currency is euro it will be 1.0)
4339
+ */
4340
+ exchange_rate: string;
4341
+ /**
4342
+ * Invoice issue date (ISO 8601)
4343
+ */
4344
+ date: string | null;
4345
+ /**
4346
+ * Invoice payment deadline (ISO 8601)
4347
+ */
4348
+ deadline: string | null;
4349
+ /**
4350
+ * Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
4351
+ */
4352
+ currency_tax: string;
4353
+ /**
4354
+ * Invoice taxable amount (in invoice currency)
4355
+ */
4356
+ tax: string;
4357
+ /**
4358
+ * Whether the invoice has been reconciled or not
4359
+ */
4360
+ reconciled: boolean;
4361
+ /**
4362
+ * The accounting state of the invoice.
4363
+ * - `draft`: The invoice is not yet sent to the accountant.
4364
+ * - `archived`: The invoice has been archived.
4365
+ * - `entry`: The invoice is incomplete. Some information is missing on the invoice and needs to be completed by SME.
4366
+ * - `validation_needed`: The invoice is sent to the accountant and needs validation.
4367
+ * - `complete`: The invoice has been validated by the accountant.
4368
+ *
4369
+ */
4370
+ accounting_status: 'draft' | 'archived' | 'entry' | 'validation_needed' | 'complete';
4371
+ /**
4372
+ * Name of the file attached to the invoice
4373
+ */
4374
+ filename: string | null;
4375
+ /**
4376
+ * Public URL of the invoice file. The URL will expire after 30 minutes.
4377
+ */
4378
+ public_file_url: string | null;
4379
+ /**
4380
+ * The remaining amount with VAT to pay for the invoice to be considered paid
4381
+ */
4382
+ remaining_amount_with_tax: string | null;
4383
+ /**
4384
+ * The remaining amount without VAT to pay for the invoice to be considered paid
4385
+ */
4386
+ remaining_amount_without_tax: string | null;
4387
+ ledger_entry: {
4388
+ /**
4389
+ * Ledger entry identifier
4390
+ */
4391
+ id: number;
4392
+ };
4393
+ supplier: {
4394
+ id: number;
4395
+ /**
4396
+ * URL to get the supplier.
4397
+ */
4398
+ url: string;
4399
+ } | null;
4400
+ invoice_lines: {
4401
+ /**
4402
+ * URL to get the invoice lines of the invoice.
4403
+ */
4404
+ url: string;
4405
+ };
4406
+ categories: {
4407
+ /**
4408
+ * URL to get the categories of the invoice.
4409
+ */
4410
+ url: string;
4411
+ };
4412
+ /**
4413
+ * This reconciles the invoice with a transaction. See documentation about [automatic payment matching](https://pennylane.readme.io/v2.0/docs/automating-payment-matching).
4414
+ */
4415
+ transaction_reference: {
4416
+ /**
4417
+ * The banking provider for the transaction
4418
+ */
4419
+ banking_provider: string;
4420
+ /**
4421
+ * Name of the field that you want to match
4422
+ */
4423
+ provider_field_name: string;
4424
+ /**
4425
+ * Value that you want to match
4426
+ */
4427
+ provider_field_value: string;
4428
+ } | null;
4429
+ payment_status: 'to_be_processed' | 'to_be_paid' | 'partially_paid' | 'payment_error' | 'payment_scheduled' | 'payment_in_progress' | 'payment_emitted' | 'payment_found' | 'paid_offline' | 'fully_paid';
4430
+ payments: {
4431
+ /**
4432
+ * URL to get the payments of the invoice.
4433
+ */
4434
+ url: string;
4435
+ };
4436
+ matched_transactions: {
4437
+ /**
4438
+ * URL to get the transactions of the invoice.
4439
+ */
4440
+ url: string;
4441
+ };
4442
+ /**
4443
+ * The unique external reference that was assigned during creation either by you or Pennylane
4444
+ */
4445
+ external_reference: string;
4446
+ /**
4447
+ * E-invoicing lifecycle information managed by the PA.
4448
+ * Contains the current status and associated reason when applicable.
4449
+ * This field is only present for invoices received through e-invoicing.
4450
+ *
4451
+ */
4452
+ e_invoicing: {
4453
+ status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
4454
+ 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;
4455
+ } | null;
4456
+ /**
4457
+ * The time the invoice has been archived
4458
+ */
4459
+ archived_at: string | null;
4460
+ /**
4461
+ * The time the invoice has been created
4462
+ */
4463
+ created_at: string;
4464
+ /**
4465
+ * The last time the invoice has been updated
4466
+ */
4467
+ updated_at: string;
4468
+ };
4274
4469
  type CategoryGroupsResponse = {
4275
4470
  id: number;
4276
4471
  label: string;
@@ -4600,6 +4795,119 @@ type QuotesResponse = {
4600
4795
  */
4601
4796
  updated_at: string;
4602
4797
  };
4798
+ /**
4799
+ * Product-based Invoice Line
4800
+ *
4801
+ * Provide only the product_id to automatically populate label,
4802
+ * raw_currency_unit_price, unit, vat_rate, and ledger_account_id.
4803
+ * You can override any of these fields by providing them explicitly.
4804
+ *
4805
+ */
4806
+ type QuotesInvoiceLineWithProductRequest = {
4807
+ /**
4808
+ * The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.
4809
+ */
4810
+ product_id: number;
4811
+ /**
4812
+ * Line item quantity (number of items)
4813
+ */
4814
+ quantity: number;
4815
+ /**
4816
+ * Line item label
4817
+ */
4818
+ label?: string;
4819
+ /**
4820
+ * The ledger account ID
4821
+ */
4822
+ ledger_account_id?: number;
4823
+ /**
4824
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
4825
+ */
4826
+ raw_currency_unit_price?: string;
4827
+ /**
4828
+ * Line item unit (type of unit)
4829
+ */
4830
+ unit?: string;
4831
+ /**
4832
+ * Product VAT rate. A 20% VAT in France is FR_200.
4833
+ */
4834
+ vat_rate?: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
4835
+ /**
4836
+ * The description of the invoice line
4837
+ */
4838
+ description?: string | null;
4839
+ /**
4840
+ * Has to correspond to the rank number of a line items section in which the line item should be
4841
+ */
4842
+ section_rank?: number;
4843
+ discount?: {
4844
+ /**
4845
+ * Discount type.
4846
+ * - absolute if it is an amount
4847
+ * - relative if it is a percentage
4848
+ *
4849
+ */
4850
+ type: 'absolute' | 'relative';
4851
+ /**
4852
+ * Discount value on the total amount before tax of the line
4853
+ */
4854
+ value: string;
4855
+ };
4856
+ };
4857
+ /**
4858
+ * Standard Invoice Line
4859
+ *
4860
+ * Create an invoice line by providing all required fields explicitly
4861
+ * without referencing a product.
4862
+ *
4863
+ */
4864
+ type QuotesInvoiceLineWithoutProductRequest = {
4865
+ /**
4866
+ * Line item label
4867
+ */
4868
+ label: string;
4869
+ /**
4870
+ * Line item quantity (number of items)
4871
+ */
4872
+ quantity: number;
4873
+ /**
4874
+ * The ledger account ID
4875
+ */
4876
+ ledger_account_id?: number;
4877
+ /**
4878
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
4879
+ */
4880
+ raw_currency_unit_price: string;
4881
+ /**
4882
+ * Line item unit (type of unit)
4883
+ */
4884
+ unit: string;
4885
+ /**
4886
+ * Product VAT rate. A 20% VAT in France is FR_200.
4887
+ */
4888
+ vat_rate: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
4889
+ /**
4890
+ * The description of the invoice line
4891
+ */
4892
+ description?: string | null;
4893
+ /**
4894
+ * Has to correspond to the rank number of a line items section in which the line item should be
4895
+ */
4896
+ section_rank?: number;
4897
+ discount?: {
4898
+ /**
4899
+ * Discount type.
4900
+ * - absolute if it is an amount
4901
+ * - relative if it is a percentage
4902
+ *
4903
+ */
4904
+ type: 'absolute' | 'relative';
4905
+ /**
4906
+ * Discount value on the total amount before tax of the line
4907
+ */
4908
+ value: string;
4909
+ };
4910
+ };
4603
4911
  /**
4604
4912
  * Quote Request
4605
4913
  */
@@ -4674,13 +4982,37 @@ type QuotesPostRequest = {
4674
4982
  external_reference?: string;
4675
4983
  invoice_lines: Array<{
4676
4984
  /**
4677
- * Line item label
4985
+ * The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.
4678
4986
  */
4679
- label: string;
4987
+ product_id: number;
4680
4988
  /**
4681
4989
  * Line item quantity (number of items)
4682
4990
  */
4683
4991
  quantity: number;
4992
+ /**
4993
+ * Line item label
4994
+ */
4995
+ label?: string;
4996
+ /**
4997
+ * The ledger account ID
4998
+ */
4999
+ ledger_account_id?: number;
5000
+ /**
5001
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
5002
+ */
5003
+ raw_currency_unit_price?: string;
5004
+ /**
5005
+ * Line item unit (type of unit)
5006
+ */
5007
+ unit?: string;
5008
+ /**
5009
+ * Product VAT rate. A 20% VAT in France is FR_200.
5010
+ */
5011
+ vat_rate?: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
5012
+ /**
5013
+ * The description of the invoice line
5014
+ */
5015
+ description?: string | null;
4684
5016
  /**
4685
5017
  * Has to correspond to the rank number of a line items section in which the line item should be
4686
5018
  */
@@ -4698,6 +5030,15 @@ type QuotesPostRequest = {
4698
5030
  */
4699
5031
  value: string;
4700
5032
  };
5033
+ } | {
5034
+ /**
5035
+ * Line item label
5036
+ */
5037
+ label: string;
5038
+ /**
5039
+ * Line item quantity (number of items)
5040
+ */
5041
+ quantity: number;
4701
5042
  /**
4702
5043
  * The ledger account ID
4703
5044
  */
@@ -4719,9 +5060,22 @@ type QuotesPostRequest = {
4719
5060
  */
4720
5061
  description?: string | null;
4721
5062
  /**
4722
- * The product ID
5063
+ * Has to correspond to the rank number of a line items section in which the line item should be
4723
5064
  */
4724
- product_id?: number;
5065
+ section_rank?: number;
5066
+ discount?: {
5067
+ /**
5068
+ * Discount type.
5069
+ * - absolute if it is an amount
5070
+ * - relative if it is a percentage
5071
+ *
5072
+ */
5073
+ type: 'absolute' | 'relative';
5074
+ /**
5075
+ * Discount value on the total amount before tax of the line
5076
+ */
5077
+ value: string;
5078
+ };
4725
5079
  }>;
4726
5080
  };
4727
5081
  type QuotesPutRequest = {
@@ -4784,13 +5138,41 @@ type QuotesPutRequest = {
4784
5138
  invoice_lines?: {
4785
5139
  create?: Array<{
4786
5140
  /**
4787
- * Invoice line label
5141
+ * The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.
4788
5142
  */
4789
- label: string;
5143
+ product_id: number;
4790
5144
  /**
4791
- * Invoice line quantity (number of items)
5145
+ * Line item quantity (number of items)
4792
5146
  */
4793
5147
  quantity: number;
5148
+ /**
5149
+ * Line item label
5150
+ */
5151
+ label?: string;
5152
+ /**
5153
+ * The ledger account ID
5154
+ */
5155
+ ledger_account_id?: number;
5156
+ /**
5157
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
5158
+ */
5159
+ raw_currency_unit_price?: string;
5160
+ /**
5161
+ * Line item unit (type of unit)
5162
+ */
5163
+ unit?: string;
5164
+ /**
5165
+ * Product VAT rate. A 20% VAT in France is FR_200.
5166
+ */
5167
+ vat_rate?: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
5168
+ /**
5169
+ * The description of the invoice line
5170
+ */
5171
+ description?: string | null;
5172
+ /**
5173
+ * Has to correspond to the rank number of a line items section in which the line item should be
5174
+ */
5175
+ section_rank?: number;
4794
5176
  discount?: {
4795
5177
  /**
4796
5178
  * Discount type.
@@ -4804,16 +5186,25 @@ type QuotesPutRequest = {
4804
5186
  */
4805
5187
  value: string;
4806
5188
  };
5189
+ } | {
5190
+ /**
5191
+ * Line item label
5192
+ */
5193
+ label: string;
5194
+ /**
5195
+ * Line item quantity (number of items)
5196
+ */
5197
+ quantity: number;
4807
5198
  /**
4808
5199
  * The ledger account ID
4809
5200
  */
4810
5201
  ledger_account_id?: number;
4811
5202
  /**
4812
- * The unit price excluding taxes. Can be set up to 6 decimals.
5203
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
4813
5204
  */
4814
5205
  raw_currency_unit_price: string;
4815
5206
  /**
4816
- * Invoice line unit (type of unit)
5207
+ * Line item unit (type of unit)
4817
5208
  */
4818
5209
  unit: string;
4819
5210
  /**
@@ -4825,13 +5216,22 @@ type QuotesPutRequest = {
4825
5216
  */
4826
5217
  description?: string | null;
4827
5218
  /**
4828
- * The product ID
4829
- */
4830
- product_id?: number;
4831
- /**
4832
- * Has to correspond to the rank number of a quote line section in which the invoice line should be
5219
+ * Has to correspond to the rank number of a line items section in which the line item should be
4833
5220
  */
4834
5221
  section_rank?: number;
5222
+ discount?: {
5223
+ /**
5224
+ * Discount type.
5225
+ * - absolute if it is an amount
5226
+ * - relative if it is a percentage
5227
+ *
5228
+ */
5229
+ type: 'absolute' | 'relative';
5230
+ /**
5231
+ * Discount value on the total amount before tax of the line
5232
+ */
5233
+ value: string;
5234
+ };
4835
5235
  }>;
4836
5236
  update?: Array<{
4837
5237
  /**
@@ -23485,6 +23885,236 @@ type ValidateAccountingSupplierInvoiceResponses = {
23485
23885
  };
23486
23886
  };
23487
23887
  type ValidateAccountingSupplierInvoiceResponse = ValidateAccountingSupplierInvoiceResponses[keyof ValidateAccountingSupplierInvoiceResponses];
23888
+ type PutSupplierInvoiceEInvoiceStatusData = {
23889
+ body: {
23890
+ status: 'disputed';
23891
+ 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';
23892
+ } | {
23893
+ status: 'refused';
23894
+ reason: 'incorrect_vat_rate' | 'contract_completed' | 'duplicate_invoice' | 'recipient_error' | 'incorrect_prices' | 'non_compliant_invoice';
23895
+ } | {
23896
+ status: 'approved';
23897
+ };
23898
+ path: {
23899
+ supplier_invoice_id: number;
23900
+ };
23901
+ query?: never;
23902
+ url: '/api/external/v2/supplier_invoices/{supplier_invoice_id}/e_invoice_status';
23903
+ };
23904
+ type PutSupplierInvoiceEInvoiceStatusErrors = {
23905
+ /**
23906
+ * Bad request
23907
+ */
23908
+ 400: {
23909
+ error: string;
23910
+ status: number;
23911
+ } | {
23912
+ message: string;
23913
+ } | {
23914
+ message: string;
23915
+ code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
23916
+ } | {
23917
+ message: string;
23918
+ field: string;
23919
+ code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
23920
+ } | {
23921
+ message: string;
23922
+ payload: string;
23923
+ code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
23924
+ } | {
23925
+ message: string;
23926
+ field: string;
23927
+ payload: string;
23928
+ code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
23929
+ };
23930
+ /**
23931
+ * Access token is missing or invalid
23932
+ */
23933
+ 401: {
23934
+ error: string;
23935
+ status: number;
23936
+ };
23937
+ /**
23938
+ * Access to this resource forbidden
23939
+ */
23940
+ 403: {
23941
+ error: string;
23942
+ status: number;
23943
+ };
23944
+ /**
23945
+ * The resource was not found
23946
+ */
23947
+ 404: {
23948
+ error: string;
23949
+ status: number;
23950
+ };
23951
+ /**
23952
+ * Unprocessable content
23953
+ */
23954
+ 422: {
23955
+ error: string;
23956
+ status: number;
23957
+ };
23958
+ };
23959
+ type PutSupplierInvoiceEInvoiceStatusError = PutSupplierInvoiceEInvoiceStatusErrors[keyof PutSupplierInvoiceEInvoiceStatusErrors];
23960
+ type PutSupplierInvoiceEInvoiceStatusResponses = {
23961
+ /**
23962
+ * The updated supplier invoice
23963
+ */
23964
+ 200: {
23965
+ /**
23966
+ * The ID of the supplier invoice
23967
+ */
23968
+ id: number;
23969
+ label: string | null;
23970
+ invoice_number: string;
23971
+ 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' | 'CHE' | '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' | 'MRU' | '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' | 'SLE' | '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';
23972
+ /**
23973
+ * Invoice amount (total value of the invoice in euros). If the currency is euro, `currency_amount` and `amount` are identical.
23974
+ */
23975
+ amount: string;
23976
+ /**
23977
+ * Invoice currency amount (total value of the invoice in the currency of the invoice)
23978
+ */
23979
+ currency_amount: string;
23980
+ /**
23981
+ * Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)
23982
+ */
23983
+ currency_amount_before_tax: string;
23984
+ /**
23985
+ * Invoice exchange rate (used to convert the invoice to euros. If the invoice currency is euro it will be 1.0)
23986
+ */
23987
+ exchange_rate: string;
23988
+ /**
23989
+ * Invoice issue date (ISO 8601)
23990
+ */
23991
+ date: string | null;
23992
+ /**
23993
+ * Invoice payment deadline (ISO 8601)
23994
+ */
23995
+ deadline: string | null;
23996
+ /**
23997
+ * Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
23998
+ */
23999
+ currency_tax: string;
24000
+ /**
24001
+ * Invoice taxable amount (in invoice currency)
24002
+ */
24003
+ tax: string;
24004
+ /**
24005
+ * Whether the invoice has been reconciled or not
24006
+ */
24007
+ reconciled: boolean;
24008
+ /**
24009
+ * The accounting state of the invoice.
24010
+ * - `draft`: The invoice is not yet sent to the accountant.
24011
+ * - `archived`: The invoice has been archived.
24012
+ * - `entry`: The invoice is incomplete. Some information is missing on the invoice and needs to be completed by SME.
24013
+ * - `validation_needed`: The invoice is sent to the accountant and needs validation.
24014
+ * - `complete`: The invoice has been validated by the accountant.
24015
+ *
24016
+ */
24017
+ accounting_status: 'draft' | 'archived' | 'entry' | 'validation_needed' | 'complete';
24018
+ /**
24019
+ * Name of the file attached to the invoice
24020
+ */
24021
+ filename: string | null;
24022
+ /**
24023
+ * Public URL of the invoice file. The URL will expire after 30 minutes.
24024
+ */
24025
+ public_file_url: string | null;
24026
+ /**
24027
+ * The remaining amount with VAT to pay for the invoice to be considered paid
24028
+ */
24029
+ remaining_amount_with_tax: string | null;
24030
+ /**
24031
+ * The remaining amount without VAT to pay for the invoice to be considered paid
24032
+ */
24033
+ remaining_amount_without_tax: string | null;
24034
+ ledger_entry: {
24035
+ /**
24036
+ * Ledger entry identifier
24037
+ */
24038
+ id: number;
24039
+ };
24040
+ supplier: {
24041
+ id: number;
24042
+ /**
24043
+ * URL to get the supplier.
24044
+ */
24045
+ url: string;
24046
+ } | null;
24047
+ invoice_lines: {
24048
+ /**
24049
+ * URL to get the invoice lines of the invoice.
24050
+ */
24051
+ url: string;
24052
+ };
24053
+ categories: {
24054
+ /**
24055
+ * URL to get the categories of the invoice.
24056
+ */
24057
+ url: string;
24058
+ };
24059
+ /**
24060
+ * This reconciles the invoice with a transaction. See documentation about [automatic payment matching](https://pennylane.readme.io/v2.0/docs/automating-payment-matching).
24061
+ */
24062
+ transaction_reference: {
24063
+ /**
24064
+ * The banking provider for the transaction
24065
+ */
24066
+ banking_provider: string;
24067
+ /**
24068
+ * Name of the field that you want to match
24069
+ */
24070
+ provider_field_name: string;
24071
+ /**
24072
+ * Value that you want to match
24073
+ */
24074
+ provider_field_value: string;
24075
+ } | null;
24076
+ payment_status: 'to_be_processed' | 'to_be_paid' | 'partially_paid' | 'payment_error' | 'payment_scheduled' | 'payment_in_progress' | 'payment_emitted' | 'payment_found' | 'paid_offline' | 'fully_paid';
24077
+ payments: {
24078
+ /**
24079
+ * URL to get the payments of the invoice.
24080
+ */
24081
+ url: string;
24082
+ };
24083
+ matched_transactions: {
24084
+ /**
24085
+ * URL to get the transactions of the invoice.
24086
+ */
24087
+ url: string;
24088
+ };
24089
+ /**
24090
+ * The unique external reference that was assigned during creation either by you or Pennylane
24091
+ */
24092
+ external_reference: string;
24093
+ /**
24094
+ * E-invoicing lifecycle information managed by the PA.
24095
+ * Contains the current status and associated reason when applicable.
24096
+ * This field is only present for invoices received through e-invoicing.
24097
+ *
24098
+ */
24099
+ e_invoicing: {
24100
+ status: 'waiting_for_validation' | 'approved' | 'rejected' | 'disputed' | 'refused' | 'collected' | 'partially_collected';
24101
+ 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;
24102
+ } | null;
24103
+ /**
24104
+ * The time the invoice has been archived
24105
+ */
24106
+ archived_at: string | null;
24107
+ /**
24108
+ * The time the invoice has been created
24109
+ */
24110
+ created_at: string;
24111
+ /**
24112
+ * The last time the invoice has been updated
24113
+ */
24114
+ updated_at: string;
24115
+ };
24116
+ };
24117
+ type PutSupplierInvoiceEInvoiceStatusResponse = PutSupplierInvoiceEInvoiceStatusResponses[keyof PutSupplierInvoiceEInvoiceStatusResponses];
23488
24118
  type GetCategoryGroupsData = {
23489
24119
  body?: never;
23490
24120
  path?: never;
@@ -27140,13 +27770,37 @@ type PostQuotesData = {
27140
27770
  external_reference?: string;
27141
27771
  invoice_lines: Array<{
27142
27772
  /**
27143
- * Line item label
27773
+ * The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.
27144
27774
  */
27145
- label: string;
27775
+ product_id: number;
27146
27776
  /**
27147
27777
  * Line item quantity (number of items)
27148
27778
  */
27149
27779
  quantity: number;
27780
+ /**
27781
+ * Line item label
27782
+ */
27783
+ label?: string;
27784
+ /**
27785
+ * The ledger account ID
27786
+ */
27787
+ ledger_account_id?: number;
27788
+ /**
27789
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
27790
+ */
27791
+ raw_currency_unit_price?: string;
27792
+ /**
27793
+ * Line item unit (type of unit)
27794
+ */
27795
+ unit?: string;
27796
+ /**
27797
+ * Product VAT rate. A 20% VAT in France is FR_200.
27798
+ */
27799
+ vat_rate?: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
27800
+ /**
27801
+ * The description of the invoice line
27802
+ */
27803
+ description?: string | null;
27150
27804
  /**
27151
27805
  * Has to correspond to the rank number of a line items section in which the line item should be
27152
27806
  */
@@ -27164,6 +27818,15 @@ type PostQuotesData = {
27164
27818
  */
27165
27819
  value: string;
27166
27820
  };
27821
+ } | {
27822
+ /**
27823
+ * Line item label
27824
+ */
27825
+ label: string;
27826
+ /**
27827
+ * Line item quantity (number of items)
27828
+ */
27829
+ quantity: number;
27167
27830
  /**
27168
27831
  * The ledger account ID
27169
27832
  */
@@ -27185,9 +27848,22 @@ type PostQuotesData = {
27185
27848
  */
27186
27849
  description?: string | null;
27187
27850
  /**
27188
- * The product ID
27851
+ * Has to correspond to the rank number of a line items section in which the line item should be
27189
27852
  */
27190
- product_id?: number;
27853
+ section_rank?: number;
27854
+ discount?: {
27855
+ /**
27856
+ * Discount type.
27857
+ * - absolute if it is an amount
27858
+ * - relative if it is a percentage
27859
+ *
27860
+ */
27861
+ type: 'absolute' | 'relative';
27862
+ /**
27863
+ * Discount value on the total amount before tax of the line
27864
+ */
27865
+ value: string;
27866
+ };
27191
27867
  }>;
27192
27868
  };
27193
27869
  path?: never;
@@ -27644,13 +28320,41 @@ type UpdateQuoteData = {
27644
28320
  invoice_lines?: {
27645
28321
  create?: Array<{
27646
28322
  /**
27647
- * Invoice line label
28323
+ * The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.
27648
28324
  */
27649
- label: string;
28325
+ product_id: number;
27650
28326
  /**
27651
- * Invoice line quantity (number of items)
28327
+ * Line item quantity (number of items)
27652
28328
  */
27653
28329
  quantity: number;
28330
+ /**
28331
+ * Line item label
28332
+ */
28333
+ label?: string;
28334
+ /**
28335
+ * The ledger account ID
28336
+ */
28337
+ ledger_account_id?: number;
28338
+ /**
28339
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
28340
+ */
28341
+ raw_currency_unit_price?: string;
28342
+ /**
28343
+ * Line item unit (type of unit)
28344
+ */
28345
+ unit?: string;
28346
+ /**
28347
+ * Product VAT rate. A 20% VAT in France is FR_200.
28348
+ */
28349
+ vat_rate?: 'FR_1_05' | 'FR_1_75' | 'FR_09' | 'FR_21' | 'FR_40' | 'FR_50' | 'FR_55' | 'FR_60' | 'FR_65' | 'FR_85' | 'FR_92' | 'FR_100' | 'FR_130' | 'FR_15_385' | 'FR_160' | 'FR_196' | 'FR_200' | 'AD_10' | 'AD_45' | 'AD_95' | 'AT_100' | 'AT_130' | 'AT_190' | 'AT_200' | 'BE_60' | 'BE_120' | 'BE_210' | 'BG_90' | 'BG_200' | 'CH_25' | 'CH_37' | 'CH_77' | 'CH_26' | 'CH_38' | 'CH_81' | 'CY_30' | 'CY_50' | 'CY_80' | 'CY_90' | 'CY_190' | 'CZ_100' | 'CZ_120' | 'CZ_150' | 'CZ_210' | 'DE_70' | 'DE_190' | 'DK_250' | 'EE_90' | 'EE_200' | 'EE_220' | 'EE_240' | 'ES_40' | 'ES_70' | 'ES_100' | 'ES_210' | 'FI_100' | 'FI_135' | 'FI_140' | 'FI_240' | 'FI_255' | 'GB_50' | 'GB_200' | 'GR_60' | 'GR_130' | 'GR_170' | 'GR_240' | 'GR_40' | 'HR_50' | 'HR_130' | 'HR_250' | 'HU_50' | 'HU_180' | 'HU_270' | 'IE_48' | 'IE_90' | 'IE_135' | 'IE_210' | 'IE_230' | 'IT_40' | 'IT_50' | 'IT_100' | 'IT_220' | 'LT_50' | 'LT_90' | 'LT_120' | 'LT_210' | 'LU_30' | 'LU_70' | 'LU_80' | 'LU_120' | 'LU_130' | 'LU_140' | 'LU_160' | 'LU_170' | 'LV_50' | 'LV_120' | 'LV_210' | 'MC_09' | 'MC_21' | 'MC_55' | 'MC_85' | 'MC_100' | 'MC_200' | 'MT_50' | 'MT_70' | 'MT_120' | 'MT_180' | 'MU_150' | 'NL_90' | 'NL_210' | 'PL_50' | 'PL_80' | 'PL_230' | 'PT_60' | 'PT_130' | 'PT_160' | 'PT_180' | 'PT_220' | 'PT_230' | 'RO_50' | 'RO_90' | 'RO_110' | 'RO_190' | 'RO_210' | 'SE_60' | 'SE_120' | 'SE_250' | 'SI_50' | 'SI_95' | 'SI_220' | 'SK_50' | 'SK_100' | 'SK_190' | 'SK_200' | 'SK_230' | 'NO_120' | 'NO_150' | 'NO_250' | 'DE_70_BU0002' | 'DE_190_BU0003' | 'DE_70_BU0008' | 'DE_190_BU0009' | 'DE_intracom_70_BU0012' | 'DE_intracom_190_BU0013' | 'DE_190_electronic_BU0226' | 'exempt' | 'DE_intracom_exempt_BU0011' | 'DE_intracom_exempt_BU0047' | 'DE_exempt_BU0001' | 'DE_exempt_BU0181' | 'DE_exempt_BU0490' | 'intracom_21' | 'intracom_55' | 'intracom_85' | 'intracom_100' | 'crossborder' | 'DE_intracom_70_BU0018' | 'DE_intracom_190_BU0019' | 'DE_intracom_190_BU0506' | 'extracom' | 'DE_extracom_BU0173' | 'DE_extracom_BU0191' | 'DE_extracom_190_BU0511' | 'FR_85_construction' | 'FR_100_construction' | 'FR_200_construction' | 'DE_exempt_construction_BU0046' | 'DE_70_construction_BU0091' | 'DE_190_construction_BU0094' | 'DE_190_construction_BU0526' | 'DE_190_construction_BU0546' | 'mixed';
28350
+ /**
28351
+ * The description of the invoice line
28352
+ */
28353
+ description?: string | null;
28354
+ /**
28355
+ * Has to correspond to the rank number of a line items section in which the line item should be
28356
+ */
28357
+ section_rank?: number;
27654
28358
  discount?: {
27655
28359
  /**
27656
28360
  * Discount type.
@@ -27664,16 +28368,25 @@ type UpdateQuoteData = {
27664
28368
  */
27665
28369
  value: string;
27666
28370
  };
28371
+ } | {
28372
+ /**
28373
+ * Line item label
28374
+ */
28375
+ label: string;
28376
+ /**
28377
+ * Line item quantity (number of items)
28378
+ */
28379
+ quantity: number;
27667
28380
  /**
27668
28381
  * The ledger account ID
27669
28382
  */
27670
28383
  ledger_account_id?: number;
27671
28384
  /**
27672
- * The unit price excluding taxes. Can be set up to 6 decimals.
28385
+ * The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.
27673
28386
  */
27674
28387
  raw_currency_unit_price: string;
27675
28388
  /**
27676
- * Invoice line unit (type of unit)
28389
+ * Line item unit (type of unit)
27677
28390
  */
27678
28391
  unit: string;
27679
28392
  /**
@@ -27685,13 +28398,22 @@ type UpdateQuoteData = {
27685
28398
  */
27686
28399
  description?: string | null;
27687
28400
  /**
27688
- * The product ID
27689
- */
27690
- product_id?: number;
27691
- /**
27692
- * Has to correspond to the rank number of a quote line section in which the invoice line should be
28401
+ * Has to correspond to the rank number of a line items section in which the line item should be
27693
28402
  */
27694
28403
  section_rank?: number;
28404
+ discount?: {
28405
+ /**
28406
+ * Discount type.
28407
+ * - absolute if it is an amount
28408
+ * - relative if it is a percentage
28409
+ *
28410
+ */
28411
+ type: 'absolute' | 'relative';
28412
+ /**
28413
+ * Discount value on the total amount before tax of the line
28414
+ */
28415
+ value: string;
28416
+ };
27695
28417
  }>;
27696
28418
  update?: Array<{
27697
28419
  /**
@@ -38047,6 +38769,317 @@ declare const SupplierInvoices__EInvoices__Imports__ImportOptionsSchema: {
38047
38769
  };
38048
38770
  };
38049
38771
  };
38772
+ declare const SupplierInvoicePDPDisputeReasonSchema: {
38773
+ readonly type: "string";
38774
+ 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"];
38775
+ };
38776
+ declare const SupplierInvoices__EInvoiceStatus__DisputeRequestSchema: {
38777
+ readonly title: "Dispute";
38778
+ readonly type: "object";
38779
+ readonly additionalProperties: false;
38780
+ readonly properties: {
38781
+ readonly status: {
38782
+ readonly type: "string";
38783
+ readonly enum: readonly ["disputed"];
38784
+ };
38785
+ readonly reason: {
38786
+ readonly type: "string";
38787
+ 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"];
38788
+ };
38789
+ };
38790
+ readonly required: readonly ["status", "reason"];
38791
+ };
38792
+ declare const SupplierInvoicePDPRefuseReasonSchema: {
38793
+ readonly type: "string";
38794
+ readonly enum: readonly ["incorrect_vat_rate", "contract_completed", "duplicate_invoice", "recipient_error", "incorrect_prices", "non_compliant_invoice"];
38795
+ };
38796
+ declare const SupplierInvoices__EInvoiceStatus__RefuseRequestSchema: {
38797
+ readonly title: "Refuse";
38798
+ readonly type: "object";
38799
+ readonly additionalProperties: false;
38800
+ readonly properties: {
38801
+ readonly status: {
38802
+ readonly type: "string";
38803
+ readonly enum: readonly ["refused"];
38804
+ };
38805
+ readonly reason: {
38806
+ readonly type: "string";
38807
+ readonly enum: readonly ["incorrect_vat_rate", "contract_completed", "duplicate_invoice", "recipient_error", "incorrect_prices", "non_compliant_invoice"];
38808
+ };
38809
+ };
38810
+ readonly required: readonly ["status", "reason"];
38811
+ };
38812
+ declare const SupplierInvoices__EInvoiceStatus__UndisputeRequestSchema: {
38813
+ readonly title: "Undispute";
38814
+ readonly type: "object";
38815
+ readonly additionalProperties: false;
38816
+ readonly properties: {
38817
+ readonly status: {
38818
+ readonly type: "string";
38819
+ readonly enum: readonly ["approved"];
38820
+ };
38821
+ };
38822
+ readonly required: readonly ["status"];
38823
+ };
38824
+ declare const SupplierInvoices__EInvoiceStatus__ResponseSchema: {
38825
+ readonly type: "object";
38826
+ readonly additionalProperties: false;
38827
+ readonly properties: {
38828
+ readonly id: {
38829
+ readonly description: "The ID of the supplier invoice";
38830
+ readonly type: "integer";
38831
+ readonly format: "int64";
38832
+ readonly example: 123;
38833
+ };
38834
+ readonly label: {
38835
+ readonly type: "string";
38836
+ readonly nullable: true;
38837
+ readonly example: "Demo label";
38838
+ };
38839
+ readonly invoice_number: {
38840
+ readonly type: "string";
38841
+ readonly example: "F20230001";
38842
+ };
38843
+ readonly currency: {
38844
+ readonly type: "string";
38845
+ readonly default: "EUR";
38846
+ readonly enum: readonly ["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", "CHE", "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", "MRU", "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", "SLE", "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"];
38847
+ };
38848
+ readonly amount: {
38849
+ readonly description: "Invoice amount (total value of the invoice in euros). If the currency is euro, `currency_amount` and `amount` are identical.";
38850
+ readonly type: "string";
38851
+ readonly example: "230.32";
38852
+ };
38853
+ readonly currency_amount: {
38854
+ readonly description: "Invoice currency amount (total value of the invoice in the currency of the invoice)";
38855
+ readonly type: "string";
38856
+ readonly example: "230.32";
38857
+ };
38858
+ readonly currency_amount_before_tax: {
38859
+ readonly description: "Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)";
38860
+ readonly type: "string";
38861
+ readonly example: "196.32";
38862
+ };
38863
+ readonly exchange_rate: {
38864
+ readonly description: "Invoice exchange rate (used to convert the invoice to euros. If the invoice currency is euro it will be 1.0)";
38865
+ readonly type: "string";
38866
+ readonly example: "1.0";
38867
+ };
38868
+ readonly date: {
38869
+ readonly description: "Invoice issue date (ISO 8601)";
38870
+ readonly type: "string";
38871
+ readonly format: "date";
38872
+ readonly nullable: true;
38873
+ readonly example: "2023-08-30";
38874
+ };
38875
+ readonly deadline: {
38876
+ readonly description: "Invoice payment deadline (ISO 8601)";
38877
+ readonly type: "string";
38878
+ readonly format: "date";
38879
+ readonly nullable: true;
38880
+ readonly example: "2023-09-30";
38881
+ };
38882
+ readonly currency_tax: {
38883
+ readonly description: "Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.";
38884
+ readonly type: "string";
38885
+ readonly example: "34.0";
38886
+ };
38887
+ readonly tax: {
38888
+ readonly description: "Invoice taxable amount (in invoice currency)";
38889
+ readonly type: "string";
38890
+ readonly example: "34.0";
38891
+ };
38892
+ readonly reconciled: {
38893
+ readonly description: "Whether the invoice has been reconciled or not";
38894
+ readonly type: "boolean";
38895
+ readonly example: false;
38896
+ };
38897
+ readonly accounting_status: {
38898
+ readonly description: "The accounting state of the invoice.\n- `draft`: The invoice is not yet sent to the accountant.\n- `archived`: The invoice has been archived.\n- `entry`: The invoice is incomplete. Some information is missing on the invoice and needs to be completed by SME.\n- `validation_needed`: The invoice is sent to the accountant and needs validation.\n- `complete`: The invoice has been validated by the accountant.\n";
38899
+ readonly type: "string";
38900
+ readonly enum: readonly ["draft", "archived", "entry", "validation_needed", "complete"];
38901
+ };
38902
+ readonly filename: {
38903
+ readonly description: "Name of the file attached to the invoice";
38904
+ readonly type: "string";
38905
+ readonly nullable: true;
38906
+ readonly example: "my_file.pdf";
38907
+ };
38908
+ readonly public_file_url: {
38909
+ readonly description: "Public URL of the invoice file. The URL will expire after 30 minutes.";
38910
+ readonly type: "string";
38911
+ readonly nullable: true;
38912
+ readonly example: "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D";
38913
+ };
38914
+ readonly remaining_amount_with_tax: {
38915
+ readonly description: "The remaining amount with VAT to pay for the invoice to be considered paid";
38916
+ readonly type: "string";
38917
+ readonly nullable: true;
38918
+ readonly example: "20.0";
38919
+ };
38920
+ readonly remaining_amount_without_tax: {
38921
+ readonly description: "The remaining amount without VAT to pay for the invoice to be considered paid";
38922
+ readonly type: "string";
38923
+ readonly nullable: true;
38924
+ readonly example: "16.0";
38925
+ };
38926
+ readonly ledger_entry: {
38927
+ readonly type: "object";
38928
+ readonly additionalProperties: false;
38929
+ readonly properties: {
38930
+ readonly id: {
38931
+ readonly description: "Ledger entry identifier";
38932
+ readonly type: "integer";
38933
+ readonly format: "int64";
38934
+ readonly example: 42003;
38935
+ };
38936
+ };
38937
+ readonly required: readonly ["id"];
38938
+ };
38939
+ readonly supplier: {
38940
+ readonly type: "object";
38941
+ readonly nullable: true;
38942
+ readonly additionalProperties: false;
38943
+ readonly properties: {
38944
+ readonly id: {
38945
+ readonly type: "integer";
38946
+ readonly format: "int64";
38947
+ readonly example: 456;
38948
+ };
38949
+ readonly url: {
38950
+ readonly description: "URL to get the supplier.";
38951
+ readonly type: "string";
38952
+ readonly example: "https://app.pennylane.com/api/external/v2/suppliers/42";
38953
+ };
38954
+ };
38955
+ readonly required: readonly ["id", "url"];
38956
+ };
38957
+ readonly invoice_lines: {
38958
+ readonly type: "object";
38959
+ readonly additionalProperties: false;
38960
+ readonly properties: {
38961
+ readonly url: {
38962
+ readonly description: "URL to get the invoice lines of the invoice.";
38963
+ readonly type: "string";
38964
+ readonly example: "https://app.pennylane.com/api/external/v2/supplier_invoices/42/invoice_lines";
38965
+ };
38966
+ };
38967
+ readonly required: readonly ["url"];
38968
+ };
38969
+ readonly categories: {
38970
+ readonly type: "object";
38971
+ readonly additionalProperties: false;
38972
+ readonly properties: {
38973
+ readonly url: {
38974
+ readonly description: "URL to get the categories of the invoice.";
38975
+ readonly type: "string";
38976
+ readonly example: "https://app.pennylane.com/api/external/v2/supplier_invoices/42/categories";
38977
+ };
38978
+ };
38979
+ readonly required: readonly ["url"];
38980
+ };
38981
+ readonly transaction_reference: {
38982
+ readonly description: "This reconciles the invoice with a transaction. See documentation about [automatic payment matching](https://pennylane.readme.io/v2.0/docs/automating-payment-matching).";
38983
+ readonly type: "object";
38984
+ readonly nullable: true;
38985
+ readonly additionalProperties: false;
38986
+ readonly properties: {
38987
+ readonly banking_provider: {
38988
+ readonly description: "The banking provider for the transaction";
38989
+ readonly type: "string";
38990
+ readonly example: "bank";
38991
+ };
38992
+ readonly provider_field_name: {
38993
+ readonly description: "Name of the field that you want to match";
38994
+ readonly type: "string";
38995
+ readonly example: "label";
38996
+ };
38997
+ readonly provider_field_value: {
38998
+ readonly description: "Value that you want to match";
38999
+ readonly type: "string";
39000
+ readonly example: "invoice_number";
39001
+ };
39002
+ };
39003
+ readonly required: readonly ["banking_provider", "provider_field_name", "provider_field_value"];
39004
+ };
39005
+ readonly payment_status: {
39006
+ readonly type: "string";
39007
+ readonly enum: readonly ["to_be_processed", "to_be_paid", "partially_paid", "payment_error", "payment_scheduled", "payment_in_progress", "payment_emitted", "payment_found", "paid_offline", "fully_paid"];
39008
+ };
39009
+ readonly payments: {
39010
+ readonly type: "object";
39011
+ readonly additionalProperties: false;
39012
+ readonly properties: {
39013
+ readonly url: {
39014
+ readonly description: "URL to get the payments of the invoice.";
39015
+ readonly type: "string";
39016
+ readonly example: "https://app.pennylane.com/api/external/v2/supplier_invoices/42/payments";
39017
+ };
39018
+ };
39019
+ readonly required: readonly ["url"];
39020
+ };
39021
+ readonly matched_transactions: {
39022
+ readonly type: "object";
39023
+ readonly additionalProperties: false;
39024
+ readonly properties: {
39025
+ readonly url: {
39026
+ readonly description: "URL to get the transactions of the invoice.";
39027
+ readonly type: "string";
39028
+ readonly example: "https://app.pennylane.com/api/external/v2/supplier_invoices/42/matched_transactions";
39029
+ };
39030
+ };
39031
+ readonly required: readonly ["url"];
39032
+ };
39033
+ readonly external_reference: {
39034
+ readonly description: "The unique external reference that was assigned during creation either by you or Pennylane";
39035
+ readonly type: "string";
39036
+ readonly example: "FR123";
39037
+ };
39038
+ readonly e_invoicing: {
39039
+ readonly description: "E-invoicing lifecycle information managed by the PA.\nContains the current status and associated reason when applicable.\nThis field is only present for invoices received through e-invoicing.\n";
39040
+ readonly type: "object";
39041
+ readonly nullable: true;
39042
+ readonly additionalProperties: false;
39043
+ readonly properties: {
39044
+ readonly status: {
39045
+ readonly type: "string";
39046
+ readonly enum: readonly ["waiting_for_validation", "approved", "rejected", "disputed", "refused", "collected", "partially_collected"];
39047
+ };
39048
+ readonly reason: {
39049
+ readonly anyOf: readonly [{
39050
+ readonly type: "string";
39051
+ 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"];
39052
+ }, {
39053
+ readonly nullable: true;
39054
+ readonly type: "string";
39055
+ readonly enum: readonly [null];
39056
+ }];
39057
+ };
39058
+ };
39059
+ readonly required: readonly ["status", "reason"];
39060
+ };
39061
+ readonly archived_at: {
39062
+ readonly description: "The time the invoice has been archived";
39063
+ readonly type: "string";
39064
+ readonly format: "date-time";
39065
+ readonly nullable: true;
39066
+ readonly example: "2023-08-30T10:08:08.146343Z";
39067
+ };
39068
+ readonly created_at: {
39069
+ readonly description: "The time the invoice has been created";
39070
+ readonly type: "string";
39071
+ readonly format: "date-time";
39072
+ readonly example: "2023-08-30T10:08:08.146343Z";
39073
+ };
39074
+ readonly updated_at: {
39075
+ readonly description: "The last time the invoice has been updated";
39076
+ readonly type: "string";
39077
+ readonly format: "date-time";
39078
+ readonly example: "2023-08-30T10:08:08.146343Z";
39079
+ };
39080
+ };
39081
+ readonly required: readonly ["id", "label", "invoice_number", "currency", "amount", "currency_amount", "currency_amount_before_tax", "exchange_rate", "date", "deadline", "currency_tax", "tax", "reconciled", "accounting_status", "filename", "public_file_url", "remaining_amount_with_tax", "remaining_amount_without_tax", "ledger_entry", "supplier", "invoice_lines", "categories", "transaction_reference", "payment_status", "payments", "matched_transactions", "external_reference", "e_invoicing", "archived_at", "created_at", "updated_at"];
39082
+ };
38050
39083
  declare const CategoryGroups__ResponseSchema: {
38051
39084
  readonly type: "object";
38052
39085
  readonly additionalProperties: false;
@@ -38807,6 +39840,150 @@ declare const Quotes__ResponseSchema: {
38807
39840
  };
38808
39841
  readonly required: readonly ["id", "label", "quote_number", "currency", "amount", "currency_amount", "currency_amount_before_tax", "exchange_rate", "date", "deadline", "currency_tax", "tax", "language", "status", "discount", "public_file_url", "filename", "special_mention", "customer", "invoice_line_sections", "invoice_lines", "linked_invoices", "pdf_invoice_free_text", "pdf_invoice_subject", "pdf_description", "quote_template", "appendices", "external_reference", "archived_at", "created_at", "updated_at"];
38809
39842
  };
39843
+ declare const Quotes__InvoiceLineWithProduct_RequestSchema: {
39844
+ readonly title: "Product-based Invoice Line";
39845
+ readonly description: "Provide only the product_id to automatically populate label,\nraw_currency_unit_price, unit, vat_rate, and ledger_account_id.\nYou can override any of these fields by providing them explicitly.\n";
39846
+ readonly type: "object";
39847
+ readonly additionalProperties: false;
39848
+ readonly properties: {
39849
+ readonly product_id: {
39850
+ readonly description: "The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.";
39851
+ readonly type: "integer";
39852
+ readonly format: "int64";
39853
+ readonly example: 42;
39854
+ };
39855
+ readonly quantity: {
39856
+ readonly description: "Line item quantity (number of items)";
39857
+ readonly type: "number";
39858
+ readonly example: 2;
39859
+ };
39860
+ readonly label: {
39861
+ readonly description: "Line item label";
39862
+ readonly type: "string";
39863
+ readonly example: "Consulting fees";
39864
+ };
39865
+ readonly ledger_account_id: {
39866
+ readonly description: "The ledger account ID";
39867
+ readonly type: "integer";
39868
+ readonly format: "int64";
39869
+ readonly example: 1255;
39870
+ };
39871
+ readonly raw_currency_unit_price: {
39872
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
39873
+ readonly type: "string";
39874
+ readonly example: "33.333334";
39875
+ };
39876
+ readonly unit: {
39877
+ readonly description: "Line item unit (type of unit)";
39878
+ readonly type: "string";
39879
+ readonly example: "piece";
39880
+ };
39881
+ readonly vat_rate: {
39882
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
39883
+ readonly type: "string";
39884
+ readonly example: "FR_200";
39885
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
39886
+ };
39887
+ readonly description: {
39888
+ readonly description: "The description of the invoice line";
39889
+ readonly type: "string";
39890
+ readonly nullable: true;
39891
+ readonly example: "Consulting services for August";
39892
+ };
39893
+ readonly section_rank: {
39894
+ readonly type: "integer";
39895
+ readonly example: 1;
39896
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
39897
+ };
39898
+ readonly discount: {
39899
+ readonly type: "object";
39900
+ readonly additionalProperties: false;
39901
+ readonly properties: {
39902
+ readonly type: {
39903
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
39904
+ readonly type: "string";
39905
+ readonly enum: readonly ["absolute", "relative"];
39906
+ };
39907
+ readonly value: {
39908
+ readonly description: "Discount value on the total amount before tax of the line";
39909
+ readonly type: "string";
39910
+ readonly example: "10";
39911
+ };
39912
+ };
39913
+ readonly required: readonly ["type", "value"];
39914
+ };
39915
+ };
39916
+ readonly required: readonly ["product_id", "quantity"];
39917
+ };
39918
+ declare const Quotes__InvoiceLineWithoutProduct_RequestSchema: {
39919
+ readonly title: "Standard Invoice Line";
39920
+ readonly description: "Create an invoice line by providing all required fields explicitly\nwithout referencing a product.\n";
39921
+ readonly type: "object";
39922
+ readonly additionalProperties: false;
39923
+ readonly properties: {
39924
+ readonly label: {
39925
+ readonly description: "Line item label";
39926
+ readonly type: "string";
39927
+ readonly example: "Consulting fees";
39928
+ };
39929
+ readonly quantity: {
39930
+ readonly description: "Line item quantity (number of items)";
39931
+ readonly type: "number";
39932
+ readonly example: 2;
39933
+ };
39934
+ readonly ledger_account_id: {
39935
+ readonly description: "The ledger account ID";
39936
+ readonly type: "integer";
39937
+ readonly format: "int64";
39938
+ readonly example: 1255;
39939
+ };
39940
+ readonly raw_currency_unit_price: {
39941
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
39942
+ readonly type: "string";
39943
+ readonly example: "33.333334";
39944
+ };
39945
+ readonly unit: {
39946
+ readonly description: "Line item unit (type of unit)";
39947
+ readonly type: "string";
39948
+ readonly example: "piece";
39949
+ };
39950
+ readonly vat_rate: {
39951
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
39952
+ readonly type: "string";
39953
+ readonly example: "FR_200";
39954
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
39955
+ };
39956
+ readonly description: {
39957
+ readonly description: "The description of the invoice line";
39958
+ readonly type: "string";
39959
+ readonly nullable: true;
39960
+ readonly example: "Consulting services for August";
39961
+ };
39962
+ readonly section_rank: {
39963
+ readonly type: "integer";
39964
+ readonly example: 1;
39965
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
39966
+ };
39967
+ readonly discount: {
39968
+ readonly type: "object";
39969
+ readonly additionalProperties: false;
39970
+ readonly properties: {
39971
+ readonly type: {
39972
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
39973
+ readonly type: "string";
39974
+ readonly enum: readonly ["absolute", "relative"];
39975
+ };
39976
+ readonly value: {
39977
+ readonly description: "Discount value on the total amount before tax of the line";
39978
+ readonly type: "string";
39979
+ readonly example: "10";
39980
+ };
39981
+ };
39982
+ readonly required: readonly ["type", "value"];
39983
+ };
39984
+ };
39985
+ readonly required: readonly ["label", "quantity", "raw_currency_unit_price", "unit", "vat_rate"];
39986
+ };
38810
39987
  declare const Quotes__Post_RequestSchema: {
38811
39988
  readonly title: "Quote Request";
38812
39989
  readonly type: "object";
@@ -38921,77 +40098,149 @@ declare const Quotes__Post_RequestSchema: {
38921
40098
  readonly invoice_lines: {
38922
40099
  readonly type: "array";
38923
40100
  readonly items: {
38924
- readonly type: "object";
38925
- readonly additionalProperties: false;
38926
- readonly properties: {
38927
- readonly label: {
38928
- readonly description: "Line item label";
38929
- readonly type: "string";
38930
- readonly example: "Consulting fees";
38931
- };
38932
- readonly quantity: {
38933
- readonly description: "Line item quantity (number of items)";
38934
- readonly type: "number";
38935
- readonly example: 2;
38936
- };
38937
- readonly section_rank: {
38938
- readonly type: "integer";
38939
- readonly example: 1;
38940
- readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
38941
- };
38942
- readonly discount: {
38943
- readonly type: "object";
38944
- readonly additionalProperties: false;
38945
- readonly properties: {
38946
- readonly type: {
38947
- readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
38948
- readonly type: "string";
38949
- readonly enum: readonly ["absolute", "relative"];
38950
- };
38951
- readonly value: {
38952
- readonly description: "Discount value on the total amount before tax of the line";
38953
- readonly type: "string";
38954
- readonly example: "10";
40101
+ readonly oneOf: readonly [{
40102
+ readonly title: "Product-based Invoice Line";
40103
+ readonly description: "Provide only the product_id to automatically populate label,\nraw_currency_unit_price, unit, vat_rate, and ledger_account_id.\nYou can override any of these fields by providing them explicitly.\n";
40104
+ readonly type: "object";
40105
+ readonly additionalProperties: false;
40106
+ readonly properties: {
40107
+ readonly product_id: {
40108
+ readonly description: "The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.";
40109
+ readonly type: "integer";
40110
+ readonly format: "int64";
40111
+ readonly example: 42;
40112
+ };
40113
+ readonly quantity: {
40114
+ readonly description: "Line item quantity (number of items)";
40115
+ readonly type: "number";
40116
+ readonly example: 2;
40117
+ };
40118
+ readonly label: {
40119
+ readonly description: "Line item label";
40120
+ readonly type: "string";
40121
+ readonly example: "Consulting fees";
40122
+ };
40123
+ readonly ledger_account_id: {
40124
+ readonly description: "The ledger account ID";
40125
+ readonly type: "integer";
40126
+ readonly format: "int64";
40127
+ readonly example: 1255;
40128
+ };
40129
+ readonly raw_currency_unit_price: {
40130
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
40131
+ readonly type: "string";
40132
+ readonly example: "33.333334";
40133
+ };
40134
+ readonly unit: {
40135
+ readonly description: "Line item unit (type of unit)";
40136
+ readonly type: "string";
40137
+ readonly example: "piece";
40138
+ };
40139
+ readonly vat_rate: {
40140
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
40141
+ readonly type: "string";
40142
+ readonly example: "FR_200";
40143
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
40144
+ };
40145
+ readonly description: {
40146
+ readonly description: "The description of the invoice line";
40147
+ readonly type: "string";
40148
+ readonly nullable: true;
40149
+ readonly example: "Consulting services for August";
40150
+ };
40151
+ readonly section_rank: {
40152
+ readonly type: "integer";
40153
+ readonly example: 1;
40154
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
40155
+ };
40156
+ readonly discount: {
40157
+ readonly type: "object";
40158
+ readonly additionalProperties: false;
40159
+ readonly properties: {
40160
+ readonly type: {
40161
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
40162
+ readonly type: "string";
40163
+ readonly enum: readonly ["absolute", "relative"];
40164
+ };
40165
+ readonly value: {
40166
+ readonly description: "Discount value on the total amount before tax of the line";
40167
+ readonly type: "string";
40168
+ readonly example: "10";
40169
+ };
38955
40170
  };
40171
+ readonly required: readonly ["type", "value"];
38956
40172
  };
38957
- readonly required: readonly ["type", "value"];
38958
- };
38959
- readonly ledger_account_id: {
38960
- readonly description: "The ledger account ID";
38961
- readonly type: "integer";
38962
- readonly format: "int64";
38963
- readonly example: 1255;
38964
40173
  };
38965
- readonly raw_currency_unit_price: {
38966
- readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
38967
- readonly type: "string";
38968
- readonly example: "33.333334";
38969
- };
38970
- readonly unit: {
38971
- readonly description: "Line item unit (type of unit)";
38972
- readonly type: "string";
38973
- readonly example: "piece";
38974
- };
38975
- readonly vat_rate: {
38976
- readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
38977
- readonly type: "string";
38978
- readonly example: "FR_200";
38979
- readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
38980
- };
38981
- readonly description: {
38982
- readonly description: "The description of the invoice line";
38983
- readonly type: "string";
38984
- readonly nullable: true;
38985
- readonly example: "Consulting services for August";
38986
- };
38987
- readonly product_id: {
38988
- readonly description: "The product ID";
38989
- readonly type: "integer";
38990
- readonly format: "int64";
38991
- readonly example: 42;
40174
+ readonly required: readonly ["product_id", "quantity"];
40175
+ }, {
40176
+ readonly title: "Standard Invoice Line";
40177
+ readonly description: "Create an invoice line by providing all required fields explicitly\nwithout referencing a product.\n";
40178
+ readonly type: "object";
40179
+ readonly additionalProperties: false;
40180
+ readonly properties: {
40181
+ readonly label: {
40182
+ readonly description: "Line item label";
40183
+ readonly type: "string";
40184
+ readonly example: "Consulting fees";
40185
+ };
40186
+ readonly quantity: {
40187
+ readonly description: "Line item quantity (number of items)";
40188
+ readonly type: "number";
40189
+ readonly example: 2;
40190
+ };
40191
+ readonly ledger_account_id: {
40192
+ readonly description: "The ledger account ID";
40193
+ readonly type: "integer";
40194
+ readonly format: "int64";
40195
+ readonly example: 1255;
40196
+ };
40197
+ readonly raw_currency_unit_price: {
40198
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
40199
+ readonly type: "string";
40200
+ readonly example: "33.333334";
40201
+ };
40202
+ readonly unit: {
40203
+ readonly description: "Line item unit (type of unit)";
40204
+ readonly type: "string";
40205
+ readonly example: "piece";
40206
+ };
40207
+ readonly vat_rate: {
40208
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
40209
+ readonly type: "string";
40210
+ readonly example: "FR_200";
40211
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
40212
+ };
40213
+ readonly description: {
40214
+ readonly description: "The description of the invoice line";
40215
+ readonly type: "string";
40216
+ readonly nullable: true;
40217
+ readonly example: "Consulting services for August";
40218
+ };
40219
+ readonly section_rank: {
40220
+ readonly type: "integer";
40221
+ readonly example: 1;
40222
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
40223
+ };
40224
+ readonly discount: {
40225
+ readonly type: "object";
40226
+ readonly additionalProperties: false;
40227
+ readonly properties: {
40228
+ readonly type: {
40229
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
40230
+ readonly type: "string";
40231
+ readonly enum: readonly ["absolute", "relative"];
40232
+ };
40233
+ readonly value: {
40234
+ readonly description: "Discount value on the total amount before tax of the line";
40235
+ readonly type: "string";
40236
+ readonly example: "10";
40237
+ };
40238
+ };
40239
+ readonly required: readonly ["type", "value"];
40240
+ };
38992
40241
  };
38993
- };
38994
- readonly required: readonly ["label", "quantity", "raw_currency_unit_price", "unit", "vat_rate"];
40242
+ readonly required: readonly ["label", "quantity", "raw_currency_unit_price", "unit", "vat_rate"];
40243
+ }];
38995
40244
  };
38996
40245
  readonly minItems: 1;
38997
40246
  };
@@ -39084,76 +40333,149 @@ declare const Quotes__Put_RequestSchema: {
39084
40333
  readonly create: {
39085
40334
  readonly type: "array";
39086
40335
  readonly items: {
39087
- readonly type: "object";
39088
- readonly additionalProperties: false;
39089
- readonly properties: {
39090
- readonly label: {
39091
- readonly description: "Invoice line label";
39092
- readonly type: "string";
39093
- readonly example: "Demo label";
39094
- };
39095
- readonly quantity: {
39096
- readonly description: "Invoice line quantity (number of items)";
39097
- readonly type: "number";
39098
- readonly example: 12;
39099
- };
39100
- readonly discount: {
39101
- readonly type: "object";
39102
- readonly additionalProperties: false;
39103
- readonly properties: {
39104
- readonly type: {
39105
- readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
39106
- readonly type: "string";
39107
- readonly enum: readonly ["absolute", "relative"];
39108
- };
39109
- readonly value: {
39110
- readonly description: "Discount value on the total amount before tax of the line";
39111
- readonly type: "string";
39112
- readonly example: "25";
40336
+ readonly oneOf: readonly [{
40337
+ readonly title: "Product-based Invoice Line";
40338
+ readonly description: "Provide only the product_id to automatically populate label,\nraw_currency_unit_price, unit, vat_rate, and ledger_account_id.\nYou can override any of these fields by providing them explicitly.\n";
40339
+ readonly type: "object";
40340
+ readonly additionalProperties: false;
40341
+ readonly properties: {
40342
+ readonly product_id: {
40343
+ readonly description: "The product ID. Auto-fills label, raw_currency_unit_price, unit, vat_rate, and ledger_account_id from the product.";
40344
+ readonly type: "integer";
40345
+ readonly format: "int64";
40346
+ readonly example: 42;
40347
+ };
40348
+ readonly quantity: {
40349
+ readonly description: "Line item quantity (number of items)";
40350
+ readonly type: "number";
40351
+ readonly example: 2;
40352
+ };
40353
+ readonly label: {
40354
+ readonly description: "Line item label";
40355
+ readonly type: "string";
40356
+ readonly example: "Consulting fees";
40357
+ };
40358
+ readonly ledger_account_id: {
40359
+ readonly description: "The ledger account ID";
40360
+ readonly type: "integer";
40361
+ readonly format: "int64";
40362
+ readonly example: 1255;
40363
+ };
40364
+ readonly raw_currency_unit_price: {
40365
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
40366
+ readonly type: "string";
40367
+ readonly example: "33.333334";
40368
+ };
40369
+ readonly unit: {
40370
+ readonly description: "Line item unit (type of unit)";
40371
+ readonly type: "string";
40372
+ readonly example: "piece";
40373
+ };
40374
+ readonly vat_rate: {
40375
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
40376
+ readonly type: "string";
40377
+ readonly example: "FR_200";
40378
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
40379
+ };
40380
+ readonly description: {
40381
+ readonly description: "The description of the invoice line";
40382
+ readonly type: "string";
40383
+ readonly nullable: true;
40384
+ readonly example: "Consulting services for August";
40385
+ };
40386
+ readonly section_rank: {
40387
+ readonly type: "integer";
40388
+ readonly example: 1;
40389
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
40390
+ };
40391
+ readonly discount: {
40392
+ readonly type: "object";
40393
+ readonly additionalProperties: false;
40394
+ readonly properties: {
40395
+ readonly type: {
40396
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
40397
+ readonly type: "string";
40398
+ readonly enum: readonly ["absolute", "relative"];
40399
+ };
40400
+ readonly value: {
40401
+ readonly description: "Discount value on the total amount before tax of the line";
40402
+ readonly type: "string";
40403
+ readonly example: "10";
40404
+ };
39113
40405
  };
40406
+ readonly required: readonly ["type", "value"];
39114
40407
  };
39115
- readonly required: readonly ["type", "value"];
39116
- };
39117
- readonly ledger_account_id: {
39118
- readonly description: "The ledger account ID";
39119
- readonly type: "integer";
39120
- readonly format: "int64";
39121
- readonly example: 1255;
39122
- };
39123
- readonly raw_currency_unit_price: {
39124
- readonly description: "The unit price excluding taxes. Can be set up to 6 decimals.";
39125
- readonly type: "string";
39126
- readonly example: "33.333334";
39127
40408
  };
39128
- readonly unit: {
39129
- readonly description: "Invoice line unit (type of unit)";
39130
- readonly type: "string";
39131
- readonly example: "piece";
39132
- };
39133
- readonly vat_rate: {
39134
- readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
39135
- readonly type: "string";
39136
- readonly example: "FR_200";
39137
- readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
39138
- };
39139
- readonly description: {
39140
- readonly description: "The description of the invoice line";
39141
- readonly type: "string";
39142
- readonly nullable: true;
39143
- };
39144
- readonly product_id: {
39145
- readonly description: "The product ID";
39146
- readonly type: "integer";
39147
- readonly format: "int64";
39148
- readonly example: 42;
39149
- };
39150
- readonly section_rank: {
39151
- readonly type: "integer";
39152
- readonly example: 1;
39153
- readonly description: "Has to correspond to the rank number of a quote line section in which the invoice line should be";
40409
+ readonly required: readonly ["product_id", "quantity"];
40410
+ }, {
40411
+ readonly title: "Standard Invoice Line";
40412
+ readonly description: "Create an invoice line by providing all required fields explicitly\nwithout referencing a product.\n";
40413
+ readonly type: "object";
40414
+ readonly additionalProperties: false;
40415
+ readonly properties: {
40416
+ readonly label: {
40417
+ readonly description: "Line item label";
40418
+ readonly type: "string";
40419
+ readonly example: "Consulting fees";
40420
+ };
40421
+ readonly quantity: {
40422
+ readonly description: "Line item quantity (number of items)";
40423
+ readonly type: "number";
40424
+ readonly example: 2;
40425
+ };
40426
+ readonly ledger_account_id: {
40427
+ readonly description: "The ledger account ID";
40428
+ readonly type: "integer";
40429
+ readonly format: "int64";
40430
+ readonly example: 1255;
40431
+ };
40432
+ readonly raw_currency_unit_price: {
40433
+ readonly description: "The unit price excluding taxes (undiscounted if a discount is set). Can be set up to 6 decimals.";
40434
+ readonly type: "string";
40435
+ readonly example: "33.333334";
40436
+ };
40437
+ readonly unit: {
40438
+ readonly description: "Line item unit (type of unit)";
40439
+ readonly type: "string";
40440
+ readonly example: "piece";
40441
+ };
40442
+ readonly vat_rate: {
40443
+ readonly description: "Product VAT rate. A 20% VAT in France is FR_200.";
40444
+ readonly type: "string";
40445
+ readonly example: "FR_200";
40446
+ readonly enum: readonly ["FR_1_05", "FR_1_75", "FR_09", "FR_21", "FR_40", "FR_50", "FR_55", "FR_60", "FR_65", "FR_85", "FR_92", "FR_100", "FR_130", "FR_15_385", "FR_160", "FR_196", "FR_200", "AD_10", "AD_45", "AD_95", "AT_100", "AT_130", "AT_190", "AT_200", "BE_60", "BE_120", "BE_210", "BG_90", "BG_200", "CH_25", "CH_37", "CH_77", "CH_26", "CH_38", "CH_81", "CY_30", "CY_50", "CY_80", "CY_90", "CY_190", "CZ_100", "CZ_120", "CZ_150", "CZ_210", "DE_70", "DE_190", "DK_250", "EE_90", "EE_200", "EE_220", "EE_240", "ES_40", "ES_70", "ES_100", "ES_210", "FI_100", "FI_135", "FI_140", "FI_240", "FI_255", "GB_50", "GB_200", "GR_60", "GR_130", "GR_170", "GR_240", "GR_40", "HR_50", "HR_130", "HR_250", "HU_50", "HU_180", "HU_270", "IE_48", "IE_90", "IE_135", "IE_210", "IE_230", "IT_40", "IT_50", "IT_100", "IT_220", "LT_50", "LT_90", "LT_120", "LT_210", "LU_30", "LU_70", "LU_80", "LU_120", "LU_130", "LU_140", "LU_160", "LU_170", "LV_50", "LV_120", "LV_210", "MC_09", "MC_21", "MC_55", "MC_85", "MC_100", "MC_200", "MT_50", "MT_70", "MT_120", "MT_180", "MU_150", "NL_90", "NL_210", "PL_50", "PL_80", "PL_230", "PT_60", "PT_130", "PT_160", "PT_180", "PT_220", "PT_230", "RO_50", "RO_90", "RO_110", "RO_190", "RO_210", "SE_60", "SE_120", "SE_250", "SI_50", "SI_95", "SI_220", "SK_50", "SK_100", "SK_190", "SK_200", "SK_230", "NO_120", "NO_150", "NO_250", "DE_70_BU0002", "DE_190_BU0003", "DE_70_BU0008", "DE_190_BU0009", "DE_intracom_70_BU0012", "DE_intracom_190_BU0013", "DE_190_electronic_BU0226", "exempt", "DE_intracom_exempt_BU0011", "DE_intracom_exempt_BU0047", "DE_exempt_BU0001", "DE_exempt_BU0181", "DE_exempt_BU0490", "intracom_21", "intracom_55", "intracom_85", "intracom_100", "crossborder", "DE_intracom_70_BU0018", "DE_intracom_190_BU0019", "DE_intracom_190_BU0506", "extracom", "DE_extracom_BU0173", "DE_extracom_BU0191", "DE_extracom_190_BU0511", "FR_85_construction", "FR_100_construction", "FR_200_construction", "DE_exempt_construction_BU0046", "DE_70_construction_BU0091", "DE_190_construction_BU0094", "DE_190_construction_BU0526", "DE_190_construction_BU0546", "mixed"];
40447
+ };
40448
+ readonly description: {
40449
+ readonly description: "The description of the invoice line";
40450
+ readonly type: "string";
40451
+ readonly nullable: true;
40452
+ readonly example: "Consulting services for August";
40453
+ };
40454
+ readonly section_rank: {
40455
+ readonly type: "integer";
40456
+ readonly example: 1;
40457
+ readonly description: "Has to correspond to the rank number of a line items section in which the line item should be";
40458
+ };
40459
+ readonly discount: {
40460
+ readonly type: "object";
40461
+ readonly additionalProperties: false;
40462
+ readonly properties: {
40463
+ readonly type: {
40464
+ readonly description: "Discount type.\n- absolute if it is an amount\n- relative if it is a percentage\n";
40465
+ readonly type: "string";
40466
+ readonly enum: readonly ["absolute", "relative"];
40467
+ };
40468
+ readonly value: {
40469
+ readonly description: "Discount value on the total amount before tax of the line";
40470
+ readonly type: "string";
40471
+ readonly example: "10";
40472
+ };
40473
+ };
40474
+ readonly required: readonly ["type", "value"];
40475
+ };
39154
40476
  };
39155
- };
39156
- readonly required: readonly ["label", "quantity", "raw_currency_unit_price", "unit", "vat_rate"];
40477
+ readonly required: readonly ["label", "quantity", "raw_currency_unit_price", "unit", "vat_rate"];
40478
+ }];
39157
40479
  };
39158
40480
  };
39159
40481
  readonly update: {
@@ -41495,6 +42817,17 @@ declare const createSupplierInvoiceEInvoiceImport: <ThrowOnError extends boolean
41495
42817
  * > This endpoint requires the following scope: `supplier_invoices:all`
41496
42818
  */
41497
42819
  declare const validateAccountingSupplierInvoice: <ThrowOnError extends boolean = false>(options: Options<ValidateAccountingSupplierInvoiceData, ThrowOnError>) => RequestResult<ValidateAccountingSupplierInvoiceResponses, ValidateAccountingSupplierInvoiceErrors, ThrowOnError, "fields">;
42820
+ /**
42821
+ * Update e-invoice status for a supplier invoice
42822
+ *
42823
+ * Applies an electronic invoicing lifecycle transition: dispute, refuse, or undispute (approved).
42824
+ * Dispute and refuse require a reason.
42825
+ *
42826
+ *
42827
+ * > ℹ️
42828
+ * > This endpoint requires the following scope: `supplier_invoices:all`
42829
+ */
42830
+ declare const putSupplierInvoiceEInvoiceStatus: <ThrowOnError extends boolean = false>(options: Options<PutSupplierInvoiceEInvoiceStatusData, ThrowOnError>) => RequestResult<PutSupplierInvoiceEInvoiceStatusResponses, PutSupplierInvoiceEInvoiceStatusErrors, ThrowOnError, "fields">;
41498
42831
  /**
41499
42832
  * List category groups
41500
42833
  *
@@ -42171,5 +43504,5 @@ declare const getBankEstablishments: <ThrowOnError extends boolean = false>(opti
42171
43504
  //#region src/index.d.ts
42172
43505
  declare function createClientWithApiKey(apiKey: string): Client;
42173
43506
  //#endregion
42174
- export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccountsResponse, BankAccounts__ResponseSchema, BankEstablishmentsResponse, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionRuleTypes, BillingSubscriptionRuleTypesSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptionsResponse, BillingSubscriptions__ResponseSchema, CategoriesResponse, Categories__ResponseSchema, CategoryGroupsResponse, CategoryGroups__ResponseSchema, type Client, type ClientOptions, CommercialDocumentsAppendicesResponse, CommercialDocumentsResponse, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomersResponse, CompanyCustomers__ResponseSchema, CompanyFiscalYearsData, CompanyFiscalYearsError, CompanyFiscalYearsErrors, CompanyFiscalYearsResponse, CompanyFiscalYearsResponses, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, type Config, type CreateClientConfig, CreateCustomerInvoiceEInvoiceImportData, CreateCustomerInvoiceEInvoiceImportError, CreateCustomerInvoiceEInvoiceImportErrors, CreateCustomerInvoiceEInvoiceImportResponse, CreateCustomerInvoiceEInvoiceImportResponses, CreateCustomerInvoiceFromQuoteData, CreateCustomerInvoiceFromQuoteError, CreateCustomerInvoiceFromQuoteErrors, CreateCustomerInvoiceFromQuoteResponse, CreateCustomerInvoiceFromQuoteResponses, CreateEInvoiceImportData, CreateEInvoiceImportError, CreateEInvoiceImportErrors, CreateEInvoiceImportResponse, CreateEInvoiceImportResponses, CreatePurchaseRequestImportData, CreatePurchaseRequestImportError, CreatePurchaseRequestImportErrors, CreatePurchaseRequestImportResponse, CreatePurchaseRequestImportResponses, CreateSupplierInvoiceEInvoiceImportData, CreateSupplierInvoiceEInvoiceImportError, CreateSupplierInvoiceEInvoiceImportErrors, CreateSupplierInvoiceEInvoiceImportResponse, CreateSupplierInvoiceEInvoiceImportResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionResponse, CreateTransactionResponses, Currency, CurrencySchema, CustomerInvoiceDocumentTypes, CustomerInvoiceDocumentTypesSchema, CustomerInvoicePDPStatusSchema, CustomerInvoicePdpStatus, CustomerInvoiceTemplatesResponse, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoicesAppendicesResponse, CustomerInvoicesCategoriesResponse, CustomerInvoicesDraftInvoiceLineWithProductRequest, CustomerInvoicesDraftInvoiceLineWithoutProductRequest, CustomerInvoicesEInvoicesImportsImportOptions, CustomerInvoicesEInvoicesImportsImportOptionsInvoiceLine, CustomerInvoicesFinalizedInvoiceLineWithProductRequest, CustomerInvoicesFinalizedInvoiceLineWithoutProductRequest, CustomerInvoicesIncludedInvoiceLinesCollection, CustomerInvoicesInclusions, CustomerInvoicesInvoiceLine, CustomerInvoicesMatchedTransactionsCategoriesResponse, CustomerInvoicesMatchedTransactionsResponse, CustomerInvoicesPostDraftRequest, CustomerInvoicesPostFinalizedRequest, CustomerInvoicesPutDraftRequest, CustomerInvoicesPutFinalizedRequest, CustomerInvoicesResponse, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsSchema, CustomerInvoices__FinalizedInvoiceLineWithProduct_RequestSchema, CustomerInvoices__FinalizedInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__IncludedInvoiceLinesCollectionSchema, CustomerInvoices__InclusionsSchema, CustomerInvoices__InvoiceLineSchema, CustomerInvoices__MatchedTransactions__CategoriesResponseSchema, CustomerInvoices__MatchedTransactions__ResponseSchema, CustomerInvoices__PostDraft_RequestSchema, CustomerInvoices__PostFinalized_RequestSchema, CustomerInvoices__PutDraft_RequestSchema, CustomerInvoices__PutFinalized_RequestSchema, CustomerInvoices__ResponseSchema, CustomersCategoriesResponse, CustomersContactsResponse, CustomersResponse, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DeleteCustomerInvoiceMatchedTransactionsData, DeleteCustomerInvoiceMatchedTransactionsError, DeleteCustomerInvoiceMatchedTransactionsErrors, DeleteCustomerInvoiceMatchedTransactionsResponse, DeleteCustomerInvoiceMatchedTransactionsResponses, DeleteCustomerInvoicesData, DeleteCustomerInvoicesError, DeleteCustomerInvoicesErrors, DeleteCustomerInvoicesResponse, DeleteCustomerInvoicesResponses, DeleteLedgerEntryLinesUnletterData, DeleteLedgerEntryLinesUnletterError, DeleteLedgerEntryLinesUnletterErrors, DeleteLedgerEntryLinesUnletterResponse, DeleteLedgerEntryLinesUnletterResponses, DeleteSepaMandateData, DeleteSepaMandateError, DeleteSepaMandateErrors, DeleteSepaMandateResponse, DeleteSepaMandateResponses, DeleteSupplierInvoiceMatchedTransactionsData, DeleteSupplierInvoiceMatchedTransactionsError, DeleteSupplierInvoiceMatchedTransactionsErrors, DeleteSupplierInvoiceMatchedTransactionsResponse, DeleteSupplierInvoiceMatchedTransactionsResponses, DeleteWebhookSubscriptionData, DeleteWebhookSubscriptionError, DeleteWebhookSubscriptionErrors, DeleteWebhookSubscriptionResponse, DeleteWebhookSubscriptionResponses, DiscountType, DiscountTypeSchema, EstimateStatus, EstimateStatusSchema, ExportAnalyticalGeneralLedgerData, ExportAnalyticalGeneralLedgerError, ExportAnalyticalGeneralLedgerErrors, ExportAnalyticalGeneralLedgerResponse, ExportAnalyticalGeneralLedgerResponses, ExportFecData, ExportFecError, ExportFecErrors, ExportFecResponse, ExportFecResponses, ExportGeneralLedgerData, ExportGeneralLedgerError, ExportGeneralLedgerErrors, ExportGeneralLedgerResponse, ExportGeneralLedgerResponses, ExportStatus, ExportStatusSchema, FileAttachmentsResponse, FileAttachments__ResponseSchema, FinalizeCustomerInvoiceData, FinalizeCustomerInvoiceError, FinalizeCustomerInvoiceErrors, FinalizeCustomerInvoiceResponse, FinalizeCustomerInvoiceResponses, GetAnalyticalGeneralLedgerExportData, GetAnalyticalGeneralLedgerExportError, GetAnalyticalGeneralLedgerExportErrors, GetAnalyticalGeneralLedgerExportResponse, GetAnalyticalGeneralLedgerExportResponses, GetBankAccountData, GetBankAccountError, GetBankAccountErrors, GetBankAccountResponse, GetBankAccountResponses, GetBankAccountsData, GetBankAccountsError, GetBankAccountsErrors, GetBankAccountsResponse, GetBankAccountsResponses, GetBankEstablishmentsData, GetBankEstablishmentsError, GetBankEstablishmentsErrors, GetBankEstablishmentsResponse, GetBankEstablishmentsResponses, GetBillingSubscriptionData, GetBillingSubscriptionError, GetBillingSubscriptionErrors, GetBillingSubscriptionInvoiceLineSectionsData, GetBillingSubscriptionInvoiceLineSectionsError, GetBillingSubscriptionInvoiceLineSectionsErrors, GetBillingSubscriptionInvoiceLineSectionsResponse, GetBillingSubscriptionInvoiceLineSectionsResponses, GetBillingSubscriptionInvoiceLinesData, GetBillingSubscriptionInvoiceLinesError, GetBillingSubscriptionInvoiceLinesErrors, GetBillingSubscriptionInvoiceLinesResponse, GetBillingSubscriptionInvoiceLinesResponses, GetBillingSubscriptionResponse, GetBillingSubscriptionResponses, GetBillingSubscriptionsData, GetBillingSubscriptionsError, GetBillingSubscriptionsErrors, GetBillingSubscriptionsResponse, GetBillingSubscriptionsResponses, GetCategoriesData, GetCategoriesError, GetCategoriesErrors, GetCategoriesResponse, GetCategoriesResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryGroupCategoriesData, GetCategoryGroupCategoriesError, GetCategoryGroupCategoriesErrors, GetCategoryGroupCategoriesResponse, GetCategoryGroupCategoriesResponses, GetCategoryGroupData, GetCategoryGroupError, GetCategoryGroupErrors, GetCategoryGroupResponse, GetCategoryGroupResponses, GetCategoryGroupsData, GetCategoryGroupsError, GetCategoryGroupsErrors, GetCategoryGroupsResponse, GetCategoryGroupsResponses, GetCategoryResponse, GetCategoryResponses, GetCommercialDocumentAppendicesData, GetCommercialDocumentAppendicesError, GetCommercialDocumentAppendicesErrors, GetCommercialDocumentAppendicesResponse, GetCommercialDocumentAppendicesResponses, GetCommercialDocumentData, GetCommercialDocumentError, GetCommercialDocumentErrors, GetCommercialDocumentInvoiceLineSectionsData, GetCommercialDocumentInvoiceLineSectionsError, GetCommercialDocumentInvoiceLineSectionsErrors, GetCommercialDocumentInvoiceLineSectionsResponse, GetCommercialDocumentInvoiceLineSectionsResponses, GetCommercialDocumentInvoiceLinesData, GetCommercialDocumentInvoiceLinesError, GetCommercialDocumentInvoiceLinesErrors, GetCommercialDocumentInvoiceLinesResponse, GetCommercialDocumentInvoiceLinesResponses, GetCommercialDocumentResponse, GetCommercialDocumentResponses, GetCompanyCustomerData, GetCompanyCustomerError, GetCompanyCustomerErrors, GetCompanyCustomerResponse, GetCompanyCustomerResponses, GetCustomerCategoriesData, GetCustomerCategoriesError, GetCustomerCategoriesErrors, GetCustomerCategoriesResponse, GetCustomerCategoriesResponses, GetCustomerChangesData, GetCustomerChangesError, GetCustomerChangesErrors, GetCustomerChangesResponse, GetCustomerChangesResponses, GetCustomerContactsData, GetCustomerContactsError, GetCustomerContactsErrors, GetCustomerContactsResponse, GetCustomerContactsResponses, GetCustomerData, GetCustomerError, GetCustomerErrors, GetCustomerInvoiceAppendicesData, GetCustomerInvoiceAppendicesError, GetCustomerInvoiceAppendicesErrors, GetCustomerInvoiceAppendicesResponse, GetCustomerInvoiceAppendicesResponses, GetCustomerInvoiceCategoriesData, GetCustomerInvoiceCategoriesError, GetCustomerInvoiceCategoriesErrors, GetCustomerInvoiceCategoriesResponse, GetCustomerInvoiceCategoriesResponses, GetCustomerInvoiceCustomHeaderFieldsData, GetCustomerInvoiceCustomHeaderFieldsError, GetCustomerInvoiceCustomHeaderFieldsErrors, GetCustomerInvoiceCustomHeaderFieldsResponse, GetCustomerInvoiceCustomHeaderFieldsResponses, GetCustomerInvoiceData, GetCustomerInvoiceError, GetCustomerInvoiceErrors, GetCustomerInvoiceInvoiceLineSectionsData, GetCustomerInvoiceInvoiceLineSectionsError, GetCustomerInvoiceInvoiceLineSectionsErrors, GetCustomerInvoiceInvoiceLineSectionsResponse, GetCustomerInvoiceInvoiceLineSectionsResponses, GetCustomerInvoiceInvoiceLinesData, GetCustomerInvoiceInvoiceLinesError, GetCustomerInvoiceInvoiceLinesErrors, GetCustomerInvoiceInvoiceLinesResponse, GetCustomerInvoiceInvoiceLinesResponses, GetCustomerInvoiceMatchedTransactionsData, GetCustomerInvoiceMatchedTransactionsError, GetCustomerInvoiceMatchedTransactionsErrors, GetCustomerInvoiceMatchedTransactionsResponse, GetCustomerInvoiceMatchedTransactionsResponses, GetCustomerInvoicePaymentsData, GetCustomerInvoicePaymentsError, GetCustomerInvoicePaymentsErrors, GetCustomerInvoicePaymentsResponse, GetCustomerInvoicePaymentsResponses, GetCustomerInvoiceResponse, GetCustomerInvoiceResponses, GetCustomerInvoiceTemplatesData, GetCustomerInvoiceTemplatesError, GetCustomerInvoiceTemplatesErrors, GetCustomerInvoiceTemplatesResponse, GetCustomerInvoiceTemplatesResponses, GetCustomerInvoicesChangesData, GetCustomerInvoicesChangesError, GetCustomerInvoicesChangesErrors, GetCustomerInvoicesChangesResponse, GetCustomerInvoicesChangesResponses, GetCustomerInvoicesData, GetCustomerInvoicesError, GetCustomerInvoicesErrors, GetCustomerInvoicesResponse, GetCustomerInvoicesResponses, GetCustomerResponse, GetCustomerResponses, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetFecExportData, GetFecExportError, GetFecExportErrors, GetFecExportResponse, GetFecExportResponses, GetFileAttachmentsData, GetFileAttachmentsError, GetFileAttachmentsErrors, GetFileAttachmentsResponse, GetFileAttachmentsResponses, GetGeneralLedgerExportData, GetGeneralLedgerExportError, GetGeneralLedgerExportErrors, GetGeneralLedgerExportResponse, GetGeneralLedgerExportResponses, GetGocardlessMandateData, GetGocardlessMandateError, GetGocardlessMandateErrors, GetGocardlessMandateResponse, GetGocardlessMandateResponses, GetGocardlessMandatesData, GetGocardlessMandatesError, GetGocardlessMandatesErrors, GetGocardlessMandatesResponse, GetGocardlessMandatesResponses, GetIndividualCustomerData, GetIndividualCustomerError, GetIndividualCustomerErrors, GetIndividualCustomerResponse, GetIndividualCustomerResponses, GetJournalData, GetJournalError, GetJournalErrors, GetJournalResponse, GetJournalResponses, GetJournalsData, GetJournalsError, GetJournalsErrors, GetJournalsResponse, GetJournalsResponses, GetLedgerAccountData, GetLedgerAccountError, GetLedgerAccountErrors, GetLedgerAccountResponse, GetLedgerAccountResponses, GetLedgerAccountsData, GetLedgerAccountsError, GetLedgerAccountsErrors, GetLedgerAccountsResponse, GetLedgerAccountsResponses, GetLedgerAttachmentsData, GetLedgerAttachmentsError, GetLedgerAttachmentsErrors, GetLedgerAttachmentsResponse, GetLedgerAttachmentsResponses, GetLedgerEntriesData, GetLedgerEntriesError, GetLedgerEntriesErrors, GetLedgerEntriesLedgerEntryLinesData, GetLedgerEntriesLedgerEntryLinesError, GetLedgerEntriesLedgerEntryLinesErrors, GetLedgerEntriesLedgerEntryLinesResponse, GetLedgerEntriesLedgerEntryLinesResponses, GetLedgerEntriesResponse, GetLedgerEntriesResponses, GetLedgerEntryData, GetLedgerEntryError, GetLedgerEntryErrors, GetLedgerEntryLineChangesData, GetLedgerEntryLineChangesError, GetLedgerEntryLineChangesErrors, GetLedgerEntryLineChangesResponse, GetLedgerEntryLineChangesResponses, GetLedgerEntryLineData, GetLedgerEntryLineError, GetLedgerEntryLineErrors, GetLedgerEntryLineResponse, GetLedgerEntryLineResponses, GetLedgerEntryLinesCategoriesData, GetLedgerEntryLinesCategoriesError, GetLedgerEntryLinesCategoriesErrors, GetLedgerEntryLinesCategoriesResponse, GetLedgerEntryLinesCategoriesResponses, GetLedgerEntryLinesData, GetLedgerEntryLinesError, GetLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesData, GetLedgerEntryLinesLetteredLedgerEntryLinesError, GetLedgerEntryLinesLetteredLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesResponse, GetLedgerEntryLinesLetteredLedgerEntryLinesResponses, GetLedgerEntryLinesResponse, GetLedgerEntryLinesResponses, GetLedgerEntryResponse, GetLedgerEntryResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetPaRegistrationsData, GetPaRegistrationsError, GetPaRegistrationsErrors, GetPaRegistrationsResponse, GetPaRegistrationsResponses, GetProAccountMandateMigrationsData, GetProAccountMandateMigrationsError, GetProAccountMandateMigrationsErrors, GetProAccountMandateMigrationsResponse, GetProAccountMandateMigrationsResponses, GetProAccountMandatesData, GetProAccountMandatesError, GetProAccountMandatesErrors, GetProAccountMandatesResponse, GetProAccountMandatesResponses, GetProductChangesData, GetProductChangesError, GetProductChangesErrors, GetProductChangesResponse, GetProductChangesResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsData, GetProductsError, GetProductsErrors, GetProductsResponse, GetProductsResponses, GetPurchaseRequestData, GetPurchaseRequestError, GetPurchaseRequestErrors, GetPurchaseRequestResponse, GetPurchaseRequestResponses, GetPurchaseRequestsData, GetPurchaseRequestsError, GetPurchaseRequestsErrors, GetPurchaseRequestsResponse, GetPurchaseRequestsResponses, GetQuoteAppendicesData, GetQuoteAppendicesError, GetQuoteAppendicesErrors, GetQuoteAppendicesResponse, GetQuoteAppendicesResponses, GetQuoteChangesData, GetQuoteChangesError, GetQuoteChangesErrors, GetQuoteChangesResponse, GetQuoteChangesResponses, GetQuoteData, GetQuoteError, GetQuoteErrors, GetQuoteInvoiceLineSectionsData, GetQuoteInvoiceLineSectionsError, GetQuoteInvoiceLineSectionsErrors, GetQuoteInvoiceLineSectionsResponse, GetQuoteInvoiceLineSectionsResponses, GetQuoteInvoiceLinesData, GetQuoteInvoiceLinesError, GetQuoteInvoiceLinesErrors, GetQuoteInvoiceLinesResponse, GetQuoteInvoiceLinesResponses, GetQuoteResponse, GetQuoteResponses, GetSepaMandateData, GetSepaMandateError, GetSepaMandateErrors, GetSepaMandateResponse, GetSepaMandateResponses, GetSepaMandatesData, GetSepaMandatesError, GetSepaMandatesErrors, GetSepaMandatesResponse, GetSepaMandatesResponses, GetSupplierCategoriesData, GetSupplierCategoriesError, GetSupplierCategoriesErrors, GetSupplierCategoriesResponse, GetSupplierCategoriesResponses, GetSupplierChangesData, GetSupplierChangesError, GetSupplierChangesErrors, GetSupplierChangesResponse, GetSupplierChangesResponses, GetSupplierData, GetSupplierError, GetSupplierErrors, GetSupplierInvoiceCategoriesData, GetSupplierInvoiceCategoriesError, GetSupplierInvoiceCategoriesErrors, GetSupplierInvoiceCategoriesResponse, GetSupplierInvoiceCategoriesResponses, GetSupplierInvoiceData, GetSupplierInvoiceError, GetSupplierInvoiceErrors, GetSupplierInvoiceLinesData, GetSupplierInvoiceLinesError, GetSupplierInvoiceLinesErrors, GetSupplierInvoiceLinesResponse, GetSupplierInvoiceLinesResponses, GetSupplierInvoiceMatchedTransactionsData, GetSupplierInvoiceMatchedTransactionsError, GetSupplierInvoiceMatchedTransactionsErrors, GetSupplierInvoiceMatchedTransactionsResponse, GetSupplierInvoiceMatchedTransactionsResponses, GetSupplierInvoicePaymentsData, GetSupplierInvoicePaymentsError, GetSupplierInvoicePaymentsErrors, GetSupplierInvoicePaymentsResponse, GetSupplierInvoicePaymentsResponses, GetSupplierInvoiceResponse, GetSupplierInvoiceResponses, GetSupplierInvoicesChangesData, GetSupplierInvoicesChangesError, GetSupplierInvoicesChangesErrors, GetSupplierInvoicesChangesResponse, GetSupplierInvoicesChangesResponses, GetSupplierInvoicesData, GetSupplierInvoicesError, GetSupplierInvoicesErrors, GetSupplierInvoicesResponse, GetSupplierInvoicesResponses, GetSupplierResponse, GetSupplierResponses, GetSuppliersData, GetSuppliersError, GetSuppliersErrors, GetSuppliersResponse, GetSuppliersResponses, GetTransactionCategoriesData, GetTransactionCategoriesError, GetTransactionCategoriesErrors, GetTransactionCategoriesResponse, GetTransactionCategoriesResponses, GetTransactionChangesData, GetTransactionChangesError, GetTransactionChangesErrors, GetTransactionChangesResponse, GetTransactionChangesResponses, GetTransactionData, GetTransactionError, GetTransactionErrors, GetTransactionMatchedInvoicesData, GetTransactionMatchedInvoicesError, GetTransactionMatchedInvoicesErrors, GetTransactionMatchedInvoicesResponse, GetTransactionMatchedInvoicesResponses, GetTransactionResponse, GetTransactionResponses, GetTransactionsData, GetTransactionsError, GetTransactionsErrors, GetTransactionsResponse, GetTransactionsResponses, GetTrialBalanceData, GetTrialBalanceError, GetTrialBalanceErrors, GetTrialBalanceResponse, GetTrialBalanceResponses, GetWebhookSubscriptionData, GetWebhookSubscriptionError, GetWebhookSubscriptionErrors, GetWebhookSubscriptionResponse, GetWebhookSubscriptionResponses, GocardlessMandatesResponse, GocardlessMandates__ResponseSchema, ImportCustomerInvoicesData, ImportCustomerInvoicesError, ImportCustomerInvoicesErrors, ImportCustomerInvoicesResponse, ImportCustomerInvoicesResponses, ImportSupplierInvoiceData, ImportSupplierInvoiceError, ImportSupplierInvoiceErrors, ImportSupplierInvoiceResponse, ImportSupplierInvoiceResponses, IndividualCustomersResponse, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, JournalsResponse, Journals__ResponseSchema, Language, LanguageSchema, LedgerAccountsResponse, LedgerAccounts__ResponseSchema, LedgerEntriesCategories, LedgerEntriesResponse, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLinesCategories, LedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesResponse, LedgerEntryLinesResponse, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, LinkCreditNoteData, LinkCreditNoteError, LinkCreditNoteErrors, LinkCreditNoteResponse, LinkCreditNoteResponses, ListCommercialDocumentsData, ListCommercialDocumentsError, ListCommercialDocumentsErrors, ListCommercialDocumentsResponse, ListCommercialDocumentsResponses, ListQuotesData, ListQuotesError, ListQuotesErrors, ListQuotesResponse, ListQuotesResponses, MandateStatus, MandateStatusSchema, MarkAsPaidCustomerInvoiceData, MarkAsPaidCustomerInvoiceError, MarkAsPaidCustomerInvoiceErrors, MarkAsPaidCustomerInvoiceResponse, MarkAsPaidCustomerInvoiceResponses, Null, Null2, NullSchema, Options, PDPAddresses__ResponseSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, PdpAddressesResponse, PostBankAccountData, PostBankAccountError, PostBankAccountErrors, PostBankAccountResponse, PostBankAccountResponses, PostBillingSubscriptionsData, PostBillingSubscriptionsError, PostBillingSubscriptionsErrors, PostBillingSubscriptionsResponse, PostBillingSubscriptionsResponses, PostCategoriesData, PostCategoriesError, PostCategoriesErrors, PostCategoriesResponse, PostCategoriesResponses, PostCommercialDocumentAppendicesData, PostCommercialDocumentAppendicesError, PostCommercialDocumentAppendicesErrors, PostCommercialDocumentAppendicesResponse, PostCommercialDocumentAppendicesResponses, PostCompanyCustomerData, PostCompanyCustomerError, PostCompanyCustomerErrors, PostCompanyCustomerResponse, PostCompanyCustomerResponses, PostCustomerInvoiceAppendicesData, PostCustomerInvoiceAppendicesError, PostCustomerInvoiceAppendicesErrors, PostCustomerInvoiceAppendicesResponse, PostCustomerInvoiceAppendicesResponses, PostCustomerInvoiceMatchedTransactionsData, PostCustomerInvoiceMatchedTransactionsError, PostCustomerInvoiceMatchedTransactionsErrors, PostCustomerInvoiceMatchedTransactionsResponse, PostCustomerInvoiceMatchedTransactionsResponses, PostCustomerInvoicesData, PostCustomerInvoicesError, PostCustomerInvoicesErrors, PostCustomerInvoicesResponse, PostCustomerInvoicesResponses, PostFileAttachmentsData, PostFileAttachmentsError, PostFileAttachmentsErrors, PostFileAttachmentsResponse, PostFileAttachmentsResponses, PostGocardlessMandateAssociationsData, PostGocardlessMandateAssociationsError, PostGocardlessMandateAssociationsErrors, PostGocardlessMandateAssociationsResponses, PostGocardlessMandateCancellationsData, PostGocardlessMandateCancellationsError, PostGocardlessMandateCancellationsErrors, PostGocardlessMandateCancellationsResponse, PostGocardlessMandateCancellationsResponses, PostGocardlessMandateMailRequestsData, PostGocardlessMandateMailRequestsError, PostGocardlessMandateMailRequestsErrors, PostGocardlessMandateMailRequestsResponse, PostGocardlessMandateMailRequestsResponses, PostIndividualCustomerData, PostIndividualCustomerError, PostIndividualCustomerErrors, PostIndividualCustomerResponse, PostIndividualCustomerResponses, PostJournalsData, PostJournalsError, PostJournalsErrors, PostJournalsResponse, PostJournalsResponses, PostLedgerAccountsData, PostLedgerAccountsError, PostLedgerAccountsErrors, PostLedgerAccountsResponse, PostLedgerAccountsResponses, PostLedgerAttachmentsData, PostLedgerAttachmentsError, PostLedgerAttachmentsErrors, PostLedgerAttachmentsResponse, PostLedgerAttachmentsResponses, PostLedgerEntriesData, PostLedgerEntriesError, PostLedgerEntriesErrors, PostLedgerEntriesResponse, PostLedgerEntriesResponses, PostLedgerEntryLinesLetterData, PostLedgerEntryLinesLetterError, PostLedgerEntryLinesLetterErrors, PostLedgerEntryLinesLetterResponse, PostLedgerEntryLinesLetterResponses, PostProAccountMandateMailRequestsData, PostProAccountMandateMailRequestsError, PostProAccountMandateMailRequestsErrors, PostProAccountMandateMailRequestsResponses, PostProAccountMandateMigrationsData, PostProAccountMandateMigrationsError, PostProAccountMandateMigrationsErrors, PostProAccountMandateMigrationsResponse, PostProAccountMandateMigrationsResponses, PostProductsData, PostProductsError, PostProductsErrors, PostProductsResponse, PostProductsResponses, PostQuoteAppendicesData, PostQuoteAppendicesError, PostQuoteAppendicesErrors, PostQuoteAppendicesResponse, PostQuoteAppendicesResponses, PostQuotesData, PostQuotesError, PostQuotesErrors, PostQuotesResponse, PostQuotesResponses, PostSepaMandatesData, PostSepaMandatesError, PostSepaMandatesErrors, PostSepaMandatesResponse, PostSepaMandatesResponses, PostSupplierData, PostSupplierError, PostSupplierErrors, PostSupplierInvoiceLinkedPurchaseRequestsData, PostSupplierInvoiceLinkedPurchaseRequestsError, PostSupplierInvoiceLinkedPurchaseRequestsErrors, PostSupplierInvoiceLinkedPurchaseRequestsResponse, PostSupplierInvoiceLinkedPurchaseRequestsResponses, PostSupplierInvoiceMatchedTransactionsData, PostSupplierInvoiceMatchedTransactionsError, PostSupplierInvoiceMatchedTransactionsErrors, PostSupplierInvoiceMatchedTransactionsResponse, PostSupplierInvoiceMatchedTransactionsResponses, PostSupplierResponse, PostSupplierResponses, PostWebhookSubscriptionData, PostWebhookSubscriptionError, PostWebhookSubscriptionErrors, PostWebhookSubscriptionResponse, PostWebhookSubscriptionResponses, ProAccountMandateMigrationsCreateResponse, ProAccountMandateMigrationsResponse, ProAccountSwanSepaPaymentMandatesMandate, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, ProductsResponse, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequestsResponse, PurchaseRequests__ResponseSchema, PutBillingSubscriptionsData, PutBillingSubscriptionsError, PutBillingSubscriptionsErrors, PutBillingSubscriptionsResponse, PutBillingSubscriptionsResponses, PutCompanyCustomerData, PutCompanyCustomerError, PutCompanyCustomerErrors, PutCompanyCustomerResponse, PutCompanyCustomerResponses, PutCustomerCategoriesData, PutCustomerCategoriesError, PutCustomerCategoriesErrors, PutCustomerCategoriesResponse, PutCustomerCategoriesResponses, PutCustomerInvoiceCategoriesData, PutCustomerInvoiceCategoriesError, PutCustomerInvoiceCategoriesErrors, PutCustomerInvoiceCategoriesResponse, PutCustomerInvoiceCategoriesResponses, PutIndividualCustomerData, PutIndividualCustomerError, PutIndividualCustomerErrors, PutIndividualCustomerResponse, PutIndividualCustomerResponses, PutLedgerEntriesData, PutLedgerEntriesError, PutLedgerEntriesErrors, PutLedgerEntriesResponse, PutLedgerEntriesResponses, PutLedgerEntryLinesCategoriesData, PutLedgerEntryLinesCategoriesError, PutLedgerEntryLinesCategoriesErrors, PutLedgerEntryLinesCategoriesResponse, PutLedgerEntryLinesCategoriesResponses, PutProductData, PutProductError, PutProductErrors, PutProductResponse, PutProductResponses, PutSepaMandateData, PutSepaMandateError, PutSepaMandateErrors, PutSepaMandateResponse, PutSepaMandateResponses, PutSupplierCategoriesData, PutSupplierCategoriesError, PutSupplierCategoriesErrors, PutSupplierCategoriesResponse, PutSupplierCategoriesResponses, PutSupplierData, PutSupplierError, PutSupplierErrors, PutSupplierInvoiceCategoriesData, PutSupplierInvoiceCategoriesError, PutSupplierInvoiceCategoriesErrors, PutSupplierInvoiceCategoriesResponse, PutSupplierInvoiceCategoriesResponses, PutSupplierInvoiceData, PutSupplierInvoiceError, PutSupplierInvoiceErrors, PutSupplierInvoiceResponse, PutSupplierInvoiceResponses, PutSupplierResponse, PutSupplierResponses, PutTransactionCategoriesData, PutTransactionCategoriesError, PutTransactionCategoriesErrors, PutTransactionCategoriesResponse, PutTransactionCategoriesResponses, PutWebhookSubscriptionData, PutWebhookSubscriptionError, PutWebhookSubscriptionErrors, PutWebhookSubscriptionResponse, PutWebhookSubscriptionResponses, QuotesAppendicesResponse, QuotesInvoiceLineSectionsResponse, QuotesInvoiceLinesResponse, QuotesPostRequest, QuotesPutRequest, QuotesResponse, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, type RequestOptions, type RequestResult, type ResolvedRequestOptions, type ResponseStyle, SchemasCurrency, SendByEmailCustomerInvoiceData, SendByEmailCustomerInvoiceError, SendByEmailCustomerInvoiceErrors, SendByEmailCustomerInvoiceResponse, SendByEmailCustomerInvoiceResponses, SendByEmailQuoteData, SendByEmailQuoteError, SendByEmailQuoteErrors, SendByEmailQuoteResponse, SendByEmailQuoteResponses, SepaMandatesResponse, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierInvoicePDPReasonSchema, SupplierInvoicePDPStatusSchema, SupplierInvoicePdpReason, SupplierInvoicePdpStatus, SupplierInvoicesCategoriesResponse, SupplierInvoicesEInvoicesImportsImportOptions, SupplierInvoicesEInvoicesImportsImportOptionsInvoiceLine, SupplierInvoicesMatchedTransactionsCategoriesResponse, SupplierInvoicesMatchedTransactionsResponse, SupplierInvoicesResponse, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethods, SupplierPaymentMethodsSchema, SuppliersCategoriesResponse, SuppliersResponse, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, type TDataShape, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, ThirdpartySupplierDueDateRule, ThirdpartySupplierDueDateRuleSchema, TransactionDirection, TransactionDirectionSchema, TransactionsCategoriesResponse, TransactionsCategoriesResponse2, TransactionsResponse, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, UpdateCategoryData, UpdateCategoryError, UpdateCategoryErrors, UpdateCategoryResponse, UpdateCategoryResponses, UpdateCustomerInvoiceData, UpdateCustomerInvoiceError, UpdateCustomerInvoiceErrors, UpdateCustomerInvoiceResponse, UpdateCustomerInvoiceResponses, UpdateImportedCustomerInvoiceData, UpdateImportedCustomerInvoiceError, UpdateImportedCustomerInvoiceErrors, UpdateImportedCustomerInvoiceResponse, UpdateImportedCustomerInvoiceResponses, UpdateLedgerAccountData, UpdateLedgerAccountError, UpdateLedgerAccountErrors, UpdateLedgerAccountResponse, UpdateLedgerAccountResponses, UpdateQuoteData, UpdateQuoteError, UpdateQuoteErrors, UpdateQuoteResponse, UpdateQuoteResponses, UpdateStatusQuoteData, UpdateStatusQuoteError, UpdateStatusQuoteErrors, UpdateStatusQuoteResponse, UpdateStatusQuoteResponses, UpdateSupplierInvoicePaymentStatusData, UpdateSupplierInvoicePaymentStatusError, UpdateSupplierInvoicePaymentStatusErrors, UpdateSupplierInvoicePaymentStatusResponse, UpdateSupplierInvoicePaymentStatusResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionResponse, UpdateTransactionResponses, ValidateAccountingSupplierInvoiceData, ValidateAccountingSupplierInvoiceError, ValidateAccountingSupplierInvoiceErrors, ValidateAccountingSupplierInvoiceResponse, ValidateAccountingSupplierInvoiceResponses, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptionsCreateResponse, WebhookSubscriptionsEvents, WebhookSubscriptionsResponse, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceEInvoiceImport, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createSupplierInvoiceEInvoiceImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, exportGeneralLedger, finalizeCustomerInvoice, getAnalyticalGeneralLedgerExport, getBankAccount, getBankAccounts, getBankEstablishments, getBillingSubscription, getBillingSubscriptionInvoiceLineSections, getBillingSubscriptionInvoiceLines, getBillingSubscriptions, getCategories, getCategory, getCategoryGroup, getCategoryGroupCategories, getCategoryGroups, getCommercialDocument, getCommercialDocumentAppendices, getCommercialDocumentInvoiceLineSections, getCommercialDocumentInvoiceLines, getCompanyCustomer, getCustomer, getCustomerCategories, getCustomerChanges, getCustomerContacts, getCustomerInvoice, getCustomerInvoiceAppendices, getCustomerInvoiceCategories, getCustomerInvoiceCustomHeaderFields, getCustomerInvoiceInvoiceLineSections, getCustomerInvoiceInvoiceLines, getCustomerInvoiceMatchedTransactions, getCustomerInvoicePayments, getCustomerInvoiceTemplates, getCustomerInvoices, getCustomerInvoicesChanges, getCustomers, getFecExport, getFileAttachments, getGeneralLedgerExport, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, getPaRegistrations, getProAccountMandateMigrations, getProAccountMandates, getProduct, getProductChanges, getProducts, getPurchaseRequest, getPurchaseRequests, getQuote, getQuoteAppendices, getQuoteChanges, getQuoteInvoiceLineSections, getQuoteInvoiceLines, getSepaMandate, getSepaMandates, getSupplier, getSupplierCategories, getSupplierChanges, getSupplierInvoice, getSupplierInvoiceCategories, getSupplierInvoiceLines, getSupplierInvoiceMatchedTransactions, getSupplierInvoicePayments, getSupplierInvoices, getSupplierInvoicesChanges, getSuppliers, getTransaction, getTransactionCategories, getTransactionChanges, getTransactionMatchedInvoices, getTransactions, getTrialBalance, getWebhookSubscription, importCustomerInvoices, importSupplierInvoice, linkCreditNote, listCommercialDocuments, listQuotes, markAsPaidCustomerInvoice, mergeHeaders, nullSchema, postBankAccount, postBillingSubscriptions, postCategories, postCommercialDocumentAppendices, postCompanyCustomer, postCustomerInvoiceAppendices, postCustomerInvoiceMatchedTransactions, postCustomerInvoices, postFileAttachments, postGocardlessMandateAssociations, postGocardlessMandateCancellations, postGocardlessMandateMailRequests, postIndividualCustomer, postJournals, postLedgerAccounts, postLedgerAttachments, postLedgerEntries, postLedgerEntryLinesLetter, postProAccountMandateMailRequests, postProAccountMandateMigrations, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putTransactionCategories, putWebhookSubscription, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
43507
+ export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccountsResponse, BankAccounts__ResponseSchema, BankEstablishmentsResponse, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionRuleTypes, BillingSubscriptionRuleTypesSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptionsResponse, BillingSubscriptions__ResponseSchema, CategoriesResponse, Categories__ResponseSchema, CategoryGroupsResponse, CategoryGroups__ResponseSchema, type Client, type ClientOptions, CommercialDocumentsAppendicesResponse, CommercialDocumentsResponse, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomersResponse, CompanyCustomers__ResponseSchema, CompanyFiscalYearsData, CompanyFiscalYearsError, CompanyFiscalYearsErrors, CompanyFiscalYearsResponse, CompanyFiscalYearsResponses, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, type Config, type CreateClientConfig, CreateCustomerInvoiceEInvoiceImportData, CreateCustomerInvoiceEInvoiceImportError, CreateCustomerInvoiceEInvoiceImportErrors, CreateCustomerInvoiceEInvoiceImportResponse, CreateCustomerInvoiceEInvoiceImportResponses, CreateCustomerInvoiceFromQuoteData, CreateCustomerInvoiceFromQuoteError, CreateCustomerInvoiceFromQuoteErrors, CreateCustomerInvoiceFromQuoteResponse, CreateCustomerInvoiceFromQuoteResponses, CreateEInvoiceImportData, CreateEInvoiceImportError, CreateEInvoiceImportErrors, CreateEInvoiceImportResponse, CreateEInvoiceImportResponses, CreatePurchaseRequestImportData, CreatePurchaseRequestImportError, CreatePurchaseRequestImportErrors, CreatePurchaseRequestImportResponse, CreatePurchaseRequestImportResponses, CreateSupplierInvoiceEInvoiceImportData, CreateSupplierInvoiceEInvoiceImportError, CreateSupplierInvoiceEInvoiceImportErrors, CreateSupplierInvoiceEInvoiceImportResponse, CreateSupplierInvoiceEInvoiceImportResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionResponse, CreateTransactionResponses, Currency, CurrencySchema, CustomerInvoiceDocumentTypes, CustomerInvoiceDocumentTypesSchema, CustomerInvoicePDPStatusSchema, CustomerInvoicePdpStatus, CustomerInvoiceTemplatesResponse, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoicesAppendicesResponse, CustomerInvoicesCategoriesResponse, CustomerInvoicesDraftInvoiceLineWithProductRequest, CustomerInvoicesDraftInvoiceLineWithoutProductRequest, CustomerInvoicesEInvoicesImportsImportOptions, CustomerInvoicesEInvoicesImportsImportOptionsInvoiceLine, CustomerInvoicesFinalizedInvoiceLineWithProductRequest, CustomerInvoicesFinalizedInvoiceLineWithoutProductRequest, CustomerInvoicesIncludedInvoiceLinesCollection, CustomerInvoicesInclusions, CustomerInvoicesInvoiceLine, CustomerInvoicesMatchedTransactionsCategoriesResponse, CustomerInvoicesMatchedTransactionsResponse, CustomerInvoicesPostDraftRequest, CustomerInvoicesPostFinalizedRequest, CustomerInvoicesPutDraftRequest, CustomerInvoicesPutFinalizedRequest, CustomerInvoicesResponse, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsSchema, CustomerInvoices__FinalizedInvoiceLineWithProduct_RequestSchema, CustomerInvoices__FinalizedInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__IncludedInvoiceLinesCollectionSchema, CustomerInvoices__InclusionsSchema, CustomerInvoices__InvoiceLineSchema, CustomerInvoices__MatchedTransactions__CategoriesResponseSchema, CustomerInvoices__MatchedTransactions__ResponseSchema, CustomerInvoices__PostDraft_RequestSchema, CustomerInvoices__PostFinalized_RequestSchema, CustomerInvoices__PutDraft_RequestSchema, CustomerInvoices__PutFinalized_RequestSchema, CustomerInvoices__ResponseSchema, CustomersCategoriesResponse, CustomersContactsResponse, CustomersResponse, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DeleteCustomerInvoiceMatchedTransactionsData, DeleteCustomerInvoiceMatchedTransactionsError, DeleteCustomerInvoiceMatchedTransactionsErrors, DeleteCustomerInvoiceMatchedTransactionsResponse, DeleteCustomerInvoiceMatchedTransactionsResponses, DeleteCustomerInvoicesData, DeleteCustomerInvoicesError, DeleteCustomerInvoicesErrors, DeleteCustomerInvoicesResponse, DeleteCustomerInvoicesResponses, DeleteLedgerEntryLinesUnletterData, DeleteLedgerEntryLinesUnletterError, DeleteLedgerEntryLinesUnletterErrors, DeleteLedgerEntryLinesUnletterResponse, DeleteLedgerEntryLinesUnletterResponses, DeleteSepaMandateData, DeleteSepaMandateError, DeleteSepaMandateErrors, DeleteSepaMandateResponse, DeleteSepaMandateResponses, DeleteSupplierInvoiceMatchedTransactionsData, DeleteSupplierInvoiceMatchedTransactionsError, DeleteSupplierInvoiceMatchedTransactionsErrors, DeleteSupplierInvoiceMatchedTransactionsResponse, DeleteSupplierInvoiceMatchedTransactionsResponses, DeleteWebhookSubscriptionData, DeleteWebhookSubscriptionError, DeleteWebhookSubscriptionErrors, DeleteWebhookSubscriptionResponse, DeleteWebhookSubscriptionResponses, DiscountType, DiscountTypeSchema, EstimateStatus, EstimateStatusSchema, ExportAnalyticalGeneralLedgerData, ExportAnalyticalGeneralLedgerError, ExportAnalyticalGeneralLedgerErrors, ExportAnalyticalGeneralLedgerResponse, ExportAnalyticalGeneralLedgerResponses, ExportFecData, ExportFecError, ExportFecErrors, ExportFecResponse, ExportFecResponses, ExportGeneralLedgerData, ExportGeneralLedgerError, ExportGeneralLedgerErrors, ExportGeneralLedgerResponse, ExportGeneralLedgerResponses, ExportStatus, ExportStatusSchema, FileAttachmentsResponse, FileAttachments__ResponseSchema, FinalizeCustomerInvoiceData, FinalizeCustomerInvoiceError, FinalizeCustomerInvoiceErrors, FinalizeCustomerInvoiceResponse, FinalizeCustomerInvoiceResponses, GetAnalyticalGeneralLedgerExportData, GetAnalyticalGeneralLedgerExportError, GetAnalyticalGeneralLedgerExportErrors, GetAnalyticalGeneralLedgerExportResponse, GetAnalyticalGeneralLedgerExportResponses, GetBankAccountData, GetBankAccountError, GetBankAccountErrors, GetBankAccountResponse, GetBankAccountResponses, GetBankAccountsData, GetBankAccountsError, GetBankAccountsErrors, GetBankAccountsResponse, GetBankAccountsResponses, GetBankEstablishmentsData, GetBankEstablishmentsError, GetBankEstablishmentsErrors, GetBankEstablishmentsResponse, GetBankEstablishmentsResponses, GetBillingSubscriptionData, GetBillingSubscriptionError, GetBillingSubscriptionErrors, GetBillingSubscriptionInvoiceLineSectionsData, GetBillingSubscriptionInvoiceLineSectionsError, GetBillingSubscriptionInvoiceLineSectionsErrors, GetBillingSubscriptionInvoiceLineSectionsResponse, GetBillingSubscriptionInvoiceLineSectionsResponses, GetBillingSubscriptionInvoiceLinesData, GetBillingSubscriptionInvoiceLinesError, GetBillingSubscriptionInvoiceLinesErrors, GetBillingSubscriptionInvoiceLinesResponse, GetBillingSubscriptionInvoiceLinesResponses, GetBillingSubscriptionResponse, GetBillingSubscriptionResponses, GetBillingSubscriptionsData, GetBillingSubscriptionsError, GetBillingSubscriptionsErrors, GetBillingSubscriptionsResponse, GetBillingSubscriptionsResponses, GetCategoriesData, GetCategoriesError, GetCategoriesErrors, GetCategoriesResponse, GetCategoriesResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryGroupCategoriesData, GetCategoryGroupCategoriesError, GetCategoryGroupCategoriesErrors, GetCategoryGroupCategoriesResponse, GetCategoryGroupCategoriesResponses, GetCategoryGroupData, GetCategoryGroupError, GetCategoryGroupErrors, GetCategoryGroupResponse, GetCategoryGroupResponses, GetCategoryGroupsData, GetCategoryGroupsError, GetCategoryGroupsErrors, GetCategoryGroupsResponse, GetCategoryGroupsResponses, GetCategoryResponse, GetCategoryResponses, GetCommercialDocumentAppendicesData, GetCommercialDocumentAppendicesError, GetCommercialDocumentAppendicesErrors, GetCommercialDocumentAppendicesResponse, GetCommercialDocumentAppendicesResponses, GetCommercialDocumentData, GetCommercialDocumentError, GetCommercialDocumentErrors, GetCommercialDocumentInvoiceLineSectionsData, GetCommercialDocumentInvoiceLineSectionsError, GetCommercialDocumentInvoiceLineSectionsErrors, GetCommercialDocumentInvoiceLineSectionsResponse, GetCommercialDocumentInvoiceLineSectionsResponses, GetCommercialDocumentInvoiceLinesData, GetCommercialDocumentInvoiceLinesError, GetCommercialDocumentInvoiceLinesErrors, GetCommercialDocumentInvoiceLinesResponse, GetCommercialDocumentInvoiceLinesResponses, GetCommercialDocumentResponse, GetCommercialDocumentResponses, GetCompanyCustomerData, GetCompanyCustomerError, GetCompanyCustomerErrors, GetCompanyCustomerResponse, GetCompanyCustomerResponses, GetCustomerCategoriesData, GetCustomerCategoriesError, GetCustomerCategoriesErrors, GetCustomerCategoriesResponse, GetCustomerCategoriesResponses, GetCustomerChangesData, GetCustomerChangesError, GetCustomerChangesErrors, GetCustomerChangesResponse, GetCustomerChangesResponses, GetCustomerContactsData, GetCustomerContactsError, GetCustomerContactsErrors, GetCustomerContactsResponse, GetCustomerContactsResponses, GetCustomerData, GetCustomerError, GetCustomerErrors, GetCustomerInvoiceAppendicesData, GetCustomerInvoiceAppendicesError, GetCustomerInvoiceAppendicesErrors, GetCustomerInvoiceAppendicesResponse, GetCustomerInvoiceAppendicesResponses, GetCustomerInvoiceCategoriesData, GetCustomerInvoiceCategoriesError, GetCustomerInvoiceCategoriesErrors, GetCustomerInvoiceCategoriesResponse, GetCustomerInvoiceCategoriesResponses, GetCustomerInvoiceCustomHeaderFieldsData, GetCustomerInvoiceCustomHeaderFieldsError, GetCustomerInvoiceCustomHeaderFieldsErrors, GetCustomerInvoiceCustomHeaderFieldsResponse, GetCustomerInvoiceCustomHeaderFieldsResponses, GetCustomerInvoiceData, GetCustomerInvoiceError, GetCustomerInvoiceErrors, GetCustomerInvoiceInvoiceLineSectionsData, GetCustomerInvoiceInvoiceLineSectionsError, GetCustomerInvoiceInvoiceLineSectionsErrors, GetCustomerInvoiceInvoiceLineSectionsResponse, GetCustomerInvoiceInvoiceLineSectionsResponses, GetCustomerInvoiceInvoiceLinesData, GetCustomerInvoiceInvoiceLinesError, GetCustomerInvoiceInvoiceLinesErrors, GetCustomerInvoiceInvoiceLinesResponse, GetCustomerInvoiceInvoiceLinesResponses, GetCustomerInvoiceMatchedTransactionsData, GetCustomerInvoiceMatchedTransactionsError, GetCustomerInvoiceMatchedTransactionsErrors, GetCustomerInvoiceMatchedTransactionsResponse, GetCustomerInvoiceMatchedTransactionsResponses, GetCustomerInvoicePaymentsData, GetCustomerInvoicePaymentsError, GetCustomerInvoicePaymentsErrors, GetCustomerInvoicePaymentsResponse, GetCustomerInvoicePaymentsResponses, GetCustomerInvoiceResponse, GetCustomerInvoiceResponses, GetCustomerInvoiceTemplatesData, GetCustomerInvoiceTemplatesError, GetCustomerInvoiceTemplatesErrors, GetCustomerInvoiceTemplatesResponse, GetCustomerInvoiceTemplatesResponses, GetCustomerInvoicesChangesData, GetCustomerInvoicesChangesError, GetCustomerInvoicesChangesErrors, GetCustomerInvoicesChangesResponse, GetCustomerInvoicesChangesResponses, GetCustomerInvoicesData, GetCustomerInvoicesError, GetCustomerInvoicesErrors, GetCustomerInvoicesResponse, GetCustomerInvoicesResponses, GetCustomerResponse, GetCustomerResponses, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetFecExportData, GetFecExportError, GetFecExportErrors, GetFecExportResponse, GetFecExportResponses, GetFileAttachmentsData, GetFileAttachmentsError, GetFileAttachmentsErrors, GetFileAttachmentsResponse, GetFileAttachmentsResponses, GetGeneralLedgerExportData, GetGeneralLedgerExportError, GetGeneralLedgerExportErrors, GetGeneralLedgerExportResponse, GetGeneralLedgerExportResponses, GetGocardlessMandateData, GetGocardlessMandateError, GetGocardlessMandateErrors, GetGocardlessMandateResponse, GetGocardlessMandateResponses, GetGocardlessMandatesData, GetGocardlessMandatesError, GetGocardlessMandatesErrors, GetGocardlessMandatesResponse, GetGocardlessMandatesResponses, GetIndividualCustomerData, GetIndividualCustomerError, GetIndividualCustomerErrors, GetIndividualCustomerResponse, GetIndividualCustomerResponses, GetJournalData, GetJournalError, GetJournalErrors, GetJournalResponse, GetJournalResponses, GetJournalsData, GetJournalsError, GetJournalsErrors, GetJournalsResponse, GetJournalsResponses, GetLedgerAccountData, GetLedgerAccountError, GetLedgerAccountErrors, GetLedgerAccountResponse, GetLedgerAccountResponses, GetLedgerAccountsData, GetLedgerAccountsError, GetLedgerAccountsErrors, GetLedgerAccountsResponse, GetLedgerAccountsResponses, GetLedgerAttachmentsData, GetLedgerAttachmentsError, GetLedgerAttachmentsErrors, GetLedgerAttachmentsResponse, GetLedgerAttachmentsResponses, GetLedgerEntriesData, GetLedgerEntriesError, GetLedgerEntriesErrors, GetLedgerEntriesLedgerEntryLinesData, GetLedgerEntriesLedgerEntryLinesError, GetLedgerEntriesLedgerEntryLinesErrors, GetLedgerEntriesLedgerEntryLinesResponse, GetLedgerEntriesLedgerEntryLinesResponses, GetLedgerEntriesResponse, GetLedgerEntriesResponses, GetLedgerEntryData, GetLedgerEntryError, GetLedgerEntryErrors, GetLedgerEntryLineChangesData, GetLedgerEntryLineChangesError, GetLedgerEntryLineChangesErrors, GetLedgerEntryLineChangesResponse, GetLedgerEntryLineChangesResponses, GetLedgerEntryLineData, GetLedgerEntryLineError, GetLedgerEntryLineErrors, GetLedgerEntryLineResponse, GetLedgerEntryLineResponses, GetLedgerEntryLinesCategoriesData, GetLedgerEntryLinesCategoriesError, GetLedgerEntryLinesCategoriesErrors, GetLedgerEntryLinesCategoriesResponse, GetLedgerEntryLinesCategoriesResponses, GetLedgerEntryLinesData, GetLedgerEntryLinesError, GetLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesData, GetLedgerEntryLinesLetteredLedgerEntryLinesError, GetLedgerEntryLinesLetteredLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesResponse, GetLedgerEntryLinesLetteredLedgerEntryLinesResponses, GetLedgerEntryLinesResponse, GetLedgerEntryLinesResponses, GetLedgerEntryResponse, GetLedgerEntryResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetPaRegistrationsData, GetPaRegistrationsError, GetPaRegistrationsErrors, GetPaRegistrationsResponse, GetPaRegistrationsResponses, GetProAccountMandateMigrationsData, GetProAccountMandateMigrationsError, GetProAccountMandateMigrationsErrors, GetProAccountMandateMigrationsResponse, GetProAccountMandateMigrationsResponses, GetProAccountMandatesData, GetProAccountMandatesError, GetProAccountMandatesErrors, GetProAccountMandatesResponse, GetProAccountMandatesResponses, GetProductChangesData, GetProductChangesError, GetProductChangesErrors, GetProductChangesResponse, GetProductChangesResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsData, GetProductsError, GetProductsErrors, GetProductsResponse, GetProductsResponses, GetPurchaseRequestData, GetPurchaseRequestError, GetPurchaseRequestErrors, GetPurchaseRequestResponse, GetPurchaseRequestResponses, GetPurchaseRequestsData, GetPurchaseRequestsError, GetPurchaseRequestsErrors, GetPurchaseRequestsResponse, GetPurchaseRequestsResponses, GetQuoteAppendicesData, GetQuoteAppendicesError, GetQuoteAppendicesErrors, GetQuoteAppendicesResponse, GetQuoteAppendicesResponses, GetQuoteChangesData, GetQuoteChangesError, GetQuoteChangesErrors, GetQuoteChangesResponse, GetQuoteChangesResponses, GetQuoteData, GetQuoteError, GetQuoteErrors, GetQuoteInvoiceLineSectionsData, GetQuoteInvoiceLineSectionsError, GetQuoteInvoiceLineSectionsErrors, GetQuoteInvoiceLineSectionsResponse, GetQuoteInvoiceLineSectionsResponses, GetQuoteInvoiceLinesData, GetQuoteInvoiceLinesError, GetQuoteInvoiceLinesErrors, GetQuoteInvoiceLinesResponse, GetQuoteInvoiceLinesResponses, GetQuoteResponse, GetQuoteResponses, GetSepaMandateData, GetSepaMandateError, GetSepaMandateErrors, GetSepaMandateResponse, GetSepaMandateResponses, GetSepaMandatesData, GetSepaMandatesError, GetSepaMandatesErrors, GetSepaMandatesResponse, GetSepaMandatesResponses, GetSupplierCategoriesData, GetSupplierCategoriesError, GetSupplierCategoriesErrors, GetSupplierCategoriesResponse, GetSupplierCategoriesResponses, GetSupplierChangesData, GetSupplierChangesError, GetSupplierChangesErrors, GetSupplierChangesResponse, GetSupplierChangesResponses, GetSupplierData, GetSupplierError, GetSupplierErrors, GetSupplierInvoiceCategoriesData, GetSupplierInvoiceCategoriesError, GetSupplierInvoiceCategoriesErrors, GetSupplierInvoiceCategoriesResponse, GetSupplierInvoiceCategoriesResponses, GetSupplierInvoiceData, GetSupplierInvoiceError, GetSupplierInvoiceErrors, GetSupplierInvoiceLinesData, GetSupplierInvoiceLinesError, GetSupplierInvoiceLinesErrors, GetSupplierInvoiceLinesResponse, GetSupplierInvoiceLinesResponses, GetSupplierInvoiceMatchedTransactionsData, GetSupplierInvoiceMatchedTransactionsError, GetSupplierInvoiceMatchedTransactionsErrors, GetSupplierInvoiceMatchedTransactionsResponse, GetSupplierInvoiceMatchedTransactionsResponses, GetSupplierInvoicePaymentsData, GetSupplierInvoicePaymentsError, GetSupplierInvoicePaymentsErrors, GetSupplierInvoicePaymentsResponse, GetSupplierInvoicePaymentsResponses, GetSupplierInvoiceResponse, GetSupplierInvoiceResponses, GetSupplierInvoicesChangesData, GetSupplierInvoicesChangesError, GetSupplierInvoicesChangesErrors, GetSupplierInvoicesChangesResponse, GetSupplierInvoicesChangesResponses, GetSupplierInvoicesData, GetSupplierInvoicesError, GetSupplierInvoicesErrors, GetSupplierInvoicesResponse, GetSupplierInvoicesResponses, GetSupplierResponse, GetSupplierResponses, GetSuppliersData, GetSuppliersError, GetSuppliersErrors, GetSuppliersResponse, GetSuppliersResponses, GetTransactionCategoriesData, GetTransactionCategoriesError, GetTransactionCategoriesErrors, GetTransactionCategoriesResponse, GetTransactionCategoriesResponses, GetTransactionChangesData, GetTransactionChangesError, GetTransactionChangesErrors, GetTransactionChangesResponse, GetTransactionChangesResponses, GetTransactionData, GetTransactionError, GetTransactionErrors, GetTransactionMatchedInvoicesData, GetTransactionMatchedInvoicesError, GetTransactionMatchedInvoicesErrors, GetTransactionMatchedInvoicesResponse, GetTransactionMatchedInvoicesResponses, GetTransactionResponse, GetTransactionResponses, GetTransactionsData, GetTransactionsError, GetTransactionsErrors, GetTransactionsResponse, GetTransactionsResponses, GetTrialBalanceData, GetTrialBalanceError, GetTrialBalanceErrors, GetTrialBalanceResponse, GetTrialBalanceResponses, GetWebhookSubscriptionData, GetWebhookSubscriptionError, GetWebhookSubscriptionErrors, GetWebhookSubscriptionResponse, GetWebhookSubscriptionResponses, GocardlessMandatesResponse, GocardlessMandates__ResponseSchema, ImportCustomerInvoicesData, ImportCustomerInvoicesError, ImportCustomerInvoicesErrors, ImportCustomerInvoicesResponse, ImportCustomerInvoicesResponses, ImportSupplierInvoiceData, ImportSupplierInvoiceError, ImportSupplierInvoiceErrors, ImportSupplierInvoiceResponse, ImportSupplierInvoiceResponses, IndividualCustomersResponse, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, JournalsResponse, Journals__ResponseSchema, Language, LanguageSchema, LedgerAccountsResponse, LedgerAccounts__ResponseSchema, LedgerEntriesCategories, LedgerEntriesResponse, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLinesCategories, LedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesResponse, LedgerEntryLinesResponse, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, LinkCreditNoteData, LinkCreditNoteError, LinkCreditNoteErrors, LinkCreditNoteResponse, LinkCreditNoteResponses, ListCommercialDocumentsData, ListCommercialDocumentsError, ListCommercialDocumentsErrors, ListCommercialDocumentsResponse, ListCommercialDocumentsResponses, ListQuotesData, ListQuotesError, ListQuotesErrors, ListQuotesResponse, ListQuotesResponses, MandateStatus, MandateStatusSchema, MarkAsPaidCustomerInvoiceData, MarkAsPaidCustomerInvoiceError, MarkAsPaidCustomerInvoiceErrors, MarkAsPaidCustomerInvoiceResponse, MarkAsPaidCustomerInvoiceResponses, Null, Null2, NullSchema, Options, PDPAddresses__ResponseSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, PdpAddressesResponse, PostBankAccountData, PostBankAccountError, PostBankAccountErrors, PostBankAccountResponse, PostBankAccountResponses, PostBillingSubscriptionsData, PostBillingSubscriptionsError, PostBillingSubscriptionsErrors, PostBillingSubscriptionsResponse, PostBillingSubscriptionsResponses, PostCategoriesData, PostCategoriesError, PostCategoriesErrors, PostCategoriesResponse, PostCategoriesResponses, PostCommercialDocumentAppendicesData, PostCommercialDocumentAppendicesError, PostCommercialDocumentAppendicesErrors, PostCommercialDocumentAppendicesResponse, PostCommercialDocumentAppendicesResponses, PostCompanyCustomerData, PostCompanyCustomerError, PostCompanyCustomerErrors, PostCompanyCustomerResponse, PostCompanyCustomerResponses, PostCustomerInvoiceAppendicesData, PostCustomerInvoiceAppendicesError, PostCustomerInvoiceAppendicesErrors, PostCustomerInvoiceAppendicesResponse, PostCustomerInvoiceAppendicesResponses, PostCustomerInvoiceMatchedTransactionsData, PostCustomerInvoiceMatchedTransactionsError, PostCustomerInvoiceMatchedTransactionsErrors, PostCustomerInvoiceMatchedTransactionsResponse, PostCustomerInvoiceMatchedTransactionsResponses, PostCustomerInvoicesData, PostCustomerInvoicesError, PostCustomerInvoicesErrors, PostCustomerInvoicesResponse, PostCustomerInvoicesResponses, PostFileAttachmentsData, PostFileAttachmentsError, PostFileAttachmentsErrors, PostFileAttachmentsResponse, PostFileAttachmentsResponses, PostGocardlessMandateAssociationsData, PostGocardlessMandateAssociationsError, PostGocardlessMandateAssociationsErrors, PostGocardlessMandateAssociationsResponses, PostGocardlessMandateCancellationsData, PostGocardlessMandateCancellationsError, PostGocardlessMandateCancellationsErrors, PostGocardlessMandateCancellationsResponse, PostGocardlessMandateCancellationsResponses, PostGocardlessMandateMailRequestsData, PostGocardlessMandateMailRequestsError, PostGocardlessMandateMailRequestsErrors, PostGocardlessMandateMailRequestsResponse, PostGocardlessMandateMailRequestsResponses, PostIndividualCustomerData, PostIndividualCustomerError, PostIndividualCustomerErrors, PostIndividualCustomerResponse, PostIndividualCustomerResponses, PostJournalsData, PostJournalsError, PostJournalsErrors, PostJournalsResponse, PostJournalsResponses, PostLedgerAccountsData, PostLedgerAccountsError, PostLedgerAccountsErrors, PostLedgerAccountsResponse, PostLedgerAccountsResponses, PostLedgerAttachmentsData, PostLedgerAttachmentsError, PostLedgerAttachmentsErrors, PostLedgerAttachmentsResponse, PostLedgerAttachmentsResponses, PostLedgerEntriesData, PostLedgerEntriesError, PostLedgerEntriesErrors, PostLedgerEntriesResponse, PostLedgerEntriesResponses, PostLedgerEntryLinesLetterData, PostLedgerEntryLinesLetterError, PostLedgerEntryLinesLetterErrors, PostLedgerEntryLinesLetterResponse, PostLedgerEntryLinesLetterResponses, PostProAccountMandateMailRequestsData, PostProAccountMandateMailRequestsError, PostProAccountMandateMailRequestsErrors, PostProAccountMandateMailRequestsResponses, PostProAccountMandateMigrationsData, PostProAccountMandateMigrationsError, PostProAccountMandateMigrationsErrors, PostProAccountMandateMigrationsResponse, PostProAccountMandateMigrationsResponses, PostProductsData, PostProductsError, PostProductsErrors, PostProductsResponse, PostProductsResponses, PostQuoteAppendicesData, PostQuoteAppendicesError, PostQuoteAppendicesErrors, PostQuoteAppendicesResponse, PostQuoteAppendicesResponses, PostQuotesData, PostQuotesError, PostQuotesErrors, PostQuotesResponse, PostQuotesResponses, PostSepaMandatesData, PostSepaMandatesError, PostSepaMandatesErrors, PostSepaMandatesResponse, PostSepaMandatesResponses, PostSupplierData, PostSupplierError, PostSupplierErrors, PostSupplierInvoiceLinkedPurchaseRequestsData, PostSupplierInvoiceLinkedPurchaseRequestsError, PostSupplierInvoiceLinkedPurchaseRequestsErrors, PostSupplierInvoiceLinkedPurchaseRequestsResponse, PostSupplierInvoiceLinkedPurchaseRequestsResponses, PostSupplierInvoiceMatchedTransactionsData, PostSupplierInvoiceMatchedTransactionsError, PostSupplierInvoiceMatchedTransactionsErrors, PostSupplierInvoiceMatchedTransactionsResponse, PostSupplierInvoiceMatchedTransactionsResponses, PostSupplierResponse, PostSupplierResponses, PostWebhookSubscriptionData, PostWebhookSubscriptionError, PostWebhookSubscriptionErrors, PostWebhookSubscriptionResponse, PostWebhookSubscriptionResponses, ProAccountMandateMigrationsCreateResponse, ProAccountMandateMigrationsResponse, ProAccountSwanSepaPaymentMandatesMandate, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, ProductsResponse, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequestsResponse, PurchaseRequests__ResponseSchema, PutBillingSubscriptionsData, PutBillingSubscriptionsError, PutBillingSubscriptionsErrors, PutBillingSubscriptionsResponse, PutBillingSubscriptionsResponses, PutCompanyCustomerData, PutCompanyCustomerError, PutCompanyCustomerErrors, PutCompanyCustomerResponse, PutCompanyCustomerResponses, PutCustomerCategoriesData, PutCustomerCategoriesError, PutCustomerCategoriesErrors, PutCustomerCategoriesResponse, PutCustomerCategoriesResponses, PutCustomerInvoiceCategoriesData, PutCustomerInvoiceCategoriesError, PutCustomerInvoiceCategoriesErrors, PutCustomerInvoiceCategoriesResponse, PutCustomerInvoiceCategoriesResponses, PutIndividualCustomerData, PutIndividualCustomerError, PutIndividualCustomerErrors, PutIndividualCustomerResponse, PutIndividualCustomerResponses, PutLedgerEntriesData, PutLedgerEntriesError, PutLedgerEntriesErrors, PutLedgerEntriesResponse, PutLedgerEntriesResponses, PutLedgerEntryLinesCategoriesData, PutLedgerEntryLinesCategoriesError, PutLedgerEntryLinesCategoriesErrors, PutLedgerEntryLinesCategoriesResponse, PutLedgerEntryLinesCategoriesResponses, PutProductData, PutProductError, PutProductErrors, PutProductResponse, PutProductResponses, PutSepaMandateData, PutSepaMandateError, PutSepaMandateErrors, PutSepaMandateResponse, PutSepaMandateResponses, PutSupplierCategoriesData, PutSupplierCategoriesError, PutSupplierCategoriesErrors, PutSupplierCategoriesResponse, PutSupplierCategoriesResponses, PutSupplierData, PutSupplierError, PutSupplierErrors, PutSupplierInvoiceCategoriesData, PutSupplierInvoiceCategoriesError, PutSupplierInvoiceCategoriesErrors, PutSupplierInvoiceCategoriesResponse, PutSupplierInvoiceCategoriesResponses, PutSupplierInvoiceData, PutSupplierInvoiceEInvoiceStatusData, PutSupplierInvoiceEInvoiceStatusError, PutSupplierInvoiceEInvoiceStatusErrors, PutSupplierInvoiceEInvoiceStatusResponse, PutSupplierInvoiceEInvoiceStatusResponses, PutSupplierInvoiceError, PutSupplierInvoiceErrors, PutSupplierInvoiceResponse, PutSupplierInvoiceResponses, PutSupplierResponse, PutSupplierResponses, PutTransactionCategoriesData, PutTransactionCategoriesError, PutTransactionCategoriesErrors, PutTransactionCategoriesResponse, PutTransactionCategoriesResponses, PutWebhookSubscriptionData, PutWebhookSubscriptionError, PutWebhookSubscriptionErrors, PutWebhookSubscriptionResponse, PutWebhookSubscriptionResponses, QuotesAppendicesResponse, QuotesInvoiceLineSectionsResponse, QuotesInvoiceLineWithProductRequest, QuotesInvoiceLineWithoutProductRequest, QuotesInvoiceLinesResponse, QuotesPostRequest, QuotesPutRequest, QuotesResponse, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLineWithProduct_RequestSchema, Quotes__InvoiceLineWithoutProduct_RequestSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, type RequestOptions, type RequestResult, type ResolvedRequestOptions, type ResponseStyle, SchemasCurrency, SendByEmailCustomerInvoiceData, SendByEmailCustomerInvoiceError, SendByEmailCustomerInvoiceErrors, SendByEmailCustomerInvoiceResponse, SendByEmailCustomerInvoiceResponses, SendByEmailQuoteData, SendByEmailQuoteError, SendByEmailQuoteErrors, SendByEmailQuoteResponse, SendByEmailQuoteResponses, SepaMandatesResponse, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierInvoicePDPDisputeReasonSchema, SupplierInvoicePDPReasonSchema, SupplierInvoicePDPRefuseReasonSchema, SupplierInvoicePDPStatusSchema, SupplierInvoicePdpDisputeReason, SupplierInvoicePdpReason, SupplierInvoicePdpRefuseReason, SupplierInvoicePdpStatus, SupplierInvoicesCategoriesResponse, SupplierInvoicesEInvoiceStatusDisputeRequest, SupplierInvoicesEInvoiceStatusRefuseRequest, SupplierInvoicesEInvoiceStatusResponse, SupplierInvoicesEInvoiceStatusUndisputeRequest, SupplierInvoicesEInvoicesImportsImportOptions, SupplierInvoicesEInvoicesImportsImportOptionsInvoiceLine, SupplierInvoicesMatchedTransactionsCategoriesResponse, SupplierInvoicesMatchedTransactionsResponse, SupplierInvoicesResponse, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__EInvoiceStatus__DisputeRequestSchema, SupplierInvoices__EInvoiceStatus__RefuseRequestSchema, SupplierInvoices__EInvoiceStatus__ResponseSchema, SupplierInvoices__EInvoiceStatus__UndisputeRequestSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethods, SupplierPaymentMethodsSchema, SuppliersCategoriesResponse, SuppliersResponse, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, type TDataShape, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, ThirdpartySupplierDueDateRule, ThirdpartySupplierDueDateRuleSchema, TransactionDirection, TransactionDirectionSchema, TransactionsCategoriesResponse, TransactionsCategoriesResponse2, TransactionsResponse, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, UpdateCategoryData, UpdateCategoryError, UpdateCategoryErrors, UpdateCategoryResponse, UpdateCategoryResponses, UpdateCustomerInvoiceData, UpdateCustomerInvoiceError, UpdateCustomerInvoiceErrors, UpdateCustomerInvoiceResponse, UpdateCustomerInvoiceResponses, UpdateImportedCustomerInvoiceData, UpdateImportedCustomerInvoiceError, UpdateImportedCustomerInvoiceErrors, UpdateImportedCustomerInvoiceResponse, UpdateImportedCustomerInvoiceResponses, UpdateLedgerAccountData, UpdateLedgerAccountError, UpdateLedgerAccountErrors, UpdateLedgerAccountResponse, UpdateLedgerAccountResponses, UpdateQuoteData, UpdateQuoteError, UpdateQuoteErrors, UpdateQuoteResponse, UpdateQuoteResponses, UpdateStatusQuoteData, UpdateStatusQuoteError, UpdateStatusQuoteErrors, UpdateStatusQuoteResponse, UpdateStatusQuoteResponses, UpdateSupplierInvoicePaymentStatusData, UpdateSupplierInvoicePaymentStatusError, UpdateSupplierInvoicePaymentStatusErrors, UpdateSupplierInvoicePaymentStatusResponse, UpdateSupplierInvoicePaymentStatusResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionResponse, UpdateTransactionResponses, ValidateAccountingSupplierInvoiceData, ValidateAccountingSupplierInvoiceError, ValidateAccountingSupplierInvoiceErrors, ValidateAccountingSupplierInvoiceResponse, ValidateAccountingSupplierInvoiceResponses, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptionsCreateResponse, WebhookSubscriptionsEvents, WebhookSubscriptionsResponse, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceEInvoiceImport, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createSupplierInvoiceEInvoiceImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, exportGeneralLedger, finalizeCustomerInvoice, getAnalyticalGeneralLedgerExport, getBankAccount, getBankAccounts, getBankEstablishments, getBillingSubscription, getBillingSubscriptionInvoiceLineSections, getBillingSubscriptionInvoiceLines, getBillingSubscriptions, getCategories, getCategory, getCategoryGroup, getCategoryGroupCategories, getCategoryGroups, getCommercialDocument, getCommercialDocumentAppendices, getCommercialDocumentInvoiceLineSections, getCommercialDocumentInvoiceLines, getCompanyCustomer, getCustomer, getCustomerCategories, getCustomerChanges, getCustomerContacts, getCustomerInvoice, getCustomerInvoiceAppendices, getCustomerInvoiceCategories, getCustomerInvoiceCustomHeaderFields, getCustomerInvoiceInvoiceLineSections, getCustomerInvoiceInvoiceLines, getCustomerInvoiceMatchedTransactions, getCustomerInvoicePayments, getCustomerInvoiceTemplates, getCustomerInvoices, getCustomerInvoicesChanges, getCustomers, getFecExport, getFileAttachments, getGeneralLedgerExport, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, getPaRegistrations, getProAccountMandateMigrations, getProAccountMandates, getProduct, getProductChanges, getProducts, getPurchaseRequest, getPurchaseRequests, getQuote, getQuoteAppendices, getQuoteChanges, getQuoteInvoiceLineSections, getQuoteInvoiceLines, getSepaMandate, getSepaMandates, getSupplier, getSupplierCategories, getSupplierChanges, getSupplierInvoice, getSupplierInvoiceCategories, getSupplierInvoiceLines, getSupplierInvoiceMatchedTransactions, getSupplierInvoicePayments, getSupplierInvoices, getSupplierInvoicesChanges, getSuppliers, getTransaction, getTransactionCategories, getTransactionChanges, getTransactionMatchedInvoices, getTransactions, getTrialBalance, getWebhookSubscription, importCustomerInvoices, importSupplierInvoice, linkCreditNote, listCommercialDocuments, listQuotes, markAsPaidCustomerInvoice, mergeHeaders, nullSchema, postBankAccount, postBillingSubscriptions, postCategories, postCommercialDocumentAppendices, postCompanyCustomer, postCustomerInvoiceAppendices, postCustomerInvoiceMatchedTransactions, postCustomerInvoices, postFileAttachments, postGocardlessMandateAssociations, postGocardlessMandateCancellations, postGocardlessMandateMailRequests, postIndividualCustomer, postJournals, postLedgerAccounts, postLedgerAttachments, postLedgerEntries, postLedgerEntryLinesLetter, postProAccountMandateMailRequests, postProAccountMandateMigrations, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putSupplierInvoiceEInvoiceStatus, putTransactionCategories, putWebhookSubscription, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
42175
43508
  //# sourceMappingURL=index.d.mts.map