Bu metod ödeme ve faturaları listelemenize olanak tanır.
NOT 1: InvoiceDate Parametresi
useInvoiceDate parametresi true ise;
useInvoiceDate parametresi false ise;
NOT 2: Başlangıç ve Bitiş tarihleri aralığı 1 aydan uzun olmamalıdır.
NOT 3: transactiontypes parametresi alanına listelemek istediğiniz ödeme/fatura tiplerini eklemelisiniz. Birden fazla tip için ,(virgül) ile ekleme yapabilirsiniz.
transactiontype | Açıklama |
---|---|
Payment | Sipariş Tutarı |
Commission | Komisyon Tutarı |
CommissionReturnPriceDifference | Komisyon İade Tutarı |
StudioIncome | Stüdyo Gideri |
CustomerSatisfaction | Hediye Çeki Tutarı |
RevenueIncome | Ciro Gideri |
RevenueExpense | Ciro Geliri |
StudioIncome | Stüdyo Gideri |
ShipmentCostSharingIncome | Kargo Katkı Payı Gideri |
ShipmentCostSharingExpense | Kargo Katkı Payı Geliri |
MarketingIncome | Pazarlama Gideri |
MarketingExpense | Pazarlama Geliri |
PriceDifferenceIncome | Fiyat Farkı Gideri |
PriceDifferenceExpense | Fiyat Farkı Geliri |
LateInterestIncome | Vade Farkı Gideri |
Return | İade Tutarı |
CampaignDiscount | Kampanya İndirimleri Tutarı |
CargoCompensationIncome | Kargo Tazmin Gideri |
CargoCompensationExpense | Kargo Tazmin Geliri |
CargoCompensationSellerSatisfactionRevenue | Kargo Tazmin Satıcı Memnuniyet Geliri |
RefusedInvoiceIncome | Red Edilen Fatura Gideri |
RefusedInvoiceExpense | Red Edilen Fatura Geliri |
GiftChequeRefund | Hediye Çeki İadesi |
CommissionInvoiceRefund | Komisyon Fatura İadesi |
CargoCostRefund | Kargo İade |
LineitemTransferExpense | Sipariş Kaydırma Geliri |
LineItemTransferIncome | Sipariş Kaydırma Gideri |
RoadAssistanceExpense | Yol Yardım Geliri |
RoadAssistanceIncome | Yol Yardım Gideri |
ProcessingFeeIncome | İşlem Ücret Gideri |
ProcessingFeeRefund | İşlem Ücret Gelir İadesi |
SponsorshipFee | Sponsorluk Bedeli |
Başlık(Header)
Authorization: Basic base64(username:password)
Content-Type: application/json
Parametreler(Parameters)
Merchantid (gerekli, guid, b2910839-83b9-4d45-adb6-86bad457edcb) Her satıcının unique bir tanımlayıcısıdır.
startDate&endDate (gerekli, date, 2019-7-24) Tarih aralığını belirtir.
transactiontype (gerekli, string, Payment,Commission) Transaction tiplerini belirtir, istek gönderilirken virgül ile eklenebilir ve Transaction tipleri tablodaki gibi gönderilmelidir büyük, küçük harfe duyarlıdır.
İstek(Request)
https://mpfinance-external.Uztrendbol.com/invoices/merchantid/{merchantid}/transactiontype/Payment,Commission,Return?startDate=2019-1-1&endDate=2019-1-2&useInvoiceDate=false
Response
{
"count": 28,
"items": [
{
"sku": "HBV0000058C3H",
"packageNumber": "514854131",
"orderNumber": "0019531668",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "1298,99",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2019-01-01T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-18T00:00:00",
"invoiceNumber": "514854131",
"invoiceExplanation": "514854131 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "514854131",
"orderNumber": "0019531668",
"sapNumber": "000010",
"quantity": 0,
"totalAmount": "-1298,99",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2019-01-01T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-21T00:00:00",
"invoiceNumber": "514854131",
"invoiceExplanation": "514854131 OMS NOLU TAHSILAT İADE VIRMANı"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "514854131",
"orderNumber": "0019531668",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-15,33",
"taxAmount": "-2,34",
"netAmount": "-12,99",
"dueDate": "2019-01-01T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-19T00:00:00",
"invoiceNumber": "HD12018000104453",
"invoiceExplanation": "1003392717 - MP komisyon faturası"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "886584976",
"orderNumber": "0020270788",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-03T00:00:00",
"invoiceNumber": "886584976",
"invoiceExplanation": "886584976 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "007773706",
"orderNumber": "0022995012",
"sapNumber": "000020",
"quantity": 1,
"totalAmount": "-15,33",
"taxAmount": "-2,34",
"netAmount": "-12,99",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-14T00:00:00",
"invoiceNumber": "HD12018000101415",
"invoiceExplanation": "1003339777 - MP komisyon faturası"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "007773706",
"orderNumber": "0022995012",
"sapNumber": "000020",
"quantity": 1,
"totalAmount": "1298,99",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-28T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-14T00:00:00",
"invoiceNumber": "007773706",
"invoiceExplanation": "007773706 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "780448637",
"orderNumber": "0028291950",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-49,42",
"taxAmount": "-7,54",
"netAmount": "-41,88",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "HD12018000100382",
"invoiceExplanation": "1003322952 - MP komisyon faturası"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "807374855",
"orderNumber": "0030449160",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-26T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-11-28T00:00:00",
"invoiceNumber": "807374855",
"invoiceExplanation": "807374855 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "036898612",
"orderNumber": "0035252779",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-26T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-11-28T00:00:00",
"invoiceNumber": "036898612",
"invoiceExplanation": "036898612 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "701796229",
"orderNumber": "0037190550",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-49,42",
"taxAmount": "-7,54",
"netAmount": "-41,88",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "HD12018000100382",
"invoiceExplanation": "1003322952 - MP komisyon faturası"
},
{
"sku": "HBV000003K1LR",
"packageNumber": "075361244",
"orderNumber": "0040907912",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-20,07",
"taxAmount": "-3,06",
"netAmount": "-17,01",
"dueDate": "2019-01-01T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-19T00:00:00",
"invoiceNumber": "HD12018000104453",
"invoiceExplanation": "1003392717 - MP komisyon faturası"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "796372970",
"orderNumber": "0043455569",
"sapNumber": "000020",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2019-01-01T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-04T00:00:00",
"invoiceNumber": "796372970",
"invoiceExplanation": "796372970 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000C7A4I",
"packageNumber": "316730167",
"orderNumber": "0046910983",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "178,99",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "316730167",
"invoiceExplanation": "316730167 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000C7A4I",
"packageNumber": "316730167",
"orderNumber": "0046910983",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-19,01",
"taxAmount": "-2,90",
"netAmount": "-16,11",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "HD12018000100382",
"invoiceExplanation": "1003322952 - MP komisyon faturası"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "644348959",
"orderNumber": "0051339988",
"sapNumber": "000010",
"quantity": 0,
"totalAmount": "-1399,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-14T00:00:00",
"invoiceNumber": "644348959",
"invoiceExplanation": "644348959 OMS NOLU TAHSILAT İADE VIRMANı"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "644348959",
"orderNumber": "0051339988",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-62,73",
"taxAmount": "-9,57",
"netAmount": "-53,16",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "HD12018000100382",
"invoiceExplanation": "1003322952 - MP komisyon faturası"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "644348959",
"orderNumber": "0051339988",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "1399,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "644348959",
"invoiceExplanation": "644348959 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000AOEI5",
"packageNumber": "357652356",
"orderNumber": "0052340528",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "2564,05",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-17T00:00:00",
"invoiceNumber": "357652356",
"invoiceExplanation": "357652356 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000AOEI5",
"packageNumber": "357652356",
"orderNumber": "0052340528",
"sapNumber": "000010",
"quantity": 0,
"totalAmount": "-2564,05",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-18T00:00:00",
"invoiceNumber": "357652356",
"invoiceExplanation": "357652356 OMS NOLU TAHSILAT İADE VIRMANı"
},
{
"sku": "HBV00000AOEI5",
"packageNumber": "357652356",
"orderNumber": "0052340528",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-254,79",
"taxAmount": "-38,87",
"netAmount": "-215,92",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-17T00:00:00",
"invoiceNumber": "HD12018000103002",
"invoiceExplanation": "1003365123 - MP komisyon faturası"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "465167663",
"orderNumber": "0067112861",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-47,75",
"taxAmount": "-7,28",
"netAmount": "-40,47",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-17T00:00:00",
"invoiceNumber": "HD12018000103002",
"invoiceExplanation": "1003365123 - MP komisyon faturası"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "465167663",
"orderNumber": "0067112861",
"sapNumber": "000010",
"quantity": 0,
"totalAmount": "-1349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-18T00:00:00",
"invoiceNumber": "465167663",
"invoiceExplanation": "465167663 OMS NOLU TAHSILAT İADE VIRMANı"
},
{
"sku": "HBV0000058C3H",
"packageNumber": "465167663",
"orderNumber": "0067112861",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "1349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-31T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-17T00:00:00",
"invoiceNumber": "465167663",
"invoiceExplanation": "465167663 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "736028550",
"orderNumber": "0083411617",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-26T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-11-28T00:00:00",
"invoiceNumber": "736028550",
"invoiceExplanation": "736028550 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000AJSQ8",
"packageNumber": "065919345",
"orderNumber": "0086121974",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "599,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-13T00:00:00",
"invoiceNumber": "065919345",
"invoiceExplanation": "065919345 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV00000AJSQ8",
"packageNumber": "065919345",
"orderNumber": "0086121974",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "-63,61",
"taxAmount": "-9,70",
"netAmount": "-53,91",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-12-14T00:00:00",
"invoiceNumber": "HD12018000101415",
"invoiceExplanation": "1003339777 - MP komisyon faturası"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "995481562",
"orderNumber": "0092828233",
"sapNumber": "000020",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-26T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-11-28T00:00:00",
"invoiceNumber": "995481562",
"invoiceExplanation": "995481562 OMS Nolu Tahsilat Virmanı"
},
{
"sku": "HBV000007M1BV",
"packageNumber": "463802484",
"orderNumber": "0097601388",
"sapNumber": "000010",
"quantity": 1,
"totalAmount": "349,00",
"taxAmount": "0,00",
"netAmount": "0,00",
"dueDate": "2018-12-27T00:00:00",
"paymentDate": "2019-01-02T00:00:00",
"invoiceDate": "2018-11-29T00:00:00",
"invoiceNumber": "463802484",
"invoiceExplanation": "463802484 OMS Nolu Tahsilat Virmanı"
}
]
}