/** * 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 invoice data using a shareable token. No authentication required. Returns full invoice data for rendering. * @summary View shareable invoice */ export declare const GetShareableInvoiceParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const getShareableInvoiceResponseIdMax = 36; export declare const getShareableInvoiceResponseNumberMax = 100; export declare const getShareableInvoiceResponseIssuerCountryCodeMin = 2; export declare const getShareableInvoiceResponseIssuerCountryCodeMax = 2; export declare const getShareableInvoiceResponseIssuerBankAccountTypeDefault = "iban"; export declare const getShareableInvoiceResponseCustomerIdMax = 36; export declare const getShareableInvoiceResponseCustomerCountryCodeMin = 2; export declare const getShareableInvoiceResponseCustomerCountryCodeMax = 2; export declare const getShareableInvoiceResponseCustomerBankAccountTypeDefault = "iban"; export declare const getShareableInvoiceResponseFooterMax = 500; export declare const getShareableInvoiceResponseTotalMin = -140737488355328; export declare const getShareableInvoiceResponseTotalMax = 140737488355327; export declare const getShareableInvoiceResponseTotalWithTaxMin = -140737488355328; export declare const getShareableInvoiceResponseTotalWithTaxMax = 140737488355327; export declare const getShareableInvoiceResponseCurrencyCodeMax = 3; export declare const getShareableInvoiceResponseEntityIdMax = 36; export declare const getShareableInvoiceResponseDateYearMin = -2147483648; export declare const getShareableInvoiceResponseDateYearMax = 2147483647; export declare const getShareableInvoiceResponseShareableIdMax = 100; export declare const getShareableInvoiceResponseTotalConvertedMin = -140737488355328; export declare const getShareableInvoiceResponseTotalConvertedMax = 140737488355327; export declare const getShareableInvoiceResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableInvoiceResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableInvoiceResponseTotalPaidMin = -140737488355328; export declare const getShareableInvoiceResponseTotalPaidMax = 140737488355327; export declare const getShareableInvoiceResponseTotalDueMin = -140737488355328; export declare const getShareableInvoiceResponseTotalDueMax = 140737488355327; export declare const getShareableInvoiceResponseFursDataIterationDefault = 0; export declare const getShareableInvoiceResponseDateServiceRegExp: RegExp; export declare const getShareableInvoiceResponseDateServiceToRegExp: RegExp; export declare const getShareableInvoiceResponseItemsItemIdMax = 36; export declare const getShareableInvoiceResponseItemsItemNameMax = 500; export declare const getShareableInvoiceResponseItemsItemUnitMax = 50; export declare const getShareableInvoiceResponseItemsItemDiscountsItemValueMin = 0; export declare const getShareableInvoiceResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getShareableInvoiceResponseItemsItemDiscountsMax = 5; export declare const getShareableInvoiceResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getShareableInvoiceResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getShareableInvoiceResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableInvoiceResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableInvoiceResponseItemsItemInvoiceIdMax = 36; export declare const getShareableInvoiceResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getShareableInvoiceResponseItemsItemDeliveryNoteIdMax = 36; export declare const getShareableInvoiceResponseItemsItemItemIdMax = 36; export declare const GetShareableInvoiceResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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 invoice as HTML preview using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Get shareable invoice as HTML */ export declare const GetShareableInvoiceHtmlParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableInvoiceHtmlQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Download invoice as PDF using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Download shareable invoice as PDF */ export declare const GetShareableInvoicePdfParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableInvoicePdfQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Download invoice 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 invoice as e-SLOG XML */ export declare const GetShareableInvoiceEslogParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; /** * Create a new invoice 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 invoice 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 invoice */ export declare const CreateInvoiceHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createInvoiceBodyDateRegExp: RegExp; export declare const createInvoiceBodyIssuerCountryCodeMin = 2; export declare const createInvoiceBodyIssuerCountryCodeMax = 2; export declare const createInvoiceBodyIssuerBankAccountTypeDefault = "iban"; export declare const createInvoiceBodyCustomerOneCountryCodeMin = 2; export declare const createInvoiceBodyCustomerOneCountryCodeMax = 2; export declare const createInvoiceBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createInvoiceBodyFooterMax = 500; export declare const createInvoiceBodyCurrencyCodeMax = 3; export declare const createInvoiceBodyDateDueRegExp: RegExp; export declare const createInvoiceBodyPtManualSeriesCodeMax = 35; export declare const createInvoiceBodyDateServiceRegExp: RegExp; export declare const createInvoiceBodyDateServiceToRegExp: RegExp; export declare const createInvoiceBodyItemsItemDescriptionMax = 2000; export declare const createInvoiceBodyItemsItemQuantityMin = -140737488355328; export declare const createInvoiceBodyItemsItemQuantityMax = 140737488355327; export declare const createInvoiceBodyItemsItemUnitMax = 50; export declare const createInvoiceBodyItemsItemDiscountsItemValueMin = 0; export declare const createInvoiceBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createInvoiceBodyItemsItemDiscountsMax = 5; export declare const createInvoiceBodyPaymentsItemIncomingPurchaseDocumentIdMax = 36; export declare const createInvoiceBodyPaymentsItemAppliedToIncomingPurchaseDocumentIdMax = 36; export declare const createInvoiceBodyPaymentsItemAmountExclusiveMin = 0; export declare const createInvoiceBodyFinaBusinessPremiseNameMax = 20; export declare const createInvoiceBodyFinaBusinessPremiseNameRegExp: RegExp; export declare const createInvoiceBodyFinaElectronicDeviceNameMax = 20; export declare const createInvoiceBodyFinaElectronicDeviceNameRegExp: RegExp; export declare const createInvoiceBodyFinaOperatorOibMin = 11; export declare const createInvoiceBodyFinaOperatorOibMax = 11; export declare const createInvoiceBodyExpectedTotalWithTaxExclusiveMin = 0; export declare const CreateInvoiceBody: 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>; date_due: 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>; 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>; force_linked_documents: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Retrieve a paginated list of invoices with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * @summary List all invoices */ export declare const getInvoicesQueryLimitDefault = 10; export declare const getInvoicesQueryLimitMax = 100; export declare const GetInvoicesQueryParams: 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 GetInvoicesHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getInvoicesResponseDataItemIdMax = 36; export declare const getInvoicesResponseDataItemNumberMax = 100; export declare const getInvoicesResponseDataItemIssuerCountryCodeMin = 2; export declare const getInvoicesResponseDataItemIssuerCountryCodeMax = 2; export declare const getInvoicesResponseDataItemIssuerBankAccountTypeDefault = "iban"; export declare const getInvoicesResponseDataItemCustomerIdMax = 36; export declare const getInvoicesResponseDataItemCustomerCountryCodeMin = 2; export declare const getInvoicesResponseDataItemCustomerCountryCodeMax = 2; export declare const getInvoicesResponseDataItemCustomerBankAccountTypeDefault = "iban"; export declare const getInvoicesResponseDataItemFooterMax = 500; export declare const getInvoicesResponseDataItemTotalMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalMax = 140737488355327; export declare const getInvoicesResponseDataItemTotalWithTaxMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalWithTaxMax = 140737488355327; export declare const getInvoicesResponseDataItemCurrencyCodeMax = 3; export declare const getInvoicesResponseDataItemEntityIdMax = 36; export declare const getInvoicesResponseDataItemDateYearMin = -2147483648; export declare const getInvoicesResponseDataItemDateYearMax = 2147483647; export declare const getInvoicesResponseDataItemShareableIdMax = 100; export declare const getInvoicesResponseDataItemTotalConvertedMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalConvertedMax = 140737488355327; export declare const getInvoicesResponseDataItemTotalWithTaxConvertedMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalWithTaxConvertedMax = 140737488355327; export declare const getInvoicesResponseDataItemTotalPaidMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalPaidMax = 140737488355327; export declare const getInvoicesResponseDataItemTotalDueMin = -140737488355328; export declare const getInvoicesResponseDataItemTotalDueMax = 140737488355327; export declare const getInvoicesResponseDataItemFursDataIterationDefault = 0; export declare const getInvoicesResponseDataItemDateServiceRegExp: RegExp; export declare const getInvoicesResponseDataItemDateServiceToRegExp: RegExp; export declare const getInvoicesResponseDataItemItemsItemIdMax = 36; export declare const getInvoicesResponseDataItemItemsItemNameMax = 500; export declare const getInvoicesResponseDataItemItemsItemUnitMax = 50; export declare const getInvoicesResponseDataItemItemsItemDiscountsItemValueMin = 0; export declare const getInvoicesResponseDataItemItemsItemDiscountsItemTypeDefault = "percent"; export declare const getInvoicesResponseDataItemItemsItemDiscountsMax = 5; export declare const getInvoicesResponseDataItemItemsItemTotalConvertedMin = -140737488355328; export declare const getInvoicesResponseDataItemItemsItemTotalConvertedMax = 140737488355327; export declare const getInvoicesResponseDataItemItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getInvoicesResponseDataItemItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getInvoicesResponseDataItemItemsItemInvoiceIdMax = 36; export declare const getInvoicesResponseDataItemItemsItemAdvanceInvoiceIdMax = 36; export declare const getInvoicesResponseDataItemItemsItemDeliveryNoteIdMax = 36; export declare const getInvoicesResponseDataItemItemsItemItemIdMax = 36; export declare const GetInvoicesResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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 an invoice with pre-calculated totals from an external ERP or accounting 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 invoice with pre-calculated totals */ export declare const CreateCustomInvoiceHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createCustomInvoiceBodyIssuerOneCountryCodeMin = 2; export declare const createCustomInvoiceBodyIssuerOneCountryCodeMax = 2; export declare const createCustomInvoiceBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const createCustomInvoiceBodyCustomerOneCountryCodeMin = 2; export declare const createCustomInvoiceBodyCustomerOneCountryCodeMax = 2; export declare const createCustomInvoiceBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createCustomInvoiceBodyItemsItemDescriptionMax = 2000; export declare const createCustomInvoiceBodyItemsItemUnitMax = 50; export declare const createCustomInvoiceBodyItemsItemDiscountsItemValueMin = 0; export declare const createCustomInvoiceBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createCustomInvoiceBodyItemsItemDiscountsMax = 5; export declare const createCustomInvoiceBodyPaymentsItemIncomingPurchaseDocumentIdMax = 36; export declare const createCustomInvoiceBodyPaymentsItemAppliedToIncomingPurchaseDocumentIdMax = 36; export declare const createCustomInvoiceBodyPaymentsItemAmountExclusiveMin = 0; export declare const createCustomInvoiceBodyFinaBusinessPremiseNameMax = 20; export declare const createCustomInvoiceBodyFinaBusinessPremiseNameRegExp: RegExp; export declare const createCustomInvoiceBodyFinaElectronicDeviceNameMax = 20; export declare const createCustomInvoiceBodyFinaElectronicDeviceNameRegExp: RegExp; export declare const createCustomInvoiceBodyFinaOperatorOibMin = 11; export declare const createCustomInvoiceBodyFinaOperatorOibMax = 11; export declare const CreateCustomInvoiceBody: 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>; date_due: zod.ZodOptional>; pt: zod.ZodOptional, zod.ZodArray]>>; date_service: zod.ZodOptional>; date_service_to: 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>>>; force_linked_documents: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Retrieve a single invoice by its unique identifier. Returns the complete invoice details including all line items, customer information, and calculated totals. * @summary Get invoice by ID */ export declare const getInvoiceByIdPathIdRegExp: RegExp; export declare const GetInvoiceByIdParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetInvoiceByIdQueryParams: zod.ZodObject<{ include: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetInvoiceByIdHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getInvoiceByIdResponseIdMax = 36; export declare const getInvoiceByIdResponseNumberMax = 100; export declare const getInvoiceByIdResponseIssuerCountryCodeMin = 2; export declare const getInvoiceByIdResponseIssuerCountryCodeMax = 2; export declare const getInvoiceByIdResponseIssuerBankAccountTypeDefault = "iban"; export declare const getInvoiceByIdResponseCustomerIdMax = 36; export declare const getInvoiceByIdResponseCustomerCountryCodeMin = 2; export declare const getInvoiceByIdResponseCustomerCountryCodeMax = 2; export declare const getInvoiceByIdResponseCustomerBankAccountTypeDefault = "iban"; export declare const getInvoiceByIdResponseFooterMax = 500; export declare const getInvoiceByIdResponseTotalMin = -140737488355328; export declare const getInvoiceByIdResponseTotalMax = 140737488355327; export declare const getInvoiceByIdResponseTotalWithTaxMin = -140737488355328; export declare const getInvoiceByIdResponseTotalWithTaxMax = 140737488355327; export declare const getInvoiceByIdResponseCurrencyCodeMax = 3; export declare const getInvoiceByIdResponseEntityIdMax = 36; export declare const getInvoiceByIdResponseDateYearMin = -2147483648; export declare const getInvoiceByIdResponseDateYearMax = 2147483647; export declare const getInvoiceByIdResponseShareableIdMax = 100; export declare const getInvoiceByIdResponseTotalConvertedMin = -140737488355328; export declare const getInvoiceByIdResponseTotalConvertedMax = 140737488355327; export declare const getInvoiceByIdResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getInvoiceByIdResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getInvoiceByIdResponseTotalPaidMin = -140737488355328; export declare const getInvoiceByIdResponseTotalPaidMax = 140737488355327; export declare const getInvoiceByIdResponseTotalDueMin = -140737488355328; export declare const getInvoiceByIdResponseTotalDueMax = 140737488355327; export declare const getInvoiceByIdResponseFursDataIterationDefault = 0; export declare const getInvoiceByIdResponseDateServiceRegExp: RegExp; export declare const getInvoiceByIdResponseDateServiceToRegExp: RegExp; export declare const getInvoiceByIdResponseItemsItemIdMax = 36; export declare const getInvoiceByIdResponseItemsItemNameMax = 500; export declare const getInvoiceByIdResponseItemsItemUnitMax = 50; export declare const getInvoiceByIdResponseItemsItemDiscountsItemValueMin = 0; export declare const getInvoiceByIdResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getInvoiceByIdResponseItemsItemDiscountsMax = 5; export declare const getInvoiceByIdResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getInvoiceByIdResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getInvoiceByIdResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getInvoiceByIdResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getInvoiceByIdResponseItemsItemInvoiceIdMax = 36; export declare const getInvoiceByIdResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getInvoiceByIdResponseItemsItemDeliveryNoteIdMax = 36; export declare const getInvoiceByIdResponseItemsItemItemIdMax = 36; export declare const GetInvoiceByIdResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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 invoice. Creates a version snapshot before applying changes. Cannot update voided or FURS-fiscalized invoices. If items are provided, they replace all existing items. * @summary Update an invoice */ export declare const updateInvoicePathIdRegExp: RegExp; export declare const UpdateInvoiceParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateInvoiceHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const updateInvoiceBodyDateRegExp: RegExp; export declare const updateInvoiceBodyIssuerOneCountryCodeMin = 2; export declare const updateInvoiceBodyIssuerOneCountryCodeMax = 2; export declare const updateInvoiceBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const updateInvoiceBodyCustomerOneCountryCodeMin = 2; export declare const updateInvoiceBodyCustomerOneCountryCodeMax = 2; export declare const updateInvoiceBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const updateInvoiceBodyItemsItemDescriptionMax = 2000; export declare const updateInvoiceBodyItemsItemQuantityMin = -140737488355328; export declare const updateInvoiceBodyItemsItemQuantityMax = 140737488355327; export declare const updateInvoiceBodyItemsItemUnitMax = 50; export declare const updateInvoiceBodyItemsItemDiscountsItemValueMin = 0; export declare const updateInvoiceBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateInvoiceBodyItemsItemDiscountsMax = 5; export declare const updateInvoiceBodyReferenceMax = 100; export declare const updateInvoiceBodyChangeReasonMax = 500; export declare const updateInvoiceBodyDateDueRegExp: RegExp; export declare const updateInvoiceBodyDateServiceRegExp: RegExp; export declare const updateInvoiceBodyDateServiceToRegExp: RegExp; export declare const UpdateInvoiceBody: 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_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; linked_documents: zod.ZodOptional>>; force_linked_documents: zod.ZodOptional; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; export declare const updateInvoiceResponseIdMax = 36; export declare const updateInvoiceResponseNumberMax = 100; export declare const updateInvoiceResponseIssuerCountryCodeMin = 2; export declare const updateInvoiceResponseIssuerCountryCodeMax = 2; export declare const updateInvoiceResponseIssuerBankAccountTypeDefault = "iban"; export declare const updateInvoiceResponseCustomerIdMax = 36; export declare const updateInvoiceResponseCustomerCountryCodeMin = 2; export declare const updateInvoiceResponseCustomerCountryCodeMax = 2; export declare const updateInvoiceResponseCustomerBankAccountTypeDefault = "iban"; export declare const updateInvoiceResponseFooterMax = 500; export declare const updateInvoiceResponseTotalMin = -140737488355328; export declare const updateInvoiceResponseTotalMax = 140737488355327; export declare const updateInvoiceResponseTotalWithTaxMin = -140737488355328; export declare const updateInvoiceResponseTotalWithTaxMax = 140737488355327; export declare const updateInvoiceResponseCurrencyCodeMax = 3; export declare const updateInvoiceResponseEntityIdMax = 36; export declare const updateInvoiceResponseDateYearMin = -2147483648; export declare const updateInvoiceResponseDateYearMax = 2147483647; export declare const updateInvoiceResponseShareableIdMax = 100; export declare const updateInvoiceResponseTotalConvertedMin = -140737488355328; export declare const updateInvoiceResponseTotalConvertedMax = 140737488355327; export declare const updateInvoiceResponseTotalWithTaxConvertedMin = -140737488355328; export declare const updateInvoiceResponseTotalWithTaxConvertedMax = 140737488355327; export declare const updateInvoiceResponseTotalPaidMin = -140737488355328; export declare const updateInvoiceResponseTotalPaidMax = 140737488355327; export declare const updateInvoiceResponseTotalDueMin = -140737488355328; export declare const updateInvoiceResponseTotalDueMax = 140737488355327; export declare const updateInvoiceResponseFursDataIterationDefault = 0; export declare const updateInvoiceResponseDateServiceRegExp: RegExp; export declare const updateInvoiceResponseDateServiceToRegExp: RegExp; export declare const updateInvoiceResponseItemsItemIdMax = 36; export declare const updateInvoiceResponseItemsItemNameMax = 500; export declare const updateInvoiceResponseItemsItemUnitMax = 50; export declare const updateInvoiceResponseItemsItemDiscountsItemValueMin = 0; export declare const updateInvoiceResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateInvoiceResponseItemsItemDiscountsMax = 5; export declare const updateInvoiceResponseItemsItemTotalConvertedMin = -140737488355328; export declare const updateInvoiceResponseItemsItemTotalConvertedMax = 140737488355327; export declare const updateInvoiceResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const updateInvoiceResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const updateInvoiceResponseItemsItemInvoiceIdMax = 36; export declare const updateInvoiceResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const updateInvoiceResponseItemsItemDeliveryNoteIdMax = 36; export declare const updateInvoiceResponseItemsItemItemIdMax = 36; export declare const UpdateInvoiceResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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 an invoice. Each version represents the document state before an update was applied. * @summary Get invoice version history */ export declare const getInvoiceVersionsPathIdRegExp: RegExp; export declare const GetInvoiceVersionsParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetInvoiceVersionsHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetInvoiceVersionsResponse: 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 an invoice. * @summary Get specific invoice version */ export declare const GetInvoiceVersionParams: zod.ZodObject<{ id: zod.ZodString; version: zod.ZodNumber; }, zod.z.core.$strip>; export declare const GetInvoiceVersionHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetInvoiceVersionResponse: 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 an invoice without saving to the database. Perfect for displaying live previews in invoice creation/edit forms. Supports both partial mode (allows incomplete data for drafts) and complete mode (validates all required fields). * @summary Render invoice preview */ export declare const renderInvoicePreviewQueryLocaleMin = 2; export declare const renderInvoicePreviewQueryLocaleMax = 5; export declare const renderInvoicePreviewQueryLanguageMin = 2; export declare const renderInvoicePreviewQueryLanguageMax = 5; export declare const renderInvoicePreviewQueryPartialDefault = "true"; export declare const RenderInvoicePreviewQueryParams: 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 RenderInvoicePreviewHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const renderInvoicePreviewBodyOneDateRegExp: RegExp; export declare const renderInvoicePreviewBodyOneIssuerCountryCodeMin = 2; export declare const renderInvoicePreviewBodyOneIssuerCountryCodeMax = 2; export declare const renderInvoicePreviewBodyOneIssuerBankAccountTypeDefault = "iban"; export declare const renderInvoicePreviewBodyOneCustomerOneCountryCodeMin = 2; export declare const renderInvoicePreviewBodyOneCustomerOneCountryCodeMax = 2; export declare const renderInvoicePreviewBodyOneCustomerOneBankAccountTypeDefault = "iban"; export declare const renderInvoicePreviewBodyOneFooterMax = 500; export declare const renderInvoicePreviewBodyOneCurrencyCodeMax = 3; export declare const renderInvoicePreviewBodyOneDateDueRegExp: RegExp; export declare const renderInvoicePreviewBodyOnePtManualSeriesCodeMax = 35; export declare const renderInvoicePreviewBodyOneDateServiceRegExp: RegExp; export declare const renderInvoicePreviewBodyOneDateServiceToRegExp: RegExp; export declare const renderInvoicePreviewBodyOneFinaBusinessPremiseNameMax = 20; export declare const renderInvoicePreviewBodyOneFinaBusinessPremiseNameRegExp: RegExp; export declare const renderInvoicePreviewBodyOneFinaElectronicDeviceNameMax = 20; export declare const renderInvoicePreviewBodyOneFinaElectronicDeviceNameRegExp: RegExp; export declare const renderInvoicePreviewBodyOneFinaOperatorOibMin = 11; export declare const renderInvoicePreviewBodyOneFinaOperatorOibMax = 11; export declare const renderInvoicePreviewBodyOneExpectedTotalWithTaxExclusiveMin = 0; export declare const renderInvoicePreviewBodyTwoDateRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoIssuerCountryCodeMin = 2; export declare const renderInvoicePreviewBodyTwoIssuerCountryCodeMax = 2; export declare const renderInvoicePreviewBodyTwoIssuerBankAccountTypeDefault = "iban"; export declare const renderInvoicePreviewBodyTwoCustomerOneCountryCodeMin = 2; export declare const renderInvoicePreviewBodyTwoCustomerOneCountryCodeMax = 2; export declare const renderInvoicePreviewBodyTwoCustomerOneBankAccountTypeDefault = "iban"; export declare const renderInvoicePreviewBodyTwoFooterMax = 500; export declare const renderInvoicePreviewBodyTwoCurrencyCodeMax = 3; export declare const renderInvoicePreviewBodyTwoDateDueRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoPtManualSeriesCodeMax = 35; export declare const renderInvoicePreviewBodyTwoDateServiceRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoDateServiceToRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoItemsItemDescriptionMax = 2000; export declare const renderInvoicePreviewBodyTwoItemsItemQuantityMin = -140737488355328; export declare const renderInvoicePreviewBodyTwoItemsItemQuantityMax = 140737488355327; export declare const renderInvoicePreviewBodyTwoItemsItemUnitMax = 50; export declare const renderInvoicePreviewBodyTwoItemsItemDiscountsItemValueMin = 0; export declare const renderInvoicePreviewBodyTwoItemsItemDiscountsItemTypeDefault = "percent"; export declare const renderInvoicePreviewBodyTwoItemsItemDiscountsMax = 5; export declare const renderInvoicePreviewBodyTwoFinaBusinessPremiseNameMax = 20; export declare const renderInvoicePreviewBodyTwoFinaBusinessPremiseNameRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoFinaElectronicDeviceNameMax = 20; export declare const renderInvoicePreviewBodyTwoFinaElectronicDeviceNameRegExp: RegExp; export declare const renderInvoicePreviewBodyTwoFinaOperatorOibMin = 11; export declare const renderInvoicePreviewBodyTwoFinaOperatorOibMax = 11; export declare const renderInvoicePreviewBodyTwoExpectedTotalWithTaxExclusiveMin = 0; export declare const RenderInvoicePreviewBody: 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>; date_due: 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>; 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>; force_linked_documents: zod.ZodOptional>; id: 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>; date_due: 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>; 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>; force_linked_documents: zod.ZodOptional>; id: zod.ZodOptional; }, zod.z.core.$strip>]>; /** * Void an invoice for technical reasons (duplicate, error, etc.). For FURS-fiscalized invoices, automatically submits technical cancellation to FURS and creates a credit note. For business corrections, create a credit note instead. * @summary Void an invoice */ export declare const voidInvoicePathIdRegExp: RegExp; export declare const VoidInvoiceParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const VoidInvoiceHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const VoidInvoiceBody: zod.ZodObject<{ reason: zod.ZodOptional; has_original_document: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const voidInvoiceResponseIdMax = 36; export declare const voidInvoiceResponseNumberMax = 100; export declare const voidInvoiceResponseIssuerCountryCodeMin = 2; export declare const voidInvoiceResponseIssuerCountryCodeMax = 2; export declare const voidInvoiceResponseIssuerBankAccountTypeDefault = "iban"; export declare const voidInvoiceResponseCustomerIdMax = 36; export declare const voidInvoiceResponseCustomerCountryCodeMin = 2; export declare const voidInvoiceResponseCustomerCountryCodeMax = 2; export declare const voidInvoiceResponseCustomerBankAccountTypeDefault = "iban"; export declare const voidInvoiceResponseFooterMax = 500; export declare const voidInvoiceResponseTotalMin = -140737488355328; export declare const voidInvoiceResponseTotalMax = 140737488355327; export declare const voidInvoiceResponseTotalWithTaxMin = -140737488355328; export declare const voidInvoiceResponseTotalWithTaxMax = 140737488355327; export declare const voidInvoiceResponseCurrencyCodeMax = 3; export declare const voidInvoiceResponseEntityIdMax = 36; export declare const voidInvoiceResponseDateYearMin = -2147483648; export declare const voidInvoiceResponseDateYearMax = 2147483647; export declare const voidInvoiceResponseShareableIdMax = 100; export declare const voidInvoiceResponseTotalConvertedMin = -140737488355328; export declare const voidInvoiceResponseTotalConvertedMax = 140737488355327; export declare const voidInvoiceResponseTotalWithTaxConvertedMin = -140737488355328; export declare const voidInvoiceResponseTotalWithTaxConvertedMax = 140737488355327; export declare const voidInvoiceResponseTotalPaidMin = -140737488355328; export declare const voidInvoiceResponseTotalPaidMax = 140737488355327; export declare const voidInvoiceResponseTotalDueMin = -140737488355328; export declare const voidInvoiceResponseTotalDueMax = 140737488355327; export declare const voidInvoiceResponseFursDataIterationDefault = 0; export declare const voidInvoiceResponseDateServiceRegExp: RegExp; export declare const voidInvoiceResponseDateServiceToRegExp: RegExp; export declare const voidInvoiceResponseItemsItemIdMax = 36; export declare const voidInvoiceResponseItemsItemNameMax = 500; export declare const voidInvoiceResponseItemsItemUnitMax = 50; export declare const voidInvoiceResponseItemsItemDiscountsItemValueMin = 0; export declare const voidInvoiceResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const voidInvoiceResponseItemsItemDiscountsMax = 5; export declare const voidInvoiceResponseItemsItemTotalConvertedMin = -140737488355328; export declare const voidInvoiceResponseItemsItemTotalConvertedMax = 140737488355327; export declare const voidInvoiceResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const voidInvoiceResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const voidInvoiceResponseItemsItemInvoiceIdMax = 36; export declare const voidInvoiceResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const voidInvoiceResponseItemsItemDeliveryNoteIdMax = 36; export declare const voidInvoiceResponseItemsItemItemIdMax = 36; export declare const VoidInvoiceResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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>; /** * Manually fiscalize an invoice that was created before FURS was enabled. Auto-creates a dedicated "OLD" premise and device for FURS submission, assigns a new sequential FURS number (OLD-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original invoice number remains unchanged. * @summary Fiscalize an old invoice */ export declare const fiscalizeInvoicePathIdRegExp: RegExp; export declare const FiscalizeInvoiceParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const FiscalizeInvoiceHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const fiscalizeInvoiceResponseIdMax = 36; export declare const fiscalizeInvoiceResponseNumberMax = 100; export declare const fiscalizeInvoiceResponseIssuerCountryCodeMin = 2; export declare const fiscalizeInvoiceResponseIssuerCountryCodeMax = 2; export declare const fiscalizeInvoiceResponseIssuerBankAccountTypeDefault = "iban"; export declare const fiscalizeInvoiceResponseCustomerIdMax = 36; export declare const fiscalizeInvoiceResponseCustomerCountryCodeMin = 2; export declare const fiscalizeInvoiceResponseCustomerCountryCodeMax = 2; export declare const fiscalizeInvoiceResponseCustomerBankAccountTypeDefault = "iban"; export declare const fiscalizeInvoiceResponseFooterMax = 500; export declare const fiscalizeInvoiceResponseTotalMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalMax = 140737488355327; export declare const fiscalizeInvoiceResponseTotalWithTaxMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalWithTaxMax = 140737488355327; export declare const fiscalizeInvoiceResponseCurrencyCodeMax = 3; export declare const fiscalizeInvoiceResponseEntityIdMax = 36; export declare const fiscalizeInvoiceResponseDateYearMin = -2147483648; export declare const fiscalizeInvoiceResponseDateYearMax = 2147483647; export declare const fiscalizeInvoiceResponseShareableIdMax = 100; export declare const fiscalizeInvoiceResponseTotalConvertedMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalConvertedMax = 140737488355327; export declare const fiscalizeInvoiceResponseTotalWithTaxConvertedMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalWithTaxConvertedMax = 140737488355327; export declare const fiscalizeInvoiceResponseTotalPaidMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalPaidMax = 140737488355327; export declare const fiscalizeInvoiceResponseTotalDueMin = -140737488355328; export declare const fiscalizeInvoiceResponseTotalDueMax = 140737488355327; export declare const fiscalizeInvoiceResponseFursDataIterationDefault = 0; export declare const fiscalizeInvoiceResponseDateServiceRegExp: RegExp; export declare const fiscalizeInvoiceResponseDateServiceToRegExp: RegExp; export declare const fiscalizeInvoiceResponseItemsItemIdMax = 36; export declare const fiscalizeInvoiceResponseItemsItemNameMax = 500; export declare const fiscalizeInvoiceResponseItemsItemUnitMax = 50; export declare const fiscalizeInvoiceResponseItemsItemDiscountsItemValueMin = 0; export declare const fiscalizeInvoiceResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const fiscalizeInvoiceResponseItemsItemDiscountsMax = 5; export declare const fiscalizeInvoiceResponseItemsItemTotalConvertedMin = -140737488355328; export declare const fiscalizeInvoiceResponseItemsItemTotalConvertedMax = 140737488355327; export declare const fiscalizeInvoiceResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const fiscalizeInvoiceResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const fiscalizeInvoiceResponseItemsItemInvoiceIdMax = 36; export declare const fiscalizeInvoiceResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const fiscalizeInvoiceResponseItemsItemDeliveryNoteIdMax = 36; export declare const fiscalizeInvoiceResponseItemsItemItemIdMax = 36; export declare const FiscalizeInvoiceResponse: 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; date_due: zod.ZodOptional>; 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>; 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>; invoice_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>; /** * Render a saved document by its ID as HTML. The document type is automatically detected from the ID prefix (inv_, est_, cre_, adv_). The output is styled for professional presentation and optimized for display in web applications. * @summary Render HTML */ export declare const renderDocumentHtmlPathIdRegExp: RegExp; export declare const RenderDocumentHtmlParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const renderDocumentHtmlQueryLocaleMin = 2; export declare const renderDocumentHtmlQueryLocaleMax = 5; export declare const renderDocumentHtmlQueryLanguageMin = 2; export declare const renderDocumentHtmlQueryLanguageMax = 5; export declare const RenderDocumentHtmlQueryParams: zod.ZodObject<{ template: zod.ZodOptional>; locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const RenderDocumentHtmlHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Render a saved document by its ID as PDF. The document type is automatically detected from the ID prefix (inv_, est_, cre_, adv_). The output is styled for professional presentation and optimized for printing. Ideal for downloads and archival. * @summary Render PDF */ export declare const renderDocumentPdfPathIdRegExp: RegExp; export declare const RenderDocumentPdfParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const renderDocumentPdfQueryLocaleMin = 2; export declare const renderDocumentPdfQueryLocaleMax = 5; export declare const renderDocumentPdfQueryLanguageMin = 2; export declare const renderDocumentPdfQueryLanguageMax = 5; export declare const RenderDocumentPdfQueryParams: zod.ZodObject<{ template: zod.ZodOptional>; locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const RenderDocumentPdfHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; //# sourceMappingURL=invoices.d.ts.map