Get unbilled commissions - celdotro/marketplace GitHub Wiki
- Get unbilled commissions
celmarket\Payments\PaymentsReports
getUnbilledCommissions
- method: Commissions
- action: getComosioaneNefacturate
- (none)
An object with the following attributes
- orders = orders -> object
- (attribute) = month (formatted as MM-YYYY, where MM stands for the 2 digits month and YYYY for the 4 digits year) -> object
- (attribute) = order -> object
- total = order's total
- cardPayment = card payment
- products = products -> array
- (array element) = product
- tva = VAT percentage
- price = price
- topay = payment remainder
- name = product's name
- qty = product's quantity
- model = product's model
- comision = product's commission
- valoareComision = absolute value of commission
- (array element) = product
- date = date
- (attribute) = order -> object
- (attribute) = month (formatted as MM-YYYY, where MM stands for the 2 digits month and YYYY for the 4 digits year) -> object
- totalToPay = payment's total
- totalComissions = commission's total
- currentTVA = current VAT percentage
- cardPay = paid by card
https://github.com/celdotro/marketplace_examples/blob/master/Payments/4.getUnbilledCommissions.php
{
"request": {
},
"response": {
"orders": {
"X": {
"1": {
"tva": 1,
"price": 1,
"topay": 1,
"name": "X",
"qty": 1,
"model": "X",
"comision": 1,
"valoareComision": 1
}
}
},
"totalToPay": 1,
"totalComissions": 1,
"currentTVA": 1,
"cardPay": 0
}
}