Click or drag to resize

PaymentsHelperPaymentsOfInvoice Method

Calculates sum of payments the of invoice excluding refunded payments.

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public static decimal PaymentsOfInvoice(
	Guid invoiceId,
	Nullable<DateTime> date
)

Parameters

invoiceId
Type: SystemGuid
The invoice identifier.
date
Type: SystemNullableDateTime
If set, the date is used to filter only payments made before the date.

Return Value

Type: Decimal
Sum of payments made before given date.
Remarks
If payment was refunded, payment will not be accounted.
See Also