Currency
is specified, costs of the items are converted to that currency. Accounting items are split into Order items (consumed items such as nights or products) and Payment items (such as cash, credit card payments or invoices).[PlatformAddress]/api/connector/v1/accountingItems/getAll
ClientToken
AccessToken
Client
ConsumedUtc
ClosedUtc
ItemIds
RebatedItemIds
Extent
States
Open
or Closed
states are returned.StartUtc
EndUtc
OrderItems
PaymentItems
CreditCardTransactions
Open
- Accounting items which carry a non-zero value, are open, and have not been closed on a bill or invoice.Closed
- Accounting items which carry a non-zero value and have been closed on a bill or invoice.Inactive
- Accounting items which are either of zero value and have not been canceled, if the state of the payment item is Pending or Failed, or items of optional reservations. Until the reservation is confirmed, all its accounting items are Inactive.Canceled
- Accounting items which have been canceled, regardless of whether the item is of zero valueOrderItems
PaymentItems
CreditCardTransactions
Id
OrderId
Amount
ConsumedUtc
ClosedUtc
Id
Amount
Notes
ConsumedUtc
ClosedUtc
SettlementId
SettledUtc
AdjustedFee
TaxPrecision
of Enterprise or Currency precision. But in some cases, precision can be higher.Code
Value
Service
Product
Additional
Discriminator
ProductOrder
).Value
null
for types without any additional data.CancellationFee
- no additional data.Deposit
- no additional data.ExchangeRateDifference
- no additional data.CustomItem
- no additional data.Surcharge
- no additional data.SurchargeDiscount
- no additional data.Other
- no additional data.Charged
Canceled
Pending
Failed
Verifying
Discriminator
CreditCard
).Value
null
for types without any additional data.Cash
- no additional data.Unspecified
- no additional data.BadDebts
- no additional data.WireTransfer
- no additional data.ExchangeRateDifference
- no additional data.ExchangeRoundingDifference
- no additional data.BankCharges
- no additional data.Cheque
- no additional data.Other
- no additional data.Value
[PlatformAddress]/api/connector/v1/accountingItems/update
ClientToken
AccessToken
Client
AccountId
null
if the assigned account should not be updated). If defined, valid account identifier must be provided.BillId
AccountId
and BillId
must be provided.Value
OrderItems
PaymentItems