/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Retrieve credit note data using a shareable token. No authentication required. Returns full credit note data for rendering. * @summary View shareable credit note */ export declare const GetShareableCreditNoteParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const getShareableCreditNoteResponseIdMax = 36; export declare const getShareableCreditNoteResponseNumberMax = 100; export declare const getShareableCreditNoteResponseIssuerCountryCodeMin = 2; export declare const getShareableCreditNoteResponseIssuerCountryCodeMax = 2; export declare const getShareableCreditNoteResponseIssuerBankAccountTypeDefault = "iban"; export declare const getShareableCreditNoteResponseCustomerIdMax = 36; export declare const getShareableCreditNoteResponseCustomerCountryCodeMin = 2; export declare const getShareableCreditNoteResponseCustomerCountryCodeMax = 2; export declare const getShareableCreditNoteResponseCustomerBankAccountTypeDefault = "iban"; export declare const getShareableCreditNoteResponseFooterMax = 500; export declare const getShareableCreditNoteResponseTotalMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalMax = 140737488355327; export declare const getShareableCreditNoteResponseTotalWithTaxMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalWithTaxMax = 140737488355327; export declare const getShareableCreditNoteResponseCurrencyCodeMax = 3; export declare const getShareableCreditNoteResponseEntityIdMax = 36; export declare const getShareableCreditNoteResponseDateYearMin = -2147483648; export declare const getShareableCreditNoteResponseDateYearMax = 2147483647; export declare const getShareableCreditNoteResponseShareableIdMax = 100; export declare const getShareableCreditNoteResponseTotalConvertedMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalConvertedMax = 140737488355327; export declare const getShareableCreditNoteResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableCreditNoteResponseTotalPaidMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalPaidMax = 140737488355327; export declare const getShareableCreditNoteResponseTotalDueMin = -140737488355328; export declare const getShareableCreditNoteResponseTotalDueMax = 140737488355327; export declare const getShareableCreditNoteResponseFursDataIterationDefault = 0; export declare const getShareableCreditNoteResponseDateServiceRegExp: RegExp; export declare const getShareableCreditNoteResponseDateServiceToRegExp: RegExp; export declare const getShareableCreditNoteResponseDateDueRegExp: RegExp; export declare const getShareableCreditNoteResponseItemsItemIdMax = 36; export declare const getShareableCreditNoteResponseItemsItemNameMax = 500; export declare const getShareableCreditNoteResponseItemsItemUnitMax = 50; export declare const getShareableCreditNoteResponseItemsItemDiscountsItemValueMin = 0; export declare const getShareableCreditNoteResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getShareableCreditNoteResponseItemsItemDiscountsMax = 5; export declare const getShareableCreditNoteResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getShareableCreditNoteResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getShareableCreditNoteResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableCreditNoteResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableCreditNoteResponseItemsItemCreditNoteIdMax = 36; export declare const getShareableCreditNoteResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getShareableCreditNoteResponseItemsItemDeliveryNoteIdMax = 36; export declare const getShareableCreditNoteResponseItemsItemItemIdMax = 36; export declare const GetShareableCreditNoteResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; total_paid: zod.ZodNumber; total_due: zod.ZodNumber; paid_in_full: zod.ZodBoolean; furs: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; cancellation_reason: zod.ZodOptional; data: zod.ZodOptional; qr_code: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; iteration: zod.ZodDefault; payload: zod.ZodRecord; issuer_tax_number: zod.ZodOptional; operator_tax_number: zod.ZodOptional; operator_label: zod.ZodOptional; foreign_operator: zod.ZodOptional; cancelled: zod.ZodOptional; cancelled_eor: zod.ZodOptional; cancellation_payload: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; data: zod.ZodOptional; qr_code_url: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; operator_oib: zod.ZodOptional; payment_type: zod.ZodOptional; numbering_sequence: zod.ZodOptional; payload: zod.ZodRecord; subsequent_submit: zod.ZodOptional; issuer_oib: zod.ZodOptional; operator_label: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; credit_note_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Get credit note as HTML preview using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Get shareable credit note as HTML */ export declare const GetShareableCreditNoteHtmlParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableCreditNoteHtmlQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Download credit note as PDF using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Download shareable credit note as PDF */ export declare const GetShareableCreditNotePdfParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableCreditNotePdfQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Download credit note as e-SLOG 2.0 XML (Slovenian electronic invoice format) using a shareable token. No authentication required. Only available for Slovenian entities with valid e-SLOG validation. * @summary Download shareable credit note as e-SLOG XML */ export declare const GetShareableCreditNoteEslogParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; /** * Create a new credit note with line items. Customer is optional - can be omitted for retail/convenience store sales where customer information isn't needed, or added inline without referencing a customer_id. The credit note number is auto-generated based on the entity's number format settings. Taxes are calculated automatically based on the tax rates provided. * @summary Create a new credit note */ export declare const CreateCreditNoteHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createCreditNoteBodyDateRegExp: RegExp; export declare const createCreditNoteBodyIssuerCountryCodeMin = 2; export declare const createCreditNoteBodyIssuerCountryCodeMax = 2; export declare const createCreditNoteBodyIssuerBankAccountTypeDefault = "iban"; export declare const createCreditNoteBodyCustomerOneCountryCodeMin = 2; export declare const createCreditNoteBodyCustomerOneCountryCodeMax = 2; export declare const createCreditNoteBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createCreditNoteBodyFooterMax = 500; export declare const createCreditNoteBodyCurrencyCodeMax = 3; export declare const createCreditNoteBodyPtManualSeriesCodeMax = 35; export declare const createCreditNoteBodyDateServiceRegExp: RegExp; export declare const createCreditNoteBodyDateServiceToRegExp: RegExp; export declare const createCreditNoteBodyDateDueRegExp: RegExp; export declare const createCreditNoteBodyItemsItemDescriptionMax = 2000; export declare const createCreditNoteBodyItemsItemQuantityMin = -140737488355328; export declare const createCreditNoteBodyItemsItemQuantityMax = 140737488355327; export declare const createCreditNoteBodyItemsItemUnitMax = 50; export declare const createCreditNoteBodyItemsItemDiscountsItemValueMin = 0; export declare const createCreditNoteBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createCreditNoteBodyItemsItemDiscountsMax = 5; export declare const createCreditNoteBodyPaymentsItemIncomingPurchaseDocumentIdMax = 36; export declare const createCreditNoteBodyPaymentsItemAppliedToIncomingPurchaseDocumentIdMax = 36; export declare const createCreditNoteBodyPaymentsItemAmountExclusiveMin = 0; export declare const createCreditNoteBodyFinaBusinessPremiseNameMax = 20; export declare const createCreditNoteBodyFinaBusinessPremiseNameRegExp: RegExp; export declare const createCreditNoteBodyFinaElectronicDeviceNameMax = 20; export declare const createCreditNoteBodyFinaElectronicDeviceNameRegExp: RegExp; export declare const createCreditNoteBodyFinaOperatorOibMin = 11; export declare const createCreditNoteBodyFinaOperatorOibMax = 11; export declare const createCreditNoteBodyExpectedTotalWithTaxExclusiveMin = 0; export declare const CreateCreditNoteBody: zod.ZodObject<{ is_draft: zod.ZodOptional; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; linked_documents: zod.ZodOptional>>; payments: zod.ZodOptional>; applied_to_incoming_purchase_document_id: zod.ZodOptional>; amount: zod.ZodOptional>; type: zod.ZodEnum<{ advance: "advance"; other: "other"; credit_note: "credit_note"; cash: "cash"; card: "card"; bank_transfer: "bank_transfer"; paypal: "paypal"; coupon: "coupon"; check: "check"; }>; date: zod.ZodOptional>; tag: zod.ZodOptional>; reference: zod.ZodOptional>; note: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>>>>; furs: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; operator_label: zod.ZodOptional>; skip: zod.ZodOptional>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_oib: zod.ZodOptional>; operator_label: zod.ZodOptional>; payment_type: zod.ZodOptional, zod.ZodLiteral<"card">, zod.ZodLiteral<"online">, zod.ZodLiteral<"bank_transfer">, zod.ZodLiteral<"paypal">, zod.ZodLiteral<"crypto">, zod.ZodLiteral<"coupon">, zod.ZodLiteral<"other">, zod.ZodLiteral]>>>; subsequent_submit: zod.ZodOptional>; }, zod.z.core.$strip>>>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Retrieve a paginated list of credit notes with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * @summary List all credit notes */ export declare const getCreditNotesQueryLimitDefault = 10; export declare const getCreditNotesQueryLimitMax = 100; export declare const GetCreditNotesQueryParams: zod.ZodObject<{ limit: zod.ZodDefault; next_cursor: zod.ZodOptional; prev_cursor: zod.ZodOptional; include_total_count: zod.ZodOptional; order_by: zod.ZodOptional, zod.ZodArray>]>>; query: zod.ZodOptional; search: zod.ZodOptional; include: zod.ZodOptional; deleted: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetCreditNotesHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getCreditNotesResponseDataItemIdMax = 36; export declare const getCreditNotesResponseDataItemNumberMax = 100; export declare const getCreditNotesResponseDataItemIssuerCountryCodeMin = 2; export declare const getCreditNotesResponseDataItemIssuerCountryCodeMax = 2; export declare const getCreditNotesResponseDataItemIssuerBankAccountTypeDefault = "iban"; export declare const getCreditNotesResponseDataItemCustomerIdMax = 36; export declare const getCreditNotesResponseDataItemCustomerCountryCodeMin = 2; export declare const getCreditNotesResponseDataItemCustomerCountryCodeMax = 2; export declare const getCreditNotesResponseDataItemCustomerBankAccountTypeDefault = "iban"; export declare const getCreditNotesResponseDataItemFooterMax = 500; export declare const getCreditNotesResponseDataItemTotalMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalMax = 140737488355327; export declare const getCreditNotesResponseDataItemTotalWithTaxMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalWithTaxMax = 140737488355327; export declare const getCreditNotesResponseDataItemCurrencyCodeMax = 3; export declare const getCreditNotesResponseDataItemEntityIdMax = 36; export declare const getCreditNotesResponseDataItemDateYearMin = -2147483648; export declare const getCreditNotesResponseDataItemDateYearMax = 2147483647; export declare const getCreditNotesResponseDataItemShareableIdMax = 100; export declare const getCreditNotesResponseDataItemTotalConvertedMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalConvertedMax = 140737488355327; export declare const getCreditNotesResponseDataItemTotalWithTaxConvertedMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalWithTaxConvertedMax = 140737488355327; export declare const getCreditNotesResponseDataItemTotalPaidMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalPaidMax = 140737488355327; export declare const getCreditNotesResponseDataItemTotalDueMin = -140737488355328; export declare const getCreditNotesResponseDataItemTotalDueMax = 140737488355327; export declare const getCreditNotesResponseDataItemFursDataIterationDefault = 0; export declare const getCreditNotesResponseDataItemDateServiceRegExp: RegExp; export declare const getCreditNotesResponseDataItemDateServiceToRegExp: RegExp; export declare const getCreditNotesResponseDataItemDateDueRegExp: RegExp; export declare const getCreditNotesResponseDataItemItemsItemIdMax = 36; export declare const getCreditNotesResponseDataItemItemsItemNameMax = 500; export declare const getCreditNotesResponseDataItemItemsItemUnitMax = 50; export declare const getCreditNotesResponseDataItemItemsItemDiscountsItemValueMin = 0; export declare const getCreditNotesResponseDataItemItemsItemDiscountsItemTypeDefault = "percent"; export declare const getCreditNotesResponseDataItemItemsItemDiscountsMax = 5; export declare const getCreditNotesResponseDataItemItemsItemTotalConvertedMin = -140737488355328; export declare const getCreditNotesResponseDataItemItemsItemTotalConvertedMax = 140737488355327; export declare const getCreditNotesResponseDataItemItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getCreditNotesResponseDataItemItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getCreditNotesResponseDataItemItemsItemCreditNoteIdMax = 36; export declare const getCreditNotesResponseDataItemItemsItemAdvanceInvoiceIdMax = 36; export declare const getCreditNotesResponseDataItemItemsItemDeliveryNoteIdMax = 36; export declare const getCreditNotesResponseDataItemItemsItemItemIdMax = 36; export declare const GetCreditNotesResponse: zod.ZodObject<{ data: zod.ZodArray>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; total_paid: zod.ZodNumber; total_due: zod.ZodNumber; paid_in_full: zod.ZodBoolean; furs: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; cancellation_reason: zod.ZodOptional; data: zod.ZodOptional; qr_code: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; iteration: zod.ZodDefault; payload: zod.ZodRecord; issuer_tax_number: zod.ZodOptional; operator_tax_number: zod.ZodOptional; operator_label: zod.ZodOptional; foreign_operator: zod.ZodOptional; cancelled: zod.ZodOptional; cancelled_eor: zod.ZodOptional; cancellation_payload: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; data: zod.ZodOptional; qr_code_url: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; operator_oib: zod.ZodOptional; payment_type: zod.ZodOptional; numbering_sequence: zod.ZodOptional; payload: zod.ZodRecord; subsequent_submit: zod.ZodOptional; issuer_oib: zod.ZodOptional; operator_label: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; credit_note_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; pagination: zod.ZodObject<{ total: zod.ZodNumber; next_cursor: zod.ZodNullable; prev_cursor: zod.ZodNullable; has_more: zod.ZodBoolean; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Create a credit note with pre-calculated totals from an external system. The caller provides `total`, `total_with_tax`, `total_discount`, and `taxes` at the document level, and `total`/`total_with_tax` on each line item. When `calculation_mode` is omitted, Space Invoices preserves pass-through behavior and accepts the supplied totals as-is. When `calculation_mode` is provided, Space Invoices validates the supplied totals against that calculation mode before creating the document. All other logic (numbering, fiscalization, customer handling, payments, lifecycle hooks) is identical to the standard create endpoint. * @summary Create credit note with pre-calculated totals */ export declare const CreateCustomCreditNoteHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createCustomCreditNoteBodyIssuerOneCountryCodeMin = 2; export declare const createCustomCreditNoteBodyIssuerOneCountryCodeMax = 2; export declare const createCustomCreditNoteBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const createCustomCreditNoteBodyCustomerOneCountryCodeMin = 2; export declare const createCustomCreditNoteBodyCustomerOneCountryCodeMax = 2; export declare const createCustomCreditNoteBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createCustomCreditNoteBodyDateDueRegExp: RegExp; export declare const createCustomCreditNoteBodyItemsItemDescriptionMax = 2000; export declare const createCustomCreditNoteBodyItemsItemUnitMax = 50; export declare const createCustomCreditNoteBodyItemsItemDiscountsItemValueMin = 0; export declare const createCustomCreditNoteBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createCustomCreditNoteBodyItemsItemDiscountsMax = 5; export declare const createCustomCreditNoteBodyPaymentsItemIncomingPurchaseDocumentIdMax = 36; export declare const createCustomCreditNoteBodyPaymentsItemAppliedToIncomingPurchaseDocumentIdMax = 36; export declare const createCustomCreditNoteBodyPaymentsItemAmountExclusiveMin = 0; export declare const createCustomCreditNoteBodyFinaBusinessPremiseNameMax = 20; export declare const createCustomCreditNoteBodyFinaBusinessPremiseNameRegExp: RegExp; export declare const createCustomCreditNoteBodyFinaElectronicDeviceNameMax = 20; export declare const createCustomCreditNoteBodyFinaElectronicDeviceNameRegExp: RegExp; export declare const createCustomCreditNoteBodyFinaOperatorOibMin = 11; export declare const createCustomCreditNoteBodyFinaOperatorOibMax = 11; export declare const CreateCustomCreditNoteBody: zod.ZodObject<{ is_draft: zod.ZodOptional>; date: zod.ZodOptional>; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional>; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodOptional>; taxes: zod.ZodOptional; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>>; linked_documents: zod.ZodOptional>>; payments: zod.ZodOptional>; applied_to_incoming_purchase_document_id: zod.ZodOptional>; amount: zod.ZodOptional>; type: zod.ZodEnum<{ advance: "advance"; other: "other"; credit_note: "credit_note"; cash: "cash"; card: "card"; bank_transfer: "bank_transfer"; paypal: "paypal"; coupon: "coupon"; check: "check"; }>; date: zod.ZodOptional>; tag: zod.ZodOptional>; reference: zod.ZodOptional>; note: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>>>>; furs: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; operator_label: zod.ZodOptional>; skip: zod.ZodOptional>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_oib: zod.ZodOptional>; operator_label: zod.ZodOptional>; payment_type: zod.ZodOptional, zod.ZodLiteral<"card">, zod.ZodLiteral<"online">, zod.ZodLiteral<"bank_transfer">, zod.ZodLiteral<"paypal">, zod.ZodLiteral<"crypto">, zod.ZodLiteral<"coupon">, zod.ZodLiteral<"other">, zod.ZodLiteral]>>>; subsequent_submit: zod.ZodOptional>; }, zod.z.core.$strip>>>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Retrieve a single credit note by its unique identifier. Returns the complete credit note details including all line items, customer information, and calculated totals. * @summary Get credit note by ID */ export declare const getCreditNoteByIdPathIdRegExp: RegExp; export declare const GetCreditNoteByIdParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetCreditNoteByIdQueryParams: zod.ZodObject<{ include: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetCreditNoteByIdHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getCreditNoteByIdResponseIdMax = 36; export declare const getCreditNoteByIdResponseNumberMax = 100; export declare const getCreditNoteByIdResponseIssuerCountryCodeMin = 2; export declare const getCreditNoteByIdResponseIssuerCountryCodeMax = 2; export declare const getCreditNoteByIdResponseIssuerBankAccountTypeDefault = "iban"; export declare const getCreditNoteByIdResponseCustomerIdMax = 36; export declare const getCreditNoteByIdResponseCustomerCountryCodeMin = 2; export declare const getCreditNoteByIdResponseCustomerCountryCodeMax = 2; export declare const getCreditNoteByIdResponseCustomerBankAccountTypeDefault = "iban"; export declare const getCreditNoteByIdResponseFooterMax = 500; export declare const getCreditNoteByIdResponseTotalMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalMax = 140737488355327; export declare const getCreditNoteByIdResponseTotalWithTaxMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalWithTaxMax = 140737488355327; export declare const getCreditNoteByIdResponseCurrencyCodeMax = 3; export declare const getCreditNoteByIdResponseEntityIdMax = 36; export declare const getCreditNoteByIdResponseDateYearMin = -2147483648; export declare const getCreditNoteByIdResponseDateYearMax = 2147483647; export declare const getCreditNoteByIdResponseShareableIdMax = 100; export declare const getCreditNoteByIdResponseTotalConvertedMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalConvertedMax = 140737488355327; export declare const getCreditNoteByIdResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getCreditNoteByIdResponseTotalPaidMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalPaidMax = 140737488355327; export declare const getCreditNoteByIdResponseTotalDueMin = -140737488355328; export declare const getCreditNoteByIdResponseTotalDueMax = 140737488355327; export declare const getCreditNoteByIdResponseFursDataIterationDefault = 0; export declare const getCreditNoteByIdResponseDateServiceRegExp: RegExp; export declare const getCreditNoteByIdResponseDateServiceToRegExp: RegExp; export declare const getCreditNoteByIdResponseDateDueRegExp: RegExp; export declare const getCreditNoteByIdResponseItemsItemIdMax = 36; export declare const getCreditNoteByIdResponseItemsItemNameMax = 500; export declare const getCreditNoteByIdResponseItemsItemUnitMax = 50; export declare const getCreditNoteByIdResponseItemsItemDiscountsItemValueMin = 0; export declare const getCreditNoteByIdResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getCreditNoteByIdResponseItemsItemDiscountsMax = 5; export declare const getCreditNoteByIdResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getCreditNoteByIdResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getCreditNoteByIdResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getCreditNoteByIdResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getCreditNoteByIdResponseItemsItemCreditNoteIdMax = 36; export declare const getCreditNoteByIdResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getCreditNoteByIdResponseItemsItemDeliveryNoteIdMax = 36; export declare const getCreditNoteByIdResponseItemsItemItemIdMax = 36; export declare const GetCreditNoteByIdResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; total_paid: zod.ZodNumber; total_due: zod.ZodNumber; paid_in_full: zod.ZodBoolean; furs: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; cancellation_reason: zod.ZodOptional; data: zod.ZodOptional; qr_code: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; iteration: zod.ZodDefault; payload: zod.ZodRecord; issuer_tax_number: zod.ZodOptional; operator_tax_number: zod.ZodOptional; operator_label: zod.ZodOptional; foreign_operator: zod.ZodOptional; cancelled: zod.ZodOptional; cancelled_eor: zod.ZodOptional; cancellation_payload: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; data: zod.ZodOptional; qr_code_url: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; operator_oib: zod.ZodOptional; payment_type: zod.ZodOptional; numbering_sequence: zod.ZodOptional; payload: zod.ZodRecord; subsequent_submit: zod.ZodOptional; issuer_oib: zod.ZodOptional; operator_label: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; credit_note_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Update an existing credit note. Creates a version snapshot before applying changes. Cannot update voided or FURS-fiscalized credit notes. If items are provided, they replace all existing items. * @summary Update a credit note */ export declare const updateCreditNotePathIdRegExp: RegExp; export declare const UpdateCreditNoteParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateCreditNoteHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const updateCreditNoteBodyDateRegExp: RegExp; export declare const updateCreditNoteBodyIssuerOneCountryCodeMin = 2; export declare const updateCreditNoteBodyIssuerOneCountryCodeMax = 2; export declare const updateCreditNoteBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const updateCreditNoteBodyCustomerOneCountryCodeMin = 2; export declare const updateCreditNoteBodyCustomerOneCountryCodeMax = 2; export declare const updateCreditNoteBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const updateCreditNoteBodyItemsItemDescriptionMax = 2000; export declare const updateCreditNoteBodyItemsItemQuantityMin = -140737488355328; export declare const updateCreditNoteBodyItemsItemQuantityMax = 140737488355327; export declare const updateCreditNoteBodyItemsItemUnitMax = 50; export declare const updateCreditNoteBodyItemsItemDiscountsItemValueMin = 0; export declare const updateCreditNoteBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateCreditNoteBodyItemsItemDiscountsMax = 5; export declare const updateCreditNoteBodyReferenceMax = 100; export declare const updateCreditNoteBodyChangeReasonMax = 500; export declare const updateCreditNoteBodyDateServiceRegExp: RegExp; export declare const updateCreditNoteBodyDateServiceToRegExp: RegExp; export declare const UpdateCreditNoteBody: zod.ZodObject<{ date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodUnknown>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; items: zod.ZodOptional, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; currency_code: zod.ZodOptional; reference: zod.ZodOptional>; metadata: zod.ZodOptional>>; change_reason: zod.ZodOptional; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; linked_documents: zod.ZodOptional>>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; export declare const updateCreditNoteResponseIdMax = 36; export declare const updateCreditNoteResponseNumberMax = 100; export declare const updateCreditNoteResponseIssuerCountryCodeMin = 2; export declare const updateCreditNoteResponseIssuerCountryCodeMax = 2; export declare const updateCreditNoteResponseIssuerBankAccountTypeDefault = "iban"; export declare const updateCreditNoteResponseCustomerIdMax = 36; export declare const updateCreditNoteResponseCustomerCountryCodeMin = 2; export declare const updateCreditNoteResponseCustomerCountryCodeMax = 2; export declare const updateCreditNoteResponseCustomerBankAccountTypeDefault = "iban"; export declare const updateCreditNoteResponseFooterMax = 500; export declare const updateCreditNoteResponseTotalMin = -140737488355328; export declare const updateCreditNoteResponseTotalMax = 140737488355327; export declare const updateCreditNoteResponseTotalWithTaxMin = -140737488355328; export declare const updateCreditNoteResponseTotalWithTaxMax = 140737488355327; export declare const updateCreditNoteResponseCurrencyCodeMax = 3; export declare const updateCreditNoteResponseEntityIdMax = 36; export declare const updateCreditNoteResponseDateYearMin = -2147483648; export declare const updateCreditNoteResponseDateYearMax = 2147483647; export declare const updateCreditNoteResponseShareableIdMax = 100; export declare const updateCreditNoteResponseTotalConvertedMin = -140737488355328; export declare const updateCreditNoteResponseTotalConvertedMax = 140737488355327; export declare const updateCreditNoteResponseTotalWithTaxConvertedMin = -140737488355328; export declare const updateCreditNoteResponseTotalWithTaxConvertedMax = 140737488355327; export declare const updateCreditNoteResponseTotalPaidMin = -140737488355328; export declare const updateCreditNoteResponseTotalPaidMax = 140737488355327; export declare const updateCreditNoteResponseTotalDueMin = -140737488355328; export declare const updateCreditNoteResponseTotalDueMax = 140737488355327; export declare const updateCreditNoteResponseFursDataIterationDefault = 0; export declare const updateCreditNoteResponseDateServiceRegExp: RegExp; export declare const updateCreditNoteResponseDateServiceToRegExp: RegExp; export declare const updateCreditNoteResponseDateDueRegExp: RegExp; export declare const updateCreditNoteResponseItemsItemIdMax = 36; export declare const updateCreditNoteResponseItemsItemNameMax = 500; export declare const updateCreditNoteResponseItemsItemUnitMax = 50; export declare const updateCreditNoteResponseItemsItemDiscountsItemValueMin = 0; export declare const updateCreditNoteResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateCreditNoteResponseItemsItemDiscountsMax = 5; export declare const updateCreditNoteResponseItemsItemTotalConvertedMin = -140737488355328; export declare const updateCreditNoteResponseItemsItemTotalConvertedMax = 140737488355327; export declare const updateCreditNoteResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const updateCreditNoteResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const updateCreditNoteResponseItemsItemCreditNoteIdMax = 36; export declare const updateCreditNoteResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const updateCreditNoteResponseItemsItemDeliveryNoteIdMax = 36; export declare const updateCreditNoteResponseItemsItemItemIdMax = 36; export declare const UpdateCreditNoteResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; total_paid: zod.ZodNumber; total_due: zod.ZodNumber; paid_in_full: zod.ZodBoolean; furs: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; cancellation_reason: zod.ZodOptional; data: zod.ZodOptional; qr_code: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; iteration: zod.ZodDefault; payload: zod.ZodRecord; issuer_tax_number: zod.ZodOptional; operator_tax_number: zod.ZodOptional; operator_label: zod.ZodOptional; foreign_operator: zod.ZodOptional; cancelled: zod.ZodOptional; cancelled_eor: zod.ZodOptional; cancellation_payload: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; data: zod.ZodOptional; qr_code_url: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; operator_oib: zod.ZodOptional; payment_type: zod.ZodOptional; numbering_sequence: zod.ZodOptional; payload: zod.ZodRecord; subsequent_submit: zod.ZodOptional; issuer_oib: zod.ZodOptional; operator_label: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; credit_note_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Retrieve the version history for a credit note. Each version represents the document state before an update was applied. * @summary Get credit note version history */ export declare const getCreditNoteVersionsPathIdRegExp: RegExp; export declare const GetCreditNoteVersionsParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetCreditNoteVersionsHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetCreditNoteVersionsResponse: zod.ZodObject<{ versions: zod.ZodArray; document_id: zod.ZodString; version: zod.ZodNumber; snapshot: zod.ZodRecord; changed_fields: zod.ZodArray; user: zod.ZodNullable; email: zod.ZodString; }, zod.z.core.$strip>>; reason: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; count: zod.ZodNumber; }, zod.z.core.$strip>; /** * Retrieve a specific version snapshot of a credit note. * @summary Get specific credit note version */ export declare const GetCreditNoteVersionParams: zod.ZodObject<{ id: zod.ZodString; version: zod.ZodNumber; }, zod.z.core.$strip>; export declare const GetCreditNoteVersionHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetCreditNoteVersionResponse: zod.ZodObject<{ id: zod.ZodString; document_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; }>; document_id: zod.ZodString; version: zod.ZodNumber; snapshot: zod.ZodRecord; changed_fields: zod.ZodArray; user: zod.ZodNullable; email: zod.ZodString; }, zod.z.core.$strip>>; reason: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>; /** * Render an HTML preview of a credit note without saving to the database. Perfect for displaying live previews in credit note creation/edit forms. Supports both partial mode (allows incomplete data for drafts) and complete mode (validates all required fields). * @summary Render credit note preview */ export declare const renderCreditNotePreviewQueryLocaleMin = 2; export declare const renderCreditNotePreviewQueryLocaleMax = 5; export declare const renderCreditNotePreviewQueryLanguageMin = 2; export declare const renderCreditNotePreviewQueryLanguageMax = 5; export declare const renderCreditNotePreviewQueryPartialDefault = "true"; export declare const RenderCreditNotePreviewQueryParams: zod.ZodObject<{ template: zod.ZodOptional>; locale: zod.ZodOptional>; language: zod.ZodOptional>; partial: zod.ZodDefault>; upn_qr_enabled: zod.ZodOptional>; upn_qr_display_mode: zod.ZodOptional>; epc_qr_enabled: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const RenderCreditNotePreviewHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const renderCreditNotePreviewBodyOneDateRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneIssuerCountryCodeMin = 2; export declare const renderCreditNotePreviewBodyOneIssuerCountryCodeMax = 2; export declare const renderCreditNotePreviewBodyOneIssuerBankAccountTypeDefault = "iban"; export declare const renderCreditNotePreviewBodyOneCustomerOneCountryCodeMin = 2; export declare const renderCreditNotePreviewBodyOneCustomerOneCountryCodeMax = 2; export declare const renderCreditNotePreviewBodyOneCustomerOneBankAccountTypeDefault = "iban"; export declare const renderCreditNotePreviewBodyOneFooterMax = 500; export declare const renderCreditNotePreviewBodyOneCurrencyCodeMax = 3; export declare const renderCreditNotePreviewBodyOnePtManualSeriesCodeMax = 35; export declare const renderCreditNotePreviewBodyOneDateServiceRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneDateServiceToRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneDateDueRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneFinaBusinessPremiseNameMax = 20; export declare const renderCreditNotePreviewBodyOneFinaBusinessPremiseNameRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneFinaElectronicDeviceNameMax = 20; export declare const renderCreditNotePreviewBodyOneFinaElectronicDeviceNameRegExp: RegExp; export declare const renderCreditNotePreviewBodyOneFinaOperatorOibMin = 11; export declare const renderCreditNotePreviewBodyOneFinaOperatorOibMax = 11; export declare const renderCreditNotePreviewBodyOneExpectedTotalWithTaxExclusiveMin = 0; export declare const renderCreditNotePreviewBodyTwoDateRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoIssuerCountryCodeMin = 2; export declare const renderCreditNotePreviewBodyTwoIssuerCountryCodeMax = 2; export declare const renderCreditNotePreviewBodyTwoIssuerBankAccountTypeDefault = "iban"; export declare const renderCreditNotePreviewBodyTwoCustomerOneCountryCodeMin = 2; export declare const renderCreditNotePreviewBodyTwoCustomerOneCountryCodeMax = 2; export declare const renderCreditNotePreviewBodyTwoCustomerOneBankAccountTypeDefault = "iban"; export declare const renderCreditNotePreviewBodyTwoFooterMax = 500; export declare const renderCreditNotePreviewBodyTwoCurrencyCodeMax = 3; export declare const renderCreditNotePreviewBodyTwoPtManualSeriesCodeMax = 35; export declare const renderCreditNotePreviewBodyTwoDateServiceRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoDateServiceToRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoDateDueRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoItemsItemDescriptionMax = 2000; export declare const renderCreditNotePreviewBodyTwoItemsItemQuantityMin = -140737488355328; export declare const renderCreditNotePreviewBodyTwoItemsItemQuantityMax = 140737488355327; export declare const renderCreditNotePreviewBodyTwoItemsItemUnitMax = 50; export declare const renderCreditNotePreviewBodyTwoItemsItemDiscountsItemValueMin = 0; export declare const renderCreditNotePreviewBodyTwoItemsItemDiscountsItemTypeDefault = "percent"; export declare const renderCreditNotePreviewBodyTwoItemsItemDiscountsMax = 5; export declare const renderCreditNotePreviewBodyTwoFinaBusinessPremiseNameMax = 20; export declare const renderCreditNotePreviewBodyTwoFinaBusinessPremiseNameRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoFinaElectronicDeviceNameMax = 20; export declare const renderCreditNotePreviewBodyTwoFinaElectronicDeviceNameRegExp: RegExp; export declare const renderCreditNotePreviewBodyTwoFinaOperatorOibMin = 11; export declare const renderCreditNotePreviewBodyTwoFinaOperatorOibMax = 11; export declare const renderCreditNotePreviewBodyTwoExpectedTotalWithTaxExclusiveMin = 0; export declare const RenderCreditNotePreviewBody: zod.ZodUnion; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray>; name: zod.ZodOptional; quantity: zod.ZodOptional; price: zod.ZodOptional; gross_price: zod.ZodOptional; description: zod.ZodOptional; unit: zod.ZodOptional; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; taxes: zod.ZodOptional; tax_id: zod.ZodOptional; }, zod.z.core.$strip>>>; metadata: zod.ZodOptional>; }, zod.z.core.$strip>>; linked_documents: zod.ZodOptional>>; fina: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_oib: zod.ZodOptional>; operator_label: zod.ZodOptional>; payment_type: zod.ZodOptional, zod.ZodLiteral<"card">, zod.ZodLiteral<"online">, zod.ZodLiteral<"bank_transfer">, zod.ZodLiteral<"paypal">, zod.ZodLiteral<"crypto">, zod.ZodLiteral<"coupon">, zod.ZodLiteral<"other">, zod.ZodLiteral]>>>; subsequent_submit: zod.ZodOptional>; }, zod.z.core.$strip>>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ is_draft: zod.ZodOptional; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; linked_documents: zod.ZodOptional>>; fina: zod.ZodOptional>; electronic_device_name: zod.ZodOptional>; operator_oib: zod.ZodOptional>; operator_label: zod.ZodOptional>; payment_type: zod.ZodOptional, zod.ZodLiteral<"card">, zod.ZodLiteral<"online">, zod.ZodLiteral<"bank_transfer">, zod.ZodLiteral<"paypal">, zod.ZodLiteral<"crypto">, zod.ZodLiteral<"coupon">, zod.ZodLiteral<"other">, zod.ZodLiteral]>>>; subsequent_submit: zod.ZodOptional>; }, zod.z.core.$strip>>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>]>; /** * Void a credit note for technical reasons (duplicate, error, etc.). For FURS-fiscalized credit notes, automatically submits technical cancellation to FURS. All linked payments are soft-deleted, reversing their effect on invoice totals. * @summary Void a credit note */ export declare const voidCreditNotePathIdRegExp: RegExp; export declare const VoidCreditNoteParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const VoidCreditNoteHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const VoidCreditNoteBody: zod.ZodObject<{ reason: zod.ZodOptional; has_original_document: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const voidCreditNoteResponseIdMax = 36; export declare const voidCreditNoteResponseNumberMax = 100; export declare const voidCreditNoteResponseIssuerCountryCodeMin = 2; export declare const voidCreditNoteResponseIssuerCountryCodeMax = 2; export declare const voidCreditNoteResponseIssuerBankAccountTypeDefault = "iban"; export declare const voidCreditNoteResponseCustomerIdMax = 36; export declare const voidCreditNoteResponseCustomerCountryCodeMin = 2; export declare const voidCreditNoteResponseCustomerCountryCodeMax = 2; export declare const voidCreditNoteResponseCustomerBankAccountTypeDefault = "iban"; export declare const voidCreditNoteResponseFooterMax = 500; export declare const voidCreditNoteResponseTotalMin = -140737488355328; export declare const voidCreditNoteResponseTotalMax = 140737488355327; export declare const voidCreditNoteResponseTotalWithTaxMin = -140737488355328; export declare const voidCreditNoteResponseTotalWithTaxMax = 140737488355327; export declare const voidCreditNoteResponseCurrencyCodeMax = 3; export declare const voidCreditNoteResponseEntityIdMax = 36; export declare const voidCreditNoteResponseDateYearMin = -2147483648; export declare const voidCreditNoteResponseDateYearMax = 2147483647; export declare const voidCreditNoteResponseShareableIdMax = 100; export declare const voidCreditNoteResponseTotalConvertedMin = -140737488355328; export declare const voidCreditNoteResponseTotalConvertedMax = 140737488355327; export declare const voidCreditNoteResponseTotalWithTaxConvertedMin = -140737488355328; export declare const voidCreditNoteResponseTotalWithTaxConvertedMax = 140737488355327; export declare const voidCreditNoteResponseTotalPaidMin = -140737488355328; export declare const voidCreditNoteResponseTotalPaidMax = 140737488355327; export declare const voidCreditNoteResponseTotalDueMin = -140737488355328; export declare const voidCreditNoteResponseTotalDueMax = 140737488355327; export declare const voidCreditNoteResponseFursDataIterationDefault = 0; export declare const voidCreditNoteResponseDateServiceRegExp: RegExp; export declare const voidCreditNoteResponseDateServiceToRegExp: RegExp; export declare const voidCreditNoteResponseDateDueRegExp: RegExp; export declare const voidCreditNoteResponseItemsItemIdMax = 36; export declare const voidCreditNoteResponseItemsItemNameMax = 500; export declare const voidCreditNoteResponseItemsItemUnitMax = 50; export declare const voidCreditNoteResponseItemsItemDiscountsItemValueMin = 0; export declare const voidCreditNoteResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const voidCreditNoteResponseItemsItemDiscountsMax = 5; export declare const voidCreditNoteResponseItemsItemTotalConvertedMin = -140737488355328; export declare const voidCreditNoteResponseItemsItemTotalConvertedMax = 140737488355327; export declare const voidCreditNoteResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const voidCreditNoteResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const voidCreditNoteResponseItemsItemCreditNoteIdMax = 36; export declare const voidCreditNoteResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const voidCreditNoteResponseItemsItemDeliveryNoteIdMax = 36; export declare const voidCreditNoteResponseItemsItemItemIdMax = 36; export declare const VoidCreditNoteResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; total_paid: zod.ZodNumber; total_due: zod.ZodNumber; paid_in_full: zod.ZodBoolean; furs: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; cancellation_reason: zod.ZodOptional; data: zod.ZodOptional; qr_code: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; iteration: zod.ZodDefault; payload: zod.ZodRecord; issuer_tax_number: zod.ZodOptional; operator_tax_number: zod.ZodOptional; operator_label: zod.ZodOptional; foreign_operator: zod.ZodOptional; cancelled: zod.ZodOptional; cancelled_eor: zod.ZodOptional; cancellation_payload: zod.ZodOptional>; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; fina: zod.ZodOptional; fiscalized_at: zod.ZodOptional; error: zod.ZodOptional; data: zod.ZodOptional; qr_code_url: zod.ZodOptional; business_premise_name: zod.ZodString; electronic_device_name: zod.ZodString; invoice_number: zod.ZodString; operator_oib: zod.ZodOptional; payment_type: zod.ZodOptional; numbering_sequence: zod.ZodOptional; payload: zod.ZodRecord; subsequent_submit: zod.ZodOptional; issuer_oib: zod.ZodOptional; operator_label: zod.ZodOptional; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; date_due: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; credit_note_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; //# sourceMappingURL=credit-notes.d.ts.map