Merge remote-tracking branch 'origin/master'

This commit is contained in:
2026-02-13 07:27:57 +03:00
parent d571fe2fd5
commit 7f56bb40c5
38 changed files with 1709 additions and 457 deletions

View File

@@ -54,9 +54,10 @@ type OrderDetail struct {
LDisRate4 NullFloat64 `json:"LDisRate4"`
LDisRate5 NullFloat64 `json:"LDisRate5"`
DocCurrencyCode NullString `json:"DocCurrencyCode"`
PriceCurrencyCode NullString `json:"PriceCurrencyCode"`
PriceExchangeRate NullFloat64 `json:"PriceExchangeRate"`
DocCurrencyCode NullString `json:"DocCurrencyCode"`
RelationCurrencyCode NullString `json:"RelationCurrencyCode"`
PriceCurrencyCode NullString `json:"PriceCurrencyCode"`
PriceExchangeRate NullFloat64 `json:"PriceExchangeRate"`
Price NullFloat64 `json:"Price"`
@@ -95,4 +96,29 @@ type OrderDetail struct {
UrunAltGrubu NullString `json:"UrunAltGrubu"`
Fit1 NullString `json:"Fit1"`
Fit2 NullString `json:"Fit2"`
// ============================
// 💰 Currency / Amount Fields
// (trOrderLineCurrency)
// ============================
// Döviz bazlı
DocPrice NullFloat64 `json:"DocPrice"` // PriceVI
DocAmount NullFloat64 `json:"DocAmount"` // AmountVI
// Yerel para (TRY)
LocalPrice NullFloat64 `json:"LocalPrice"` // Price
LocalAmount NullFloat64 `json:"LocalAmount"` // Amount
// İndirimler
LineDiscount NullFloat64 `json:"LineDiscount"` // LDiscount1
TotalDiscount NullFloat64 `json:"TotalDiscount"` // TDiscount1
// Vergi / Matrah
TaxBase NullFloat64 `json:"TaxBase"`
VatAmount NullFloat64 `json:"VatAmount"`
VatDeducation NullFloat64 `json:"VatDeducation"`
NetAmount NullFloat64 `json:"NetAmount"`
// Genel oran
Pct NullFloat64 `json:"Pct"`
}