declare const OPENAPI_SPEC_VERSION: "3.0.4"; declare const OPENAPI_SCHEMA_COUNT: 305; type AllowedIps = { ip4Addresses?: Array | null; ip4Masks?: Array | null; ip4Ranges?: Array | null; }; type AmountType = "Brutto" | "Netto" | "Vat"; type ApiError = { code: number; description: string; details?: Array | null; }; type ApiRateLimitsOverride = { batchSession: ApiRateLimitValuesOverride; collectiveIdentifier: ApiRateLimitValuesOverride; invoiceDownload: ApiRateLimitValuesOverride; invoiceExport: ApiRateLimitValuesOverride; invoiceExportStatus: ApiRateLimitValuesOverride; invoiceMetadata: ApiRateLimitValuesOverride; invoiceSend: ApiRateLimitValuesOverride; invoiceStatus: ApiRateLimitValuesOverride; onlineSession: ApiRateLimitValuesOverride; other: ApiRateLimitValuesOverride; sessionInvoiceList: ApiRateLimitValuesOverride; sessionList: ApiRateLimitValuesOverride; sessionMisc: ApiRateLimitValuesOverride; }; type ApiRateLimitValuesOverride = { perHour: number; perMinute: number; perSecond: number; }; type AttachmentPermissionGrantRequest = { nip: Nip; }; type AttachmentPermissionRevokeRequest = { expectedEndDate?: string | null; nip: Nip; }; type AuthenticationChallengeResponse = { challenge: Challenge; clientIp: string; timestamp: string; timestampMs: number; }; type AuthenticationContextIdentifier = { type: AuthenticationContextIdentifierType; value: string; }; type AuthenticationContextIdentifierType = "InternalId" | "Nip" | "NipVatUe" | "PeppolId"; type AuthenticationInitResponse = { authenticationToken: TokenInfo; referenceNumber: ReferenceNumber; }; type AuthenticationListItem = { authenticationMethod: AuthenticationMethod; authenticationMethodInfo: AuthenticationMethodInfo; isCurrent?: boolean; isTokenRedeemed?: boolean | null; lastTokenRefreshDate?: string | null; referenceNumber: ReferenceNumber; refreshTokenValidUntil?: string | null; startDate: string; status: StatusInfo; }; type AuthenticationListResponse = { continuationToken?: string | null; items: Array; }; type AuthenticationMethod = "InternalCertificate" | "PeppolSignature" | "PersonalSignature" | "QualifiedSeal" | "QualifiedSignature" | "Token" | "TrustedProfile"; type AuthenticationMethodCategory = "NationalNode" | "Other" | "Token" | "XadesSignature"; type AuthenticationMethodInfo = { category: AuthenticationMethodCategory; code: string; displayName: string; }; type AuthenticationOperationStatusResponse = { authenticationMethod: AuthenticationMethod; authenticationMethodInfo: AuthenticationMethodInfo; isTokenRedeemed?: boolean | null; lastTokenRefreshDate?: string | null; refreshTokenValidUntil?: string | null; startDate: string; status: StatusInfo; }; type AuthenticationTokenRefreshResponse = { accessToken: TokenInfo; }; type AuthenticationTokensResponse = { accessToken: TokenInfo; refreshToken: TokenInfo; }; type AuthenticationTokenStatus = "Active" | "Failed" | "Pending" | "Revoked" | "Revoking"; type AuthorizationPolicy = { allowedIps?: AllowedIps | null; }; type BadRequestProblemDetails = { detail: string; errors: Array; instance: string; status: number; timestamp: string; title: string; traceId: string; }; type BatchFileInfo = { compressionType?: CompressionType | null; fileHash: Sha256HashBase64; fileParts: Array; fileSize: number; }; type BatchFilePartInfo = { fileHash: Sha256HashBase64; fileSize: number; ordinalNumber: number; }; type BatchSessionContextLimitsOverride = { maxInvoices: number; maxInvoiceSizeInMB: number; maxInvoiceWithAttachmentSizeInMB: number; }; type BatchSessionEffectiveContextLimits = { maxInvoices: number; maxInvoiceSizeInMB: number; maxInvoiceWithAttachmentSizeInMB: number; }; type BlockContextAuthenticationRequest = { contextIdentifier?: TestDataAuthenticationContextIdentifier | null; }; type BuyerIdentifierType = "Nip" | "None" | "Other" | "VatUe"; type CertificateEffectiveSubjectLimits = { maxCertificates?: number; }; type CertificateEnrollmentDataResponse = { commonName: string; countryName: string; givenName?: string | null; organizationIdentifier?: string | null; organizationName?: string | null; serialNumber?: string | null; surname?: string | null; uniqueIdentifier?: string | null; }; type CertificateEnrollmentStatusResponse = { certificateSerialNumber?: string | null; requestDate: string; status: StatusInfo; }; type CertificateLimit = { limit: number; remaining: number; }; type CertificateLimitsResponse = { canRequest: boolean; certificate: CertificateLimit; enrollment: CertificateLimit; }; type CertificateListItem = { certificateSerialNumber: string; commonName: string; lastUseDate?: string | null; name: string; requestDate: string; status: CertificateListItemStatus; subjectIdentifier: CertificateSubjectIdentifier; type: KsefCertificateType; validFrom: string; validTo: string; }; type CertificateListItemStatus = "Active" | "Blocked" | "Expired" | "Revoked"; type CertificateRevocationReason = "KeyCompromise" | "Superseded" | "Unspecified"; type CertificateSubjectIdentifier = { type: CertificateSubjectIdentifierType; value: string; }; type CertificateSubjectIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type CertificateSubjectLimitsOverride = { maxCertificates?: number | null; }; type Challenge = string; type CheckAttachmentPermissionStatusResponse = { isAttachmentAllowed?: boolean; revokedDate?: string | null; }; type CollectiveIdentifierContextLimitsOverride = { maxInvoices: number; }; type CollectiveIdentifierEffectiveContextLimits = { maxInvoices: number; }; type CollectiveIdentifierInvoice = { description?: string | null; ksefNumber: KsefNumber; payment?: CollectiveIdentifierInvoicePayment | null; }; type CollectiveIdentifierInvoicePayment = { amount: number; currency: CurrencyCode; }; type CollectiveIdentifierInvoicesQueryRequest = { collectiveIdentifierNumbers: Array; }; type CollectiveIdentifierInvoicesQueryResponse = { continuationToken?: string | null; invoices: Array; }; type CollectiveIdentifierInvoicesQueryResponseItem = { collectiveIdentifierNumber: string; description?: string | null; detailsHidden: boolean; ksefNumber: KsefNumber; payment?: CollectiveIdentifierInvoicesQueryResponseItemPayment | null; }; type CollectiveIdentifierInvoicesQueryResponseItemPayment = { amount: number; currency: string; }; type CollectiveIdentifiersByKsefNumberQueryResponse = { collectiveIdentifiers: Array; continuationToken?: string | null; }; type CollectiveIdentifiersByKsefNumberQueryResponseItem = { collectiveIdentifierNumber: string; createdInCurrentContext: boolean; dateCreated: string; }; type CollectiveIdentifiersQueryRequest = { collectiveIdentifierNumber?: string | null; createdInCurrentContext?: boolean | null; dateCreatedFrom: string; dateCreatedTo: string; invoiceCountFrom?: number | null; invoiceCountTo?: number | null; }; type CollectiveIdentifiersQueryResponse = { collectiveIdentifiers: Array; continuationToken?: string | null; }; type CollectiveIdentifiersQueryResponseItem = { collectiveIdentifierNumber: string; createdInCurrentContext: boolean; dateCreated: string; invoiceCount: number; }; type CommonSessionStatus = "Cancelled" | "Failed" | "InProgress" | "Succeeded"; type CompressionType = "TarGz" | "Zip"; type CurrencyCode = "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XCG" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL"; type EffectiveApiRateLimits = { batchSession: EffectiveApiRateLimitValues; collectiveIdentifier: EffectiveApiRateLimitValues; invoiceDownload: EffectiveApiRateLimitValues; invoiceExport: EffectiveApiRateLimitValues; invoiceExportStatus: EffectiveApiRateLimitValues; invoiceMetadata: EffectiveApiRateLimitValues; invoiceSend: EffectiveApiRateLimitValues; invoiceStatus: EffectiveApiRateLimitValues; onlineSession: EffectiveApiRateLimitValues; other: EffectiveApiRateLimitValues; sessionInvoiceList: EffectiveApiRateLimitValues; sessionList: EffectiveApiRateLimitValues; sessionMisc: EffectiveApiRateLimitValues; }; type EffectiveApiRateLimitValues = { perHour: number; perMinute: number; perSecond: number; }; type EffectiveContextLimits = { batchSession: BatchSessionEffectiveContextLimits; collectiveIdentifier: CollectiveIdentifierEffectiveContextLimits; onlineSession: OnlineSessionEffectiveContextLimits; }; type EffectiveSubjectLimits = { certificate?: CertificateEffectiveSubjectLimits | null; enrollment?: EnrollmentEffectiveSubjectLimits | null; }; type EncryptionInfo = { encryptedSymmetricKey: string; initializationVector: string; publicKeyId?: string | null; }; type EnrollCertificateRequest = { certificateName: string; certificateType: KsefCertificateType; csr: string; validFrom?: string | null; }; type EnrollCertificateResponse = { referenceNumber: ReferenceNumber; timestamp: string; }; type EnrollmentEffectiveSubjectLimits = { maxEnrollments?: number; }; type EnrollmentSubjectLimitsOverride = { maxEnrollments?: number | null; }; type EntityAuthorizationGrant = { authorIdentifier?: EntityAuthorizationsAuthorIdentifier | null; authorizationScope: InvoicePermissionType; authorizedEntityIdentifier: EntityAuthorizationsAuthorizedEntityIdentifier; authorizingEntityIdentifier: EntityAuthorizationsAuthorizingEntityIdentifier; description: string; id: PermissionId; startDate: string; subjectEntityDetails?: PermissionsSubjectEntityByIdentifierDetails | null; }; type EntityAuthorizationPermissionsGrantRequest = { description: string; permission: EntityAuthorizationPermissionType; subjectDetails: EntityDetails; subjectIdentifier: EntityAuthorizationPermissionsSubjectIdentifier; }; type EntityAuthorizationPermissionsQueryRequest = { authorizedIdentifier?: EntityAuthorizationsAuthorizedEntityIdentifier | null; authorizingIdentifier?: EntityAuthorizationsAuthorizingEntityIdentifier | null; permissionTypes?: Array | null; queryType: QueryType; }; type EntityAuthorizationPermissionsSubjectIdentifier = { type: EntityAuthorizationPermissionsSubjectIdentifierType; value: string; }; type EntityAuthorizationPermissionsSubjectIdentifierType = "Nip" | "PeppolId"; type EntityAuthorizationPermissionType = "PefInvoicing" | "RRInvoicing" | "SelfInvoicing" | "TaxRepresentative"; type EntityAuthorizationsAuthorIdentifier = { type: EntityAuthorizationsAuthorIdentifierType; value: string; }; type EntityAuthorizationsAuthorIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type EntityAuthorizationsAuthorizedEntityIdentifier = { type: EntityAuthorizationsAuthorizedEntityIdentifierType; value: string; }; type EntityAuthorizationsAuthorizedEntityIdentifierType = "Nip" | "PeppolId"; type EntityAuthorizationsAuthorizingEntityIdentifier = { type: EntityAuthorizationsAuthorizingEntityIdentifierType; value: string; }; type EntityAuthorizationsAuthorizingEntityIdentifierType = "Nip"; type EntityByFingerprintDetails = { address: string; fullName: string; }; type EntityDetails = { fullName: string; }; type EntityPermission = { canDelegate?: boolean; type: EntityPermissionType; }; type EntityPermissionItem = { canDelegate: boolean; contextIdentifier: EntityPermissionsContextIdentifier; description: string; id: PermissionId; permissionScope: EntityPermissionItemScope; startDate: string; }; type EntityPermissionItemScope = "InvoiceRead" | "InvoiceWrite"; type EntityPermissionsContextIdentifier = { type: EntityPermissionsContextIdentifierType; value: string; }; type EntityPermissionsContextIdentifierType = "InternalId" | "Nip"; type EntityPermissionsGrantRequest = { description: string; permissions: Array; subjectDetails: EntityDetails; subjectIdentifier: EntityPermissionsSubjectIdentifier; }; type EntityPermissionsQueryRequest = { contextIdentifier?: EntityPermissionsContextIdentifier | null; }; type EntityPermissionsSubjectIdentifier = { type: EntityPermissionsSubjectIdentifierType; value: string; }; type EntityPermissionsSubjectIdentifierType = "Nip"; type EntityPermissionsSubordinateEntityIdentifier = { type: EntityPermissionsSubordinateEntityIdentifierType; value: string; }; type EntityPermissionsSubordinateEntityIdentifierType = "Nip"; type EntityPermissionType = "InvoiceRead" | "InvoiceWrite"; type EntityRole = { description: string; parentEntityIdentifier?: EntityRolesParentEntityIdentifier | null; role: EntityRoleType; startDate: string; }; type EntityRolesParentEntityIdentifier = { type: EntityRolesParentEntityIdentifierType; value: string; }; type EntityRolesParentEntityIdentifierType = "Nip"; type EntityRoleType = "CourtBailiff" | "EnforcementAuthority" | "LocalGovernmentSubUnit" | "LocalGovernmentUnit" | "VatGroupSubUnit" | "VatGroupUnit"; type EntitySubjectByFingerprintDetailsType = "EntityByFingerprint"; type EntitySubjectByIdentifierDetailsType = "EntityByIdentifier"; type EntitySubjectDetailsType = "EntityByFingerprint" | "EntityByIdentifier"; type EuEntityAdministrationPermissionsContextIdentifier = { type: EuEntityAdministrationPermissionsContextIdentifierType; value: string; }; type EuEntityAdministrationPermissionsContextIdentifierType = "NipVatUe"; type EuEntityAdministrationPermissionsGrantRequest = { contextIdentifier: EuEntityAdministrationPermissionsContextIdentifier; description: string; euEntityDetails: EuEntityDetails; euEntityName: string; subjectDetails: EuEntityPermissionSubjectDetails; subjectIdentifier: EuEntityAdministrationPermissionsSubjectIdentifier; }; type EuEntityAdministrationPermissionsSubjectIdentifier = { type: EuEntityAdministrationPermissionsSubjectIdentifierType; value: string; }; type EuEntityAdministrationPermissionsSubjectIdentifierType = "Fingerprint"; type EuEntityDetails = { address: string; fullName: string; }; type EuEntityPermission = { authorIdentifier: EuEntityPermissionsAuthorIdentifier; authorizedFingerprintIdentifier: string; description: string; euEntityDetails?: PermissionsEuEntityDetails | null; euEntityName: string; id: PermissionId; permissionScope: EuEntityPermissionsQueryPermissionType; startDate: string; subjectEntityDetails?: PermissionsSubjectEntityByFingerprintDetails | null; subjectPersonDetails?: PermissionsSubjectPersonByFingerprintDetails | null; vatUeIdentifier: string; }; type EuEntityPermissionsAuthorIdentifier = { type: EuEntityPermissionsAuthorIdentifierType; value: string; }; type EuEntityPermissionsAuthorIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type EuEntityPermissionsGrantRequest = { description: string; permissions: Array; subjectDetails: EuEntityPermissionSubjectDetails; subjectIdentifier: EuEntityPermissionsSubjectIdentifier; }; type EuEntityPermissionsQueryPermissionType = "Introspection" | "InvoiceRead" | "InvoiceWrite" | "VatUeManage"; type EuEntityPermissionsQueryRequest = { authorizedFingerprintIdentifier?: string | null; permissionTypes?: Array | null; vatUeIdentifier?: string | null; }; type EuEntityPermissionsSubjectIdentifier = { type: EuEntityPermissionsSubjectIdentifierType; value: string; }; type EuEntityPermissionsSubjectIdentifierType = "Fingerprint"; type EuEntityPermissionSubjectDetails = { entityByFp?: EntityByFingerprintDetails | null; personByFpNoId?: PersonByFingerprintWithoutIdentifierDetails | null; personByFpWithId?: PersonByFingerprintWithIdentifierDetails | null; subjectDetailsType: EuEntityPermissionSubjectDetailsType; }; type EuEntityPermissionSubjectDetailsType = "EntityByFingerprint" | "PersonByFingerprintWithIdentifier" | "PersonByFingerprintWithoutIdentifier"; type EuEntityPermissionType = "InvoiceRead" | "InvoiceWrite"; type ExceptionDetails = { details?: Array | null; exceptionCode?: number; exceptionDescription?: string | null; }; type ExceptionInfo = { exceptionDetailList?: Array | null; referenceNumber?: ReferenceNumber | null; serviceCode?: string | null; serviceCtx?: string | null; serviceName?: string | null; timestamp?: string; }; type ExceptionResponse = { exception?: ExceptionInfo | null; }; type ExportInvoicesResponse = { referenceNumber: ReferenceNumber; }; type ForbiddenProblemDetails = { detail: string; instance?: string | null; reasonCode: string; security?: Record | null; status: number; timestamp: string; title: string; traceId?: string | null; }; type FormCode = { schemaVersion: string; systemCode: string; value: string; }; type GenerateCollectiveIdentifierRequest = { invoices: Array; }; type GenerateCollectiveIdentifierResponse = { collectiveIdentifierNumber: string; }; type GenerateTokenRequest = { description: string; permissions: Array; }; type GenerateTokenResponse = { referenceNumber: ReferenceNumber; token: string; }; type GoneProblemDetails = { detail: string; instance: string; status: number; timestamp: string; title: string; traceId: string; }; type IdDocument = { country: string; number: string; type: string; }; type IndirectPermissionsGrantRequest = { description: string; permissions: Array; subjectDetails: PersonPermissionSubjectDetails; subjectIdentifier: IndirectPermissionsSubjectIdentifier; targetIdentifier?: IndirectPermissionsTargetIdentifier | null; }; type IndirectPermissionsSubjectIdentifier = { type: IndirectPermissionsSubjectIdentifierType; value: string; }; type IndirectPermissionsSubjectIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type IndirectPermissionsTargetIdentifier = { type: IndirectPermissionsTargetIdentifierType; value?: string | null; }; type IndirectPermissionsTargetIdentifierType = "AllPartners" | "InternalId" | "Nip"; type IndirectPermissionType = "InvoiceRead" | "InvoiceWrite"; type InitTokenAuthenticationRequest = { authorizationPolicy?: AuthorizationPolicy | null; challenge: Challenge; contextIdentifier: AuthenticationContextIdentifier; encryptedToken: string; publicKeyId?: string | null; }; type InternalId = string; type InvoiceExportRequest = { compressionType?: CompressionType | null; encryption: EncryptionInfo; filters: InvoiceQueryFilters; onlyMetadata?: boolean; }; type InvoiceExportStatusResponse = { completedDate?: string | null; package?: InvoicePackage | null; packageExpirationDate?: string | null; status: StatusInfo; }; type InvoiceMetadata = { acquisitionDate: string; authorizedSubject?: InvoiceMetadataAuthorizedSubject | null; buyer: InvoiceMetadataBuyer; currency: string; formCode: FormCode; grossAmount: number; hasAttachment: boolean; hashOfCorrectedInvoice?: Sha256HashBase64 | null; invoiceHash: Sha256HashBase64; invoiceNumber: string; invoiceType: InvoiceType; invoicingDate: string; invoicingMode: InvoicingMode; isSelfInvoicing: boolean; issueDate: string; ksefNumber: KsefNumber; netAmount: number; permanentStorageDate: string; seller: InvoiceMetadataSeller; thirdSubjects?: Array | null; vatAmount: number; }; type InvoiceMetadataAuthorizedSubject = { name?: string | null; nip: Nip; role: number; }; type InvoiceMetadataBuyer = { identifier: InvoiceMetadataBuyerIdentifier; name?: string | null; }; type InvoiceMetadataBuyerIdentifier = { type: BuyerIdentifierType; value?: string | null; }; type InvoiceMetadataSeller = { name?: string | null; nip: Nip; }; type InvoiceMetadataThirdSubject = { identifier: InvoiceMetadataThirdSubjectIdentifier; name?: string | null; role: number; }; type InvoiceMetadataThirdSubjectIdentifier = { type: ThirdSubjectIdentifierType; value?: string | null; }; type InvoicePackage = { compressionType: CompressionType; invoiceCount: number; isTruncated: boolean; lastInvoicingDate?: string | null; lastIssueDate?: string | null; lastPermanentStorageDate?: string | null; parts: Array; permanentStorageHwmDate?: string | null; size: number; }; type InvoicePackagePart = { encryptedPartHash: Sha256HashBase64; encryptedPartSize: number; expirationDate: string; method: string; ordinalNumber: number; partHash: Sha256HashBase64; partName: string; partSize: number; url: string; }; type InvoicePermissionType = "PefInvoicing" | "RRInvoicing" | "SelfInvoicing" | "TaxRepresentative"; type InvoiceQueryAmount = { from?: number | null; to?: number | null; type: AmountType; }; type InvoiceQueryBuyerIdentifier = { type: BuyerIdentifierType; value?: string | null; }; type InvoiceQueryDateRange = { dateType: InvoiceQueryDateType; from: string; restrictToPermanentStorageHwmDate?: boolean | null; to?: string | null; }; type InvoiceQueryDateType = "Invoicing" | "Issue" | "PermanentStorage"; type InvoiceQueryFilters = { amount?: InvoiceQueryAmount | null; buyerIdentifier?: InvoiceQueryBuyerIdentifier | null; currencyCodes?: Array | null; dateRange: InvoiceQueryDateRange; formType?: InvoiceQueryFormType | null; hasAttachment?: boolean | null; invoiceNumber?: string | null; invoiceTypes?: Array | null; invoicingMode?: InvoicingMode | null; isSelfInvoicing?: boolean | null; ksefNumber?: KsefNumber | null; sellerNip?: Nip | null; subjectType: InvoiceQuerySubjectType; }; type InvoiceQueryFormType = "FA_RR" | "FA" | "PEF"; type InvoiceQuerySubjectType = "Subject1" | "Subject2" | "Subject3" | "SubjectAuthorized"; type InvoiceStatusInfo = { code: number; description: string; details?: Array | null; extensions?: Record | null; }; type InvoiceType = "Kor" | "KorPef" | "KorRoz" | "KorVatRr" | "KorZal" | "Roz" | "Upr" | "Vat" | "VatPef" | "VatPefSp" | "VatRr" | "Zal"; type InvoicingMode = "Offline" | "Online"; type KsefCertificateType = "Authentication" | "Offline"; type KsefNumber = string; type Nip = string; type NipVatUe = string; type OnlineSessionContextLimitsOverride = { maxInvoices: number; maxInvoiceSizeInMB: number; maxInvoiceWithAttachmentSizeInMB: number; }; type OnlineSessionEffectiveContextLimits = { maxInvoices: number; maxInvoiceSizeInMB: number; maxInvoiceWithAttachmentSizeInMB: number; }; type OpenBatchSessionRequest = { batchFile: BatchFileInfo; encryption: EncryptionInfo; formCode: FormCode; offlineMode?: boolean; }; type OpenBatchSessionResponse = { partUploadRequests: Array; referenceNumber: ReferenceNumber; }; type OpenOnlineSessionRequest = { encryption: EncryptionInfo; formCode: FormCode; }; type OpenOnlineSessionResponse = { referenceNumber: ReferenceNumber; validUntil: string; }; type PartUploadRequest = { headers: Record; method: string; ordinalNumber: number; url: string; }; type PeppolId = string; type PeppolProvider = { dateCreated: string; id: PeppolId; name: string; }; type PermissionId = string; type PermissionsEuEntityDetails = { address: string; fullName: string; }; type PermissionsOperationResponse = { referenceNumber: ReferenceNumber; }; type PermissionsOperationStatusResponse = { status: StatusInfo; }; type PermissionsSubjectEntityByFingerprintDetails = { address?: string | null; fullName: string; subjectDetailsType: EntitySubjectByFingerprintDetailsType; }; type PermissionsSubjectEntityByIdentifierDetails = { fullName: string; subjectDetailsType: EntitySubjectByIdentifierDetailsType; }; type PermissionsSubjectEntityDetails = { address?: string | null; fullName: string; subjectDetailsType: EntitySubjectDetailsType; }; type PermissionsSubjectPersonByFingerprintDetails = { birthDate?: string | null; firstName: string; idDocument?: IdDocument | null; lastName: string; personIdentifier?: PersonIdentifier | null; subjectDetailsType: PersonSubjectByFingerprintDetailsType; }; type PermissionsSubjectPersonDetails = { birthDate?: string | null; firstName: string; idDocument?: IdDocument | null; lastName: string; personIdentifier?: PersonIdentifier | null; subjectDetailsType: PersonSubjectDetailsType; }; type PermissionState = "Active" | "Inactive"; type PersonalPermission = { authorizedIdentifier?: PersonalPermissionsAuthorizedIdentifier | null; canDelegate: boolean; contextIdentifier?: PersonalPermissionsContextIdentifier | null; description: string; id: PermissionId; permissionScope: PersonalPermissionScope; permissionState: PermissionState; startDate: string; subjectEntityDetails?: PermissionsSubjectEntityDetails | null; subjectPersonDetails?: PermissionsSubjectPersonDetails | null; targetIdentifier?: PersonalPermissionsTargetIdentifier | null; }; type PersonalPermissionsAuthorizedIdentifier = { type: PersonalPermissionsAuthorizedIdentifierType; value: string; }; type PersonalPermissionsAuthorizedIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type PersonalPermissionsContextIdentifier = { type: PersonalPermissionsContextIdentifierType; value: string; }; type PersonalPermissionsContextIdentifierType = "InternalId" | "Nip"; type PersonalPermissionScope = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage" | "VatUeManage"; type PersonalPermissionsQueryRequest = { contextIdentifier?: PersonalPermissionsContextIdentifier | null; permissionState?: PermissionState | null; permissionTypes?: Array | null; targetIdentifier?: PersonalPermissionsTargetIdentifier | null; }; type PersonalPermissionsTargetIdentifier = { type: PersonalPermissionsTargetIdentifierType; value?: string | null; }; type PersonalPermissionsTargetIdentifierType = "AllPartners" | "InternalId" | "Nip"; type PersonalPermissionType = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage" | "VatUeManage"; type PersonByFingerprintWithIdentifierDetails = { firstName: string; identifier: PersonIdentifier; lastName: string; }; type PersonByFingerprintWithoutIdentifierDetails = { birthDate: string; firstName: string; idDocument: IdDocument; lastName: string; }; type PersonCreateRequest = { createdDate?: string | null; description: string; isBailiff: boolean; isDeceased?: boolean; nip: Nip; pesel: Pesel; }; type PersonDetails = { firstName: string; lastName: string; }; type PersonIdentifier = { type: PersonIdentifierType; value: string; }; type PersonIdentifierType = "Nip" | "Pesel"; type PersonPermission = { authorIdentifier: PersonPermissionsAuthorIdentifier; authorizedIdentifier: PersonPermissionsAuthorizedIdentifier; canDelegate: boolean; contextIdentifier?: PersonPermissionsContextIdentifier | null; description: string; id: PermissionId; permissionScope: PersonPermissionScope; permissionState: PermissionState; startDate: string; subjectEntityDetails?: PermissionsSubjectEntityDetails | null; subjectPersonDetails?: PermissionsSubjectPersonDetails | null; targetIdentifier?: PersonPermissionsTargetIdentifier | null; }; type PersonPermissionsAuthorIdentifier = { type: PersonPermissionsAuthorIdentifierType; value?: string | null; }; type PersonPermissionsAuthorIdentifierType = "Fingerprint" | "Nip" | "Pesel" | "System"; type PersonPermissionsAuthorizedIdentifier = { type: PersonPermissionsAuthorizedIdentifierType; value: string; }; type PersonPermissionsAuthorizedIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type PersonPermissionsContextIdentifier = { type: PersonPermissionsContextIdentifierType; value: string; }; type PersonPermissionsContextIdentifierType = "InternalId" | "Nip"; type PersonPermissionScope = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage"; type PersonPermissionsGrantRequest = { description: string; permissions: Array; subjectDetails: PersonPermissionSubjectDetails; subjectIdentifier: PersonPermissionsSubjectIdentifier; }; type PersonPermissionsQueryRequest = { authorIdentifier?: PersonPermissionsAuthorIdentifier | null; authorizedIdentifier?: PersonPermissionsAuthorizedIdentifier | null; contextIdentifier?: PersonPermissionsContextIdentifier | null; permissionState?: PermissionState | null; permissionTypes?: Array | null; queryType: PersonPermissionsQueryType; targetIdentifier?: PersonPermissionsTargetIdentifier | null; }; type PersonPermissionsQueryType = "PermissionsGrantedInCurrentContext" | "PermissionsInCurrentContext"; type PersonPermissionsSubjectIdentifier = { type: PersonPermissionsSubjectIdentifierType; value: string; }; type PersonPermissionsSubjectIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type PersonPermissionsTargetIdentifier = { type: PersonPermissionsTargetIdentifierType; value?: string | null; }; type PersonPermissionsTargetIdentifierType = "AllPartners" | "InternalId" | "Nip"; type PersonPermissionSubjectDetails = { personByFpNoId?: PersonByFingerprintWithoutIdentifierDetails | null; personByFpWithId?: PersonByFingerprintWithIdentifierDetails | null; personById?: PersonDetails | null; subjectDetailsType: PersonPermissionSubjectDetailsType; }; type PersonPermissionSubjectDetailsType = "PersonByFingerprintWithIdentifier" | "PersonByFingerprintWithoutIdentifier" | "PersonByIdentifier"; type PersonPermissionType = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage"; type PersonRemoveRequest = { nip: Nip; }; type PersonSubjectByFingerprintDetailsType = "PersonByFingerprintWithIdentifier" | "PersonByFingerprintWithoutIdentifier"; type PersonSubjectDetailsType = "PersonByFingerprintWithIdentifier" | "PersonByFingerprintWithoutIdentifier" | "PersonByIdentifier"; type Pesel = string; type PublicKeyCertificate = { certificate: string; certificateId: string; publicKeyId: string; usage: Array; validFrom: string; validTo: string; }; type PublicKeyCertificateUsage = "KsefTokenEncryption" | "SymmetricKeyEncryption"; type QueryCertificatesRequest = { certificateSerialNumber?: string | null; expiresAfter?: string | null; name?: string | null; status?: CertificateListItemStatus | null; type?: KsefCertificateType | null; }; type QueryCertificatesResponse = { certificates: Array; hasMore: boolean; }; type QueryEntityAuthorizationPermissionsResponse = { authorizationGrants: Array; hasMore: boolean; }; type QueryEntityPermissionsResponse = { hasMore: boolean; permissions: Array; }; type QueryEntityRolesResponse = { hasMore: boolean; roles: Array; }; type QueryEuEntityPermissionsResponse = { hasMore: boolean; permissions: Array; }; type QueryInvoicesMetadataResponse = { hasMore: boolean; invoices: Array; isTruncated: boolean; permanentStorageHwmDate?: string | null; }; type QueryPeppolProvidersResponse = { hasMore: boolean; peppolProviders: Array; }; type QueryPersonalPermissionsResponse = { hasMore: boolean; permissions: Array; }; type QueryPersonPermissionsResponse = { hasMore: boolean; permissions: Array; }; type QuerySubordinateEntityRolesResponse = { hasMore: boolean; roles: Array; }; type QuerySubunitPermissionsResponse = { hasMore: boolean; permissions: Array; }; type QueryTokensResponse = { continuationToken?: string | null; tokens: Array; }; type QueryTokensResponseItem = { authorIdentifier: TokenAuthorIdentifierTypeIdentifier; contextIdentifier: TokenContextIdentifierTypeIdentifier; dateCreated: string; description: string; lastUseDate?: string | null; referenceNumber: ReferenceNumber; requestedPermissions: Array; status: AuthenticationTokenStatus; statusDetails?: Array | null; }; type QueryType = "Granted" | "Received"; type ReferenceNumber = string; type RetrieveCertificatesListItem = { certificate: string; certificateName: string; certificateSerialNumber: string; certificateType: KsefCertificateType; }; type RetrieveCertificatesRequest = { certificateSerialNumbers: Array; }; type RetrieveCertificatesResponse = { certificates: Array; }; type RetryAfter = number; type RevokeCertificateRequest = { revocationReason?: CertificateRevocationReason | null; }; type SendInvoiceRequest = { encryptedInvoiceContent: string; encryptedInvoiceHash: Sha256HashBase64; encryptedInvoiceSize: number; hashOfCorrectedInvoice?: Sha256HashBase64 | null; invoiceHash: Sha256HashBase64; invoiceSize: number; offlineMode?: boolean; }; type SendInvoiceResponse = { referenceNumber: ReferenceNumber; }; type SessionInvoicesResponse = { continuationToken?: string | null; invoices: Array; }; type SessionInvoiceStatusResponse = { acquisitionDate?: string | null; invoiceFileName?: string | null; invoiceHash: Sha256HashBase64; invoiceNumber?: string | null; invoicingDate: string; invoicingMode?: InvoicingMode | null; ksefNumber?: KsefNumber | null; ordinalNumber: number; permanentStorageDate?: string | null; referenceNumber: ReferenceNumber; status: InvoiceStatusInfo; upoDownloadUrl?: string | null; upoDownloadUrlExpirationDate?: string | null; }; type SessionsQueryResponse = { continuationToken?: string | null; sessions: Array; }; type SessionsQueryResponseItem = { dateCreated: string; dateUpdated: string; failedInvoiceCount: number; referenceNumber: ReferenceNumber; status: StatusInfo; successfulInvoiceCount: number; totalInvoiceCount: number; validUntil?: string | null; }; type SessionStatusResponse = { dateCreated: string; dateUpdated: string; failedInvoiceCount?: number | null; invoiceCount?: number | null; status: StatusInfo; successfulInvoiceCount?: number | null; upo?: UpoResponse | null; validUntil?: string | null; }; type SessionType = "Batch" | "Online"; type SetRateLimitsRequest = { rateLimits: ApiRateLimitsOverride; }; type SetSessionLimitsRequest = { batchSession: BatchSessionContextLimitsOverride; collectiveIdentifier: CollectiveIdentifierContextLimitsOverride; onlineSession: OnlineSessionContextLimitsOverride; }; type SetSubjectLimitsRequest = { certificate?: CertificateSubjectLimitsOverride | null; enrollment?: EnrollmentSubjectLimitsOverride | null; subjectIdentifierType?: SubjectIdentifierType; }; type Sha256HashBase64 = string; type SortOrder = "Asc" | "Desc"; type StatusInfo = { code: number; description: string; details?: Array | null; }; type SubjectCreateRequest = { createdDate?: string | null; description: string; subjectNip: Nip; subjectType: SubjectType; subunits?: Array | null; }; type SubjectIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type SubjectRemoveRequest = { subjectNip: Nip; }; type SubjectType = "EnforcementAuthority" | "JST" | "VatGroup"; type SubordinateEntityRole = { description: string; role: SubordinateEntityRoleType; startDate: string; subordinateEntityIdentifier: SubordinateRoleSubordinateEntityIdentifier; }; type SubordinateEntityRolesQueryRequest = { subordinateEntityIdentifier?: EntityPermissionsSubordinateEntityIdentifier | null; }; type SubordinateEntityRoleType = "LocalGovernmentSubUnit" | "VatGroupSubUnit"; type SubordinateRoleSubordinateEntityIdentifier = { type: SubordinateRoleSubordinateEntityIdentifierType; value: string; }; type SubordinateRoleSubordinateEntityIdentifierType = "Nip"; type Subunit = { description: string; subjectNip: Nip; }; type SubunitPermission = { authorIdentifier: SubunitPermissionsAuthorIdentifier; authorizedIdentifier: SubunitPermissionsAuthorizedIdentifier; description: string; id: PermissionId; permissionScope: SubunitPermissionScope; startDate: string; subjectPersonDetails?: PermissionsSubjectPersonDetails | null; subunitIdentifier: SubunitPermissionsSubunitIdentifier; subunitName?: string | null; }; type SubunitPermissionsAuthorIdentifier = { type: SubunitPermissionsAuthorIdentifierType; value: string; }; type SubunitPermissionsAuthorIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type SubunitPermissionsAuthorizedIdentifier = { type: SubunitPermissionsSubjectIdentifierType; value: string; }; type SubunitPermissionsContextIdentifier = { type: SubunitPermissionsContextIdentifierType; value: string; }; type SubunitPermissionsContextIdentifierType = "InternalId" | "Nip"; type SubunitPermissionScope = "CredentialsManage"; type SubunitPermissionsGrantRequest = { contextIdentifier: SubunitPermissionsContextIdentifier; description: string; subjectDetails: PersonPermissionSubjectDetails; subjectIdentifier: SubunitPermissionsSubjectIdentifier; subunitName?: string | null; }; type SubunitPermissionsQueryRequest = { subunitIdentifier?: SubunitPermissionsSubunitIdentifier | null; }; type SubunitPermissionsSubjectIdentifier = { type: SubunitPermissionsSubjectIdentifierType; value: string; }; type SubunitPermissionsSubjectIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type SubunitPermissionsSubunitIdentifier = { type: SubunitPermissionsSubunitIdentifierType; value: string; }; type SubunitPermissionsSubunitIdentifierType = "InternalId" | "Nip"; type SystemWarning = string; type TestDataAuthenticationContextIdentifier = { type: TestDataAuthenticationContextIdentifierType; value: string; }; type TestDataAuthenticationContextIdentifierType = "InternalId" | "Nip" | "NipVatUe" | "PeppolId"; type TestDataAuthorizedIdentifier = { type: TestDataAuthorizedIdentifierType; value: string; }; type TestDataAuthorizedIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type TestDataContextIdentifier = { type: TestDataContextIdentifierType; value: string; }; type TestDataContextIdentifierType = "Nip"; type TestDataPermission = { description: string; permissionType: TestDataPermissionType; }; type TestDataPermissionsGrantRequest = { authorizedIdentifier: TestDataAuthorizedIdentifier; contextIdentifier: TestDataContextIdentifier; permissions: Array; }; type TestDataPermissionsRevokeRequest = { authorizedIdentifier: TestDataAuthorizedIdentifier; contextIdentifier: TestDataContextIdentifier; }; type TestDataPermissionType = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage"; type TestDataUpdateCertificateRequest = { validTo: string; }; type ThirdSubjectIdentifierType = "InternalId" | "Nip" | "None" | "Other" | "VatUe"; type TokenAuthorIdentifierType = "Fingerprint" | "Nip" | "Pesel"; type TokenAuthorIdentifierTypeIdentifier = { type: TokenAuthorIdentifierType; value: string; }; type TokenContextIdentifierType = "InternalId" | "Nip" | "NipVatUe" | "PeppolId"; type TokenContextIdentifierTypeIdentifier = { type: TokenContextIdentifierType; value: string; }; type TokenInfo = { token: string; validUntil: string; }; type TokenPermissionType = "CollectiveIdentifierManage" | "CredentialsManage" | "CredentialsRead" | "EnforcementOperations" | "Introspection" | "InvoiceRead" | "InvoiceWrite" | "SubunitManage"; type TokenStatusResponse = { authorIdentifier: TokenAuthorIdentifierTypeIdentifier; contextIdentifier: TokenContextIdentifierTypeIdentifier; dateCreated: string; description: string; lastUseDate?: string | null; referenceNumber: ReferenceNumber; requestedPermissions: Array; status: AuthenticationTokenStatus; statusDetails?: Array | null; }; type TooManyRequestsProblemDetails = { detail: string; instance: string; status: number; timestamp: string; title: string; traceId: string; }; type TooManyRequestsResponse = { status: { code: number; description: string; details: Array; }; }; type UnauthorizedProblemDetails = { detail: string; instance?: string | null; status: number; timestamp: string; title: string; traceId?: string | null; }; type UnblockContextAuthenticationRequest = { contextIdentifier?: TestDataAuthenticationContextIdentifier | null; }; type UpoPageResponse = { downloadUrl: string; downloadUrlExpirationDate: string; referenceNumber: ReferenceNumber; }; type UpoResponse = { pages: Array; }; interface OpenApiGeneratedSchemaMap { AllowedIps: AllowedIps; AmountType: AmountType; ApiError: ApiError; ApiRateLimitsOverride: ApiRateLimitsOverride; ApiRateLimitValuesOverride: ApiRateLimitValuesOverride; AttachmentPermissionGrantRequest: AttachmentPermissionGrantRequest; AttachmentPermissionRevokeRequest: AttachmentPermissionRevokeRequest; AuthenticationChallengeResponse: AuthenticationChallengeResponse; AuthenticationContextIdentifier: AuthenticationContextIdentifier; AuthenticationContextIdentifierType: AuthenticationContextIdentifierType; AuthenticationInitResponse: AuthenticationInitResponse; AuthenticationListItem: AuthenticationListItem; AuthenticationListResponse: AuthenticationListResponse; AuthenticationMethod: AuthenticationMethod; AuthenticationMethodCategory: AuthenticationMethodCategory; AuthenticationMethodInfo: AuthenticationMethodInfo; AuthenticationOperationStatusResponse: AuthenticationOperationStatusResponse; AuthenticationTokenRefreshResponse: AuthenticationTokenRefreshResponse; AuthenticationTokensResponse: AuthenticationTokensResponse; AuthenticationTokenStatus: AuthenticationTokenStatus; AuthorizationPolicy: AuthorizationPolicy; BadRequestProblemDetails: BadRequestProblemDetails; BatchFileInfo: BatchFileInfo; BatchFilePartInfo: BatchFilePartInfo; BatchSessionContextLimitsOverride: BatchSessionContextLimitsOverride; BatchSessionEffectiveContextLimits: BatchSessionEffectiveContextLimits; BlockContextAuthenticationRequest: BlockContextAuthenticationRequest; BuyerIdentifierType: BuyerIdentifierType; CertificateEffectiveSubjectLimits: CertificateEffectiveSubjectLimits; CertificateEnrollmentDataResponse: CertificateEnrollmentDataResponse; CertificateEnrollmentStatusResponse: CertificateEnrollmentStatusResponse; CertificateLimit: CertificateLimit; CertificateLimitsResponse: CertificateLimitsResponse; CertificateListItem: CertificateListItem; CertificateListItemStatus: CertificateListItemStatus; CertificateRevocationReason: CertificateRevocationReason; CertificateSubjectIdentifier: CertificateSubjectIdentifier; CertificateSubjectIdentifierType: CertificateSubjectIdentifierType; CertificateSubjectLimitsOverride: CertificateSubjectLimitsOverride; Challenge: Challenge; CheckAttachmentPermissionStatusResponse: CheckAttachmentPermissionStatusResponse; CollectiveIdentifierContextLimitsOverride: CollectiveIdentifierContextLimitsOverride; CollectiveIdentifierEffectiveContextLimits: CollectiveIdentifierEffectiveContextLimits; CollectiveIdentifierInvoice: CollectiveIdentifierInvoice; CollectiveIdentifierInvoicePayment: CollectiveIdentifierInvoicePayment; CollectiveIdentifierInvoicesQueryRequest: CollectiveIdentifierInvoicesQueryRequest; CollectiveIdentifierInvoicesQueryResponse: CollectiveIdentifierInvoicesQueryResponse; CollectiveIdentifierInvoicesQueryResponseItem: CollectiveIdentifierInvoicesQueryResponseItem; CollectiveIdentifierInvoicesQueryResponseItemPayment: CollectiveIdentifierInvoicesQueryResponseItemPayment; CollectiveIdentifiersByKsefNumberQueryResponse: CollectiveIdentifiersByKsefNumberQueryResponse; CollectiveIdentifiersByKsefNumberQueryResponseItem: CollectiveIdentifiersByKsefNumberQueryResponseItem; CollectiveIdentifiersQueryRequest: CollectiveIdentifiersQueryRequest; CollectiveIdentifiersQueryResponse: CollectiveIdentifiersQueryResponse; CollectiveIdentifiersQueryResponseItem: CollectiveIdentifiersQueryResponseItem; CommonSessionStatus: CommonSessionStatus; CompressionType: CompressionType; CurrencyCode: CurrencyCode; EffectiveApiRateLimits: EffectiveApiRateLimits; EffectiveApiRateLimitValues: EffectiveApiRateLimitValues; EffectiveContextLimits: EffectiveContextLimits; EffectiveSubjectLimits: EffectiveSubjectLimits; EncryptionInfo: EncryptionInfo; EnrollCertificateRequest: EnrollCertificateRequest; EnrollCertificateResponse: EnrollCertificateResponse; EnrollmentEffectiveSubjectLimits: EnrollmentEffectiveSubjectLimits; EnrollmentSubjectLimitsOverride: EnrollmentSubjectLimitsOverride; EntityAuthorizationGrant: EntityAuthorizationGrant; EntityAuthorizationPermissionsGrantRequest: EntityAuthorizationPermissionsGrantRequest; EntityAuthorizationPermissionsQueryRequest: EntityAuthorizationPermissionsQueryRequest; EntityAuthorizationPermissionsSubjectIdentifier: EntityAuthorizationPermissionsSubjectIdentifier; EntityAuthorizationPermissionsSubjectIdentifierType: EntityAuthorizationPermissionsSubjectIdentifierType; EntityAuthorizationPermissionType: EntityAuthorizationPermissionType; EntityAuthorizationsAuthorIdentifier: EntityAuthorizationsAuthorIdentifier; EntityAuthorizationsAuthorIdentifierType: EntityAuthorizationsAuthorIdentifierType; EntityAuthorizationsAuthorizedEntityIdentifier: EntityAuthorizationsAuthorizedEntityIdentifier; EntityAuthorizationsAuthorizedEntityIdentifierType: EntityAuthorizationsAuthorizedEntityIdentifierType; EntityAuthorizationsAuthorizingEntityIdentifier: EntityAuthorizationsAuthorizingEntityIdentifier; EntityAuthorizationsAuthorizingEntityIdentifierType: EntityAuthorizationsAuthorizingEntityIdentifierType; EntityByFingerprintDetails: EntityByFingerprintDetails; EntityDetails: EntityDetails; EntityPermission: EntityPermission; EntityPermissionItem: EntityPermissionItem; EntityPermissionItemScope: EntityPermissionItemScope; EntityPermissionsContextIdentifier: EntityPermissionsContextIdentifier; EntityPermissionsContextIdentifierType: EntityPermissionsContextIdentifierType; EntityPermissionsGrantRequest: EntityPermissionsGrantRequest; EntityPermissionsQueryRequest: EntityPermissionsQueryRequest; EntityPermissionsSubjectIdentifier: EntityPermissionsSubjectIdentifier; EntityPermissionsSubjectIdentifierType: EntityPermissionsSubjectIdentifierType; EntityPermissionsSubordinateEntityIdentifier: EntityPermissionsSubordinateEntityIdentifier; EntityPermissionsSubordinateEntityIdentifierType: EntityPermissionsSubordinateEntityIdentifierType; EntityPermissionType: EntityPermissionType; EntityRole: EntityRole; EntityRolesParentEntityIdentifier: EntityRolesParentEntityIdentifier; EntityRolesParentEntityIdentifierType: EntityRolesParentEntityIdentifierType; EntityRoleType: EntityRoleType; EntitySubjectByFingerprintDetailsType: EntitySubjectByFingerprintDetailsType; EntitySubjectByIdentifierDetailsType: EntitySubjectByIdentifierDetailsType; EntitySubjectDetailsType: EntitySubjectDetailsType; EuEntityAdministrationPermissionsContextIdentifier: EuEntityAdministrationPermissionsContextIdentifier; EuEntityAdministrationPermissionsContextIdentifierType: EuEntityAdministrationPermissionsContextIdentifierType; EuEntityAdministrationPermissionsGrantRequest: EuEntityAdministrationPermissionsGrantRequest; EuEntityAdministrationPermissionsSubjectIdentifier: EuEntityAdministrationPermissionsSubjectIdentifier; EuEntityAdministrationPermissionsSubjectIdentifierType: EuEntityAdministrationPermissionsSubjectIdentifierType; EuEntityDetails: EuEntityDetails; EuEntityPermission: EuEntityPermission; EuEntityPermissionsAuthorIdentifier: EuEntityPermissionsAuthorIdentifier; EuEntityPermissionsAuthorIdentifierType: EuEntityPermissionsAuthorIdentifierType; EuEntityPermissionsGrantRequest: EuEntityPermissionsGrantRequest; EuEntityPermissionsQueryPermissionType: EuEntityPermissionsQueryPermissionType; EuEntityPermissionsQueryRequest: EuEntityPermissionsQueryRequest; EuEntityPermissionsSubjectIdentifier: EuEntityPermissionsSubjectIdentifier; EuEntityPermissionsSubjectIdentifierType: EuEntityPermissionsSubjectIdentifierType; EuEntityPermissionSubjectDetails: EuEntityPermissionSubjectDetails; EuEntityPermissionSubjectDetailsType: EuEntityPermissionSubjectDetailsType; EuEntityPermissionType: EuEntityPermissionType; ExceptionDetails: ExceptionDetails; ExceptionInfo: ExceptionInfo; ExceptionResponse: ExceptionResponse; ExportInvoicesResponse: ExportInvoicesResponse; ForbiddenProblemDetails: ForbiddenProblemDetails; FormCode: FormCode; GenerateCollectiveIdentifierRequest: GenerateCollectiveIdentifierRequest; GenerateCollectiveIdentifierResponse: GenerateCollectiveIdentifierResponse; GenerateTokenRequest: GenerateTokenRequest; GenerateTokenResponse: GenerateTokenResponse; GoneProblemDetails: GoneProblemDetails; IdDocument: IdDocument; IndirectPermissionsGrantRequest: IndirectPermissionsGrantRequest; IndirectPermissionsSubjectIdentifier: IndirectPermissionsSubjectIdentifier; IndirectPermissionsSubjectIdentifierType: IndirectPermissionsSubjectIdentifierType; IndirectPermissionsTargetIdentifier: IndirectPermissionsTargetIdentifier; IndirectPermissionsTargetIdentifierType: IndirectPermissionsTargetIdentifierType; IndirectPermissionType: IndirectPermissionType; InitTokenAuthenticationRequest: InitTokenAuthenticationRequest; InternalId: InternalId; InvoiceExportRequest: InvoiceExportRequest; InvoiceExportStatusResponse: InvoiceExportStatusResponse; InvoiceMetadata: InvoiceMetadata; InvoiceMetadataAuthorizedSubject: InvoiceMetadataAuthorizedSubject; InvoiceMetadataBuyer: InvoiceMetadataBuyer; InvoiceMetadataBuyerIdentifier: InvoiceMetadataBuyerIdentifier; InvoiceMetadataSeller: InvoiceMetadataSeller; InvoiceMetadataThirdSubject: InvoiceMetadataThirdSubject; InvoiceMetadataThirdSubjectIdentifier: InvoiceMetadataThirdSubjectIdentifier; InvoicePackage: InvoicePackage; InvoicePackagePart: InvoicePackagePart; InvoicePermissionType: InvoicePermissionType; InvoiceQueryAmount: InvoiceQueryAmount; InvoiceQueryBuyerIdentifier: InvoiceQueryBuyerIdentifier; InvoiceQueryDateRange: InvoiceQueryDateRange; InvoiceQueryDateType: InvoiceQueryDateType; InvoiceQueryFilters: InvoiceQueryFilters; InvoiceQueryFormType: InvoiceQueryFormType; InvoiceQuerySubjectType: InvoiceQuerySubjectType; InvoiceStatusInfo: InvoiceStatusInfo; InvoiceType: InvoiceType; InvoicingMode: InvoicingMode; KsefCertificateType: KsefCertificateType; KsefNumber: KsefNumber; Nip: Nip; NipVatUe: NipVatUe; OnlineSessionContextLimitsOverride: OnlineSessionContextLimitsOverride; OnlineSessionEffectiveContextLimits: OnlineSessionEffectiveContextLimits; OpenBatchSessionRequest: OpenBatchSessionRequest; OpenBatchSessionResponse: OpenBatchSessionResponse; OpenOnlineSessionRequest: OpenOnlineSessionRequest; OpenOnlineSessionResponse: OpenOnlineSessionResponse; PartUploadRequest: PartUploadRequest; PeppolId: PeppolId; PeppolProvider: PeppolProvider; PermissionId: PermissionId; PermissionsEuEntityDetails: PermissionsEuEntityDetails; PermissionsOperationResponse: PermissionsOperationResponse; PermissionsOperationStatusResponse: PermissionsOperationStatusResponse; PermissionsSubjectEntityByFingerprintDetails: PermissionsSubjectEntityByFingerprintDetails; PermissionsSubjectEntityByIdentifierDetails: PermissionsSubjectEntityByIdentifierDetails; PermissionsSubjectEntityDetails: PermissionsSubjectEntityDetails; PermissionsSubjectPersonByFingerprintDetails: PermissionsSubjectPersonByFingerprintDetails; PermissionsSubjectPersonDetails: PermissionsSubjectPersonDetails; PermissionState: PermissionState; PersonalPermission: PersonalPermission; PersonalPermissionsAuthorizedIdentifier: PersonalPermissionsAuthorizedIdentifier; PersonalPermissionsAuthorizedIdentifierType: PersonalPermissionsAuthorizedIdentifierType; PersonalPermissionsContextIdentifier: PersonalPermissionsContextIdentifier; PersonalPermissionsContextIdentifierType: PersonalPermissionsContextIdentifierType; PersonalPermissionScope: PersonalPermissionScope; PersonalPermissionsQueryRequest: PersonalPermissionsQueryRequest; PersonalPermissionsTargetIdentifier: PersonalPermissionsTargetIdentifier; PersonalPermissionsTargetIdentifierType: PersonalPermissionsTargetIdentifierType; PersonalPermissionType: PersonalPermissionType; PersonByFingerprintWithIdentifierDetails: PersonByFingerprintWithIdentifierDetails; PersonByFingerprintWithoutIdentifierDetails: PersonByFingerprintWithoutIdentifierDetails; PersonCreateRequest: PersonCreateRequest; PersonDetails: PersonDetails; PersonIdentifier: PersonIdentifier; PersonIdentifierType: PersonIdentifierType; PersonPermission: PersonPermission; PersonPermissionsAuthorIdentifier: PersonPermissionsAuthorIdentifier; PersonPermissionsAuthorIdentifierType: PersonPermissionsAuthorIdentifierType; PersonPermissionsAuthorizedIdentifier: PersonPermissionsAuthorizedIdentifier; PersonPermissionsAuthorizedIdentifierType: PersonPermissionsAuthorizedIdentifierType; PersonPermissionsContextIdentifier: PersonPermissionsContextIdentifier; PersonPermissionsContextIdentifierType: PersonPermissionsContextIdentifierType; PersonPermissionScope: PersonPermissionScope; PersonPermissionsGrantRequest: PersonPermissionsGrantRequest; PersonPermissionsQueryRequest: PersonPermissionsQueryRequest; PersonPermissionsQueryType: PersonPermissionsQueryType; PersonPermissionsSubjectIdentifier: PersonPermissionsSubjectIdentifier; PersonPermissionsSubjectIdentifierType: PersonPermissionsSubjectIdentifierType; PersonPermissionsTargetIdentifier: PersonPermissionsTargetIdentifier; PersonPermissionsTargetIdentifierType: PersonPermissionsTargetIdentifierType; PersonPermissionSubjectDetails: PersonPermissionSubjectDetails; PersonPermissionSubjectDetailsType: PersonPermissionSubjectDetailsType; PersonPermissionType: PersonPermissionType; PersonRemoveRequest: PersonRemoveRequest; PersonSubjectByFingerprintDetailsType: PersonSubjectByFingerprintDetailsType; PersonSubjectDetailsType: PersonSubjectDetailsType; Pesel: Pesel; PublicKeyCertificate: PublicKeyCertificate; PublicKeyCertificateUsage: PublicKeyCertificateUsage; QueryCertificatesRequest: QueryCertificatesRequest; QueryCertificatesResponse: QueryCertificatesResponse; QueryEntityAuthorizationPermissionsResponse: QueryEntityAuthorizationPermissionsResponse; QueryEntityPermissionsResponse: QueryEntityPermissionsResponse; QueryEntityRolesResponse: QueryEntityRolesResponse; QueryEuEntityPermissionsResponse: QueryEuEntityPermissionsResponse; QueryInvoicesMetadataResponse: QueryInvoicesMetadataResponse; QueryPeppolProvidersResponse: QueryPeppolProvidersResponse; QueryPersonalPermissionsResponse: QueryPersonalPermissionsResponse; QueryPersonPermissionsResponse: QueryPersonPermissionsResponse; QuerySubordinateEntityRolesResponse: QuerySubordinateEntityRolesResponse; QuerySubunitPermissionsResponse: QuerySubunitPermissionsResponse; QueryTokensResponse: QueryTokensResponse; QueryTokensResponseItem: QueryTokensResponseItem; QueryType: QueryType; ReferenceNumber: ReferenceNumber; RetrieveCertificatesListItem: RetrieveCertificatesListItem; RetrieveCertificatesRequest: RetrieveCertificatesRequest; RetrieveCertificatesResponse: RetrieveCertificatesResponse; RetryAfter: RetryAfter; RevokeCertificateRequest: RevokeCertificateRequest; SendInvoiceRequest: SendInvoiceRequest; SendInvoiceResponse: SendInvoiceResponse; SessionInvoicesResponse: SessionInvoicesResponse; SessionInvoiceStatusResponse: SessionInvoiceStatusResponse; SessionsQueryResponse: SessionsQueryResponse; SessionsQueryResponseItem: SessionsQueryResponseItem; SessionStatusResponse: SessionStatusResponse; SessionType: SessionType; SetRateLimitsRequest: SetRateLimitsRequest; SetSessionLimitsRequest: SetSessionLimitsRequest; SetSubjectLimitsRequest: SetSubjectLimitsRequest; Sha256HashBase64: Sha256HashBase64; SortOrder: SortOrder; StatusInfo: StatusInfo; SubjectCreateRequest: SubjectCreateRequest; SubjectIdentifierType: SubjectIdentifierType; SubjectRemoveRequest: SubjectRemoveRequest; SubjectType: SubjectType; SubordinateEntityRole: SubordinateEntityRole; SubordinateEntityRolesQueryRequest: SubordinateEntityRolesQueryRequest; SubordinateEntityRoleType: SubordinateEntityRoleType; SubordinateRoleSubordinateEntityIdentifier: SubordinateRoleSubordinateEntityIdentifier; SubordinateRoleSubordinateEntityIdentifierType: SubordinateRoleSubordinateEntityIdentifierType; Subunit: Subunit; SubunitPermission: SubunitPermission; SubunitPermissionsAuthorIdentifier: SubunitPermissionsAuthorIdentifier; SubunitPermissionsAuthorIdentifierType: SubunitPermissionsAuthorIdentifierType; SubunitPermissionsAuthorizedIdentifier: SubunitPermissionsAuthorizedIdentifier; SubunitPermissionsContextIdentifier: SubunitPermissionsContextIdentifier; SubunitPermissionsContextIdentifierType: SubunitPermissionsContextIdentifierType; SubunitPermissionScope: SubunitPermissionScope; SubunitPermissionsGrantRequest: SubunitPermissionsGrantRequest; SubunitPermissionsQueryRequest: SubunitPermissionsQueryRequest; SubunitPermissionsSubjectIdentifier: SubunitPermissionsSubjectIdentifier; SubunitPermissionsSubjectIdentifierType: SubunitPermissionsSubjectIdentifierType; SubunitPermissionsSubunitIdentifier: SubunitPermissionsSubunitIdentifier; SubunitPermissionsSubunitIdentifierType: SubunitPermissionsSubunitIdentifierType; SystemWarning: SystemWarning; TestDataAuthenticationContextIdentifier: TestDataAuthenticationContextIdentifier; TestDataAuthenticationContextIdentifierType: TestDataAuthenticationContextIdentifierType; TestDataAuthorizedIdentifier: TestDataAuthorizedIdentifier; TestDataAuthorizedIdentifierType: TestDataAuthorizedIdentifierType; TestDataContextIdentifier: TestDataContextIdentifier; TestDataContextIdentifierType: TestDataContextIdentifierType; TestDataPermission: TestDataPermission; TestDataPermissionsGrantRequest: TestDataPermissionsGrantRequest; TestDataPermissionsRevokeRequest: TestDataPermissionsRevokeRequest; TestDataPermissionType: TestDataPermissionType; TestDataUpdateCertificateRequest: TestDataUpdateCertificateRequest; ThirdSubjectIdentifierType: ThirdSubjectIdentifierType; TokenAuthorIdentifierType: TokenAuthorIdentifierType; TokenAuthorIdentifierTypeIdentifier: TokenAuthorIdentifierTypeIdentifier; TokenContextIdentifierType: TokenContextIdentifierType; TokenContextIdentifierTypeIdentifier: TokenContextIdentifierTypeIdentifier; TokenInfo: TokenInfo; TokenPermissionType: TokenPermissionType; TokenStatusResponse: TokenStatusResponse; TooManyRequestsProblemDetails: TooManyRequestsProblemDetails; TooManyRequestsResponse: TooManyRequestsResponse; UnauthorizedProblemDetails: UnauthorizedProblemDetails; UnblockContextAuthenticationRequest: UnblockContextAuthenticationRequest; UpoPageResponse: UpoPageResponse; UpoResponse: UpoResponse; } type OpenApiGeneratedSchemaName = keyof OpenApiGeneratedSchemaMap; type openapi_generated_AllowedIps = AllowedIps; type openapi_generated_AmountType = AmountType; type openapi_generated_ApiError = ApiError; type openapi_generated_ApiRateLimitValuesOverride = ApiRateLimitValuesOverride; type openapi_generated_ApiRateLimitsOverride = ApiRateLimitsOverride; type openapi_generated_AttachmentPermissionGrantRequest = AttachmentPermissionGrantRequest; type openapi_generated_AttachmentPermissionRevokeRequest = AttachmentPermissionRevokeRequest; type openapi_generated_AuthenticationChallengeResponse = AuthenticationChallengeResponse; type openapi_generated_AuthenticationContextIdentifier = AuthenticationContextIdentifier; type openapi_generated_AuthenticationContextIdentifierType = AuthenticationContextIdentifierType; type openapi_generated_AuthenticationInitResponse = AuthenticationInitResponse; type openapi_generated_AuthenticationListItem = AuthenticationListItem; type openapi_generated_AuthenticationListResponse = AuthenticationListResponse; type openapi_generated_AuthenticationMethod = AuthenticationMethod; type openapi_generated_AuthenticationMethodCategory = AuthenticationMethodCategory; type openapi_generated_AuthenticationMethodInfo = AuthenticationMethodInfo; type openapi_generated_AuthenticationOperationStatusResponse = AuthenticationOperationStatusResponse; type openapi_generated_AuthenticationTokenRefreshResponse = AuthenticationTokenRefreshResponse; type openapi_generated_AuthenticationTokenStatus = AuthenticationTokenStatus; type openapi_generated_AuthenticationTokensResponse = AuthenticationTokensResponse; type openapi_generated_AuthorizationPolicy = AuthorizationPolicy; type openapi_generated_BadRequestProblemDetails = BadRequestProblemDetails; type openapi_generated_BatchFileInfo = BatchFileInfo; type openapi_generated_BatchFilePartInfo = BatchFilePartInfo; type openapi_generated_BatchSessionContextLimitsOverride = BatchSessionContextLimitsOverride; type openapi_generated_BatchSessionEffectiveContextLimits = BatchSessionEffectiveContextLimits; type openapi_generated_BlockContextAuthenticationRequest = BlockContextAuthenticationRequest; type openapi_generated_BuyerIdentifierType = BuyerIdentifierType; type openapi_generated_CertificateEffectiveSubjectLimits = CertificateEffectiveSubjectLimits; type openapi_generated_CertificateEnrollmentDataResponse = CertificateEnrollmentDataResponse; type openapi_generated_CertificateEnrollmentStatusResponse = CertificateEnrollmentStatusResponse; type openapi_generated_CertificateLimit = CertificateLimit; type openapi_generated_CertificateLimitsResponse = CertificateLimitsResponse; type openapi_generated_CertificateListItem = CertificateListItem; type openapi_generated_CertificateListItemStatus = CertificateListItemStatus; type openapi_generated_CertificateRevocationReason = CertificateRevocationReason; type openapi_generated_CertificateSubjectIdentifier = CertificateSubjectIdentifier; type openapi_generated_CertificateSubjectIdentifierType = CertificateSubjectIdentifierType; type openapi_generated_CertificateSubjectLimitsOverride = CertificateSubjectLimitsOverride; type openapi_generated_Challenge = Challenge; type openapi_generated_CheckAttachmentPermissionStatusResponse = CheckAttachmentPermissionStatusResponse; type openapi_generated_CollectiveIdentifierContextLimitsOverride = CollectiveIdentifierContextLimitsOverride; type openapi_generated_CollectiveIdentifierEffectiveContextLimits = CollectiveIdentifierEffectiveContextLimits; type openapi_generated_CollectiveIdentifierInvoice = CollectiveIdentifierInvoice; type openapi_generated_CollectiveIdentifierInvoicePayment = CollectiveIdentifierInvoicePayment; type openapi_generated_CollectiveIdentifierInvoicesQueryRequest = CollectiveIdentifierInvoicesQueryRequest; type openapi_generated_CollectiveIdentifierInvoicesQueryResponse = CollectiveIdentifierInvoicesQueryResponse; type openapi_generated_CollectiveIdentifierInvoicesQueryResponseItem = CollectiveIdentifierInvoicesQueryResponseItem; type openapi_generated_CollectiveIdentifierInvoicesQueryResponseItemPayment = CollectiveIdentifierInvoicesQueryResponseItemPayment; type openapi_generated_CollectiveIdentifiersByKsefNumberQueryResponse = CollectiveIdentifiersByKsefNumberQueryResponse; type openapi_generated_CollectiveIdentifiersByKsefNumberQueryResponseItem = CollectiveIdentifiersByKsefNumberQueryResponseItem; type openapi_generated_CollectiveIdentifiersQueryRequest = CollectiveIdentifiersQueryRequest; type openapi_generated_CollectiveIdentifiersQueryResponse = CollectiveIdentifiersQueryResponse; type openapi_generated_CollectiveIdentifiersQueryResponseItem = CollectiveIdentifiersQueryResponseItem; type openapi_generated_CommonSessionStatus = CommonSessionStatus; type openapi_generated_CompressionType = CompressionType; type openapi_generated_CurrencyCode = CurrencyCode; type openapi_generated_EffectiveApiRateLimitValues = EffectiveApiRateLimitValues; type openapi_generated_EffectiveApiRateLimits = EffectiveApiRateLimits; type openapi_generated_EffectiveContextLimits = EffectiveContextLimits; type openapi_generated_EffectiveSubjectLimits = EffectiveSubjectLimits; type openapi_generated_EncryptionInfo = EncryptionInfo; type openapi_generated_EnrollCertificateRequest = EnrollCertificateRequest; type openapi_generated_EnrollCertificateResponse = EnrollCertificateResponse; type openapi_generated_EnrollmentEffectiveSubjectLimits = EnrollmentEffectiveSubjectLimits; type openapi_generated_EnrollmentSubjectLimitsOverride = EnrollmentSubjectLimitsOverride; type openapi_generated_EntityAuthorizationGrant = EntityAuthorizationGrant; type openapi_generated_EntityAuthorizationPermissionType = EntityAuthorizationPermissionType; type openapi_generated_EntityAuthorizationPermissionsGrantRequest = EntityAuthorizationPermissionsGrantRequest; type openapi_generated_EntityAuthorizationPermissionsQueryRequest = EntityAuthorizationPermissionsQueryRequest; type openapi_generated_EntityAuthorizationPermissionsSubjectIdentifier = EntityAuthorizationPermissionsSubjectIdentifier; type openapi_generated_EntityAuthorizationPermissionsSubjectIdentifierType = EntityAuthorizationPermissionsSubjectIdentifierType; type openapi_generated_EntityAuthorizationsAuthorIdentifier = EntityAuthorizationsAuthorIdentifier; type openapi_generated_EntityAuthorizationsAuthorIdentifierType = EntityAuthorizationsAuthorIdentifierType; type openapi_generated_EntityAuthorizationsAuthorizedEntityIdentifier = EntityAuthorizationsAuthorizedEntityIdentifier; type openapi_generated_EntityAuthorizationsAuthorizedEntityIdentifierType = EntityAuthorizationsAuthorizedEntityIdentifierType; type openapi_generated_EntityAuthorizationsAuthorizingEntityIdentifier = EntityAuthorizationsAuthorizingEntityIdentifier; type openapi_generated_EntityAuthorizationsAuthorizingEntityIdentifierType = EntityAuthorizationsAuthorizingEntityIdentifierType; type openapi_generated_EntityByFingerprintDetails = EntityByFingerprintDetails; type openapi_generated_EntityDetails = EntityDetails; type openapi_generated_EntityPermission = EntityPermission; type openapi_generated_EntityPermissionItem = EntityPermissionItem; type openapi_generated_EntityPermissionItemScope = EntityPermissionItemScope; type openapi_generated_EntityPermissionType = EntityPermissionType; type openapi_generated_EntityPermissionsContextIdentifier = EntityPermissionsContextIdentifier; type openapi_generated_EntityPermissionsContextIdentifierType = EntityPermissionsContextIdentifierType; type openapi_generated_EntityPermissionsGrantRequest = EntityPermissionsGrantRequest; type openapi_generated_EntityPermissionsQueryRequest = EntityPermissionsQueryRequest; type openapi_generated_EntityPermissionsSubjectIdentifier = EntityPermissionsSubjectIdentifier; type openapi_generated_EntityPermissionsSubjectIdentifierType = EntityPermissionsSubjectIdentifierType; type openapi_generated_EntityPermissionsSubordinateEntityIdentifier = EntityPermissionsSubordinateEntityIdentifier; type openapi_generated_EntityPermissionsSubordinateEntityIdentifierType = EntityPermissionsSubordinateEntityIdentifierType; type openapi_generated_EntityRole = EntityRole; type openapi_generated_EntityRoleType = EntityRoleType; type openapi_generated_EntityRolesParentEntityIdentifier = EntityRolesParentEntityIdentifier; type openapi_generated_EntityRolesParentEntityIdentifierType = EntityRolesParentEntityIdentifierType; type openapi_generated_EntitySubjectByFingerprintDetailsType = EntitySubjectByFingerprintDetailsType; type openapi_generated_EntitySubjectByIdentifierDetailsType = EntitySubjectByIdentifierDetailsType; type openapi_generated_EntitySubjectDetailsType = EntitySubjectDetailsType; type openapi_generated_EuEntityAdministrationPermissionsContextIdentifier = EuEntityAdministrationPermissionsContextIdentifier; type openapi_generated_EuEntityAdministrationPermissionsContextIdentifierType = EuEntityAdministrationPermissionsContextIdentifierType; type openapi_generated_EuEntityAdministrationPermissionsGrantRequest = EuEntityAdministrationPermissionsGrantRequest; type openapi_generated_EuEntityAdministrationPermissionsSubjectIdentifier = EuEntityAdministrationPermissionsSubjectIdentifier; type openapi_generated_EuEntityAdministrationPermissionsSubjectIdentifierType = EuEntityAdministrationPermissionsSubjectIdentifierType; type openapi_generated_EuEntityDetails = EuEntityDetails; type openapi_generated_EuEntityPermission = EuEntityPermission; type openapi_generated_EuEntityPermissionSubjectDetails = EuEntityPermissionSubjectDetails; type openapi_generated_EuEntityPermissionSubjectDetailsType = EuEntityPermissionSubjectDetailsType; type openapi_generated_EuEntityPermissionType = EuEntityPermissionType; type openapi_generated_EuEntityPermissionsAuthorIdentifier = EuEntityPermissionsAuthorIdentifier; type openapi_generated_EuEntityPermissionsAuthorIdentifierType = EuEntityPermissionsAuthorIdentifierType; type openapi_generated_EuEntityPermissionsGrantRequest = EuEntityPermissionsGrantRequest; type openapi_generated_EuEntityPermissionsQueryPermissionType = EuEntityPermissionsQueryPermissionType; type openapi_generated_EuEntityPermissionsQueryRequest = EuEntityPermissionsQueryRequest; type openapi_generated_EuEntityPermissionsSubjectIdentifier = EuEntityPermissionsSubjectIdentifier; type openapi_generated_EuEntityPermissionsSubjectIdentifierType = EuEntityPermissionsSubjectIdentifierType; type openapi_generated_ExceptionDetails = ExceptionDetails; type openapi_generated_ExceptionInfo = ExceptionInfo; type openapi_generated_ExceptionResponse = ExceptionResponse; type openapi_generated_ExportInvoicesResponse = ExportInvoicesResponse; type openapi_generated_ForbiddenProblemDetails = ForbiddenProblemDetails; type openapi_generated_FormCode = FormCode; type openapi_generated_GenerateCollectiveIdentifierRequest = GenerateCollectiveIdentifierRequest; type openapi_generated_GenerateCollectiveIdentifierResponse = GenerateCollectiveIdentifierResponse; type openapi_generated_GenerateTokenRequest = GenerateTokenRequest; type openapi_generated_GenerateTokenResponse = GenerateTokenResponse; type openapi_generated_GoneProblemDetails = GoneProblemDetails; type openapi_generated_IdDocument = IdDocument; type openapi_generated_IndirectPermissionType = IndirectPermissionType; type openapi_generated_IndirectPermissionsGrantRequest = IndirectPermissionsGrantRequest; type openapi_generated_IndirectPermissionsSubjectIdentifier = IndirectPermissionsSubjectIdentifier; type openapi_generated_IndirectPermissionsSubjectIdentifierType = IndirectPermissionsSubjectIdentifierType; type openapi_generated_IndirectPermissionsTargetIdentifier = IndirectPermissionsTargetIdentifier; type openapi_generated_IndirectPermissionsTargetIdentifierType = IndirectPermissionsTargetIdentifierType; type openapi_generated_InitTokenAuthenticationRequest = InitTokenAuthenticationRequest; type openapi_generated_InternalId = InternalId; type openapi_generated_InvoiceExportRequest = InvoiceExportRequest; type openapi_generated_InvoiceExportStatusResponse = InvoiceExportStatusResponse; type openapi_generated_InvoiceMetadata = InvoiceMetadata; type openapi_generated_InvoiceMetadataAuthorizedSubject = InvoiceMetadataAuthorizedSubject; type openapi_generated_InvoiceMetadataBuyer = InvoiceMetadataBuyer; type openapi_generated_InvoiceMetadataBuyerIdentifier = InvoiceMetadataBuyerIdentifier; type openapi_generated_InvoiceMetadataSeller = InvoiceMetadataSeller; type openapi_generated_InvoiceMetadataThirdSubject = InvoiceMetadataThirdSubject; type openapi_generated_InvoiceMetadataThirdSubjectIdentifier = InvoiceMetadataThirdSubjectIdentifier; type openapi_generated_InvoicePackage = InvoicePackage; type openapi_generated_InvoicePackagePart = InvoicePackagePart; type openapi_generated_InvoicePermissionType = InvoicePermissionType; type openapi_generated_InvoiceQueryAmount = InvoiceQueryAmount; type openapi_generated_InvoiceQueryBuyerIdentifier = InvoiceQueryBuyerIdentifier; type openapi_generated_InvoiceQueryDateRange = InvoiceQueryDateRange; type openapi_generated_InvoiceQueryDateType = InvoiceQueryDateType; type openapi_generated_InvoiceQueryFilters = InvoiceQueryFilters; type openapi_generated_InvoiceQueryFormType = InvoiceQueryFormType; type openapi_generated_InvoiceQuerySubjectType = InvoiceQuerySubjectType; type openapi_generated_InvoiceStatusInfo = InvoiceStatusInfo; type openapi_generated_InvoiceType = InvoiceType; type openapi_generated_InvoicingMode = InvoicingMode; type openapi_generated_KsefCertificateType = KsefCertificateType; type openapi_generated_KsefNumber = KsefNumber; type openapi_generated_Nip = Nip; type openapi_generated_NipVatUe = NipVatUe; declare const openapi_generated_OPENAPI_SCHEMA_COUNT: typeof OPENAPI_SCHEMA_COUNT; declare const openapi_generated_OPENAPI_SPEC_VERSION: typeof OPENAPI_SPEC_VERSION; type openapi_generated_OnlineSessionContextLimitsOverride = OnlineSessionContextLimitsOverride; type openapi_generated_OnlineSessionEffectiveContextLimits = OnlineSessionEffectiveContextLimits; type openapi_generated_OpenApiGeneratedSchemaMap = OpenApiGeneratedSchemaMap; type openapi_generated_OpenApiGeneratedSchemaName = OpenApiGeneratedSchemaName; type openapi_generated_OpenBatchSessionRequest = OpenBatchSessionRequest; type openapi_generated_OpenBatchSessionResponse = OpenBatchSessionResponse; type openapi_generated_OpenOnlineSessionRequest = OpenOnlineSessionRequest; type openapi_generated_OpenOnlineSessionResponse = OpenOnlineSessionResponse; type openapi_generated_PartUploadRequest = PartUploadRequest; type openapi_generated_PeppolId = PeppolId; type openapi_generated_PeppolProvider = PeppolProvider; type openapi_generated_PermissionId = PermissionId; type openapi_generated_PermissionState = PermissionState; type openapi_generated_PermissionsEuEntityDetails = PermissionsEuEntityDetails; type openapi_generated_PermissionsOperationResponse = PermissionsOperationResponse; type openapi_generated_PermissionsOperationStatusResponse = PermissionsOperationStatusResponse; type openapi_generated_PermissionsSubjectEntityByFingerprintDetails = PermissionsSubjectEntityByFingerprintDetails; type openapi_generated_PermissionsSubjectEntityByIdentifierDetails = PermissionsSubjectEntityByIdentifierDetails; type openapi_generated_PermissionsSubjectEntityDetails = PermissionsSubjectEntityDetails; type openapi_generated_PermissionsSubjectPersonByFingerprintDetails = PermissionsSubjectPersonByFingerprintDetails; type openapi_generated_PermissionsSubjectPersonDetails = PermissionsSubjectPersonDetails; type openapi_generated_PersonByFingerprintWithIdentifierDetails = PersonByFingerprintWithIdentifierDetails; type openapi_generated_PersonByFingerprintWithoutIdentifierDetails = PersonByFingerprintWithoutIdentifierDetails; type openapi_generated_PersonCreateRequest = PersonCreateRequest; type openapi_generated_PersonDetails = PersonDetails; type openapi_generated_PersonIdentifier = PersonIdentifier; type openapi_generated_PersonIdentifierType = PersonIdentifierType; type openapi_generated_PersonPermission = PersonPermission; type openapi_generated_PersonPermissionScope = PersonPermissionScope; type openapi_generated_PersonPermissionSubjectDetails = PersonPermissionSubjectDetails; type openapi_generated_PersonPermissionSubjectDetailsType = PersonPermissionSubjectDetailsType; type openapi_generated_PersonPermissionType = PersonPermissionType; type openapi_generated_PersonPermissionsAuthorIdentifier = PersonPermissionsAuthorIdentifier; type openapi_generated_PersonPermissionsAuthorIdentifierType = PersonPermissionsAuthorIdentifierType; type openapi_generated_PersonPermissionsAuthorizedIdentifier = PersonPermissionsAuthorizedIdentifier; type openapi_generated_PersonPermissionsAuthorizedIdentifierType = PersonPermissionsAuthorizedIdentifierType; type openapi_generated_PersonPermissionsContextIdentifier = PersonPermissionsContextIdentifier; type openapi_generated_PersonPermissionsContextIdentifierType = PersonPermissionsContextIdentifierType; type openapi_generated_PersonPermissionsGrantRequest = PersonPermissionsGrantRequest; type openapi_generated_PersonPermissionsQueryRequest = PersonPermissionsQueryRequest; type openapi_generated_PersonPermissionsQueryType = PersonPermissionsQueryType; type openapi_generated_PersonPermissionsSubjectIdentifier = PersonPermissionsSubjectIdentifier; type openapi_generated_PersonPermissionsSubjectIdentifierType = PersonPermissionsSubjectIdentifierType; type openapi_generated_PersonPermissionsTargetIdentifier = PersonPermissionsTargetIdentifier; type openapi_generated_PersonPermissionsTargetIdentifierType = PersonPermissionsTargetIdentifierType; type openapi_generated_PersonRemoveRequest = PersonRemoveRequest; type openapi_generated_PersonSubjectByFingerprintDetailsType = PersonSubjectByFingerprintDetailsType; type openapi_generated_PersonSubjectDetailsType = PersonSubjectDetailsType; type openapi_generated_PersonalPermission = PersonalPermission; type openapi_generated_PersonalPermissionScope = PersonalPermissionScope; type openapi_generated_PersonalPermissionType = PersonalPermissionType; type openapi_generated_PersonalPermissionsAuthorizedIdentifier = PersonalPermissionsAuthorizedIdentifier; type openapi_generated_PersonalPermissionsAuthorizedIdentifierType = PersonalPermissionsAuthorizedIdentifierType; type openapi_generated_PersonalPermissionsContextIdentifier = PersonalPermissionsContextIdentifier; type openapi_generated_PersonalPermissionsContextIdentifierType = PersonalPermissionsContextIdentifierType; type openapi_generated_PersonalPermissionsQueryRequest = PersonalPermissionsQueryRequest; type openapi_generated_PersonalPermissionsTargetIdentifier = PersonalPermissionsTargetIdentifier; type openapi_generated_PersonalPermissionsTargetIdentifierType = PersonalPermissionsTargetIdentifierType; type openapi_generated_Pesel = Pesel; type openapi_generated_PublicKeyCertificate = PublicKeyCertificate; type openapi_generated_PublicKeyCertificateUsage = PublicKeyCertificateUsage; type openapi_generated_QueryCertificatesRequest = QueryCertificatesRequest; type openapi_generated_QueryCertificatesResponse = QueryCertificatesResponse; type openapi_generated_QueryEntityAuthorizationPermissionsResponse = QueryEntityAuthorizationPermissionsResponse; type openapi_generated_QueryEntityPermissionsResponse = QueryEntityPermissionsResponse; type openapi_generated_QueryEntityRolesResponse = QueryEntityRolesResponse; type openapi_generated_QueryEuEntityPermissionsResponse = QueryEuEntityPermissionsResponse; type openapi_generated_QueryInvoicesMetadataResponse = QueryInvoicesMetadataResponse; type openapi_generated_QueryPeppolProvidersResponse = QueryPeppolProvidersResponse; type openapi_generated_QueryPersonPermissionsResponse = QueryPersonPermissionsResponse; type openapi_generated_QueryPersonalPermissionsResponse = QueryPersonalPermissionsResponse; type openapi_generated_QuerySubordinateEntityRolesResponse = QuerySubordinateEntityRolesResponse; type openapi_generated_QuerySubunitPermissionsResponse = QuerySubunitPermissionsResponse; type openapi_generated_QueryTokensResponse = QueryTokensResponse; type openapi_generated_QueryTokensResponseItem = QueryTokensResponseItem; type openapi_generated_QueryType = QueryType; type openapi_generated_ReferenceNumber = ReferenceNumber; type openapi_generated_RetrieveCertificatesListItem = RetrieveCertificatesListItem; type openapi_generated_RetrieveCertificatesRequest = RetrieveCertificatesRequest; type openapi_generated_RetrieveCertificatesResponse = RetrieveCertificatesResponse; type openapi_generated_RetryAfter = RetryAfter; type openapi_generated_RevokeCertificateRequest = RevokeCertificateRequest; type openapi_generated_SendInvoiceRequest = SendInvoiceRequest; type openapi_generated_SendInvoiceResponse = SendInvoiceResponse; type openapi_generated_SessionInvoiceStatusResponse = SessionInvoiceStatusResponse; type openapi_generated_SessionInvoicesResponse = SessionInvoicesResponse; type openapi_generated_SessionStatusResponse = SessionStatusResponse; type openapi_generated_SessionType = SessionType; type openapi_generated_SessionsQueryResponse = SessionsQueryResponse; type openapi_generated_SessionsQueryResponseItem = SessionsQueryResponseItem; type openapi_generated_SetRateLimitsRequest = SetRateLimitsRequest; type openapi_generated_SetSessionLimitsRequest = SetSessionLimitsRequest; type openapi_generated_SetSubjectLimitsRequest = SetSubjectLimitsRequest; type openapi_generated_Sha256HashBase64 = Sha256HashBase64; type openapi_generated_SortOrder = SortOrder; type openapi_generated_StatusInfo = StatusInfo; type openapi_generated_SubjectCreateRequest = SubjectCreateRequest; type openapi_generated_SubjectIdentifierType = SubjectIdentifierType; type openapi_generated_SubjectRemoveRequest = SubjectRemoveRequest; type openapi_generated_SubjectType = SubjectType; type openapi_generated_SubordinateEntityRole = SubordinateEntityRole; type openapi_generated_SubordinateEntityRoleType = SubordinateEntityRoleType; type openapi_generated_SubordinateEntityRolesQueryRequest = SubordinateEntityRolesQueryRequest; type openapi_generated_SubordinateRoleSubordinateEntityIdentifier = SubordinateRoleSubordinateEntityIdentifier; type openapi_generated_SubordinateRoleSubordinateEntityIdentifierType = SubordinateRoleSubordinateEntityIdentifierType; type openapi_generated_Subunit = Subunit; type openapi_generated_SubunitPermission = SubunitPermission; type openapi_generated_SubunitPermissionScope = SubunitPermissionScope; type openapi_generated_SubunitPermissionsAuthorIdentifier = SubunitPermissionsAuthorIdentifier; type openapi_generated_SubunitPermissionsAuthorIdentifierType = SubunitPermissionsAuthorIdentifierType; type openapi_generated_SubunitPermissionsAuthorizedIdentifier = SubunitPermissionsAuthorizedIdentifier; type openapi_generated_SubunitPermissionsContextIdentifier = SubunitPermissionsContextIdentifier; type openapi_generated_SubunitPermissionsContextIdentifierType = SubunitPermissionsContextIdentifierType; type openapi_generated_SubunitPermissionsGrantRequest = SubunitPermissionsGrantRequest; type openapi_generated_SubunitPermissionsQueryRequest = SubunitPermissionsQueryRequest; type openapi_generated_SubunitPermissionsSubjectIdentifier = SubunitPermissionsSubjectIdentifier; type openapi_generated_SubunitPermissionsSubjectIdentifierType = SubunitPermissionsSubjectIdentifierType; type openapi_generated_SubunitPermissionsSubunitIdentifier = SubunitPermissionsSubunitIdentifier; type openapi_generated_SubunitPermissionsSubunitIdentifierType = SubunitPermissionsSubunitIdentifierType; type openapi_generated_SystemWarning = SystemWarning; type openapi_generated_TestDataAuthenticationContextIdentifier = TestDataAuthenticationContextIdentifier; type openapi_generated_TestDataAuthenticationContextIdentifierType = TestDataAuthenticationContextIdentifierType; type openapi_generated_TestDataAuthorizedIdentifier = TestDataAuthorizedIdentifier; type openapi_generated_TestDataAuthorizedIdentifierType = TestDataAuthorizedIdentifierType; type openapi_generated_TestDataContextIdentifier = TestDataContextIdentifier; type openapi_generated_TestDataContextIdentifierType = TestDataContextIdentifierType; type openapi_generated_TestDataPermission = TestDataPermission; type openapi_generated_TestDataPermissionType = TestDataPermissionType; type openapi_generated_TestDataPermissionsGrantRequest = TestDataPermissionsGrantRequest; type openapi_generated_TestDataPermissionsRevokeRequest = TestDataPermissionsRevokeRequest; type openapi_generated_TestDataUpdateCertificateRequest = TestDataUpdateCertificateRequest; type openapi_generated_ThirdSubjectIdentifierType = ThirdSubjectIdentifierType; type openapi_generated_TokenAuthorIdentifierType = TokenAuthorIdentifierType; type openapi_generated_TokenAuthorIdentifierTypeIdentifier = TokenAuthorIdentifierTypeIdentifier; type openapi_generated_TokenContextIdentifierType = TokenContextIdentifierType; type openapi_generated_TokenContextIdentifierTypeIdentifier = TokenContextIdentifierTypeIdentifier; type openapi_generated_TokenInfo = TokenInfo; type openapi_generated_TokenPermissionType = TokenPermissionType; type openapi_generated_TokenStatusResponse = TokenStatusResponse; type openapi_generated_TooManyRequestsProblemDetails = TooManyRequestsProblemDetails; type openapi_generated_TooManyRequestsResponse = TooManyRequestsResponse; type openapi_generated_UnauthorizedProblemDetails = UnauthorizedProblemDetails; type openapi_generated_UnblockContextAuthenticationRequest = UnblockContextAuthenticationRequest; type openapi_generated_UpoPageResponse = UpoPageResponse; type openapi_generated_UpoResponse = UpoResponse; declare namespace openapi_generated { export { type openapi_generated_AllowedIps as AllowedIps, type openapi_generated_AmountType as AmountType, type openapi_generated_ApiError as ApiError, type openapi_generated_ApiRateLimitValuesOverride as ApiRateLimitValuesOverride, type openapi_generated_ApiRateLimitsOverride as ApiRateLimitsOverride, type openapi_generated_AttachmentPermissionGrantRequest as AttachmentPermissionGrantRequest, type openapi_generated_AttachmentPermissionRevokeRequest as AttachmentPermissionRevokeRequest, type openapi_generated_AuthenticationChallengeResponse as AuthenticationChallengeResponse, type openapi_generated_AuthenticationContextIdentifier as AuthenticationContextIdentifier, type openapi_generated_AuthenticationContextIdentifierType as AuthenticationContextIdentifierType, type openapi_generated_AuthenticationInitResponse as AuthenticationInitResponse, type openapi_generated_AuthenticationListItem as AuthenticationListItem, type openapi_generated_AuthenticationListResponse as AuthenticationListResponse, type openapi_generated_AuthenticationMethod as AuthenticationMethod, type openapi_generated_AuthenticationMethodCategory as AuthenticationMethodCategory, type openapi_generated_AuthenticationMethodInfo as AuthenticationMethodInfo, type openapi_generated_AuthenticationOperationStatusResponse as AuthenticationOperationStatusResponse, type openapi_generated_AuthenticationTokenRefreshResponse as AuthenticationTokenRefreshResponse, type openapi_generated_AuthenticationTokenStatus as AuthenticationTokenStatus, type openapi_generated_AuthenticationTokensResponse as AuthenticationTokensResponse, type openapi_generated_AuthorizationPolicy as AuthorizationPolicy, type openapi_generated_BadRequestProblemDetails as BadRequestProblemDetails, type openapi_generated_BatchFileInfo as BatchFileInfo, type openapi_generated_BatchFilePartInfo as BatchFilePartInfo, type openapi_generated_BatchSessionContextLimitsOverride as BatchSessionContextLimitsOverride, type openapi_generated_BatchSessionEffectiveContextLimits as BatchSessionEffectiveContextLimits, type openapi_generated_BlockContextAuthenticationRequest as BlockContextAuthenticationRequest, type openapi_generated_BuyerIdentifierType as BuyerIdentifierType, type openapi_generated_CertificateEffectiveSubjectLimits as CertificateEffectiveSubjectLimits, type openapi_generated_CertificateEnrollmentDataResponse as CertificateEnrollmentDataResponse, type openapi_generated_CertificateEnrollmentStatusResponse as CertificateEnrollmentStatusResponse, type openapi_generated_CertificateLimit as CertificateLimit, type openapi_generated_CertificateLimitsResponse as CertificateLimitsResponse, type openapi_generated_CertificateListItem as CertificateListItem, type openapi_generated_CertificateListItemStatus as CertificateListItemStatus, type openapi_generated_CertificateRevocationReason as CertificateRevocationReason, type openapi_generated_CertificateSubjectIdentifier as CertificateSubjectIdentifier, type openapi_generated_CertificateSubjectIdentifierType as CertificateSubjectIdentifierType, type openapi_generated_CertificateSubjectLimitsOverride as CertificateSubjectLimitsOverride, type openapi_generated_Challenge as Challenge, type openapi_generated_CheckAttachmentPermissionStatusResponse as CheckAttachmentPermissionStatusResponse, type openapi_generated_CollectiveIdentifierContextLimitsOverride as CollectiveIdentifierContextLimitsOverride, type openapi_generated_CollectiveIdentifierEffectiveContextLimits as CollectiveIdentifierEffectiveContextLimits, type openapi_generated_CollectiveIdentifierInvoice as CollectiveIdentifierInvoice, type openapi_generated_CollectiveIdentifierInvoicePayment as CollectiveIdentifierInvoicePayment, type openapi_generated_CollectiveIdentifierInvoicesQueryRequest as CollectiveIdentifierInvoicesQueryRequest, type openapi_generated_CollectiveIdentifierInvoicesQueryResponse as CollectiveIdentifierInvoicesQueryResponse, type openapi_generated_CollectiveIdentifierInvoicesQueryResponseItem as CollectiveIdentifierInvoicesQueryResponseItem, type openapi_generated_CollectiveIdentifierInvoicesQueryResponseItemPayment as CollectiveIdentifierInvoicesQueryResponseItemPayment, type openapi_generated_CollectiveIdentifiersByKsefNumberQueryResponse as CollectiveIdentifiersByKsefNumberQueryResponse, type openapi_generated_CollectiveIdentifiersByKsefNumberQueryResponseItem as CollectiveIdentifiersByKsefNumberQueryResponseItem, type openapi_generated_CollectiveIdentifiersQueryRequest as CollectiveIdentifiersQueryRequest, type openapi_generated_CollectiveIdentifiersQueryResponse as CollectiveIdentifiersQueryResponse, type openapi_generated_CollectiveIdentifiersQueryResponseItem as CollectiveIdentifiersQueryResponseItem, type openapi_generated_CommonSessionStatus as CommonSessionStatus, type openapi_generated_CompressionType as CompressionType, type openapi_generated_CurrencyCode as CurrencyCode, type openapi_generated_EffectiveApiRateLimitValues as EffectiveApiRateLimitValues, type openapi_generated_EffectiveApiRateLimits as EffectiveApiRateLimits, type openapi_generated_EffectiveContextLimits as EffectiveContextLimits, type openapi_generated_EffectiveSubjectLimits as EffectiveSubjectLimits, type openapi_generated_EncryptionInfo as EncryptionInfo, type openapi_generated_EnrollCertificateRequest as EnrollCertificateRequest, type openapi_generated_EnrollCertificateResponse as EnrollCertificateResponse, type openapi_generated_EnrollmentEffectiveSubjectLimits as EnrollmentEffectiveSubjectLimits, type openapi_generated_EnrollmentSubjectLimitsOverride as EnrollmentSubjectLimitsOverride, type openapi_generated_EntityAuthorizationGrant as EntityAuthorizationGrant, type openapi_generated_EntityAuthorizationPermissionType as EntityAuthorizationPermissionType, type openapi_generated_EntityAuthorizationPermissionsGrantRequest as EntityAuthorizationPermissionsGrantRequest, type openapi_generated_EntityAuthorizationPermissionsQueryRequest as EntityAuthorizationPermissionsQueryRequest, type openapi_generated_EntityAuthorizationPermissionsSubjectIdentifier as EntityAuthorizationPermissionsSubjectIdentifier, type openapi_generated_EntityAuthorizationPermissionsSubjectIdentifierType as EntityAuthorizationPermissionsSubjectIdentifierType, type openapi_generated_EntityAuthorizationsAuthorIdentifier as EntityAuthorizationsAuthorIdentifier, type openapi_generated_EntityAuthorizationsAuthorIdentifierType as EntityAuthorizationsAuthorIdentifierType, type openapi_generated_EntityAuthorizationsAuthorizedEntityIdentifier as EntityAuthorizationsAuthorizedEntityIdentifier, type openapi_generated_EntityAuthorizationsAuthorizedEntityIdentifierType as EntityAuthorizationsAuthorizedEntityIdentifierType, type openapi_generated_EntityAuthorizationsAuthorizingEntityIdentifier as EntityAuthorizationsAuthorizingEntityIdentifier, type openapi_generated_EntityAuthorizationsAuthorizingEntityIdentifierType as EntityAuthorizationsAuthorizingEntityIdentifierType, type openapi_generated_EntityByFingerprintDetails as EntityByFingerprintDetails, type openapi_generated_EntityDetails as EntityDetails, type openapi_generated_EntityPermission as EntityPermission, type openapi_generated_EntityPermissionItem as EntityPermissionItem, type openapi_generated_EntityPermissionItemScope as EntityPermissionItemScope, type openapi_generated_EntityPermissionType as EntityPermissionType, type openapi_generated_EntityPermissionsContextIdentifier as EntityPermissionsContextIdentifier, type openapi_generated_EntityPermissionsContextIdentifierType as EntityPermissionsContextIdentifierType, type openapi_generated_EntityPermissionsGrantRequest as EntityPermissionsGrantRequest, type openapi_generated_EntityPermissionsQueryRequest as EntityPermissionsQueryRequest, type openapi_generated_EntityPermissionsSubjectIdentifier as EntityPermissionsSubjectIdentifier, type openapi_generated_EntityPermissionsSubjectIdentifierType as EntityPermissionsSubjectIdentifierType, type openapi_generated_EntityPermissionsSubordinateEntityIdentifier as EntityPermissionsSubordinateEntityIdentifier, type openapi_generated_EntityPermissionsSubordinateEntityIdentifierType as EntityPermissionsSubordinateEntityIdentifierType, type openapi_generated_EntityRole as EntityRole, type openapi_generated_EntityRoleType as EntityRoleType, type openapi_generated_EntityRolesParentEntityIdentifier as EntityRolesParentEntityIdentifier, type openapi_generated_EntityRolesParentEntityIdentifierType as EntityRolesParentEntityIdentifierType, type openapi_generated_EntitySubjectByFingerprintDetailsType as EntitySubjectByFingerprintDetailsType, type openapi_generated_EntitySubjectByIdentifierDetailsType as EntitySubjectByIdentifierDetailsType, type openapi_generated_EntitySubjectDetailsType as EntitySubjectDetailsType, type openapi_generated_EuEntityAdministrationPermissionsContextIdentifier as EuEntityAdministrationPermissionsContextIdentifier, type openapi_generated_EuEntityAdministrationPermissionsContextIdentifierType as EuEntityAdministrationPermissionsContextIdentifierType, type openapi_generated_EuEntityAdministrationPermissionsGrantRequest as EuEntityAdministrationPermissionsGrantRequest, type openapi_generated_EuEntityAdministrationPermissionsSubjectIdentifier as EuEntityAdministrationPermissionsSubjectIdentifier, type openapi_generated_EuEntityAdministrationPermissionsSubjectIdentifierType as EuEntityAdministrationPermissionsSubjectIdentifierType, type openapi_generated_EuEntityDetails as EuEntityDetails, type openapi_generated_EuEntityPermission as EuEntityPermission, type openapi_generated_EuEntityPermissionSubjectDetails as EuEntityPermissionSubjectDetails, type openapi_generated_EuEntityPermissionSubjectDetailsType as EuEntityPermissionSubjectDetailsType, type openapi_generated_EuEntityPermissionType as EuEntityPermissionType, type openapi_generated_EuEntityPermissionsAuthorIdentifier as EuEntityPermissionsAuthorIdentifier, type openapi_generated_EuEntityPermissionsAuthorIdentifierType as EuEntityPermissionsAuthorIdentifierType, type openapi_generated_EuEntityPermissionsGrantRequest as EuEntityPermissionsGrantRequest, type openapi_generated_EuEntityPermissionsQueryPermissionType as EuEntityPermissionsQueryPermissionType, type openapi_generated_EuEntityPermissionsQueryRequest as EuEntityPermissionsQueryRequest, type openapi_generated_EuEntityPermissionsSubjectIdentifier as EuEntityPermissionsSubjectIdentifier, type openapi_generated_EuEntityPermissionsSubjectIdentifierType as EuEntityPermissionsSubjectIdentifierType, type openapi_generated_ExceptionDetails as ExceptionDetails, type openapi_generated_ExceptionInfo as ExceptionInfo, type openapi_generated_ExceptionResponse as ExceptionResponse, type openapi_generated_ExportInvoicesResponse as ExportInvoicesResponse, type openapi_generated_ForbiddenProblemDetails as ForbiddenProblemDetails, type openapi_generated_FormCode as FormCode, type openapi_generated_GenerateCollectiveIdentifierRequest as GenerateCollectiveIdentifierRequest, type openapi_generated_GenerateCollectiveIdentifierResponse as GenerateCollectiveIdentifierResponse, type openapi_generated_GenerateTokenRequest as GenerateTokenRequest, type openapi_generated_GenerateTokenResponse as GenerateTokenResponse, type openapi_generated_GoneProblemDetails as GoneProblemDetails, type openapi_generated_IdDocument as IdDocument, type openapi_generated_IndirectPermissionType as IndirectPermissionType, type openapi_generated_IndirectPermissionsGrantRequest as IndirectPermissionsGrantRequest, type openapi_generated_IndirectPermissionsSubjectIdentifier as IndirectPermissionsSubjectIdentifier, type openapi_generated_IndirectPermissionsSubjectIdentifierType as IndirectPermissionsSubjectIdentifierType, type openapi_generated_IndirectPermissionsTargetIdentifier as IndirectPermissionsTargetIdentifier, type openapi_generated_IndirectPermissionsTargetIdentifierType as IndirectPermissionsTargetIdentifierType, type openapi_generated_InitTokenAuthenticationRequest as InitTokenAuthenticationRequest, type openapi_generated_InternalId as InternalId, type openapi_generated_InvoiceExportRequest as InvoiceExportRequest, type openapi_generated_InvoiceExportStatusResponse as InvoiceExportStatusResponse, type openapi_generated_InvoiceMetadata as InvoiceMetadata, type openapi_generated_InvoiceMetadataAuthorizedSubject as InvoiceMetadataAuthorizedSubject, type openapi_generated_InvoiceMetadataBuyer as InvoiceMetadataBuyer, type openapi_generated_InvoiceMetadataBuyerIdentifier as InvoiceMetadataBuyerIdentifier, type openapi_generated_InvoiceMetadataSeller as InvoiceMetadataSeller, type openapi_generated_InvoiceMetadataThirdSubject as InvoiceMetadataThirdSubject, type openapi_generated_InvoiceMetadataThirdSubjectIdentifier as InvoiceMetadataThirdSubjectIdentifier, type openapi_generated_InvoicePackage as InvoicePackage, type openapi_generated_InvoicePackagePart as InvoicePackagePart, type openapi_generated_InvoicePermissionType as InvoicePermissionType, type openapi_generated_InvoiceQueryAmount as InvoiceQueryAmount, type openapi_generated_InvoiceQueryBuyerIdentifier as InvoiceQueryBuyerIdentifier, type openapi_generated_InvoiceQueryDateRange as InvoiceQueryDateRange, type openapi_generated_InvoiceQueryDateType as InvoiceQueryDateType, type openapi_generated_InvoiceQueryFilters as InvoiceQueryFilters, type openapi_generated_InvoiceQueryFormType as InvoiceQueryFormType, type openapi_generated_InvoiceQuerySubjectType as InvoiceQuerySubjectType, type openapi_generated_InvoiceStatusInfo as InvoiceStatusInfo, type openapi_generated_InvoiceType as InvoiceType, type openapi_generated_InvoicingMode as InvoicingMode, type openapi_generated_KsefCertificateType as KsefCertificateType, type openapi_generated_KsefNumber as KsefNumber, type openapi_generated_Nip as Nip, type openapi_generated_NipVatUe as NipVatUe, openapi_generated_OPENAPI_SCHEMA_COUNT as OPENAPI_SCHEMA_COUNT, openapi_generated_OPENAPI_SPEC_VERSION as OPENAPI_SPEC_VERSION, type openapi_generated_OnlineSessionContextLimitsOverride as OnlineSessionContextLimitsOverride, type openapi_generated_OnlineSessionEffectiveContextLimits as OnlineSessionEffectiveContextLimits, type openapi_generated_OpenApiGeneratedSchemaMap as OpenApiGeneratedSchemaMap, type openapi_generated_OpenApiGeneratedSchemaName as OpenApiGeneratedSchemaName, type openapi_generated_OpenBatchSessionRequest as OpenBatchSessionRequest, type openapi_generated_OpenBatchSessionResponse as OpenBatchSessionResponse, type openapi_generated_OpenOnlineSessionRequest as OpenOnlineSessionRequest, type openapi_generated_OpenOnlineSessionResponse as OpenOnlineSessionResponse, type openapi_generated_PartUploadRequest as PartUploadRequest, type openapi_generated_PeppolId as PeppolId, type openapi_generated_PeppolProvider as PeppolProvider, type openapi_generated_PermissionId as PermissionId, type openapi_generated_PermissionState as PermissionState, type openapi_generated_PermissionsEuEntityDetails as PermissionsEuEntityDetails, type openapi_generated_PermissionsOperationResponse as PermissionsOperationResponse, type openapi_generated_PermissionsOperationStatusResponse as PermissionsOperationStatusResponse, type openapi_generated_PermissionsSubjectEntityByFingerprintDetails as PermissionsSubjectEntityByFingerprintDetails, type openapi_generated_PermissionsSubjectEntityByIdentifierDetails as PermissionsSubjectEntityByIdentifierDetails, type openapi_generated_PermissionsSubjectEntityDetails as PermissionsSubjectEntityDetails, type openapi_generated_PermissionsSubjectPersonByFingerprintDetails as PermissionsSubjectPersonByFingerprintDetails, type openapi_generated_PermissionsSubjectPersonDetails as PermissionsSubjectPersonDetails, type openapi_generated_PersonByFingerprintWithIdentifierDetails as PersonByFingerprintWithIdentifierDetails, type openapi_generated_PersonByFingerprintWithoutIdentifierDetails as PersonByFingerprintWithoutIdentifierDetails, type openapi_generated_PersonCreateRequest as PersonCreateRequest, type openapi_generated_PersonDetails as PersonDetails, type openapi_generated_PersonIdentifier as PersonIdentifier, type openapi_generated_PersonIdentifierType as PersonIdentifierType, type openapi_generated_PersonPermission as PersonPermission, type openapi_generated_PersonPermissionScope as PersonPermissionScope, type openapi_generated_PersonPermissionSubjectDetails as PersonPermissionSubjectDetails, type openapi_generated_PersonPermissionSubjectDetailsType as PersonPermissionSubjectDetailsType, type openapi_generated_PersonPermissionType as PersonPermissionType, type openapi_generated_PersonPermissionsAuthorIdentifier as PersonPermissionsAuthorIdentifier, type openapi_generated_PersonPermissionsAuthorIdentifierType as PersonPermissionsAuthorIdentifierType, type openapi_generated_PersonPermissionsAuthorizedIdentifier as PersonPermissionsAuthorizedIdentifier, type openapi_generated_PersonPermissionsAuthorizedIdentifierType as PersonPermissionsAuthorizedIdentifierType, type openapi_generated_PersonPermissionsContextIdentifier as PersonPermissionsContextIdentifier, type openapi_generated_PersonPermissionsContextIdentifierType as PersonPermissionsContextIdentifierType, type openapi_generated_PersonPermissionsGrantRequest as PersonPermissionsGrantRequest, type openapi_generated_PersonPermissionsQueryRequest as PersonPermissionsQueryRequest, type openapi_generated_PersonPermissionsQueryType as PersonPermissionsQueryType, type openapi_generated_PersonPermissionsSubjectIdentifier as PersonPermissionsSubjectIdentifier, type openapi_generated_PersonPermissionsSubjectIdentifierType as PersonPermissionsSubjectIdentifierType, type openapi_generated_PersonPermissionsTargetIdentifier as PersonPermissionsTargetIdentifier, type openapi_generated_PersonPermissionsTargetIdentifierType as PersonPermissionsTargetIdentifierType, type openapi_generated_PersonRemoveRequest as PersonRemoveRequest, type openapi_generated_PersonSubjectByFingerprintDetailsType as PersonSubjectByFingerprintDetailsType, type openapi_generated_PersonSubjectDetailsType as PersonSubjectDetailsType, type openapi_generated_PersonalPermission as PersonalPermission, type openapi_generated_PersonalPermissionScope as PersonalPermissionScope, type openapi_generated_PersonalPermissionType as PersonalPermissionType, type openapi_generated_PersonalPermissionsAuthorizedIdentifier as PersonalPermissionsAuthorizedIdentifier, type openapi_generated_PersonalPermissionsAuthorizedIdentifierType as PersonalPermissionsAuthorizedIdentifierType, type openapi_generated_PersonalPermissionsContextIdentifier as PersonalPermissionsContextIdentifier, type openapi_generated_PersonalPermissionsContextIdentifierType as PersonalPermissionsContextIdentifierType, type openapi_generated_PersonalPermissionsQueryRequest as PersonalPermissionsQueryRequest, type openapi_generated_PersonalPermissionsTargetIdentifier as PersonalPermissionsTargetIdentifier, type openapi_generated_PersonalPermissionsTargetIdentifierType as PersonalPermissionsTargetIdentifierType, type openapi_generated_Pesel as Pesel, type openapi_generated_PublicKeyCertificate as PublicKeyCertificate, type openapi_generated_PublicKeyCertificateUsage as PublicKeyCertificateUsage, type openapi_generated_QueryCertificatesRequest as QueryCertificatesRequest, type openapi_generated_QueryCertificatesResponse as QueryCertificatesResponse, type openapi_generated_QueryEntityAuthorizationPermissionsResponse as QueryEntityAuthorizationPermissionsResponse, type openapi_generated_QueryEntityPermissionsResponse as QueryEntityPermissionsResponse, type openapi_generated_QueryEntityRolesResponse as QueryEntityRolesResponse, type openapi_generated_QueryEuEntityPermissionsResponse as QueryEuEntityPermissionsResponse, type openapi_generated_QueryInvoicesMetadataResponse as QueryInvoicesMetadataResponse, type openapi_generated_QueryPeppolProvidersResponse as QueryPeppolProvidersResponse, type openapi_generated_QueryPersonPermissionsResponse as QueryPersonPermissionsResponse, type openapi_generated_QueryPersonalPermissionsResponse as QueryPersonalPermissionsResponse, type openapi_generated_QuerySubordinateEntityRolesResponse as QuerySubordinateEntityRolesResponse, type openapi_generated_QuerySubunitPermissionsResponse as QuerySubunitPermissionsResponse, type openapi_generated_QueryTokensResponse as QueryTokensResponse, type openapi_generated_QueryTokensResponseItem as QueryTokensResponseItem, type openapi_generated_QueryType as QueryType, type openapi_generated_ReferenceNumber as ReferenceNumber, type openapi_generated_RetrieveCertificatesListItem as RetrieveCertificatesListItem, type openapi_generated_RetrieveCertificatesRequest as RetrieveCertificatesRequest, type openapi_generated_RetrieveCertificatesResponse as RetrieveCertificatesResponse, type openapi_generated_RetryAfter as RetryAfter, type openapi_generated_RevokeCertificateRequest as RevokeCertificateRequest, type openapi_generated_SendInvoiceRequest as SendInvoiceRequest, type openapi_generated_SendInvoiceResponse as SendInvoiceResponse, type openapi_generated_SessionInvoiceStatusResponse as SessionInvoiceStatusResponse, type openapi_generated_SessionInvoicesResponse as SessionInvoicesResponse, type openapi_generated_SessionStatusResponse as SessionStatusResponse, type openapi_generated_SessionType as SessionType, type openapi_generated_SessionsQueryResponse as SessionsQueryResponse, type openapi_generated_SessionsQueryResponseItem as SessionsQueryResponseItem, type openapi_generated_SetRateLimitsRequest as SetRateLimitsRequest, type openapi_generated_SetSessionLimitsRequest as SetSessionLimitsRequest, type openapi_generated_SetSubjectLimitsRequest as SetSubjectLimitsRequest, type openapi_generated_Sha256HashBase64 as Sha256HashBase64, type openapi_generated_SortOrder as SortOrder, type openapi_generated_StatusInfo as StatusInfo, type openapi_generated_SubjectCreateRequest as SubjectCreateRequest, type openapi_generated_SubjectIdentifierType as SubjectIdentifierType, type openapi_generated_SubjectRemoveRequest as SubjectRemoveRequest, type openapi_generated_SubjectType as SubjectType, type openapi_generated_SubordinateEntityRole as SubordinateEntityRole, type openapi_generated_SubordinateEntityRoleType as SubordinateEntityRoleType, type openapi_generated_SubordinateEntityRolesQueryRequest as SubordinateEntityRolesQueryRequest, type openapi_generated_SubordinateRoleSubordinateEntityIdentifier as SubordinateRoleSubordinateEntityIdentifier, type openapi_generated_SubordinateRoleSubordinateEntityIdentifierType as SubordinateRoleSubordinateEntityIdentifierType, type openapi_generated_Subunit as Subunit, type openapi_generated_SubunitPermission as SubunitPermission, type openapi_generated_SubunitPermissionScope as SubunitPermissionScope, type openapi_generated_SubunitPermissionsAuthorIdentifier as SubunitPermissionsAuthorIdentifier, type openapi_generated_SubunitPermissionsAuthorIdentifierType as SubunitPermissionsAuthorIdentifierType, type openapi_generated_SubunitPermissionsAuthorizedIdentifier as SubunitPermissionsAuthorizedIdentifier, type openapi_generated_SubunitPermissionsContextIdentifier as SubunitPermissionsContextIdentifier, type openapi_generated_SubunitPermissionsContextIdentifierType as SubunitPermissionsContextIdentifierType, type openapi_generated_SubunitPermissionsGrantRequest as SubunitPermissionsGrantRequest, type openapi_generated_SubunitPermissionsQueryRequest as SubunitPermissionsQueryRequest, type openapi_generated_SubunitPermissionsSubjectIdentifier as SubunitPermissionsSubjectIdentifier, type openapi_generated_SubunitPermissionsSubjectIdentifierType as SubunitPermissionsSubjectIdentifierType, type openapi_generated_SubunitPermissionsSubunitIdentifier as SubunitPermissionsSubunitIdentifier, type openapi_generated_SubunitPermissionsSubunitIdentifierType as SubunitPermissionsSubunitIdentifierType, type openapi_generated_SystemWarning as SystemWarning, type openapi_generated_TestDataAuthenticationContextIdentifier as TestDataAuthenticationContextIdentifier, type openapi_generated_TestDataAuthenticationContextIdentifierType as TestDataAuthenticationContextIdentifierType, type openapi_generated_TestDataAuthorizedIdentifier as TestDataAuthorizedIdentifier, type openapi_generated_TestDataAuthorizedIdentifierType as TestDataAuthorizedIdentifierType, type openapi_generated_TestDataContextIdentifier as TestDataContextIdentifier, type openapi_generated_TestDataContextIdentifierType as TestDataContextIdentifierType, type openapi_generated_TestDataPermission as TestDataPermission, type openapi_generated_TestDataPermissionType as TestDataPermissionType, type openapi_generated_TestDataPermissionsGrantRequest as TestDataPermissionsGrantRequest, type openapi_generated_TestDataPermissionsRevokeRequest as TestDataPermissionsRevokeRequest, type openapi_generated_TestDataUpdateCertificateRequest as TestDataUpdateCertificateRequest, type openapi_generated_ThirdSubjectIdentifierType as ThirdSubjectIdentifierType, type openapi_generated_TokenAuthorIdentifierType as TokenAuthorIdentifierType, type openapi_generated_TokenAuthorIdentifierTypeIdentifier as TokenAuthorIdentifierTypeIdentifier, type openapi_generated_TokenContextIdentifierType as TokenContextIdentifierType, type openapi_generated_TokenContextIdentifierTypeIdentifier as TokenContextIdentifierTypeIdentifier, type openapi_generated_TokenInfo as TokenInfo, type openapi_generated_TokenPermissionType as TokenPermissionType, type openapi_generated_TokenStatusResponse as TokenStatusResponse, type openapi_generated_TooManyRequestsProblemDetails as TooManyRequestsProblemDetails, type openapi_generated_TooManyRequestsResponse as TooManyRequestsResponse, type openapi_generated_UnauthorizedProblemDetails as UnauthorizedProblemDetails, type openapi_generated_UnblockContextAuthenticationRequest as UnblockContextAuthenticationRequest, type openapi_generated_UpoPageResponse as UpoPageResponse, type openapi_generated_UpoResponse as UpoResponse }; } type XmlDocument = Array>; type XmlValue = string | number | boolean | null | XmlObject | XmlValue[]; type XmlObject = { [key: string]: XmlValue; }; declare function parseXml(xml: string): XmlDocument; declare function buildXml(document: XmlDocument): string; declare function buildXmlFromObject(document: XmlObject, options?: { pretty?: boolean; }): string; type PefSchema = "PEF" | "PEF_KOR"; interface PefUblInvoiceInput { schema?: "PEF"; Invoice: XmlObject; } interface PefUblCreditNoteInput { schema?: "PEF_KOR"; CreditNote: XmlObject; } type PefUblDocumentInput = PefUblInvoiceInput | PefUblCreditNoteInput; declare function isPefUblDocumentInput(input: unknown): input is PefUblDocumentInput; declare function buildPefXml(input: PefUblDocumentInput, options?: { pretty?: boolean; }): string; type InvoiceXmlInput = string | Buffer | XmlDocument | XmlObject | FakturaInput | PefUblDocumentInput; type FakturaSchema = "FA2" | "FA3"; interface FakturaXmlOptions { schema?: FakturaSchema; fakturaNamespace?: string; etdNamespace?: string; pretty?: boolean; } interface FakturaInput { Naglowek: XmlObject; Podmiot1?: XmlObject; Podmiot2?: XmlObject; Fa: XmlObject; [key: string]: XmlValue; } declare function serializeInvoiceXml(input: InvoiceXmlInput, options?: FakturaXmlOptions): Buffer; declare function buildFakturaXml(faktura: FakturaInput, options?: FakturaXmlOptions): string; interface UnknownApiProblem { detail?: string; raw: Record; status: number; title: string; } type KsefApiProblem = BadRequestProblemDetails | ExceptionResponse | ForbiddenProblemDetails | GoneProblemDetails | TooManyRequestsProblemDetails | TooManyRequestsResponse | UnauthorizedProblemDetails | UnknownApiProblem; declare class KsefError extends Error { name: string; constructor(message: string); } declare class KsefHttpError extends KsefError { name: string; readonly problem: KsefApiProblem | undefined; readonly statusCode: number; readonly responseBody: string | undefined; constructor(statusCode: number, message: string, responseBody?: string, problem?: KsefApiProblem); } declare class KsefApiError extends KsefError { name: string; readonly problem: KsefApiProblem | undefined; readonly statusCode: number; readonly responseBody: unknown | undefined; constructor(statusCode: number, message: string, responseBody: unknown, problem?: KsefApiProblem); } declare class KsefRateLimitError extends KsefApiError { name: string; readonly retryAfter: string | undefined; readonly retryAfterSeconds: number | undefined; constructor(statusCode: number, message: string, responseBody: unknown, retryAfter?: string, retryAfterSeconds?: number, problem?: KsefApiProblem); } declare class KsefAuthStatusError extends KsefApiError { name: string; readonly statusDetails: string[] | undefined; constructor(statusCode: number, message: string, responseBody: unknown, statusDetails?: string[], problem?: KsefApiProblem); } declare class KsefSessionExpiredError extends KsefError { name: string; } declare class KsefValidationError extends KsefError { name: string; readonly details: string[] | undefined; constructor(message: string, details?: string[]); } type FA3InvoiceKind$1 = "basic" | "simplified" | "correction" | "advance" | "settlement" | "advance_correction" | "settlement_correction"; type FA3PaymentMethod = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "transfer" | "cash" | "card" | "voucher" | "check" | "credit" | "compensation" | "other"; type FA3CorrectionType = "1" | "2" | "3" | "tax_base_or_tax" | "other" | "no_tax_impact"; type FA3MarginProcedure = "travel" | "used_goods" | "art" | "collectibles"; type FA3TransportKind = "1" | "2" | "3" | "4" | "5" | "7" | "8" | "road" | "rail" | "air" | "sea" | "postal" | "fixed_transport" | "other"; type FA3ThirdPartyRole = "1" | "2" | "recipient" | "3" | "payer" | "4" | "jst_subunit" | "8" | "vat_group_member" | "10" | "other" | "11"; interface FA3Address { countryCode?: string; line1: string; line2?: string; line3?: string; } interface FA3Contact { email?: string; phone?: string; } type FA3PartyIdentifierKind = "NIP" | "EU_VAT" | "FOREIGN" | "INTERNAL" | "NONE"; interface FA3PartyIdentifier { kind: FA3PartyIdentifierKind; value?: string; countryCode?: string; } interface FA3Party$1 { name: string; taxId: string; /** Jawny identyfikator strony (jak PartyIdentifier w Python SDK). Gdy brak — wywnioskowany z taxId. */ identifier?: FA3PartyIdentifier; countryCode?: string; internalId?: string; eori?: string; buyerId?: string; customerNumber?: string; addressLine1?: string; addressLine2?: string; addressLine3?: string; email?: string; phone?: string; role?: FA3ThirdPartyRole; otherRoleDescription?: string; share?: number | string; isJstSubunit?: boolean; isVatGroupMember?: boolean; } interface FA3TaxCategory { code?: "23" | "22" | "8" | "7" | "5" | "4" | "3" | "0 KR" | "0 WDT" | "0 EX" | "zw" | "np I" | "np II" | "oo"; vatRate?: number | string | null; /** Stawka VAT w procedurze działu XII rozdz. 6a ustawy → pole XML P_12_XII (TProcentowy). */ xiiVatRate?: number | string | null; exemptionBasis?: string; exemptionBasisType?: "law" | "directive" | "other"; } interface FA3Discount { kind: "amount" | "percent"; value: number | string; reason?: string; } interface FA3Line$1 { description: string; quantity: number | string; unit: string; unitNetPrice: number | string; vatRate?: number | string | null; /** * Kod stawki FA(3) P_12 (np. "23", "zw", "0 KR"). * Gdy podany — używany w P_12 i kubełkach P_13_x / P_14_x; vatRate nadal do wyliczenia kwot. */ vatCode?: string; /** Kwota VAT w PLN (faktura walutowa) — sumowana do P_14_xW. */ vatAmountPln?: number | string | null; /** Stawka VAT w procedurze działu XII rozdz. 6a ustawy → pole XML P_12_XII (TProcentowy). */ xiiVatRate?: number | string | null; netAmount?: number | string; vatAmount?: number | string; grossAmount?: number | string; discount?: FA3Discount; beforeCorrection?: boolean; uniqueId?: string; serviceDate?: string; periodFrom?: string; periodTo?: string; gtu?: string; procedure?: string; annex15?: boolean; } interface FA3AdvanceReference { invoiceNumber?: string; ksefNumber?: string; } interface FA3AdvancePayment { amount: number | string; vatRate?: number | string | null; paidOn?: string; currencyRate?: number | string; } interface FA3SettlementAdjustment { amount: number | string; reason: string; } interface FA3Settlement { amountDue?: number | string; amountToSettle?: number | string; charges?: FA3SettlementAdjustment[]; deductions?: FA3SettlementAdjustment[]; } interface FA3PartialPayment { amount: number | string; paidOn: string; method?: FA3PaymentMethod; otherMethodDescription?: string; } interface FA3BankAccount { number: string; swift?: string; bankName?: string; description?: string; ownBankAccountType?: "1" | "2" | "3"; } interface FA3PaymentDueDescription { amount: number | string; unit: string; startsFrom: string; } interface FA3PaymentTerms { dueDate?: string; dueDescription?: string; dueDescriptionParts?: FA3PaymentDueDescription; method?: FA3PaymentMethod; otherMethodDescription?: string; paidDate?: string; partialPayments?: FA3PartialPayment[]; bankAccounts?: FA3BankAccount[]; factorBankAccounts?: FA3BankAccount[]; paymentLink?: string; ipksef?: string; } interface FA3ValidationIssue$1 { code: string; message: string; path?: string; } interface FA3ContractSection { number: string; date?: string; } interface FA3OrderLineSection { description: string; quantity: number | string; unitNetPrice: number | string; vatRate?: number | string | null; xiiVatRate?: number | string | null; } interface FA3OrderSection { number?: string; date?: string; totalGross?: number | string; lines?: FA3OrderLineSection[]; } interface FA3TransportSection { kind: string; orderNumber?: string; cargoDescription?: string; packageUnit?: string; } interface FA3TransactionTermsSection { deliveryTerms?: string; contractualRate?: string; contractualCurrency?: string; intermediary?: boolean; } interface FA3AdditionalDescriptionSection { key: string; value: string; } interface FA3AttachmentTableSection { headers: string[]; rows: string[][]; } interface FA3AttachmentBlockSection { header?: string; paragraphs?: string[]; tables?: FA3AttachmentTableSection[]; } interface FA3AttachmentSection { blocks: FA3AttachmentBlockSection[]; } interface FA3DraftInput { invoiceNumber: string; issueDate: string; seller: FA3Party$1; buyer: FA3Party$1; lines: FA3Line$1[]; kind?: FA3InvoiceKind$1; currency?: string; issuePlace?: string; saleDate?: string; periodFrom?: string; periodTo?: string; correctionReason?: string; correctionType?: FA3CorrectionType | string; correctedInvoiceNumber?: string; correctedInvoiceDate?: string; correctedKsefNumber?: string; correctedPeriod?: string; correctedInvoiceNumberOverride?: string; advanceInvoiceNumber?: string; advanceKsefNumber?: string; settlementAmount?: number | string; settlement?: FA3Settlement; paymentTerms?: FA3PaymentTerms; advancePayments?: FA3AdvancePayment[]; additionalParties?: FA3Party$1[]; marginProcedure?: FA3MarginProcedure; splitPaymentAnnotation?: boolean; transportKind?: FA3TransportKind; foreignCurrencyRate?: number | string; simplifiedReceiptLike?: boolean; rawExtensions?: Array<{ path: string; xml: string; }>; attachmentText?: string; contract?: FA3ContractSection; order?: FA3OrderSection; transport?: FA3TransportSection; transactionTerms?: FA3TransactionTermsSection; additionalDescriptions?: FA3AdditionalDescriptionSection[]; attachment?: FA3AttachmentSection; } declare const PartyIdentifierKind: { readonly NIP: "NIP"; readonly EU_VAT: "EU_VAT"; readonly FOREIGN: "FOREIGN"; readonly INTERNAL: "INTERNAL"; readonly NONE: "NONE"; }; type PartyIdentifierKindValue = (typeof PartyIdentifierKind)[keyof typeof PartyIdentifierKind]; type ResolvedPartyIdentifier = FA3PartyIdentifier; declare function resolvePartyIdentifier(party: FA3Party$1): ResolvedPartyIdentifier; declare function validatePartyIdentifier(identifier: ResolvedPartyIdentifier, path: string): FA3ValidationIssue$1[]; declare function mapPartyIdentityToXml(identifier: ResolvedPartyIdentifier, name: string, context: "seller" | "buyer"): XmlObject; interface FA3XmlOptions { pretty?: boolean; xsdValidate?: boolean; } declare class FA3Draft { private readonly value; constructor(value: FA3DraftInput); static fromDict(value: FA3DraftInput | (FA3DraftInput & Record)): FA3Draft; toDict(): FA3DraftInput; validate(): FA3ValidationIssue$1[]; toFakturaInput(): FakturaInput; toXml(options?: FA3XmlOptions): Promise; } declare function validateAndReturnXml(xml: string, validate?: (value: string) => Promise): Promise; declare class FA3InvoiceBuilder { private readonly value; constructor(invoiceNumber: string, kind?: FA3InvoiceKind$1); issuedOn(value: Date): FA3InvoiceBuilder; issueDate(value: string): FA3InvoiceBuilder; saleDate(value: string): FA3InvoiceBuilder; period(from: string, to: string): FA3InvoiceBuilder; seller(value: FA3Party$1): FA3InvoiceBuilder; buyer(value: FA3Party$1): FA3InvoiceBuilder; addParty(value: FA3Party$1): FA3InvoiceBuilder; currency(value: string): FA3InvoiceBuilder; issuePlace(value: string): FA3InvoiceBuilder; additionalDescription(key: string, value: string): FA3InvoiceBuilder; contract(number: string, date?: string): FA3InvoiceBuilder; orderReference(number: string, date?: string): FA3InvoiceBuilder; order(totalGross: number | string): FA3InvoiceBuilder; orderLine(value: { description: string; quantity: number | string; unitNetPrice: number | string; vatRate?: number | string | null; }): FA3InvoiceBuilder; transactionTerms(value: { deliveryTerms?: string; contractualRate?: string; contractualCurrency?: string; intermediary?: boolean; }): FA3InvoiceBuilder; transport(kind: string, options?: { orderNumber?: string; cargoDescription?: string; packageUnit?: string; }): FA3InvoiceBuilder; correction(value: { reason: string; correctedInvoiceNumber: string; correctedInvoiceDate?: string; correctedKsefNumber?: string; correctionType?: string; }): FA3InvoiceBuilder; correctedPeriod(value: string): FA3InvoiceBuilder; correctedInvoiceNumberOverride(value: string): FA3InvoiceBuilder; settlesAdvance(value?: { invoiceNumber?: string; ksefNumber?: string; }): FA3InvoiceBuilder; advanceReference(value: { invoiceNumber?: string; ksefNumber?: string; }): FA3InvoiceBuilder; advancePayment(value: FA3AdvancePayment): FA3InvoiceBuilder; settlementAmount(value: number | string): FA3InvoiceBuilder; settlementDetails(value: FA3Settlement): FA3InvoiceBuilder; payment(value: FA3PaymentTerms): FA3InvoiceBuilder; bankAccount(value: FA3BankAccount): FA3InvoiceBuilder; paymentLink(value: string, ipksef?: string): FA3InvoiceBuilder; paymentDue(date: string, method?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "transfer" | "cash" | "card" | "voucher" | "check" | "credit" | "compensation" | "other"): FA3InvoiceBuilder; paymentDueDescription(amount: number, unit: string, startsFrom: string, method?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "transfer" | "cash" | "card" | "voucher" | "check" | "credit" | "compensation" | "other"): FA3InvoiceBuilder; paid(value: string): FA3InvoiceBuilder; partiallyPaid(value: { amount: number | string; paidOn: string; method?: FA3PaymentMethod; otherMethodDescription?: string; }): FA3InvoiceBuilder; foreignCurrencyRate(value: number | string): FA3InvoiceBuilder; asSimplifiedReceiptLike(): FA3InvoiceBuilder; attachmentText(value: string): FA3InvoiceBuilder; attachment(value: { blocks: Array<{ header?: string; paragraphs?: string[]; tables?: Array<{ headers: string[]; rows: string[][]; }>; }>; }): FA3InvoiceBuilder; addLine(value: FA3Line$1): FA3InvoiceBuilder; addGoodsLine(description: string, options: { quantity: number | string; unitNetPrice: number | string; unit?: string; vatRate?: number | string | null; vatCode?: string; vatAmountPln?: number | string | null; xiiVatRate?: number | string | null; gtu?: string; procedure?: string; annex15?: boolean; netAmount?: number | string; vatAmount?: number | string; grossAmount?: number | string; }): FA3InvoiceBuilder; addServiceLine(description: string, options: Parameters[1]): FA3InvoiceBuilder; splitPayment(): FA3InvoiceBuilder; addCorrectedLineBeforeAfter(value: { before: FA3Line$1; after: FA3Line$1; }): FA3InvoiceBuilder; rawExtension(pathValue: string, xml: string): FA3InvoiceBuilder; build(): FA3Draft; validate(): FA3ValidationIssue$1[]; toXml(options?: FA3XmlOptions): Promise; } declare class BasicInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string); } declare class SimplifiedInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string); } declare class CorrectionInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string, kind?: FA3InvoiceKind$1); } declare class AdvanceInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string, kind?: FA3InvoiceKind$1); } declare class SettlementInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string, kind?: FA3InvoiceKind$1); } declare class AdvanceCorrectionInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string); } declare class SettlementCorrectionInvoiceBuilder extends FA3InvoiceBuilder { constructor(invoiceNumber: string); } declare class FA3Invoice { static basic(invoiceNumber: string): BasicInvoiceBuilder; static simplified(invoiceNumber: string): SimplifiedInvoiceBuilder; static correction(invoiceNumber: string): CorrectionInvoiceBuilder; static advance(invoiceNumber: string): AdvanceInvoiceBuilder; static settlement(invoiceNumber: string): SettlementInvoiceBuilder; static advanceCorrection(invoiceNumber: string): AdvanceCorrectionInvoiceBuilder; static settlementCorrection(invoiceNumber: string): SettlementCorrectionInvoiceBuilder; static advance_correction(invoiceNumber: string): AdvanceCorrectionInvoiceBuilder; static settlement_correction(invoiceNumber: string): SettlementCorrectionInvoiceBuilder; } declare class FA3BatchDraft { readonly drafts: FA3Draft[]; constructor(drafts: FA3Draft[]); toDict(): { drafts: FA3DraftInput[]; }; toJson(): string; static fromJson(value: string): FA3BatchDraft; toXmlFiles(outDir: string, options?: FA3XmlOptions): Promise; toXmlZip(targetPath: string, options?: FA3XmlOptions): Promise; } declare function sanitizeFileName(value: string, fallback?: string): string; declare const BaseFA3Builder: typeof FA3InvoiceBuilder; declare class FA3ValidationResult { readonly errors: FA3ValidationIssue$1[]; readonly warnings: FA3ValidationIssue$1[]; constructor(errors?: FA3ValidationIssue$1[], warnings?: FA3ValidationIssue$1[]); } declare class Address { static polish(line1: string, line2?: string, line3?: string): { countryCode: "PL"; line1: string; line2?: string; line3?: string; }; static foreign(countryCode: string, line1: string, line2?: string, line3?: string): { countryCode: string; line1: string; line2?: string; line3?: string; }; } declare class Contact { static create(value: { email?: string; phone?: string; }): { email?: string; phone?: string; }; } declare const ThirdPartyRole: { readonly ORIGINAL_ENTITY: "1"; readonly ADDITIONAL_BUYER: "2"; readonly RECIPIENT: "3"; readonly PAYER: "4"; readonly JST_SUBUNIT: "8"; readonly VAT_GROUP_MEMBER: "10"; readonly OTHER: "11"; }; declare const AuthorizedPartyRole: { readonly REPRESENTATIVE: "1"; readonly BAILIFF: "2"; readonly ENFORCEMENT_AUTHORITY: "3"; }; declare class PartyIdentifier { static polishNip(value: string): FA3PartyIdentifier; static euVat(countryCode: string, vatId: string): FA3PartyIdentifier; static foreign(identifier: string, countryCode?: string): FA3PartyIdentifier; static internal(value: string): FA3PartyIdentifier; static none(): FA3PartyIdentifier; } declare class InvoiceParty { static polishCompany(input: { nip: string; name: string; address?: string; email?: string; phone?: string; }): FA3Party$1; static euCompany(input: { vatId: string; countryCode: string; name: string; address?: string; email?: string; phone?: string; }): FA3Party$1; static foreignCompany(input: { identifier: string; countryCode: string; name: string; address?: string; }): FA3Party$1; static withoutTaxId(input: { name: string; countryCode?: string; address?: string; }): FA3Party$1; } declare const Party: typeof InvoiceParty; declare class TaxCategory { static standard23(): FA3TaxCategory; static standard22(): FA3TaxCategory; static reduced8(): FA3TaxCategory; static reduced7(): FA3TaxCategory; static reduced5(): FA3TaxCategory; static zeroDomestic(): FA3TaxCategory; static zeroWdt(): FA3TaxCategory; static zeroExport(): FA3TaxCategory; static exempt(basis: string): FA3TaxCategory; static outsideCountry(): FA3TaxCategory; static serviceArticle100(): FA3TaxCategory; static reverseCharge(): FA3TaxCategory; static xii(rate: number | string): FA3TaxCategory; } declare const VatClass: typeof TaxCategory; declare class Discount { static amount(value: number | string, reason?: string): FA3Discount; static percent(value: number | string, reason?: string): FA3Discount; } declare class InvoiceLine { static goods(description: string, input: { quantity: number | string; unitNetPrice: number | string; unit?: string; vatRate?: number | string | null; beforeCorrection?: boolean; gtu?: string; procedure?: string; annex15?: boolean; }): FA3Line$1; static service(description: string, input: Parameters[1]): FA3Line$1; static correctedBefore(description: string, input: Omit[1], "beforeCorrection">): FA3Line$1; static correctedAfter(description: string, input: Omit[1], "beforeCorrection">): FA3Line$1; } interface CorrectionReference$1 { invoiceNumber: string; issueDate?: string; ksefNumber?: string; } type BankAccount$1 = FA3BankAccount; interface PaymentTerms$1 extends FA3PaymentTerms { bankAccounts?: BankAccount$1[]; paymentLink?: string; ipksef?: string; } declare class PartialPayment { static create(amount: number | string, paidOn: string, options?: { method?: FA3PaymentMethod; otherMethodDescription?: string; }): FA3PartialPayment; } declare class SettlementAdjustment { static create(amount: number | string, reason: string): FA3SettlementAdjustment; } interface Annotation$1 { key: string; value: string; } declare class AnnotationSet { readonly items: Annotation$1[]; constructor(items?: Annotation$1[]); static default(): AnnotationSet; static splitPayment(): Annotation$1; static cashMethod(): Annotation$1; } interface AttachmentTable$1 { headers: string[]; rows: string[][]; columnTypes?: string[]; metadata?: Array<[string, string]>; description?: string; footer?: string[]; } interface AttachmentBlock$1 { header?: string; metadata?: Array<[string, string]>; paragraphs?: string[]; tables?: AttachmentTable$1[]; } interface Attachment$1 { blocks: AttachmentBlock$1[]; } interface RawXmlExtension$1 { path: string; xml: string; } declare class AdditionalDescription { readonly key: string; readonly value: string; constructor(key: string, value: string); static keyValue(key: string, value: string): AdditionalDescription; } declare class Registry { readonly kind: string; readonly number: string; readonly fullName: string | undefined; constructor(kind: string, number: string, fullName?: string); static krsEntry(number: string, fullName?: string): Registry; } declare class Footer { readonly text: string; constructor(text: string); } interface LineIdentifiers$1 { uniqueId?: string; internalIndex?: string; gtin?: string; pkwiu?: string; cn?: string; pkob?: string; } declare class PaymentDue { static date(value: string): string; static description(amount: number, unit: string, startsFrom: string): string; } interface NewTransportMeans$1 { allowedDate?: string; rowNumber?: number; kind?: string; mileage?: string; serialNumber?: string; make?: string; model?: string; } declare class CorrectedAdvanceState { readonly text: string; constructor(text: string); } declare class ExciseRefund { readonly enabled: boolean; constructor(enabled?: boolean); } interface OrderLine$1 { description: string; quantity: number | string; unitNetPrice: number | string; vatRate?: number | string | null; } interface Order$1 { number?: string; date?: string; totalGross?: number | string; lines?: OrderLine$1[]; } interface Contract$1 { number: string; date?: string; } interface Transport$1 { kind: string; orderNumber?: string; cargoDescription?: string; packageUnit?: string; } interface TransactionTerms$1 { deliveryTerms?: string; contractualRate?: string; contractualCurrency?: string; intermediary?: boolean; } declare class AdvancePayment { static create(amount: number | string, options?: { vatRate?: number | string | null; paidOn?: string; currencyRate?: number | string; }): FA3AdvancePayment; } interface ValidationContext$1 { source?: string; rowNumber?: number; } declare const FA3_FORM_VARIANT: "3"; declare const CorrectionType: { readonly TAX_BASE_OR_TAX: "1"; readonly OTHER: "2"; readonly NO_TAX_IMPACT: "3"; }; declare const PaymentMethod: { readonly CASH: "1"; readonly CARD: "2"; readonly VOUCHER: "3"; readonly CHECK: "4"; readonly CREDIT: "5"; readonly TRANSFER: "6"; readonly COMPENSATION: "7"; }; declare const VatRateCode: { readonly RATE_23: "23"; readonly RATE_22: "22"; readonly RATE_8: "8"; readonly RATE_7: "7"; readonly RATE_5: "5"; readonly RATE_4: "4"; readonly RATE_3: "3"; readonly ZERO_DOMESTIC: "0 KR"; readonly ZERO_WDT: "0 WDT"; readonly ZERO_EXPORT: "0 EX"; readonly EXEMPT: "zw"; readonly REVERSE_CHARGE: "oo"; readonly OUTSIDE_COUNTRY_1: "np I"; readonly OUTSIDE_COUNTRY_2: "np II"; }; declare const LineProcedure: { readonly WSTO_EE: "WSTO_EE"; readonly IED: "IED"; readonly TT_D: "TT_D"; readonly I_42: "I_42"; readonly I_63: "I_63"; readonly B_SPV: "B_SPV"; readonly B_SPV_DOSTAWA: "B_SPV_DOSTAWA"; readonly B_MPV_PROWIZJA: "B_MPV_PROWIZJA"; }; declare const OrderLineProcedure: { readonly WSTO_EE: "WSTO_EE"; readonly IED: "IED"; readonly TT_D: "TT_D"; readonly B_SPV: "B_SPV"; readonly B_SPV_DOSTAWA: "B_SPV_DOSTAWA"; readonly B_MPV_PROWIZJA: "B_MPV_PROWIZJA"; }; declare const GTUCode: { readonly GTU_01: "GTU_01"; readonly GTU_02: "GTU_02"; readonly GTU_03: "GTU_03"; readonly GTU_04: "GTU_04"; readonly GTU_05: "GTU_05"; readonly GTU_06: "GTU_06"; readonly GTU_07: "GTU_07"; readonly GTU_08: "GTU_08"; readonly GTU_09: "GTU_09"; readonly GTU_10: "GTU_10"; readonly GTU_11: "GTU_11"; readonly GTU_12: "GTU_12"; readonly GTU_13: "GTU_13"; }; declare const TransportKind: { readonly SEA: "1"; readonly RAIL: "2"; readonly ROAD: "3"; readonly AIR: "4"; readonly POSTAL: "5"; readonly FIXED_TRANSPORT: "7"; readonly OTHER: "8"; }; declare const MarginProcedure: { readonly TRAVEL: "travel"; readonly USED_GOODS: "used_goods"; readonly ART: "art"; readonly COLLECTIBLES: "collectibles"; }; type EnumValue> = T[keyof T]; /** Kubełki podsumowania VAT FA(3). */ type FaVatBucketKey = "23or22" | "8or7" | "5" | "4or3" | "0KR" | "0WDT" | "0EX" | "zw" | "npI" | "npII" | "oo"; interface TaxSummaryRow { rateCode: string; net: number; vat: number; gross: number; vatPln: number; } /** Mapuje kod FA(3) / numeryczny rate na kubełek P_13_x. Pusty/nieznany → KsefValidationError. */ declare function faVatBucketForCode(code: string | null | undefined): FaVatBucketKey; /** Kod stawki do P_12 / grupowania: vatCode, potem nienumeryczny vatRate, potem liczba. */ declare function resolveVatRateCode(line: FA3Line$1): string; declare class TaxSummary { static fromLines(lines: FA3Line$1[], options?: { treatBeforeCorrectionAsNegative?: boolean; }): TaxSummaryRow[]; } /** * Zamienia wiersze TaxSummary na pola Fa (P_13_x / P_14_x / P_14_xW). * Wartości jako stringi xx.xx (jak money() w builderze). */ declare function taxSummaryToFaFields(rows: TaxSummaryRow[], options?: { includeVatPln?: boolean; }): Record; declare function resolveFa3SchemaEntryPath(candidates?: string[]): string; declare function loadFa3SchemaWithLocalImports(): { schemaContent: string; schemaBaseUrl: string; schemaPath: string; }; type Fa3XmlParser = (value: string, options?: { baseUrl?: string; }) => { validate: (schema: unknown) => boolean; validationErrors?: Array<{ message?: string; }>; }; declare function validateFa3XmlWithParser(xml: string, parseXml: Fa3XmlParser): Promise; type Libxml = { parseXml: Fa3XmlParser; }; declare function loadLibxml(): Promise; declare function validateFa3XmlXsd(xml: string, loadModule?: () => Promise): Promise; declare class FA3XmlValidationError extends KsefError { constructor(message: string); } declare function toFa3XmlValidationMessage(error: unknown): string; declare function validateFa3XmlWithValidator(xml: string, validator: (value: string) => Promise): Promise; declare function validateFa3Xml(xml: string): Promise; declare function invoiceToXml(draft: FA3Draft, options?: { pretty?: boolean; xsdValidate?: boolean; }): Promise; declare const invoice_to_xml: typeof invoiceToXml; declare const validate_fa3_xml_xsd: typeof validateFa3XmlXsd; declare const ImportMode: { readonly NORMAL: "normal"; readonly VALIDATE_ONLY: "validate_only"; readonly FAIL_FAST: "fail_fast"; }; type ImportModeValue = (typeof ImportMode)[keyof typeof ImportMode]; declare class FA3InvalidRow { readonly rowNumber: number | undefined; readonly invoiceNumber: string | undefined; readonly message: string; constructor(message: string, rowNumber?: number, invoiceNumber?: string); } declare class FA3ImportResult { readonly validDrafts: FA3Draft[]; readonly invalidRows: FA3InvalidRow[]; readonly errors: FA3ValidationIssue$1[]; readonly warnings: FA3ValidationIssue$1[]; constructor(value?: { validDrafts?: FA3Draft[]; invalidRows?: FA3InvalidRow[]; errors?: FA3ValidationIssue$1[]; warnings?: FA3ValidationIssue$1[]; }); } declare class FA3ImportError extends Error { constructor(message: string); } declare class FA3Importer { static fromJson(source: string | Record, options?: { mode?: ImportModeValue; }): FA3ImportResult; static fromXlsx(): never; static from_json(source: string | Record, options?: { mode?: ImportModeValue; }): FA3ImportResult; } declare function toBatchDraft(result: FA3ImportResult): FA3BatchDraft; declare class FA3Template { static sampleBatch(): FA3BatchDraft; static createJson(targetPath: string): string; static create_xlsx(): never; } declare const FA3InvoiceKind: { readonly BASIC: "basic"; readonly SIMPLIFIED: "simplified"; readonly CORRECTION: "correction"; readonly ADVANCE: "advance"; readonly SETTLEMENT: "settlement"; readonly ADVANCE_CORRECTION: "advance_correction"; readonly SETTLEMENT_CORRECTION: "settlement_correction"; }; declare const FA3Party: { create(input: FA3Party$1): FA3Party$1; }; declare const FA3Line: { create(input: FA3Line$1): FA3Line$1; }; declare class FA3ValidationIssue implements FA3ValidationIssue$1 { code: string; message: string; path?: string; constructor(message: string, code?: string, path?: string); withLocation(path: string): FA3ValidationIssue; } declare const Annotation: { create(key: string, value: string): Annotation$1; splitPayment(): Annotation$1; cashMethod(): Annotation$1; }; declare const AttachmentTable: { create(input: AttachmentTable$1): AttachmentTable$1; }; declare const AttachmentBlock: { create(input?: AttachmentBlock$1): AttachmentBlock$1; }; declare const Attachment: { create(blocks: AttachmentBlock$1[]): Attachment$1; text(header: string, ...paragraphs: string[]): Attachment$1; }; declare const BankAccount: { create(number: string, description?: string): BankAccount$1; }; declare const Contract: { create(number: string, date?: string): Contract$1; }; declare const CorrectionReference: { create(invoiceNumber: string, issueDate?: string, ksefNumber?: string): CorrectionReference$1; }; declare const LineIdentifiers: { create(value: LineIdentifiers$1): LineIdentifiers$1; }; declare const NewTransportMeans: { create(value: NewTransportMeans$1): NewTransportMeans$1; }; declare const OrderLine: { create(value: OrderLine$1): OrderLine$1; }; declare const Order: { create(value: Order$1): Order$1; }; declare const PaymentTerms: { create(value: PaymentTerms$1): PaymentTerms$1; transfer(options?: { dueDate?: string; bankAccount?: BankAccount$1; }): PaymentTerms$1; }; declare const RawXmlExtension: { create(path: string, xml: string): RawXmlExtension$1; }; declare const Settlement: { create(value: FA3Settlement): FA3Settlement; }; declare const TransactionTerms: { create(value: TransactionTerms$1): TransactionTerms$1; }; declare const Transport: { create(value: Transport$1): Transport$1; }; declare const ValidationContext: { create(source?: string, rowNumber?: number): ValidationContext$1; }; declare class XsdElement { readonly path: string; readonly name: string; readonly typeName: string | undefined; readonly minOccurs: string; readonly maxOccurs: string; readonly choices: number; readonly enumValues: string[]; constructor(value: { path: string; name: string; typeName?: string; minOccurs?: string; maxOccurs?: string; choices?: number; enumValues?: string[]; }); } declare function parseFa3XsdElements(schemaText: string): XsdElement[]; declare const parse_fa3_xsd_elements: typeof parseFa3XsdElements; declare const CoverageStatus: { readonly SUPPORTED: "supported"; readonly PARTIALLY_SUPPORTED: "partially_supported"; readonly RAW_EXTENSION: "raw_extension"; readonly UNSUPPORTED: "unsupported"; }; type CoverageStatusValue = (typeof CoverageStatus)[keyof typeof CoverageStatus]; declare class XsdCoverageEntry { readonly path: string; readonly status: CoverageStatusValue; readonly note: string; readonly domainField: string | undefined; readonly handler: string | undefined; constructor(value: { path: string; status: CoverageStatusValue; note: string; domainField?: string; handler?: string; }); } declare class XsdCoverageReport { readonly elements: XsdElement[]; readonly coverage: XsdCoverageEntry[]; constructor(elements: XsdElement[], coverage: XsdCoverageEntry[]); } declare function auditFa3XsdCoverage(options?: { elements?: XsdElement[]; }): XsdCoverageReport; declare const audit_fa3_xsd_coverage: typeof auditFa3XsdCoverage; type index_AdditionalDescription = AdditionalDescription; declare const index_AdditionalDescription: typeof AdditionalDescription; type index_Address = Address; declare const index_Address: typeof Address; type index_AdvanceCorrectionInvoiceBuilder = AdvanceCorrectionInvoiceBuilder; declare const index_AdvanceCorrectionInvoiceBuilder: typeof AdvanceCorrectionInvoiceBuilder; type index_AdvanceInvoiceBuilder = AdvanceInvoiceBuilder; declare const index_AdvanceInvoiceBuilder: typeof AdvanceInvoiceBuilder; type index_AdvancePayment = AdvancePayment; declare const index_AdvancePayment: typeof AdvancePayment; declare const index_Annotation: typeof Annotation; type index_AnnotationSet = AnnotationSet; declare const index_AnnotationSet: typeof AnnotationSet; declare const index_Attachment: typeof Attachment; declare const index_AttachmentBlock: typeof AttachmentBlock; declare const index_AttachmentTable: typeof AttachmentTable; declare const index_AuthorizedPartyRole: typeof AuthorizedPartyRole; declare const index_BankAccount: typeof BankAccount; declare const index_BaseFA3Builder: typeof BaseFA3Builder; type index_BasicInvoiceBuilder = BasicInvoiceBuilder; declare const index_BasicInvoiceBuilder: typeof BasicInvoiceBuilder; type index_Contact = Contact; declare const index_Contact: typeof Contact; declare const index_Contract: typeof Contract; type index_CorrectedAdvanceState = CorrectedAdvanceState; declare const index_CorrectedAdvanceState: typeof CorrectedAdvanceState; type index_CorrectionInvoiceBuilder = CorrectionInvoiceBuilder; declare const index_CorrectionInvoiceBuilder: typeof CorrectionInvoiceBuilder; declare const index_CorrectionReference: typeof CorrectionReference; declare const index_CorrectionType: typeof CorrectionType; declare const index_CoverageStatus: typeof CoverageStatus; type index_CoverageStatusValue = CoverageStatusValue; type index_Discount = Discount; declare const index_Discount: typeof Discount; type index_EnumValue> = EnumValue; type index_ExciseRefund = ExciseRefund; declare const index_ExciseRefund: typeof ExciseRefund; type index_FA3AdditionalDescriptionSection = FA3AdditionalDescriptionSection; type index_FA3Address = FA3Address; type index_FA3AdvancePayment = FA3AdvancePayment; type index_FA3AdvanceReference = FA3AdvanceReference; type index_FA3AttachmentBlockSection = FA3AttachmentBlockSection; type index_FA3AttachmentSection = FA3AttachmentSection; type index_FA3AttachmentTableSection = FA3AttachmentTableSection; type index_FA3BankAccount = FA3BankAccount; type index_FA3BatchDraft = FA3BatchDraft; declare const index_FA3BatchDraft: typeof FA3BatchDraft; type index_FA3Contact = FA3Contact; type index_FA3ContractSection = FA3ContractSection; type index_FA3CorrectionType = FA3CorrectionType; type index_FA3Discount = FA3Discount; type index_FA3Draft = FA3Draft; declare const index_FA3Draft: typeof FA3Draft; type index_FA3DraftInput = FA3DraftInput; type index_FA3ImportError = FA3ImportError; declare const index_FA3ImportError: typeof FA3ImportError; type index_FA3ImportResult = FA3ImportResult; declare const index_FA3ImportResult: typeof FA3ImportResult; type index_FA3Importer = FA3Importer; declare const index_FA3Importer: typeof FA3Importer; type index_FA3InvalidRow = FA3InvalidRow; declare const index_FA3InvalidRow: typeof FA3InvalidRow; type index_FA3Invoice = FA3Invoice; declare const index_FA3Invoice: typeof FA3Invoice; type index_FA3InvoiceBuilder = FA3InvoiceBuilder; declare const index_FA3InvoiceBuilder: typeof FA3InvoiceBuilder; declare const index_FA3InvoiceKind: typeof FA3InvoiceKind; declare const index_FA3Line: typeof FA3Line; type index_FA3MarginProcedure = FA3MarginProcedure; type index_FA3OrderLineSection = FA3OrderLineSection; type index_FA3OrderSection = FA3OrderSection; type index_FA3PartialPayment = FA3PartialPayment; declare const index_FA3Party: typeof FA3Party; type index_FA3PartyIdentifier = FA3PartyIdentifier; type index_FA3PartyIdentifierKind = FA3PartyIdentifierKind; type index_FA3PaymentDueDescription = FA3PaymentDueDescription; type index_FA3PaymentMethod = FA3PaymentMethod; type index_FA3PaymentTerms = FA3PaymentTerms; type index_FA3Settlement = FA3Settlement; type index_FA3SettlementAdjustment = FA3SettlementAdjustment; type index_FA3TaxCategory = FA3TaxCategory; type index_FA3Template = FA3Template; declare const index_FA3Template: typeof FA3Template; type index_FA3ThirdPartyRole = FA3ThirdPartyRole; type index_FA3TransactionTermsSection = FA3TransactionTermsSection; type index_FA3TransportKind = FA3TransportKind; type index_FA3TransportSection = FA3TransportSection; type index_FA3ValidationIssue = FA3ValidationIssue; declare const index_FA3ValidationIssue: typeof FA3ValidationIssue; type index_FA3ValidationResult = FA3ValidationResult; declare const index_FA3ValidationResult: typeof FA3ValidationResult; type index_FA3XmlValidationError = FA3XmlValidationError; declare const index_FA3XmlValidationError: typeof FA3XmlValidationError; declare const index_FA3_FORM_VARIANT: typeof FA3_FORM_VARIANT; type index_FaVatBucketKey = FaVatBucketKey; type index_Footer = Footer; declare const index_Footer: typeof Footer; declare const index_GTUCode: typeof GTUCode; declare const index_ImportMode: typeof ImportMode; type index_ImportModeValue = ImportModeValue; type index_InvoiceLine = InvoiceLine; declare const index_InvoiceLine: typeof InvoiceLine; type index_InvoiceParty = InvoiceParty; declare const index_InvoiceParty: typeof InvoiceParty; type index_Libxml = Libxml; declare const index_LineIdentifiers: typeof LineIdentifiers; declare const index_LineProcedure: typeof LineProcedure; declare const index_MarginProcedure: typeof MarginProcedure; declare const index_NewTransportMeans: typeof NewTransportMeans; declare const index_Order: typeof Order; declare const index_OrderLine: typeof OrderLine; declare const index_OrderLineProcedure: typeof OrderLineProcedure; type index_PartialPayment = PartialPayment; declare const index_PartialPayment: typeof PartialPayment; declare const index_Party: typeof Party; type index_PartyIdentifier = PartyIdentifier; declare const index_PartyIdentifier: typeof PartyIdentifier; declare const index_PartyIdentifierKind: typeof PartyIdentifierKind; type index_PartyIdentifierKindValue = PartyIdentifierKindValue; type index_PaymentDue = PaymentDue; declare const index_PaymentDue: typeof PaymentDue; declare const index_PaymentMethod: typeof PaymentMethod; declare const index_PaymentTerms: typeof PaymentTerms; declare const index_RawXmlExtension: typeof RawXmlExtension; type index_Registry = Registry; declare const index_Registry: typeof Registry; type index_ResolvedPartyIdentifier = ResolvedPartyIdentifier; declare const index_Settlement: typeof Settlement; type index_SettlementAdjustment = SettlementAdjustment; declare const index_SettlementAdjustment: typeof SettlementAdjustment; type index_SettlementCorrectionInvoiceBuilder = SettlementCorrectionInvoiceBuilder; declare const index_SettlementCorrectionInvoiceBuilder: typeof SettlementCorrectionInvoiceBuilder; type index_SettlementInvoiceBuilder = SettlementInvoiceBuilder; declare const index_SettlementInvoiceBuilder: typeof SettlementInvoiceBuilder; type index_SimplifiedInvoiceBuilder = SimplifiedInvoiceBuilder; declare const index_SimplifiedInvoiceBuilder: typeof SimplifiedInvoiceBuilder; type index_TaxCategory = TaxCategory; declare const index_TaxCategory: typeof TaxCategory; type index_TaxSummary = TaxSummary; declare const index_TaxSummary: typeof TaxSummary; type index_TaxSummaryRow = TaxSummaryRow; declare const index_ThirdPartyRole: typeof ThirdPartyRole; declare const index_TransactionTerms: typeof TransactionTerms; declare const index_Transport: typeof Transport; declare const index_TransportKind: typeof TransportKind; declare const index_ValidationContext: typeof ValidationContext; declare const index_VatClass: typeof VatClass; declare const index_VatRateCode: typeof VatRateCode; type index_XsdCoverageEntry = XsdCoverageEntry; declare const index_XsdCoverageEntry: typeof XsdCoverageEntry; type index_XsdCoverageReport = XsdCoverageReport; declare const index_XsdCoverageReport: typeof XsdCoverageReport; type index_XsdElement = XsdElement; declare const index_XsdElement: typeof XsdElement; declare const index_auditFa3XsdCoverage: typeof auditFa3XsdCoverage; declare const index_audit_fa3_xsd_coverage: typeof audit_fa3_xsd_coverage; declare const index_faVatBucketForCode: typeof faVatBucketForCode; declare const index_invoiceToXml: typeof invoiceToXml; declare const index_invoice_to_xml: typeof invoice_to_xml; declare const index_loadFa3SchemaWithLocalImports: typeof loadFa3SchemaWithLocalImports; declare const index_loadLibxml: typeof loadLibxml; declare const index_mapPartyIdentityToXml: typeof mapPartyIdentityToXml; declare const index_parseFa3XsdElements: typeof parseFa3XsdElements; declare const index_parse_fa3_xsd_elements: typeof parse_fa3_xsd_elements; declare const index_resolveFa3SchemaEntryPath: typeof resolveFa3SchemaEntryPath; declare const index_resolvePartyIdentifier: typeof resolvePartyIdentifier; declare const index_resolveVatRateCode: typeof resolveVatRateCode; declare const index_sanitizeFileName: typeof sanitizeFileName; declare const index_taxSummaryToFaFields: typeof taxSummaryToFaFields; declare const index_toBatchDraft: typeof toBatchDraft; declare const index_toFa3XmlValidationMessage: typeof toFa3XmlValidationMessage; declare const index_validateAndReturnXml: typeof validateAndReturnXml; declare const index_validateFa3Xml: typeof validateFa3Xml; declare const index_validateFa3XmlWithParser: typeof validateFa3XmlWithParser; declare const index_validateFa3XmlWithValidator: typeof validateFa3XmlWithValidator; declare const index_validateFa3XmlXsd: typeof validateFa3XmlXsd; declare const index_validatePartyIdentifier: typeof validatePartyIdentifier; declare const index_validate_fa3_xml_xsd: typeof validate_fa3_xml_xsd; declare namespace index { export { index_AdditionalDescription as AdditionalDescription, index_Address as Address, index_AdvanceCorrectionInvoiceBuilder as AdvanceCorrectionInvoiceBuilder, index_AdvanceInvoiceBuilder as AdvanceInvoiceBuilder, index_AdvancePayment as AdvancePayment, index_Annotation as Annotation, index_AnnotationSet as AnnotationSet, index_Attachment as Attachment, index_AttachmentBlock as AttachmentBlock, index_AttachmentTable as AttachmentTable, index_AuthorizedPartyRole as AuthorizedPartyRole, index_BankAccount as BankAccount, index_BaseFA3Builder as BaseFA3Builder, index_BasicInvoiceBuilder as BasicInvoiceBuilder, index_Contact as Contact, index_Contract as Contract, index_CorrectedAdvanceState as CorrectedAdvanceState, index_CorrectionInvoiceBuilder as CorrectionInvoiceBuilder, index_CorrectionReference as CorrectionReference, index_CorrectionType as CorrectionType, index_CoverageStatus as CoverageStatus, type index_CoverageStatusValue as CoverageStatusValue, index_Discount as Discount, type index_EnumValue as EnumValue, index_ExciseRefund as ExciseRefund, type index_FA3AdditionalDescriptionSection as FA3AdditionalDescriptionSection, type index_FA3Address as FA3Address, type index_FA3AdvancePayment as FA3AdvancePayment, type index_FA3AdvanceReference as FA3AdvanceReference, type index_FA3AttachmentBlockSection as FA3AttachmentBlockSection, type index_FA3AttachmentSection as FA3AttachmentSection, type index_FA3AttachmentTableSection as FA3AttachmentTableSection, type index_FA3BankAccount as FA3BankAccount, index_FA3BatchDraft as FA3BatchDraft, type index_FA3Contact as FA3Contact, type index_FA3ContractSection as FA3ContractSection, type index_FA3CorrectionType as FA3CorrectionType, type index_FA3Discount as FA3Discount, index_FA3Draft as FA3Draft, type index_FA3DraftInput as FA3DraftInput, index_FA3ImportError as FA3ImportError, index_FA3ImportResult as FA3ImportResult, index_FA3Importer as FA3Importer, index_FA3InvalidRow as FA3InvalidRow, index_FA3Invoice as FA3Invoice, index_FA3InvoiceBuilder as FA3InvoiceBuilder, index_FA3InvoiceKind as FA3InvoiceKind, index_FA3Line as FA3Line, type index_FA3MarginProcedure as FA3MarginProcedure, type index_FA3OrderLineSection as FA3OrderLineSection, type index_FA3OrderSection as FA3OrderSection, type index_FA3PartialPayment as FA3PartialPayment, index_FA3Party as FA3Party, type index_FA3PartyIdentifier as FA3PartyIdentifier, type index_FA3PartyIdentifierKind as FA3PartyIdentifierKind, type index_FA3PaymentDueDescription as FA3PaymentDueDescription, type index_FA3PaymentMethod as FA3PaymentMethod, type index_FA3PaymentTerms as FA3PaymentTerms, type index_FA3Settlement as FA3Settlement, type index_FA3SettlementAdjustment as FA3SettlementAdjustment, type index_FA3TaxCategory as FA3TaxCategory, index_FA3Template as FA3Template, type index_FA3ThirdPartyRole as FA3ThirdPartyRole, type index_FA3TransactionTermsSection as FA3TransactionTermsSection, type index_FA3TransportKind as FA3TransportKind, type index_FA3TransportSection as FA3TransportSection, index_FA3ValidationIssue as FA3ValidationIssue, index_FA3ValidationResult as FA3ValidationResult, index_FA3XmlValidationError as FA3XmlValidationError, index_FA3_FORM_VARIANT as FA3_FORM_VARIANT, type index_FaVatBucketKey as FaVatBucketKey, index_Footer as Footer, index_GTUCode as GTUCode, index_ImportMode as ImportMode, type index_ImportModeValue as ImportModeValue, index_InvoiceLine as InvoiceLine, index_InvoiceParty as InvoiceParty, type index_Libxml as Libxml, index_LineIdentifiers as LineIdentifiers, index_LineProcedure as LineProcedure, index_MarginProcedure as MarginProcedure, index_NewTransportMeans as NewTransportMeans, index_Order as Order, index_OrderLine as OrderLine, index_OrderLineProcedure as OrderLineProcedure, index_PartialPayment as PartialPayment, index_Party as Party, index_PartyIdentifier as PartyIdentifier, index_PartyIdentifierKind as PartyIdentifierKind, type index_PartyIdentifierKindValue as PartyIdentifierKindValue, index_PaymentDue as PaymentDue, index_PaymentMethod as PaymentMethod, index_PaymentTerms as PaymentTerms, index_RawXmlExtension as RawXmlExtension, index_Registry as Registry, type index_ResolvedPartyIdentifier as ResolvedPartyIdentifier, index_Settlement as Settlement, index_SettlementAdjustment as SettlementAdjustment, index_SettlementCorrectionInvoiceBuilder as SettlementCorrectionInvoiceBuilder, index_SettlementInvoiceBuilder as SettlementInvoiceBuilder, index_SimplifiedInvoiceBuilder as SimplifiedInvoiceBuilder, index_TaxCategory as TaxCategory, index_TaxSummary as TaxSummary, type index_TaxSummaryRow as TaxSummaryRow, index_ThirdPartyRole as ThirdPartyRole, index_TransactionTerms as TransactionTerms, index_Transport as Transport, index_TransportKind as TransportKind, index_ValidationContext as ValidationContext, index_VatClass as VatClass, index_VatRateCode as VatRateCode, index_XsdCoverageEntry as XsdCoverageEntry, index_XsdCoverageReport as XsdCoverageReport, index_XsdElement as XsdElement, index_auditFa3XsdCoverage as auditFa3XsdCoverage, index_audit_fa3_xsd_coverage as audit_fa3_xsd_coverage, index_faVatBucketForCode as faVatBucketForCode, index_invoiceToXml as invoiceToXml, index_invoice_to_xml as invoice_to_xml, index_loadFa3SchemaWithLocalImports as loadFa3SchemaWithLocalImports, index_loadLibxml as loadLibxml, index_mapPartyIdentityToXml as mapPartyIdentityToXml, index_parseFa3XsdElements as parseFa3XsdElements, index_parse_fa3_xsd_elements as parse_fa3_xsd_elements, index_resolveFa3SchemaEntryPath as resolveFa3SchemaEntryPath, index_resolvePartyIdentifier as resolvePartyIdentifier, index_resolveVatRateCode as resolveVatRateCode, index_sanitizeFileName as sanitizeFileName, index_taxSummaryToFaFields as taxSummaryToFaFields, index_toBatchDraft as toBatchDraft, index_toFa3XmlValidationMessage as toFa3XmlValidationMessage, index_validateAndReturnXml as validateAndReturnXml, index_validateFa3Xml as validateFa3Xml, index_validateFa3XmlWithParser as validateFa3XmlWithParser, index_validateFa3XmlWithValidator as validateFa3XmlWithValidator, index_validateFa3XmlXsd as validateFa3XmlXsd, index_validatePartyIdentifier as validatePartyIdentifier, index_validate_fa3_xml_xsd as validate_fa3_xml_xsd }; } export { FA3InvoiceKind as $, type PefUblInvoiceInput as A, type PefUblCreditNoteInput as B, type CollectiveIdentifiersQueryRequest as C, type PefUblDocumentInput as D, isPefUblDocumentInput as E, type FakturaSchema as F, type GenerateCollectiveIdentifierRequest as G, buildPefXml as H, type InvoiceXmlInput as I, index as J, type KsefApiProblem as K, PartyIdentifierKind as L, validatePartyIdentifier as M, mapPartyIdentityToXml as N, resolvePartyIdentifier as O, type PefSchema as P, type PartyIdentifierKindValue as Q, type ResolvedPartyIdentifier as R, Annotation as S, Attachment as T, type UnknownApiProblem as U, AttachmentBlock as V, AttachmentTable as W, type XmlDocument as X, BankAccount as Y, Contract as Z, CorrectionReference as _, type GenerateCollectiveIdentifierResponse as a, Party as a$, FA3Line as a0, FA3Party as a1, FA3ValidationIssue as a2, LineIdentifiers as a3, NewTransportMeans as a4, Order as a5, OrderLine as a6, PaymentTerms as a7, RawXmlExtension as a8, Settlement as a9, type FA3TransactionTermsSection as aA, type FA3AdditionalDescriptionSection as aB, type FA3AttachmentTableSection as aC, type FA3AttachmentBlockSection as aD, type FA3AttachmentSection as aE, type FA3DraftInput as aF, FA3Draft as aG, validateAndReturnXml as aH, FA3InvoiceBuilder as aI, BasicInvoiceBuilder as aJ, SimplifiedInvoiceBuilder as aK, CorrectionInvoiceBuilder as aL, AdvanceInvoiceBuilder as aM, SettlementInvoiceBuilder as aN, AdvanceCorrectionInvoiceBuilder as aO, SettlementCorrectionInvoiceBuilder as aP, FA3Invoice as aQ, FA3BatchDraft as aR, sanitizeFileName as aS, BaseFA3Builder as aT, FA3ValidationResult as aU, Address as aV, Contact as aW, ThirdPartyRole as aX, AuthorizedPartyRole as aY, PartyIdentifier as aZ, InvoiceParty as a_, TransactionTerms as aa, Transport as ab, ValidationContext as ac, type FA3PaymentMethod as ad, type FA3CorrectionType as ae, type FA3MarginProcedure as af, type FA3TransportKind as ag, type FA3ThirdPartyRole as ah, type FA3Address as ai, type FA3Contact as aj, type FA3PartyIdentifierKind as ak, type FA3PartyIdentifier as al, type FA3TaxCategory as am, type FA3Discount as an, type FA3AdvanceReference as ao, type FA3AdvancePayment as ap, type FA3SettlementAdjustment as aq, type FA3Settlement as ar, type FA3PartialPayment as as, type FA3BankAccount as at, type FA3PaymentDueDescription as au, type FA3PaymentTerms as av, type FA3ContractSection as aw, type FA3OrderLineSection as ax, type FA3OrderSection as ay, type FA3TransportSection as az, type CollectiveIdentifiersQueryResponse as b, TaxCategory as b0, VatClass as b1, Discount as b2, InvoiceLine as b3, PartialPayment as b4, SettlementAdjustment as b5, AnnotationSet as b6, AdditionalDescription as b7, Registry as b8, Footer as b9, validate_fa3_xml_xsd as bA, ImportMode as bB, type ImportModeValue as bC, FA3InvalidRow as bD, FA3ImportResult as bE, FA3ImportError as bF, FA3Importer as bG, toBatchDraft as bH, FA3Template as bI, XsdElement as bJ, parseFa3XsdElements as bK, parse_fa3_xsd_elements as bL, CoverageStatus as bM, type CoverageStatusValue as bN, XsdCoverageEntry as bO, XsdCoverageReport as bP, auditFa3XsdCoverage as bQ, audit_fa3_xsd_coverage as bR, resolveFa3SchemaEntryPath as bS, loadFa3SchemaWithLocalImports as bT, validateFa3XmlWithParser as bU, type Libxml as bV, loadLibxml as bW, validateFa3XmlXsd as bX, type CollectiveIdentifierInvoicesQueryRequest as bY, PaymentDue as ba, CorrectedAdvanceState as bb, ExciseRefund as bc, AdvancePayment as bd, FA3_FORM_VARIANT as be, CorrectionType as bf, PaymentMethod as bg, VatRateCode as bh, LineProcedure as bi, OrderLineProcedure as bj, GTUCode as bk, TransportKind as bl, MarginProcedure as bm, type EnumValue as bn, type FaVatBucketKey as bo, type TaxSummaryRow as bp, faVatBucketForCode as bq, resolveVatRateCode as br, TaxSummary as bs, taxSummaryToFaFields as bt, FA3XmlValidationError as bu, toFa3XmlValidationMessage as bv, validateFa3XmlWithValidator as bw, validateFa3Xml as bx, invoiceToXml as by, invoice_to_xml as bz, type CollectiveIdentifiersQueryResponseItem as c, type CollectiveIdentifierInvoicesQueryResponse as d, type CollectiveIdentifierInvoicesQueryResponseItem as e, type CollectiveIdentifiersByKsefNumberQueryResponse as f, type CollectiveIdentifiersByKsefNumberQueryResponseItem as g, type CurrencyCode as h, type CollectiveIdentifierInvoice as i, KsefError as j, KsefHttpError as k, KsefApiError as l, KsefRateLimitError as m, KsefAuthStatusError as n, openapi_generated as o, KsefSessionExpiredError as p, KsefValidationError as q, type XmlValue as r, type XmlObject as s, parseXml as t, buildXml as u, buildXmlFromObject as v, type FakturaXmlOptions as w, type FakturaInput as x, serializeInvoiceXml as y, buildFakturaXml as z };