Table of Contents

KVSKBAPmtQRCodeSrcServiceInv

Implements KVSKBAPaymentQRCodeSourceDoc. Summary: Implementation of KVSKBAPaymentQRCodeSourceDoc for a posted Service Invoice Header, used to build a SEPA payment QR code ("GiroCode"/EPC069-12) for a posted service invoice.

Procedures

SetDocument(Variant) :

Summary: Sets the posted service invoice (as a Service Invoice Header record) that the other methods on this interface will read payment data from.

procedure SetDocument(DocumentVariant: Variant): 

Parameters:

  • DocumentVariant: The posted service invoice record to read payment data from.

GetDocumentNo() : Code[20]

Summary: Returns the posted service invoice's number.

procedure GetDocumentNo(): Code[20]

Returns: The posted service invoice number as Code[20].

GetAmountIncludingVAT() : Decimal

Summary: Returns the posted service invoice's amount including VAT, in the invoice's currency.

procedure GetAmountIncludingVAT(): Decimal

Returns: The posted service invoice amount including VAT in the invoice currency as Decimal.

GetCurrencyCode() : Code[10]

Summary: Returns the posted service invoice's currency code, or blank for the local currency (LCY).

procedure GetCurrencyCode(): Code[10]

Returns: The invoice currency code as Code[10], or blank if the local currency is used.

GetRemittanceInfo() : Text[140]

Summary: Returns the service invoice's payment reference to use as remittance information, or, if the invoice has no payment reference, a fallback text based on the invoice number.

procedure GetRemittanceInfo(): Text[140]

Returns: The payment reference or fallback remittance text as Text[140].

GetBillToName() : Text[70]

Summary: Returns the service invoice's bill-to name.

procedure GetBillToName(): Text[70]

Returns: The bill-to customer name as Text[70].

GetBillToAddress() : Text[70]

Summary: Returns the service invoice's bill-to street address (without postal code/city).

procedure GetBillToAddress(): Text[70]

Returns: The bill-to street address as Text[70].

GetBillToPostCode() : Code[20]

Summary: Returns the service invoice's bill-to postal code.

procedure GetBillToPostCode(): Code[20]

Returns: The bill-to postal code as Code[20].

GetBillToCity() : Text[35]

Summary: Returns the service invoice's bill-to city.

procedure GetBillToCity(): Text[35]

Returns: The bill-to city as Text[35].

GetBillToCountryRegionCode() : Code[10]

Summary: Returns the service invoice's bill-to country/region code, or blank for the company's own country/region.

procedure GetBillToCountryRegionCode(): Code[10]

Returns: The bill-to country/region code as Code[10], or blank if the company's own country/region is used.