Toptan Satış İrsaliyesi | Wholesale Dispatch
POST
http://yourdomain/MaxiApi/Dispatch/DispatchTransfer
Logo Firma Bilgileri | Logo Company Information
Birden fazla Firmaya Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription |
---|---|---|
FirmID | int | Logo Firma NumarasıLogo Firm Number |
PeriodNo | int | Logo Firma Dönem NumarasıLogo Firm Term Number |
MainParams Parametreleri | MainParams Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription | UzunlukLength | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SourceID | string | İrsaliye Kaynak ParametresiDispatch Source parameter | - | ||||||||||
DispatchRefNo | int | Yeni Kayıtlar için 0, Güncellemeler için kayıt sonrası geri bildirimi yapılan referans numarası girilmelidir0 for New Records, after registration reference number must be entered for Updates. | - | ||||||||||
DispatchType | int | İrsaliye Tipi (Sabit 8)Dispatch Type (Fixed 8) | - | ||||||||||
DispatchNo | string | İrsaliye Numarası (Otomatik Numara alması için boş bırakınız.)Dispatch Number (leave blank to receive Auto Number.) | - | ||||||||||
DispatchDate | string | İrsaliye Tarihi ("YYYY-MM-DD" Formatında)Dispatch date | - | ||||||||||
DispatchTime | string | İrsaliye Saati ("HH:MM:SS" Formatında)Dispatch Time | - | ||||||||||
DocumentNumber | string | Belge KoduDocument Code | - | ||||||||||
SpecialCode | string | İrsaliye Özel KoduDispatch Special Code | - | ||||||||||
AuthorizationCode | string | İrsaliye Yetki KoduDispatch Authorization Code | - | ||||||||||
ClientCode | string | Cari Hesap KoduClient Code | - | ||||||||||
ClientShipmentCode | string | Sevkiyat CarisiShipment Client | - | ||||||||||
ClientShipmentAddressCode | string | Sevkiyat Adresi KoduShipment Address Code | - | ||||||||||
ClientGLCode | string | Cari Muhasebe KoduClient Accounting Code | - | ||||||||||
ExpenseCode | string | Masraf Merkezi KoduExpense Center Code | - | ||||||||||
PaymentCode | string | Ödeme Plan KoduPayment Plan Code | - | ||||||||||
SalesManCode | string | Satış Elemanı KoduSales Man Code | - | ||||||||||
Description1 | string | İrsaliye AçıklamasıDispatch Description 1 | - | ||||||||||
Description2 | string | İrsaliye AçıklamasıDispatch Description 2 | - | ||||||||||
Description3 | string | İrsaliye AçıklamasıDispatch Description 3 | - | ||||||||||
Description4 | string | İrsaliye AçıklamasıDispatch Description 4 | - | ||||||||||
ShipmentType | string | Teslimat Şekli KoduDelivery Type Code | - | ||||||||||
ShippingAgent | string | Taşıyıcı KoduShipping Agent | - | ||||||||||
UsCurrType | string |
Kullanılacak Para Birimi Currency to Use
|
|||||||||||
CurrType | string |
Döviz Kuru Tipi Exchange Rate Type
|
|||||||||||
CurrRate | double | Döviz Kur oranıExchange Rate | - | ||||||||||
RepCurrRate | double? | Raporlama dövizi kuruReport Rate | - | ||||||||||
TradingGrpCode | string | Ticari İşlem GrubuTrading Group Code | - | ||||||||||
ProjectCode | string | Proje KoduProject Code | - | ||||||||||
ShipmentDate | string | Sevkiyat Tarihi ("YYYY-MM-DD" Formatında)Shipping Date | - | ||||||||||
ShipmentTime | string | Sevkiyat Saati ("HH:MM:SS" Formatında)Shipping Time | - | ||||||||||
DocumentDate | string | Belge Tarihi ("YYYY-MM-DD" Formatında)Document Date | - | ||||||||||
DocumentTime | string | Belge Saati ("HH:MM:SS" Formatında)Document Time | - | ||||||||||
VatExceptCode | string | KDV Muafiyet KoduVAT Exemption Code | - | ||||||||||
EDespatch | int |
İrsaliye Türü Dispatch Type
|
|||||||||||
EDespatchProfileID | int | e-İrsaliye Statüsüe-Dispatch Status | - | ||||||||||
EInvoice | int |
Fatura Türü Invoice Type
|
LineParams Parametreleri | LineParams Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription | UzunlukLength | ||||||
---|---|---|---|---|---|---|---|---|---|
LineType | int |
Satır Tipi Line Type
|
|||||||
ItemCode | string | Ürün KoduItem Code | - | ||||||
SourceIndex | int | Ambar NumarasıWareHouse Number | - | ||||||
OrderReference | int | Sipariş Satır Referansı (Bkz:Sipariş Listesi "OrderLineLogRef")Order Line Reference (See:Order List "OrderLineLogRef") | - | ||||||
Quantity | double | MiktarQuantity | - | ||||||
UnitPrice | double | Birim FiyatUnit Price | - | ||||||
UnitCode | string | Birim Kodu Unit Code | - | ||||||
VatInc | int |
KDV Dahil/Hariç VAT Included/Excluded
|
|||||||
VatRate | double | Kdv OranıVat Rate | - | ||||||
AddTaxRate | double | Ek Vergi OranıAdditional Tax Rate | - | ||||||
AddTaxAmount | double | Ek Vergi TutarıAdditional Tax Amount | - | ||||||
SalesManCode | string | Satış Elemanı KoduSales Man Code | - | ||||||
ProjectCode | string | Proje KoduProject Code | - | ||||||
SpecialCode1 | string | Hareket Özel Kod 1Line Special Code 1 | - | ||||||
SpecialCode2 | string | Hareket Özel Kod 2Line Special Code 2 | - | ||||||
AddTaxEffectKDV | int |
Ek Vergi Var/yok Additional Tax/No Tax
|
|||||||
AddTaxCode | string | Ek Vergi KoduAdditional Tax Code | - | ||||||
AddTaxGlobalCode | string | Ek Vergi Global KoduAdditional Tax Global Code | - | ||||||
UnitGlobalCode | string | Birim Setinin Global KoduUnit Global Code | - | ||||||
CanDeduct | int |
Tevkifat Var/Yok Deducation Yes/No
|
|||||||
DeducationPart1 | string | Tevkifat PayDeduction Share | - | ||||||
DeducationPart2 | string | Tevkifat PaydaDeduction Denominator | - | ||||||
DeductCode | string | Tevkifat KoduDeduction Code | - | ||||||
VatExceptCode | string | KDV Muafiyet KoduVAT Exemption Code | - |
Satır Ek Vergi Parametreleri | Line Additional Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription | UzunlukLength |
---|---|---|---|
Code | string | Ek Vergi KoduAdditional Tax Code | - |
TaxGlobalCode | string | Ek Vergi Global KoduAdditional Tax Global Code | - |
TaxRate | double | Ek Vergi Oranı (0.1 = %10 Anlamına Gelmektedir)Additional Tax Rate (0.1 = Means 10%) | - |
TaxAmountX | double | Ek Vergi TutarıAdditional Tax Total | - |
Satır İndirimleri Parametreleri | Line Discounts Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription | UzunlukLength | ||||||
---|---|---|---|---|---|---|---|---|---|
Code | string | İndirim KoduDiscount Code | - | ||||||
DiscountType | int |
İndirim Tipi Discount Type
|
|||||||
DiscountTotal | double | İndirim TutarıDiscount Total | - | ||||||
DiscountRate | double | İndirim OranıDiscount Rate | - |
Fiş Genel İndirimleri Parametreleri | Dispatch General Discounts Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
ParametreParameter | TipType | AçıklamaDescription | UzunlukLength | ||||||
---|---|---|---|---|---|---|---|---|---|
Code | string | İndirim KoduDiscount Code | - | ||||||
DiscountType | int |
İndirim Tipi Discount Type
|
|||||||
DiscountTotal | double | İndirim TutarıDiscount Total | - | ||||||
DiscountRate | double | İndirim OranıDiscount Rate | - |
Örnek (JSON) | Example (JSON)
Request
[
{
"FirmID": 2,
"PeriodNo": 1,
"MainParams":
[
{
"SourceID": "123456",
"DispatchRefNo" : "0",
"DispatchType": 8,
"DispatchNo": "",
"DispatchDate": "2023-01-01",
"DispatchTime": "12:12:00",
"DocumentNumber": "BelgeKodu",
"SpecialCode": "OZL1",
"AuthorizationCode": "YTK",
"ClientCode": "120.01.0001",
"ClientShipmentCode": "",
"ClientShipmentAddressCode": "",
"ClientGLCode": "120.01.0001",
"ExpenseCode": "MSF01",
"PaymentCode": "PG1",
"SalesManCode": "SL",
"Description1": "Açıklama 1",
"Description2": "Açıklama 2",
"Description3": "Açıklama 3",
"Description4": "Açıklama 4",
"ShipmentType": "CAG",
"ShippingAgent": "C12",
"UsCurrType": "0",
"CurrType": "0",
"CurrRate": 1,
"RepCurrRate": "34.45",
"TradingGrpCode": "TGR",
"ProjectCode": "PRJ01",
"ShipmentDate": "2023-01-01",
"ShipmentTime": "12:12:00",
"DocumentDate": "2023-01-01",
"DocumentTime": "12:12:00",
"VatExceptCode": "",
"EDespatch": 0,
"EDespatchProfileID": 1,
"EInvoice": 0,
"LineParams":
[
{
"LineType": 0,
"ItemCode": "153.01.0501",
"SourceIndex": 0,
"OrderReference": 0,
"Quantity": 1,
"UnitPrice": 300,
"UnitCode": "ADET",
"VatInc": 0,
"VatRate": 20,
"AddTaxRate": 0.1,
"SalesManCode": "SL",
"ProjectCode": "PRJ01",
"AddTaxEffectKDV": 1,
"AddTaxCode": "TXC",
"AddTaxGlobalCode": "GTXC",
"UnitGlobalCode": "GADET",
"CanDeduct": 0,
"DeducationPart1": 0,
"DeducationPart2": 0,
"DeductCode": "",
"VatExceptCode": "",
"AddTaxes": [
{
"Code": "TXC",
"TaxGlobalCode": "GTXC",
"TaxRate": 0.1
}
],
"Discounts":[
{
"Code": "",
"DiscountType": 1,
"DiscountTotal": 20,
"DiscountRate": 0
},
{
"Code": "",
"DiscountType": 0,
"DiscountTotal": 0,
"DiscountRate": 12
}
]
}
],
"Discounts":[
{
"Code": "",
"DiscountType": 1,
"DiscountTotal": 5,
"DiscountRate": 0
},
{
"Code": "",
"DiscountType": 0,
"DiscountTotal": 0,
"DiscountRate": 6
}
]
}
]
}
]
Response
{
"TransferStatus": true,
"TransferMessage": "Transfer Completed!",
"Responseline":
[
{
"SourceID": "123456",
"Isucceed": true,
"RecordRef": "1",
"RecordFicheNo": "00000001",
"ResponseMsg": "Aktarım Başarılı"
}
]
}
Geri Dönüş Parametreleri | Response Parameters
ParametreParameter | TipType | AçıklamaDescription |
---|---|---|
TransferStatus | bool | API Erişim DurumuAPI Access Status |
TransferMessage | string | Aktarım Genel Bilgi Mesajıtransfer information message |
SourceID | string | İrsaliye Kaynak ParametresiDispatch source parameter |
Isucceed | bool | İrsaliye Aktarım Durum BilgisiDispatch Transfer Status Information |
RecordRef | string | Aktarılan İrsaliye Hedef Kayıt NoTransferred Dispatch Destination Registration Number |
RecordFicheNo | string | Aktarılan İrsaliye NoTransferred Dispatch number |
ResponseMsg | string | İrsaliye Aktarım MesajıDispatch transfer message |