summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelPurchase.go
blob: 6a50bfce376b59e2013f7d207520e0c4b70ae2c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// Code generated by msgraph.go/gen DO NOT EDIT.

package msgraph

import "time"

// PurchaseInvoice undocumented
type PurchaseInvoice struct {
	// Entity is the base model of PurchaseInvoice
	Entity
	// Number undocumented
	Number *string `json:"number,omitempty"`
	// InvoiceDate undocumented
	InvoiceDate *Date `json:"invoiceDate,omitempty"`
	// DueDate undocumented
	DueDate *Date `json:"dueDate,omitempty"`
	// VendorInvoiceNumber undocumented
	VendorInvoiceNumber *string `json:"vendorInvoiceNumber,omitempty"`
	// VendorID undocumented
	VendorID *UUID `json:"vendorId,omitempty"`
	// VendorNumber undocumented
	VendorNumber *string `json:"vendorNumber,omitempty"`
	// VendorName undocumented
	VendorName *string `json:"vendorName,omitempty"`
	// PayToName undocumented
	PayToName *string `json:"payToName,omitempty"`
	// PayToContact undocumented
	PayToContact *string `json:"payToContact,omitempty"`
	// PayToVendorID undocumented
	PayToVendorID *UUID `json:"payToVendorId,omitempty"`
	// PayToVendorNumber undocumented
	PayToVendorNumber *string `json:"payToVendorNumber,omitempty"`
	// ShipToName undocumented
	ShipToName *string `json:"shipToName,omitempty"`
	// ShipToContact undocumented
	ShipToContact *string `json:"shipToContact,omitempty"`
	// BuyFromAddress undocumented
	BuyFromAddress *PostalAddressType `json:"buyFromAddress,omitempty"`
	// PayToAddress undocumented
	PayToAddress *PostalAddressType `json:"payToAddress,omitempty"`
	// ShipToAddress undocumented
	ShipToAddress *PostalAddressType `json:"shipToAddress,omitempty"`
	// CurrencyID undocumented
	CurrencyID *UUID `json:"currencyId,omitempty"`
	// CurrencyCode undocumented
	CurrencyCode *string `json:"currencyCode,omitempty"`
	// PricesIncludeTax undocumented
	PricesIncludeTax *bool `json:"pricesIncludeTax,omitempty"`
	// DiscountAmount undocumented
	DiscountAmount *int `json:"discountAmount,omitempty"`
	// DiscountAppliedBeforeTax undocumented
	DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
	// TotalAmountExcludingTax undocumented
	TotalAmountExcludingTax *int `json:"totalAmountExcludingTax,omitempty"`
	// TotalTaxAmount undocumented
	TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
	// TotalAmountIncludingTax undocumented
	TotalAmountIncludingTax *int `json:"totalAmountIncludingTax,omitempty"`
	// Status undocumented
	Status *string `json:"status,omitempty"`
	// LastModifiedDateTime undocumented
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// PurchaseInvoiceLines undocumented
	PurchaseInvoiceLines []PurchaseInvoiceLine `json:"purchaseInvoiceLines,omitempty"`
	// Vendor undocumented
	Vendor *Vendor `json:"vendor,omitempty"`
	// Currency undocumented
	Currency *Currency `json:"currency,omitempty"`
}

// PurchaseInvoiceLine undocumented
type PurchaseInvoiceLine struct {
	// Entity is the base model of PurchaseInvoiceLine
	Entity
	// DocumentID undocumented
	DocumentID *UUID `json:"documentId,omitempty"`
	// Sequence undocumented
	Sequence *int `json:"sequence,omitempty"`
	// ItemID undocumented
	ItemID *UUID `json:"itemId,omitempty"`
	// AccountID undocumented
	AccountID *UUID `json:"accountId,omitempty"`
	// LineType undocumented
	LineType *string `json:"lineType,omitempty"`
	// Description undocumented
	Description *string `json:"description,omitempty"`
	// UnitCost undocumented
	UnitCost *int `json:"unitCost,omitempty"`
	// Quantity undocumented
	Quantity *int `json:"quantity,omitempty"`
	// DiscountAmount undocumented
	DiscountAmount *int `json:"discountAmount,omitempty"`
	// DiscountPercent undocumented
	DiscountPercent *int `json:"discountPercent,omitempty"`
	// DiscountAppliedBeforeTax undocumented
	DiscountAppliedBeforeTax *bool `json:"discountAppliedBeforeTax,omitempty"`
	// AmountExcludingTax undocumented
	AmountExcludingTax *int `json:"amountExcludingTax,omitempty"`
	// TaxCode undocumented
	TaxCode *string `json:"taxCode,omitempty"`
	// TaxPercent undocumented
	TaxPercent *int `json:"taxPercent,omitempty"`
	// TotalTaxAmount undocumented
	TotalTaxAmount *int `json:"totalTaxAmount,omitempty"`
	// AmountIncludingTax undocumented
	AmountIncludingTax *int `json:"amountIncludingTax,omitempty"`
	// InvoiceDiscountAllocation undocumented
	InvoiceDiscountAllocation *int `json:"invoiceDiscountAllocation,omitempty"`
	// NetAmount undocumented
	NetAmount *int `json:"netAmount,omitempty"`
	// NetTaxAmount undocumented
	NetTaxAmount *int `json:"netTaxAmount,omitempty"`
	// NetAmountIncludingTax undocumented
	NetAmountIncludingTax *int `json:"netAmountIncludingTax,omitempty"`
	// ExpectedReceiptDate undocumented
	ExpectedReceiptDate *Date `json:"expectedReceiptDate,omitempty"`
	// Item undocumented
	Item *Item `json:"item,omitempty"`
	// Account undocumented
	Account *Account `json:"account,omitempty"`
}