Amount

Namespace: CCPEntities

Summary

General amount entity, used to store amount VAT-included or VAT-excluded

Syncable

This object is syncable

Properties

Name Type FixedLength MaxLength/Range Identity Summary Value
key AmountId* Edm.Int32 False true
BaseAmount* Edm.Decimal False
AmountExVat* Edm.Decimal False The amount VAT-exclusive (without the DiscountPercentage)
If IsExVat = false: AmountExVat = BaseAmount / (100% + VatPercentage)
If IsExVat = true : AmountExVat = BaseAmount
(Automatically computed)
AmountIncVat* Edm.Decimal False The amount VAT-inclusive (without the DiscountPercentage)
If IsExVat = false : AmountIncVat = BaseAmount
If IsExVat = true : AmountIncVat = BaseAmount * (100% + VatPercentage)
(Automatically computed)
VatPercentage Edm.Decimal False The VAT-percentage
DiscountPercentage* Edm.Decimal False A possible DiscountPercentage, which affects only the AmountAfterDiscount
AmountAfterDiscount* Edm.Decimal False The amount after applying the DiscountPercentage:
AmountAfterDiscount = BaseAmount * (100% + DiscountPercentage)
(Automatically computed, independent of VAT-calculations)
IsExVat* Edm.Boolean False Used to specify if BaseAmount is VAT-included (false) or VAT-excluded (true)
CommissionAmount Edm.Decimal False
AmountTypeName AmountType False Specifies who is responsible for the payment of the amount.
Deleted* Edm.Boolean False
LastUpdated Edm.DateTime False
TripId Edm.Int32 False
Properties marked with a * are required

Navigation Properties

Name Type Multiplicity Summary
Trip Trip *

Additional Information

Notable information when adding a record
Checks if the user has sufficient rights to add/change/delete an amount and performs the desired operation.

Example

https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/Amounts