API Reference
KsefReceipt
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
- Method KsefClient.GetInvoiceReceiptAsync
- Method KsefReceipt.Inspect
Methods
public static KsefReceipt Inspect(Byte[] xml, KsefContext context, String sessionReference, String ksefNumber, String invoiceHash, CancellationToken cancellationToken = default) #KsefReceiptInspects offline receipt bytes without claiming authenticated retrieval.
Parameters
- xml System.Byte[]
- context OfficeIMO.Invoicing.KSeF.KsefContext
- sessionReference System.String
- ksefNumber System.String
- invoiceHash System.String
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.