Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

KsefReceipt

OfficeIMO.Invoicing.KSeF

Namespace
OfficeIMO.Invoicing.KSeF
Assembly
OfficeIMO.Invoicing.KSeF
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Exact UPO bytes with separate schema, identity/hash binding and retrieval evidence. This does not verify a digital signature or fiscal treatment.

Inheritance

  • object
  • KsefReceipt

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Methods

public byte[] GetBytes() #

Returns a defensive copy of the receipt as delivered.

Returns

byte[]
public static KsefReceipt Inspect(byte[] xml, KsefContext context, string sessionReference, string ksefNumber, string invoiceHash, CancellationToken cancellationToken = default) #

Inspects offline receipt bytes without claiming authenticated retrieval.

Parameters

xml byte[] required
context OfficeIMO.Invoicing.KSeF.KsefContext required
sessionReference string required
ksefNumber string required
invoiceHash string required
cancellationToken System.Threading.CancellationToken = default optional

Properties

public bool RetrievedThroughAuthenticatedApi { get; } #

Whether this instance was obtained through the client's direct authenticated official API route.

public bool IsBound { get; } #

Whether session, context, KSeF identifier and exact document hash match the expected values.

public InvoiceValidationStatus SchemaStatus { get; } #

Pinned UPO v4-3 XSD result, independent of retrieval and invoice acceptance.

public IReadOnlyList<InvoiceDiagnostic> Diagnostics { get; } #

Schema and binding diagnostics; a failed schema is never silently relaxed.

public string Sha256 { get; } #

SHA-256 of exact UPO bytes, hexadecimal encoded.