@getyetty-sdk/pennylane 2026.3.3 → 2026.3.7

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.mjs CHANGED
@@ -729,6 +729,11 @@ const WebhookSubscriptions__ResponseSchema = {
729
729
  example: ["customer_invoice.created", "quote.created"],
730
730
  minItems: 1
731
731
  },
732
+ enabled: {
733
+ description: "Indicates whether the webhook subscription is active",
734
+ type: "boolean",
735
+ example: true
736
+ },
732
737
  created_at: {
733
738
  description: "Creation date of the webhook subscription",
734
739
  type: "string",
@@ -746,6 +751,7 @@ const WebhookSubscriptions__ResponseSchema = {
746
751
  "id",
747
752
  "callback_url",
748
753
  "events",
754
+ "enabled",
749
755
  "created_at",
750
756
  "updated_at"
751
757
  ]
@@ -805,6 +811,11 @@ const WebhookSubscriptions__CreateResponseSchema = {
805
811
  example: ["customer_invoice.created", "quote.created"],
806
812
  minItems: 1
807
813
  },
814
+ enabled: {
815
+ description: "Indicates whether the webhook subscription is active",
816
+ type: "boolean",
817
+ example: true
818
+ },
808
819
  secret: {
809
820
  description: "Automatically generated secret for HMAC signature verification. This is only returned once\non creation. Store it securely as it cannot be retrieved afterwards.\n",
810
821
  type: "string"
@@ -826,6 +837,7 @@ const WebhookSubscriptions__CreateResponseSchema = {
826
837
  "id",
827
838
  "callback_url",
828
839
  "events",
840
+ "enabled",
829
841
  "secret",
830
842
  "created_at",
831
843
  "updated_at"
@@ -1107,6 +1119,7 @@ const AuthorizedCountryAlpha2WithAnySchema = {
1107
1119
  "AD",
1108
1120
  "MU",
1109
1121
  "NO",
1122
+ "XK",
1110
1123
  "any"
1111
1124
  ]
1112
1125
  };
@@ -1372,6 +1385,12 @@ const LedgerEntries__ResponseSchema = {
1372
1385
  nullable: true,
1373
1386
  example: "2023-08-30"
1374
1387
  },
1388
+ invoice_number: {
1389
+ description: "Invoice number of the document linked to the ledger entry",
1390
+ type: "string",
1391
+ nullable: true,
1392
+ example: "FAC-2024-001"
1393
+ },
1375
1394
  journal_id: {
1376
1395
  type: "integer",
1377
1396
  format: "int64",
@@ -1564,6 +1583,7 @@ const LedgerEntries__ResponseSchema = {
1564
1583
  "piece_number",
1565
1584
  "date",
1566
1585
  "due_date",
1586
+ "invoice_number",
1567
1587
  "journal_id",
1568
1588
  "journal",
1569
1589
  "categories",
@@ -2310,6 +2330,20 @@ const DiscountTypeSchema = {
2310
2330
  type: "string",
2311
2331
  enum: ["absolute", "relative"]
2312
2332
  };
2333
+ const CustomerInvoicePDPStatusSchema = {
2334
+ type: "string",
2335
+ enum: [
2336
+ "accepted",
2337
+ "approved",
2338
+ "collected",
2339
+ "in_dispute",
2340
+ "partially_collected",
2341
+ "refused",
2342
+ "rejected",
2343
+ "sent",
2344
+ "submitted"
2345
+ ]
2346
+ };
2313
2347
  const CustomerInvoices__ResponseSchema = {
2314
2348
  type: "object",
2315
2349
  additionalProperties: false,
@@ -2817,6 +2851,33 @@ const CustomerInvoices__ResponseSchema = {
2817
2851
  type: "string",
2818
2852
  example: "FR123"
2819
2853
  },
2854
+ e_invoicing: {
2855
+ 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 sent through e-invoicing.\n",
2856
+ type: "object",
2857
+ nullable: true,
2858
+ additionalProperties: false,
2859
+ properties: {
2860
+ status: {
2861
+ type: "string",
2862
+ enum: [
2863
+ "accepted",
2864
+ "approved",
2865
+ "collected",
2866
+ "in_dispute",
2867
+ "partially_collected",
2868
+ "refused",
2869
+ "rejected",
2870
+ "sent",
2871
+ "submitted"
2872
+ ]
2873
+ },
2874
+ reason: {
2875
+ type: "string",
2876
+ nullable: true
2877
+ }
2878
+ },
2879
+ required: ["status", "reason"]
2880
+ },
2820
2881
  archived_at: {
2821
2882
  description: "The time the invoice has been archived",
2822
2883
  type: "string",
@@ -2878,6 +2939,7 @@ const CustomerInvoices__ResponseSchema = {
2878
2939
  "appendices",
2879
2940
  "quote",
2880
2941
  "external_reference",
2942
+ "e_invoicing",
2881
2943
  "archived_at",
2882
2944
  "created_at",
2883
2945
  "updated_at"
@@ -6524,6 +6586,58 @@ const CustomerInvoices__PostFinalized_RequestSchema = {
6524
6586
  "invoice_lines"
6525
6587
  ]
6526
6588
  };
6589
+ const CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema = {
6590
+ type: "object",
6591
+ additionalProperties: false,
6592
+ properties: {
6593
+ e_invoice_line_id: {
6594
+ description: "Factur-X line identifier (BT-126 LineID).",
6595
+ type: "string"
6596
+ },
6597
+ ledger_account_id: {
6598
+ description: "Ledger account id for this line.",
6599
+ type: "integer",
6600
+ format: "int64",
6601
+ nullable: true,
6602
+ example: 123
6603
+ }
6604
+ },
6605
+ required: ["e_invoice_line_id"]
6606
+ };
6607
+ const CustomerInvoices__EInvoices__Imports__ImportOptionsSchema = {
6608
+ description: "Optional JSON payload to enrich the imported customer invoice.\nInvoice line `e_invoice_line_id` must match Factur-X BT-126 (LineID).\n",
6609
+ type: "object",
6610
+ additionalProperties: false,
6611
+ properties: {
6612
+ customer_id: {
6613
+ description: "Customer id for the imported invoice.",
6614
+ type: "integer",
6615
+ format: "int64",
6616
+ example: 12
6617
+ },
6618
+ invoice_lines: {
6619
+ type: "array",
6620
+ items: {
6621
+ type: "object",
6622
+ additionalProperties: false,
6623
+ properties: {
6624
+ e_invoice_line_id: {
6625
+ description: "Factur-X line identifier (BT-126 LineID).",
6626
+ type: "string"
6627
+ },
6628
+ ledger_account_id: {
6629
+ description: "Ledger account id for this line.",
6630
+ type: "integer",
6631
+ format: "int64",
6632
+ nullable: true,
6633
+ example: 123
6634
+ }
6635
+ },
6636
+ required: ["e_invoice_line_id"]
6637
+ }
6638
+ }
6639
+ }
6640
+ };
6527
6641
  const BillingSubscriptionStatusSchema = {
6528
6642
  type: "string",
6529
6643
  enum: [
@@ -10273,6 +10387,41 @@ const InvoicePaymentStatusSchema = {
10273
10387
  "fully_paid"
10274
10388
  ]
10275
10389
  };
10390
+ const SupplierInvoicePDPStatusSchema = {
10391
+ type: "string",
10392
+ enum: [
10393
+ "waiting_for_validation",
10394
+ "approved",
10395
+ "rejected",
10396
+ "disputed",
10397
+ "refused",
10398
+ "collected",
10399
+ "partially_collected"
10400
+ ]
10401
+ };
10402
+ const SupplierInvoicePDPReasonSchema = {
10403
+ type: "string",
10404
+ enum: [
10405
+ "incorrect_vat_rate",
10406
+ "incorrect_unit_prices",
10407
+ "incorrect_billed_quantity",
10408
+ "incorrect_billed_item",
10409
+ "defective_delivered_item",
10410
+ "delivery_issue",
10411
+ "bank_details_error",
10412
+ "incorrect_payment_terms",
10413
+ "missing_legal_notice",
10414
+ "missing_contractual_reference",
10415
+ "recipient_error",
10416
+ "contract_completed",
10417
+ "duplicate_invoice"
10418
+ ]
10419
+ };
10420
+ const NullSchema = {
10421
+ nullable: true,
10422
+ type: "string",
10423
+ enum: [null]
10424
+ };
10276
10425
  const SupplierInvoices__ResponseSchema = {
10277
10426
  type: "object",
10278
10427
  additionalProperties: false,
@@ -10664,6 +10813,49 @@ const SupplierInvoices__ResponseSchema = {
10664
10813
  type: "string",
10665
10814
  example: "FR123"
10666
10815
  },
10816
+ e_invoicing: {
10817
+ 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",
10818
+ type: "object",
10819
+ nullable: true,
10820
+ additionalProperties: false,
10821
+ properties: {
10822
+ status: {
10823
+ type: "string",
10824
+ enum: [
10825
+ "waiting_for_validation",
10826
+ "approved",
10827
+ "rejected",
10828
+ "disputed",
10829
+ "refused",
10830
+ "collected",
10831
+ "partially_collected"
10832
+ ]
10833
+ },
10834
+ reason: { anyOf: [{
10835
+ type: "string",
10836
+ enum: [
10837
+ "incorrect_vat_rate",
10838
+ "incorrect_unit_prices",
10839
+ "incorrect_billed_quantity",
10840
+ "incorrect_billed_item",
10841
+ "defective_delivered_item",
10842
+ "delivery_issue",
10843
+ "bank_details_error",
10844
+ "incorrect_payment_terms",
10845
+ "missing_legal_notice",
10846
+ "missing_contractual_reference",
10847
+ "recipient_error",
10848
+ "contract_completed",
10849
+ "duplicate_invoice"
10850
+ ]
10851
+ }, {
10852
+ nullable: true,
10853
+ type: "string",
10854
+ enum: [null]
10855
+ }] }
10856
+ },
10857
+ required: ["status", "reason"]
10858
+ },
10667
10859
  archived_at: {
10668
10860
  description: "The time the invoice has been archived",
10669
10861
  type: "string",
@@ -10712,6 +10904,7 @@ const SupplierInvoices__ResponseSchema = {
10712
10904
  "payments",
10713
10905
  "matched_transactions",
10714
10906
  "external_reference",
10907
+ "e_invoicing",
10715
10908
  "archived_at",
10716
10909
  "created_at",
10717
10910
  "updated_at"
@@ -11272,11 +11465,6 @@ const CategoryDirectionSchema = {
11272
11465
  description: "Only applicable for _treasury_ categories",
11273
11466
  enum: ["cash_in", "cash_out"]
11274
11467
  };
11275
- const NullSchema = {
11276
- nullable: true,
11277
- type: "string",
11278
- enum: [null]
11279
- };
11280
11468
  const Categories__ResponseSchema = {
11281
11469
  type: "object",
11282
11470
  additionalProperties: false,
@@ -16069,6 +16257,31 @@ const importCustomerInvoices = (options) => (options.client ?? client).post({
16069
16257
  }
16070
16258
  });
16071
16259
  /**
16260
+ * Import a customer e-invoice
16261
+ *
16262
+ * Import a customer invoice from an e-invoice file (Factur-X format).
16263
+ * The file must be a valid Factur-X PDF.
16264
+ * Optionally provide `invoice_options` to pre-fill customer and line-level data.
16265
+ * Invoice line `e_invoice_line_id` must match Factur-X BT-126 (LineID).
16266
+ *
16267
+ *
16268
+ * > ℹ️
16269
+ * > This endpoint requires one of the following scopes: `customer_invoices:all`
16270
+ */
16271
+ const createCustomerInvoiceEInvoiceImport = (options) => (options.client ?? client).post({
16272
+ ...formDataBodySerializer,
16273
+ security: [{
16274
+ scheme: "bearer",
16275
+ type: "http"
16276
+ }],
16277
+ url: "/api/external/v2/customer_invoices/e_invoices/imports",
16278
+ ...options,
16279
+ headers: {
16280
+ "Content-Type": null,
16281
+ ...options.headers
16282
+ }
16283
+ });
16284
+ /**
16072
16285
  * Create a customer invoice from a quote
16073
16286
  *
16074
16287
  * This endpoint allows you to create a customer invoice from an existing quote.
@@ -18834,6 +19047,7 @@ const AuthorizedCountryAlpha2WithAny = {
18834
19047
  AD: "AD",
18835
19048
  MU: "MU",
18836
19049
  NO: "NO",
19050
+ XK: "XK",
18837
19051
  ANY: "any"
18838
19052
  };
18839
19053
  const Currency = {
@@ -19209,6 +19423,17 @@ const DiscountType = {
19209
19423
  ABSOLUTE: "absolute",
19210
19424
  RELATIVE: "relative"
19211
19425
  };
19426
+ const CustomerInvoicePdpStatus = {
19427
+ ACCEPTED: "accepted",
19428
+ APPROVED: "approved",
19429
+ COLLECTED: "collected",
19430
+ IN_DISPUTE: "in_dispute",
19431
+ PARTIALLY_COLLECTED: "partially_collected",
19432
+ REFUSED: "refused",
19433
+ REJECTED: "rejected",
19434
+ SENT: "sent",
19435
+ SUBMITTED: "submitted"
19436
+ };
19212
19437
  /**
19213
19438
  * Product VAT rate. A 20% VAT in France is FR_200.
19214
19439
  */
@@ -19677,6 +19902,31 @@ const InvoicePaymentStatus = {
19677
19902
  PAID_OFFLINE: "paid_offline",
19678
19903
  FULLY_PAID: "fully_paid"
19679
19904
  };
19905
+ const SupplierInvoicePdpStatus = {
19906
+ WAITING_FOR_VALIDATION: "waiting_for_validation",
19907
+ APPROVED: "approved",
19908
+ REJECTED: "rejected",
19909
+ DISPUTED: "disputed",
19910
+ REFUSED: "refused",
19911
+ COLLECTED: "collected",
19912
+ PARTIALLY_COLLECTED: "partially_collected"
19913
+ };
19914
+ const SupplierInvoicePdpReason = {
19915
+ INCORRECT_VAT_RATE: "incorrect_vat_rate",
19916
+ INCORRECT_UNIT_PRICES: "incorrect_unit_prices",
19917
+ INCORRECT_BILLED_QUANTITY: "incorrect_billed_quantity",
19918
+ INCORRECT_BILLED_ITEM: "incorrect_billed_item",
19919
+ DEFECTIVE_DELIVERED_ITEM: "defective_delivered_item",
19920
+ DELIVERY_ISSUE: "delivery_issue",
19921
+ BANK_DETAILS_ERROR: "bank_details_error",
19922
+ INCORRECT_PAYMENT_TERMS: "incorrect_payment_terms",
19923
+ MISSING_LEGAL_NOTICE: "missing_legal_notice",
19924
+ MISSING_CONTRACTUAL_REFERENCE: "missing_contractual_reference",
19925
+ RECIPIENT_ERROR: "recipient_error",
19926
+ CONTRACT_COMPLETED: "contract_completed",
19927
+ DUPLICATE_INVOICE: "duplicate_invoice"
19928
+ };
19929
+ const Null2 = { NULL: null };
19680
19930
  /**
19681
19931
  * Only applicable for _treasury_ categories
19682
19932
  */
@@ -19684,7 +19934,6 @@ const CategoryDirection = {
19684
19934
  CASH_IN: "cash_in",
19685
19935
  CASH_OUT: "cash_out"
19686
19936
  };
19687
- const Null2 = { NULL: null };
19688
19937
  const AccountType = {
19689
19938
  CURRENT: "current",
19690
19939
  CARD: "card",
@@ -19771,5 +20020,5 @@ function createClientWithApiKey(apiKey) {
19771
20020
  }
19772
20021
 
19773
20022
  //#endregion
19774
- export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccounts__ResponseSchema, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionOcurrenceRuleType, BillingSubscriptionOcurrenceRuleTypeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptions__ResponseSchema, Categories__ResponseSchema, CategoryDirection, CategoryDirectionSchema, CategoryGroups__ResponseSchema, CommercialDocumentType, CommercialDocumentTypeSchema, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomers__ResponseSchema, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, Currency, CurrencySchema, CustomerBillingLanguage, CustomerBillingLanguageSchema, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, 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, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DiscountType, DiscountTypeSchema, ExportStatus, ExportStatusSchema, FileAttachments__ResponseSchema, GocardlessMandates__ResponseSchema, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, Journals__ResponseSchema, LedgerAccounts__ResponseSchema, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, MandateStatus, MandateStatusSchema, Null, Null2, NullSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequests__ResponseSchema, QuoteStatus, QuoteStatusSchema, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, SchemasCurrency, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierDueDateRule, SupplierDueDateRuleSchema, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethod, SupplierPaymentMethodSchema, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, VatRate, VatRateSchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyCompleteRegistration, companyCreate, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, finalizeCustomerInvoice, findUser, 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, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, 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, postUsers, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putTransactionCategories, putUsers, putWebhookSubscription, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
20023
+ export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccounts__ResponseSchema, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionOcurrenceRuleType, BillingSubscriptionOcurrenceRuleTypeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptions__ResponseSchema, Categories__ResponseSchema, CategoryDirection, CategoryDirectionSchema, CategoryGroups__ResponseSchema, CommercialDocumentType, CommercialDocumentTypeSchema, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomers__ResponseSchema, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, Currency, CurrencySchema, CustomerBillingLanguage, CustomerBillingLanguageSchema, CustomerInvoicePDPStatusSchema, CustomerInvoicePdpStatus, CustomerInvoiceTemplates__ResponseSchema, 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, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DiscountType, DiscountTypeSchema, ExportStatus, ExportStatusSchema, FileAttachments__ResponseSchema, GocardlessMandates__ResponseSchema, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, Journals__ResponseSchema, LedgerAccounts__ResponseSchema, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, MandateStatus, MandateStatusSchema, Null, Null2, NullSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequests__ResponseSchema, QuoteStatus, QuoteStatusSchema, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, SchemasCurrency, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierDueDateRule, SupplierDueDateRuleSchema, SupplierInvoicePDPReasonSchema, SupplierInvoicePDPStatusSchema, SupplierInvoicePdpReason, SupplierInvoicePdpStatus, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethod, SupplierPaymentMethodSchema, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, VatRate, VatRateSchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyCompleteRegistration, companyCreate, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceEInvoiceImport, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, finalizeCustomerInvoice, findUser, 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, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, 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, postUsers, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putTransactionCategories, putUsers, putWebhookSubscription, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
19775
20024
  //# sourceMappingURL=index.mjs.map