Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

KsefReceipt

Namespace OfficeIMO.Invoicing.KSeF
Assembly OfficeIMO.Invoicing.KSeF
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

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

Returned or exposed by

Methods

public Byte[] GetBytes() #
Returns: Byte[]

Returns a defensive copy of the receipt as delivered.

public static KsefReceipt Inspect(Byte[] xml, KsefContext context, String sessionReference, String ksefNumber, String invoiceHash, CancellationToken cancellationToken = default) #
Returns: KsefReceipt

Inspects offline receipt bytes without claiming authenticated retrieval.

Parameters

xml System.Byte[] requiredposition: 0
context OfficeIMO.Invoicing.KSeF.KsefContext requiredposition: 1
sessionReference System.String requiredposition: 2
ksefNumber System.String requiredposition: 3
invoiceHash System.String requiredposition: 4
cancellationToken System.Threading.CancellationToken = default optionalposition: 5

Properties

public Boolean RetrievedThroughAuthenticatedApi { get; } #

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

public Boolean 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.