sync

package
v0.0.0-...-7cd2dfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Copyright 2022 The go-exactonline AUTHORS. All rights reserved.

Use of this source code is governed by a MIT license that can be found in the LICENSE file. Code generated by gen-services.go; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRMAccounts

type CRMAccounts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Accountant:
	Accountant *types.GUID `json:"Accountant,omitempty"`

	// AccountManager:
	AccountManager *types.GUID `json:"AccountManager,omitempty"`

	// AccountManagerFullName:
	AccountManagerFullName *string `json:"AccountManagerFullName,omitempty"`

	// AccountManagerHID:
	AccountManagerHID *int `json:"AccountManagerHID,omitempty"`

	// ActivitySector:
	ActivitySector *types.GUID `json:"ActivitySector,omitempty"`

	// ActivitySubSector:
	ActivitySubSector *types.GUID `json:"ActivitySubSector,omitempty"`

	// AddressLine1:
	AddressLine1 *string `json:"AddressLine1,omitempty"`

	// AddressLine2:
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressLine3:
	AddressLine3 *string `json:"AddressLine3,omitempty"`

	// BankAccounts:
	BankAccounts *json.RawMessage `json:"BankAccounts,omitempty"`

	// Blocked:
	Blocked *bool `json:"Blocked,omitempty"`

	// BRIN:
	BRIN *types.GUID `json:"BRIN,omitempty"`

	// BSN:
	BSN *string `json:"BSN,omitempty"`

	// BusinessType:
	BusinessType *types.GUID `json:"BusinessType,omitempty"`

	// CanDropShip:
	CanDropShip *bool `json:"CanDropShip,omitempty"`

	// ChamberOfCommerce:
	ChamberOfCommerce *string `json:"ChamberOfCommerce,omitempty"`

	// City:
	City *string `json:"City,omitempty"`

	// Classification:
	Classification *string `json:"Classification,omitempty"`

	// Classification1:
	Classification1 *types.GUID `json:"Classification1,omitempty"`

	// Classification2:
	Classification2 *types.GUID `json:"Classification2,omitempty"`

	// Classification3:
	Classification3 *types.GUID `json:"Classification3,omitempty"`

	// Classification4:
	Classification4 *types.GUID `json:"Classification4,omitempty"`

	// Classification5:
	Classification5 *types.GUID `json:"Classification5,omitempty"`

	// Classification6:
	Classification6 *types.GUID `json:"Classification6,omitempty"`

	// Classification7:
	Classification7 *types.GUID `json:"Classification7,omitempty"`

	// Classification8:
	Classification8 *types.GUID `json:"Classification8,omitempty"`

	// ClassificationDescription:
	ClassificationDescription *string `json:"ClassificationDescription,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// CodeAtSupplier:
	CodeAtSupplier *string `json:"CodeAtSupplier,omitempty"`

	// CompanySize:
	CompanySize *types.GUID `json:"CompanySize,omitempty"`

	// ConsolidationScenario:
	ConsolidationScenario *byte `json:"ConsolidationScenario,omitempty"`

	// ControlledDate:
	ControlledDate *types.Date `json:"ControlledDate,omitempty"`

	// Costcenter:
	Costcenter *string `json:"Costcenter,omitempty"`

	// CostcenterDescription:
	CostcenterDescription *string `json:"CostcenterDescription,omitempty"`

	// CostPaid:
	CostPaid *byte `json:"CostPaid,omitempty"`

	// Country:
	Country *string `json:"Country,omitempty"`

	// CountryName:
	CountryName *string `json:"CountryName,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CreditLinePurchase:
	CreditLinePurchase *float64 `json:"CreditLinePurchase,omitempty"`

	// CreditLineSales:
	CreditLineSales *float64 `json:"CreditLineSales,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerSince:
	CustomerSince *types.Date `json:"CustomerSince,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// DatevCreditorCode:
	DatevCreditorCode *string `json:"DatevCreditorCode,omitempty"`

	// DatevDebtorCode:
	DatevDebtorCode *string `json:"DatevDebtorCode,omitempty"`

	// DeliveryAdvice:
	DeliveryAdvice *byte `json:"DeliveryAdvice,omitempty"`

	// DiscountPurchase:
	DiscountPurchase *float64 `json:"DiscountPurchase,omitempty"`

	// DiscountSales:
	DiscountSales *float64 `json:"DiscountSales,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DunsNumber:
	DunsNumber *string `json:"DunsNumber,omitempty"`

	// Email:
	Email *string `json:"Email,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// EORINumber:
	EORINumber *string `json:"EORINumber,omitempty"`

	// EstablishedDate:
	EstablishedDate *types.Date `json:"EstablishedDate,omitempty"`

	// Fax:
	Fax *string `json:"Fax,omitempty"`

	// GLAccountPurchase:
	GLAccountPurchase *types.GUID `json:"GLAccountPurchase,omitempty"`

	// GLAccountSales:
	GLAccountSales *types.GUID `json:"GLAccountSales,omitempty"`

	// GLAP:
	GLAP *types.GUID `json:"GLAP,omitempty"`

	// GLAR:
	GLAR *types.GUID `json:"GLAR,omitempty"`

	// GlnNumber:
	GlnNumber *string `json:"GlnNumber,omitempty"`

	// HasWithholdingTaxSales:
	HasWithholdingTaxSales *bool `json:"HasWithholdingTaxSales,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IgnoreDatevWarningMessage:
	IgnoreDatevWarningMessage *bool `json:"IgnoreDatevWarningMessage,omitempty"`

	// IncotermAddressPurchase:
	IncotermAddressPurchase *string `json:"IncotermAddressPurchase,omitempty"`

	// IncotermAddressSales:
	IncotermAddressSales *string `json:"IncotermAddressSales,omitempty"`

	// IncotermCodePurchase:
	IncotermCodePurchase *string `json:"IncotermCodePurchase,omitempty"`

	// IncotermCodeSales:
	IncotermCodeSales *string `json:"IncotermCodeSales,omitempty"`

	// IncotermVersionPurchase:
	IncotermVersionPurchase *int `json:"IncotermVersionPurchase,omitempty"`

	// IncotermVersionSales:
	IncotermVersionSales *int `json:"IncotermVersionSales,omitempty"`

	// IntraStatArea:
	IntraStatArea *string `json:"IntraStatArea,omitempty"`

	// IntraStatDeliveryTerm:
	IntraStatDeliveryTerm *string `json:"IntraStatDeliveryTerm,omitempty"`

	// IntraStatSystem:
	IntraStatSystem *string `json:"IntraStatSystem,omitempty"`

	// IntraStatTransactionA:
	IntraStatTransactionA *string `json:"IntraStatTransactionA,omitempty"`

	// IntraStatTransactionB:
	IntraStatTransactionB *string `json:"IntraStatTransactionB,omitempty"`

	// IntraStatTransportMethod:
	IntraStatTransportMethod *string `json:"IntraStatTransportMethod,omitempty"`

	// InvoiceAccount:
	InvoiceAccount *types.GUID `json:"InvoiceAccount,omitempty"`

	// InvoiceAccountCode:
	InvoiceAccountCode *string `json:"InvoiceAccountCode,omitempty"`

	// InvoiceAccountName:
	InvoiceAccountName *string `json:"InvoiceAccountName,omitempty"`

	// InvoiceAttachmentType:
	InvoiceAttachmentType *int `json:"InvoiceAttachmentType,omitempty"`

	// InvoicingMethod:
	InvoicingMethod *int `json:"InvoicingMethod,omitempty"`

	// IsAccountant:
	IsAccountant *byte `json:"IsAccountant,omitempty"`

	// IsAgency:
	IsAgency *byte `json:"IsAgency,omitempty"`

	// IsAnonymised:
	IsAnonymised *byte `json:"IsAnonymised,omitempty"`

	// IsBank:
	IsBank *bool `json:"IsBank,omitempty"`

	// IsCompetitor:
	IsCompetitor *byte `json:"IsCompetitor,omitempty"`

	// IsExtraDuty:
	IsExtraDuty *bool `json:"IsExtraDuty,omitempty"`

	// IsMailing:
	IsMailing *byte `json:"IsMailing,omitempty"`

	// IsMember:
	IsMember *bool `json:"IsMember,omitempty"`

	// IsPilot:
	IsPilot *bool `json:"IsPilot,omitempty"`

	// IsPurchase:
	IsPurchase *bool `json:"IsPurchase,omitempty"`

	// IsReseller:
	IsReseller *bool `json:"IsReseller,omitempty"`

	// IsSales:
	IsSales *bool `json:"IsSales,omitempty"`

	// IsSupplier:
	IsSupplier *bool `json:"IsSupplier,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// LanguageDescription:
	LanguageDescription *string `json:"LanguageDescription,omitempty"`

	// Latitude:
	Latitude *float64 `json:"Latitude,omitempty"`

	// LeadPurpose:
	LeadPurpose *types.GUID `json:"LeadPurpose,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	Logo *[]byte `json:"Logo,omitempty"`

	// LogoFileName:
	LogoFileName *string `json:"LogoFileName,omitempty"`

	// LogoThumbnailUrl:
	LogoThumbnailUrl *string `json:"LogoThumbnailUrl,omitempty"`

	// LogoUrl:
	LogoUrl *string `json:"LogoUrl,omitempty"`

	// Longitude:
	Longitude *float64 `json:"Longitude,omitempty"`

	// MainContact:
	MainContact *types.GUID `json:"MainContact,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Name:
	Name *string `json:"Name,omitempty"`

	// OINNumber:
	OINNumber *string `json:"OINNumber,omitempty"`

	// Parent:
	Parent *types.GUID `json:"Parent,omitempty"`

	// PayAsYouEarn:
	PayAsYouEarn *string `json:"PayAsYouEarn,omitempty"`

	// PaymentConditionPurchase:
	PaymentConditionPurchase *string `json:"PaymentConditionPurchase,omitempty"`

	// PaymentConditionPurchaseDescription:
	PaymentConditionPurchaseDescription *string `json:"PaymentConditionPurchaseDescription,omitempty"`

	// PaymentConditionSales:
	PaymentConditionSales *string `json:"PaymentConditionSales,omitempty"`

	// PaymentConditionSalesDescription:
	PaymentConditionSalesDescription *string `json:"PaymentConditionSalesDescription,omitempty"`

	// Phone:
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension:
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Postcode:
	Postcode *string `json:"Postcode,omitempty"`

	// PriceList:
	PriceList *types.GUID `json:"PriceList,omitempty"`

	// PurchaseCurrency:
	PurchaseCurrency *string `json:"PurchaseCurrency,omitempty"`

	// PurchaseCurrencyDescription:
	PurchaseCurrencyDescription *string `json:"PurchaseCurrencyDescription,omitempty"`

	// PurchaseLeadDays:
	PurchaseLeadDays *int `json:"PurchaseLeadDays,omitempty"`

	// PurchaseVATCode:
	PurchaseVATCode *string `json:"PurchaseVATCode,omitempty"`

	// PurchaseVATCodeDescription:
	PurchaseVATCodeDescription *string `json:"PurchaseVATCodeDescription,omitempty"`

	// RecepientOfCommissions:
	RecepientOfCommissions *bool `json:"RecepientOfCommissions,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// Reseller:
	Reseller *types.GUID `json:"Reseller,omitempty"`

	// ResellerCode:
	ResellerCode *string `json:"ResellerCode,omitempty"`

	// ResellerName:
	ResellerName *string `json:"ResellerName,omitempty"`

	// RSIN:
	RSIN *string `json:"RSIN,omitempty"`

	// SalesCurrency:
	SalesCurrency *string `json:"SalesCurrency,omitempty"`

	// SalesCurrencyDescription:
	SalesCurrencyDescription *string `json:"SalesCurrencyDescription,omitempty"`

	// SalesTaxSchedule:
	SalesTaxSchedule *types.GUID `json:"SalesTaxSchedule,omitempty"`

	// SalesTaxScheduleCode:
	SalesTaxScheduleCode *string `json:"SalesTaxScheduleCode,omitempty"`

	// SalesTaxScheduleDescription:
	SalesTaxScheduleDescription *string `json:"SalesTaxScheduleDescription,omitempty"`

	// SalesVATCode:
	SalesVATCode *string `json:"SalesVATCode,omitempty"`

	// SalesVATCodeDescription:
	SalesVATCodeDescription *string `json:"SalesVATCodeDescription,omitempty"`

	// SearchCode:
	SearchCode *string `json:"SearchCode,omitempty"`

	// SecurityLevel:
	SecurityLevel *int `json:"SecurityLevel,omitempty"`

	// SeparateInvPerProject:
	SeparateInvPerProject *byte `json:"SeparateInvPerProject,omitempty"`

	// SeparateInvPerSubscription:
	SeparateInvPerSubscription *byte `json:"SeparateInvPerSubscription,omitempty"`

	// ShippingLeadDays:
	ShippingLeadDays *int `json:"ShippingLeadDays,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShowRemarkForSales:
	ShowRemarkForSales *bool `json:"ShowRemarkForSales,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// State:
	State *string `json:"State,omitempty"`

	// StateName:
	StateName *string `json:"StateName,omitempty"`

	// Status:
	Status *string `json:"Status,omitempty"`

	// StatusSince:
	StatusSince *types.Date `json:"StatusSince,omitempty"`

	// TradeName:
	TradeName *string `json:"TradeName,omitempty"`

	// Type:
	Type *string `json:"Type,omitempty"`

	// UniqueTaxpayerReference:
	UniqueTaxpayerReference *string `json:"UniqueTaxpayerReference,omitempty"`

	// VATLiability:
	VATLiability *string `json:"VATLiability,omitempty"`

	// VATNumber:
	VATNumber *string `json:"VATNumber,omitempty"`

	// Website:
	Website *string `json:"Website,omitempty"`
}

CRMAccounts: Service: Sync Entity: CRMAccounts URL: /api/v1/{division}/sync/CRM/Accounts HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCRMAccounts

func (*CRMAccounts) GetPrimary

func (e *CRMAccounts) GetPrimary() *int64

type CRMAccountsEndpoint

type CRMAccountsEndpoint service

CRMAccountsEndpoint is responsible for communicating with the CRMAccounts endpoint of the Sync service.

func (*CRMAccountsEndpoint) Get

func (s *CRMAccountsEndpoint) Get(ctx context.Context, division int, id *int64) (*CRMAccounts, error)

Get the CRMAccounts entitiy in the provided division.

func (*CRMAccountsEndpoint) List

func (s *CRMAccountsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*CRMAccounts, error)

List the CRMAccounts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*CRMAccountsEndpoint) UserHasRights

func (s *CRMAccountsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type CRMAddresses

type CRMAddresses struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account: Account linked to the address
	Account *types.GUID `json:"Account,omitempty"`

	// AccountIsSupplier: Indicates if the account is a supplier
	AccountIsSupplier *bool `json:"AccountIsSupplier,omitempty"`

	// AccountName: Name of the account
	AccountName *string `json:"AccountName,omitempty"`

	// AddressLine1: First address line
	AddressLine1 *string `json:"AddressLine1,omitempty"`

	// AddressLine2: Second address line
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressLine3: Third address line
	AddressLine3 *string `json:"AddressLine3,omitempty"`

	// City: City
	City *string `json:"City,omitempty"`

	// Contact: Contact linked to Address
	Contact *types.GUID `json:"Contact,omitempty"`

	// ContactName: Contact name
	ContactName *string `json:"ContactName,omitempty"`

	// Country: Country code
	Country *string `json:"Country,omitempty"`

	// CountryName: Country name
	CountryName *string `json:"CountryName,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Fax: Fax number
	Fax *string `json:"Fax,omitempty"`

	// FreeBoolField_01: Free boolean field 1
	FreeBoolField_01 *bool `json:"FreeBoolField_01,omitempty"`

	// FreeBoolField_02: Free boolean field 2
	FreeBoolField_02 *bool `json:"FreeBoolField_02,omitempty"`

	// FreeBoolField_03: Free boolean field 3
	FreeBoolField_03 *bool `json:"FreeBoolField_03,omitempty"`

	// FreeBoolField_04: Free boolean field 4
	FreeBoolField_04 *bool `json:"FreeBoolField_04,omitempty"`

	// FreeBoolField_05: Free boolean field 5
	FreeBoolField_05 *bool `json:"FreeBoolField_05,omitempty"`

	// FreeDateField_01: Free date field 1
	FreeDateField_01 *types.Date `json:"FreeDateField_01,omitempty"`

	// FreeDateField_02: Free date field 2
	FreeDateField_02 *types.Date `json:"FreeDateField_02,omitempty"`

	// FreeDateField_03: Free date field 3
	FreeDateField_03 *types.Date `json:"FreeDateField_03,omitempty"`

	// FreeDateField_04: Free date field 4
	FreeDateField_04 *types.Date `json:"FreeDateField_04,omitempty"`

	// FreeDateField_05: Free date field 5
	FreeDateField_05 *types.Date `json:"FreeDateField_05,omitempty"`

	// FreeNumberField_01: Free number field 1
	FreeNumberField_01 *float64 `json:"FreeNumberField_01,omitempty"`

	// FreeNumberField_02: Free number field 2
	FreeNumberField_02 *float64 `json:"FreeNumberField_02,omitempty"`

	// FreeNumberField_03: Free number field 3
	FreeNumberField_03 *float64 `json:"FreeNumberField_03,omitempty"`

	// FreeNumberField_04: Free number field 4
	FreeNumberField_04 *float64 `json:"FreeNumberField_04,omitempty"`

	// FreeNumberField_05: Free number field 5
	FreeNumberField_05 *float64 `json:"FreeNumberField_05,omitempty"`

	// FreeTextField_01: Free text field 1
	FreeTextField_01 *string `json:"FreeTextField_01,omitempty"`

	// FreeTextField_02: Free text field 2
	FreeTextField_02 *string `json:"FreeTextField_02,omitempty"`

	// FreeTextField_03: Free text field 3
	FreeTextField_03 *string `json:"FreeTextField_03,omitempty"`

	// FreeTextField_04: Free text field 4
	FreeTextField_04 *string `json:"FreeTextField_04,omitempty"`

	// FreeTextField_05: Free text field 5
	FreeTextField_05 *string `json:"FreeTextField_05,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Mailbox: Mailbox
	Mailbox *string `json:"Mailbox,omitempty"`

	// Main: Indicates if the address is the main address for this type
	Main *bool `json:"Main,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NicNumber: Last 5 digits of SIRET number which is an intern sequential number of 4 digits representing the identification of the localization of the office
	NicNumber *string `json:"NicNumber,omitempty"`

	// Notes: Notes for an address
	Notes *string `json:"Notes,omitempty"`

	// Phone: Phone number
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension: Phone extension
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Postcode: Postcode
	Postcode *string `json:"Postcode,omitempty"`

	// State: State
	State *string `json:"State,omitempty"`

	// StateDescription: Name of the State
	StateDescription *string `json:"StateDescription,omitempty"`

	// Type: The type of address. Visit=1, Postal=2, Invoice=3, Delivery=4
	Type *int `json:"Type,omitempty"`

	// Warehouse: The warehouse linked to the address, if a warehouse is linked the account will be empty. Can only be filled for type=Delivery
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of the warehoude
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of the warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

CRMAddresses: Service: Sync Entity: CRMAddresses URL: /api/v1/{division}/sync/CRM/Addresses HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCRMAddresses

func (*CRMAddresses) GetPrimary

func (e *CRMAddresses) GetPrimary() *int64

type CRMAddressesEndpoint

type CRMAddressesEndpoint service

CRMAddressesEndpoint is responsible for communicating with the CRMAddresses endpoint of the Sync service.

func (*CRMAddressesEndpoint) Get

func (s *CRMAddressesEndpoint) Get(ctx context.Context, division int, id *int64) (*CRMAddresses, error)

Get the CRMAddresses entitiy in the provided division.

func (*CRMAddressesEndpoint) List

func (s *CRMAddressesEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*CRMAddresses, error)

List the CRMAddresses entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*CRMAddressesEndpoint) UserHasRights

func (s *CRMAddressesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type CRMContacts

type CRMContacts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountIsCustomer:
	AccountIsCustomer *bool `json:"AccountIsCustomer,omitempty"`

	// AccountIsSupplier:
	AccountIsSupplier *bool `json:"AccountIsSupplier,omitempty"`

	// AccountMainContact:
	AccountMainContact *types.GUID `json:"AccountMainContact,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AddressLine2:
	AddressLine2 *string `json:"AddressLine2,omitempty"`

	// AddressStreet:
	AddressStreet *string `json:"AddressStreet,omitempty"`

	// AddressStreetNumber:
	AddressStreetNumber *string `json:"AddressStreetNumber,omitempty"`

	// AddressStreetNumberSuffix:
	AddressStreetNumberSuffix *string `json:"AddressStreetNumberSuffix,omitempty"`

	// AllowMailing:
	AllowMailing *int `json:"AllowMailing,omitempty"`

	// BirthDate:
	BirthDate *types.Date `json:"BirthDate,omitempty"`

	// BirthName:
	BirthName *string `json:"BirthName,omitempty"`

	// BirthNamePrefix:
	BirthNamePrefix *string `json:"BirthNamePrefix,omitempty"`

	// BirthPlace:
	BirthPlace *string `json:"BirthPlace,omitempty"`

	// BusinessEmail:
	BusinessEmail *string `json:"BusinessEmail,omitempty"`

	// BusinessFax:
	BusinessFax *string `json:"BusinessFax,omitempty"`

	// BusinessMobile:
	BusinessMobile *string `json:"BusinessMobile,omitempty"`

	// BusinessPhone:
	BusinessPhone *string `json:"BusinessPhone,omitempty"`

	// BusinessPhoneExtension:
	BusinessPhoneExtension *string `json:"BusinessPhoneExtension,omitempty"`

	// City:
	City *string `json:"City,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// Country:
	Country *string `json:"Country,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Email:
	Email *string `json:"Email,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// FirstName:
	FirstName *string `json:"FirstName,omitempty"`

	// FullName:
	FullName *string `json:"FullName,omitempty"`

	// Gender:
	Gender *string `json:"Gender,omitempty"`

	// HID:
	HID *int `json:"HID,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IdentificationDate:
	IdentificationDate *types.Date `json:"IdentificationDate,omitempty"`

	// IdentificationDocument:
	IdentificationDocument *types.GUID `json:"IdentificationDocument,omitempty"`

	// IdentificationUser:
	IdentificationUser *types.GUID `json:"IdentificationUser,omitempty"`

	// Initials:
	Initials *string `json:"Initials,omitempty"`

	// IsAnonymised:
	IsAnonymised *byte `json:"IsAnonymised,omitempty"`

	// IsMailingExcluded:
	IsMailingExcluded *bool `json:"IsMailingExcluded,omitempty"`

	// IsMainContact:
	IsMainContact *bool `json:"IsMainContact,omitempty"`

	// JobTitleDescription:
	JobTitleDescription *string `json:"JobTitleDescription,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// LastName:
	LastName *string `json:"LastName,omitempty"`

	// LeadPurpose:
	LeadPurpose *types.GUID `json:"LeadPurpose,omitempty"`

	// LeadSource:
	LeadSource *types.GUID `json:"LeadSource,omitempty"`

	// MarketingNotes:
	MarketingNotes *string `json:"MarketingNotes,omitempty"`

	// MiddleName:
	MiddleName *string `json:"MiddleName,omitempty"`

	// Mobile:
	Mobile *string `json:"Mobile,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Nationality:
	Nationality *string `json:"Nationality,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// PartnerName:
	PartnerName *string `json:"PartnerName,omitempty"`

	// PartnerNamePrefix:
	PartnerNamePrefix *string `json:"PartnerNamePrefix,omitempty"`

	// Person:
	Person *types.GUID `json:"Person,omitempty"`

	// Phone:
	Phone *string `json:"Phone,omitempty"`

	// PhoneExtension:
	PhoneExtension *string `json:"PhoneExtension,omitempty"`

	// Picture:
	Picture *[]byte `json:"Picture,omitempty"`

	// PictureName:
	PictureName *string `json:"PictureName,omitempty"`

	// PictureThumbnailUrl:
	PictureThumbnailUrl *string `json:"PictureThumbnailUrl,omitempty"`

	// PictureUrl:
	PictureUrl *string `json:"PictureUrl,omitempty"`

	// Postcode:
	Postcode *string `json:"Postcode,omitempty"`

	// SocialSecurityNumber:
	SocialSecurityNumber *string `json:"SocialSecurityNumber,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// State:
	State *string `json:"State,omitempty"`

	// Title:
	Title *string `json:"Title,omitempty"`
}

CRMContacts: Service: Sync Entity: CRMContacts URL: /api/v1/{division}/sync/CRM/Contacts HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCRMContacts

func (*CRMContacts) GetPrimary

func (e *CRMContacts) GetPrimary() *int64

type CRMContactsEndpoint

type CRMContactsEndpoint service

CRMContactsEndpoint is responsible for communicating with the CRMContacts endpoint of the Sync service.

func (*CRMContactsEndpoint) Get

func (s *CRMContactsEndpoint) Get(ctx context.Context, division int, id *int64) (*CRMContacts, error)

Get the CRMContacts entitiy in the provided division.

func (*CRMContactsEndpoint) List

func (s *CRMContactsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*CRMContacts, error)

List the CRMContacts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*CRMContactsEndpoint) UserHasRights

func (s *CRMContactsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type CRMQuotations

type CRMQuotations struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountDiscount:
	AmountDiscount *float64 `json:"AmountDiscount,omitempty"`

	// AmountDiscountExclVat:
	AmountDiscountExclVat *float64 `json:"AmountDiscountExclVat,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// CloseDate:
	CloseDate *types.Date `json:"CloseDate,omitempty"`

	// ClosingDate:
	ClosingDate *types.Date `json:"ClosingDate,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerItemCode:
	CustomerItemCode *string `json:"CustomerItemCode,omitempty"`

	// DeliveryAccount:
	DeliveryAccount *types.GUID `json:"DeliveryAccount,omitempty"`

	// DeliveryAccountCode:
	DeliveryAccountCode *string `json:"DeliveryAccountCode,omitempty"`

	// DeliveryAccountContact:
	DeliveryAccountContact *types.GUID `json:"DeliveryAccountContact,omitempty"`

	// DeliveryAccountContactFullName:
	DeliveryAccountContactFullName *string `json:"DeliveryAccountContactFullName,omitempty"`

	// DeliveryAccountName:
	DeliveryAccountName *string `json:"DeliveryAccountName,omitempty"`

	// DeliveryAddress:
	DeliveryAddress *types.GUID `json:"DeliveryAddress,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Discount:
	Discount *float64 `json:"Discount,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DueDate:
	DueDate *types.Date `json:"DueDate,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IncotermAddress:
	IncotermAddress *string `json:"IncotermAddress,omitempty"`

	// IncotermCode:
	IncotermCode *string `json:"IncotermCode,omitempty"`

	// IncotermVersion:
	IncotermVersion *int `json:"IncotermVersion,omitempty"`

	// InvoiceAccount:
	InvoiceAccount *types.GUID `json:"InvoiceAccount,omitempty"`

	// InvoiceAccountCode:
	InvoiceAccountCode *string `json:"InvoiceAccountCode,omitempty"`

	// InvoiceAccountContact:
	InvoiceAccountContact *types.GUID `json:"InvoiceAccountContact,omitempty"`

	// InvoiceAccountContactFullName:
	InvoiceAccountContactFullName *string `json:"InvoiceAccountContactFullName,omitempty"`

	// InvoiceAccountName:
	InvoiceAccountName *string `json:"InvoiceAccountName,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NetPrice:
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// Opportunity:
	Opportunity *types.GUID `json:"Opportunity,omitempty"`

	// OpportunityName:
	OpportunityName *string `json:"OpportunityName,omitempty"`

	// OrderAccount:
	OrderAccount *types.GUID `json:"OrderAccount,omitempty"`

	// OrderAccountCode:
	OrderAccountCode *string `json:"OrderAccountCode,omitempty"`

	// OrderAccountContact:
	OrderAccountContact *types.GUID `json:"OrderAccountContact,omitempty"`

	// OrderAccountContactFullName:
	OrderAccountContactFullName *string `json:"OrderAccountContactFullName,omitempty"`

	// OrderAccountName:
	OrderAccountName *string `json:"OrderAccountName,omitempty"`

	// PaymentCondition:
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription:
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// QuotationDate:
	QuotationDate *types.Date `json:"QuotationDate,omitempty"`

	// QuotationID:
	QuotationID *types.GUID `json:"QuotationID,omitempty"`

	// QuotationNumber:
	QuotationNumber *int `json:"QuotationNumber,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// SalesChannel:
	SalesChannel *types.GUID `json:"SalesChannel,omitempty"`

	// SalesChannelCode:
	SalesChannelCode *string `json:"SalesChannelCode,omitempty"`

	// SalesChannelDescription:
	SalesChannelDescription *string `json:"SalesChannelDescription,omitempty"`

	// SalesPerson:
	SalesPerson *types.GUID `json:"SalesPerson,omitempty"`

	// SalesPersonFullName:
	SalesPersonFullName *string `json:"SalesPersonFullName,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShippingMethodDescription:
	ShippingMethodDescription *string `json:"ShippingMethodDescription,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// StatusDescription:
	StatusDescription *string `json:"StatusDescription,omitempty"`

	// UnitCode:
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription:
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice:
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// VATAmountFC:
	VATAmountFC *float64 `json:"VATAmountFC,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATDescription:
	VATDescription *string `json:"VATDescription,omitempty"`

	// VATPercentage:
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// VersionNumber:
	VersionNumber *int `json:"VersionNumber,omitempty"`

	// YourRef:
	YourRef *string `json:"YourRef,omitempty"`
}

CRMQuotations: Service: Sync Entity: CRMQuotations URL: /api/v1/{division}/sync/CRM/Quotations HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCRMQuotations

func (*CRMQuotations) GetPrimary

func (e *CRMQuotations) GetPrimary() *int64

type CRMQuotationsEndpoint

type CRMQuotationsEndpoint service

CRMQuotationsEndpoint is responsible for communicating with the CRMQuotations endpoint of the Sync service.

func (*CRMQuotationsEndpoint) Get

func (s *CRMQuotationsEndpoint) Get(ctx context.Context, division int, id *int64) (*CRMQuotations, error)

Get the CRMQuotations entitiy in the provided division.

func (*CRMQuotationsEndpoint) List

func (s *CRMQuotationsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*CRMQuotations, error)

List the CRMQuotations entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*CRMQuotationsEndpoint) UserHasRights

func (s *CRMQuotationsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type CashflowPaymentTerms

type CashflowPaymentTerms struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account: The supplier to which the payment has to be done.
	Account *types.GUID `json:"Account,omitempty"`

	// AccountBankAccountID: The bank account of the supplier, to which the payment has to be done.
	AccountBankAccountID *types.GUID `json:"AccountBankAccountID,omitempty"`

	// AccountBankAccountNumber: The bank account number of the supplier, to which the payment has to be done.
	AccountBankAccountNumber *string `json:"AccountBankAccountNumber,omitempty"`

	// AccountCode: The code of the supplier to which the payment has to be done.
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountContact: Contact person copied from the purchase invoice linked to the related purchase entry. Used as prefered contact when sending reminders.
	AccountContact *types.GUID `json:"AccountContact,omitempty"`

	// AccountContactName: Name of the contact person of the supplier.
	AccountContactName *string `json:"AccountContactName,omitempty"`

	// AccountCountry: Country code of the customer.
	AccountCountry *string `json:"AccountCountry,omitempty"`

	// AccountName: Name of the supplier.
	AccountName *string `json:"AccountName,omitempty"`

	// AmountDC: The amount in default currency (division currency). Payments are matched on this amount.
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountDiscountDC: The amount of the discount in the default currency.
	AmountDiscountDC *float64 `json:"AmountDiscountDC,omitempty"`

	// AmountDiscountFC: The amount of the discount. This is in the amount of the selected currency.
	AmountDiscountFC *float64 `json:"AmountDiscountFC,omitempty"`

	// AmountFC: The amount of the payment. This is in the amount of the selected currency.
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// ApprovalStatus: Shows the approval status of the payment. Values can be 1 N/A, 2 Awaiting review, 3 Awaiting approval, 4 Approved, 5 Rejected. Approval of payments is not enabled in all subscriptions. If turned of the ApprovalStatus is null
	ApprovalStatus *int `json:"ApprovalStatus,omitempty"`

	// BankAccountID: Own bank account from which the payment must be done.
	BankAccountID *types.GUID `json:"BankAccountID,omitempty"`

	// BankAccountNumber: Own bank account number from which the payment must be done.
	BankAccountNumber *string `json:"BankAccountNumber,omitempty"`

	// CashflowTransactionBatchCode: When processing payments, all payments with the same processing data are put in a batch. This field contains the code of that batch.
	CashflowTransactionBatchCode *string `json:"CashflowTransactionBatchCode,omitempty"`

	// Created: Creation date.
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of the creator.
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of the creator.
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency: The currency of the payment. This currency can only deviate from the division currency if the module Currency is in the license.
	Currency *string `json:"Currency,omitempty"`

	// Description: Extra description for the payment that may be included in the bank export file.
	Description *string `json:"Description,omitempty"`

	// DirectDebitMandate: Direct Debit Mandate used to collect the PaymentTerms.
	DirectDebitMandate *types.GUID `json:"DirectDebitMandate,omitempty"`

	// DirectDebitMandateDescription: Description of the mandate.
	DirectDebitMandateDescription *string `json:"DirectDebitMandateDescription,omitempty"`

	// DirectDebitMandatePaymentType: Payment type of the mandate. 0 = One off payment 1 = Recurrent payment.
	DirectDebitMandatePaymentType *int `json:"DirectDebitMandatePaymentType,omitempty"`

	// DirectDebitMandateReference: Unique mandate reference.
	DirectDebitMandateReference *string `json:"DirectDebitMandateReference,omitempty"`

	// DirectDebitMandateType: Type of the mandate. 0 = Core 1 = Business-to-business.
	DirectDebitMandateType *int `json:"DirectDebitMandateType,omitempty"`

	// DiscountDueDate: Date before which the payment must be done to be eligible for discount.
	DiscountDueDate *types.Date `json:"DiscountDueDate,omitempty"`

	// Division: Division code.
	Division *int `json:"Division,omitempty"`

	// Document: Document that is created when processing payments.  The bank export file is attached to the document.
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentNumber: Number of the document.
	DocumentNumber *int `json:"DocumentNumber,omitempty"`

	// DocumentSubject: Subject of the document.
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DueDate: Date before which the payment must be done.
	DueDate *types.Date `json:"DueDate,omitempty"`

	// EndDate: Date since when the payment is no longer an outstanding item. This is the highest invoice date of all matched payments.
	EndDate *types.Date `json:"EndDate,omitempty"`

	// EndPeriod: Period since when the payment is no longer an outstanding item. This is the highest period of all matched payments.
	EndPeriod *int `json:"EndPeriod,omitempty"`

	// EndToEndID: The value of the tag 'EndToEndID' when generating a SEPA file.
	EndToEndID *string `json:"EndToEndID,omitempty"`

	// EndYear: Year (of period) since when the payment is no longer an outstanding item. This is the highest year of all matched payments. Used in combination with EndPeriod.
	EndYear *int `json:"EndYear,omitempty"`

	// EntryDate: Processing date of the payment.
	EntryDate *types.Date `json:"EntryDate,omitempty"`

	// EntryID: The unique identifier for a set of payments. A payment can be split so that one part is paid on a different date. In that case the two records get a different EntryID.
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// EntryNumber: Entry number of the linked transaction.
	EntryNumber *int `json:"EntryNumber,omitempty"`

	// GLAccount: G/L account of the payment. Must be of type 22 (Accounts payable).
	GLAccount *types.GUID `json:"GLAccount,omitempty"`

	// GLAccountCode: Code of the G/L account.
	GLAccountCode *string `json:"GLAccountCode,omitempty"`

	// GLAccountDescription: Description of the G/L account.
	GLAccountDescription *string `json:"GLAccountDescription,omitempty"`

	// ID: Identifier of the PaymentTerms.
	ID *types.GUID `json:"ID,omitempty"`

	// InvoiceDate: Invoice date of the linked transaction.
	InvoiceDate *types.Date `json:"InvoiceDate,omitempty"`

	// InvoiceNumber: Invoice number of the linked transaction.
	InvoiceNumber *int `json:"InvoiceNumber,omitempty"`

	// IsBatchBooking: Boolean indicating whether the payment is part of a batch booking.
	IsBatchBooking *byte `json:"IsBatchBooking,omitempty"`

	// IsFullyPaid: Boolean indicating whether the receivable was fully paid by the customer.
	IsFullyPaid *bool `json:"IsFullyPaid,omitempty"`

	// Journal: Journal of the linked transaction.
	Journal *string `json:"Journal,omitempty"`

	// JournalDescription: Description of the journal.
	JournalDescription *string `json:"JournalDescription,omitempty"`

	// LastPaymentDate: Last payment date.
	LastPaymentDate *types.Date `json:"LastPaymentDate,omitempty"`

	// LineType: Determines if the record is a payment or receipt. In case of payment the value is 22, in case of receipt the value is 20
	LineType *int `json:"LineType,omitempty"`

	// Modified: Last modified date.
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier.
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier.
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// OrderNumber: Order number of the linked transaction.
	OrderNumber *int `json:"OrderNumber,omitempty"`

	// PaymentBatchNumber: Number assigned during the of processing payments. When payments are processed a bank export file is created. This file contains one or more batches that contain one or more payments. Each batch gets a sequence number that is stored for each payment in that batch.
	PaymentBatchNumber *int `json:"PaymentBatchNumber,omitempty"`

	// PaymentCondition: Payment condition of the linked transaction.
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription: Description of the payment condition.
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// PaymentDays: Number of days between invoice date and due date.
	PaymentDays *int `json:"PaymentDays,omitempty"`

	// PaymentDaysDiscount: Number of days between invoice date and due date of the discount.
	PaymentDaysDiscount *int `json:"PaymentDaysDiscount,omitempty"`

	// PaymentDiscountPercentage: Payment discount percentage.
	PaymentDiscountPercentage *float64 `json:"PaymentDiscountPercentage,omitempty"`

	// PaymentInformationID: PaymentInformationID tag from the SEPA xml file.
	PaymentInformationID *string `json:"PaymentInformationID,omitempty"`

	// PaymentMethod: Method of payment. B = On credit (default) I = Collection K = Cash V = Credit card.
	PaymentMethod *string `json:"PaymentMethod,omitempty"`

	// PaymentReference: Payment reference for the payment that may be included in the bank export file.
	PaymentReference *string `json:"PaymentReference,omitempty"`

	// PaymentSelected: Date and time since when the payment is selected to be paid.
	PaymentSelected *types.Date `json:"PaymentSelected,omitempty"`

	// PaymentSelector: User who selected the payment to be paid.
	PaymentSelector *types.GUID `json:"PaymentSelector,omitempty"`

	// PaymentSelectorFullName: Name of the payment selector.
	PaymentSelectorFullName *string `json:"PaymentSelectorFullName,omitempty"`

	// RateFC: Exchange rate from payment currency to division currency. AmountFC * RateFC = AmountDC.
	RateFC *float64 `json:"RateFC,omitempty"`

	// ReceivableBatchNumber: Number assigned during the processing of receivables.
	ReceivableBatchNumber *int `json:"ReceivableBatchNumber,omitempty"`

	// ReceivableSelected: Date and time since when the receivable is selected to be collected.
	ReceivableSelected *types.Date `json:"ReceivableSelected,omitempty"`

	// ReceivableSelector: User who selected the receivable to be collected.
	ReceivableSelector *types.GUID `json:"ReceivableSelector,omitempty"`

	// ReceivableSelectorFullName: Name of the receivable selector.
	ReceivableSelectorFullName *string `json:"ReceivableSelectorFullName,omitempty"`

	// Source: The source of the payment.
	Source *int `json:"Source,omitempty"`

	// Status: The status of the payment. 20 = open 30 = selected - payment is selected to be paid 40 = processed - payment has been done 50 = matched - payment is matched with one or more other outstanding items or financial statement lines
	Status *int `json:"Status,omitempty"`

	// TransactionAmountDC: Total amount of the linked transaction in default currency (division currency).
	TransactionAmountDC *float64 `json:"TransactionAmountDC,omitempty"`

	// TransactionAmountFC: Total amount of the linked transaction in the selected currency.
	TransactionAmountFC *float64 `json:"TransactionAmountFC,omitempty"`

	// TransactionDueDate: Due date of the linked transaction.
	TransactionDueDate *types.Date `json:"TransactionDueDate,omitempty"`

	// TransactionEntryID: Linked transaction. Use this as reference to PurchaseEntries.
	TransactionEntryID *types.GUID `json:"TransactionEntryID,omitempty"`

	// TransactionID: Linked transaction line. Use this as reference to PurchaseEntryLines.
	TransactionID *types.GUID `json:"TransactionID,omitempty"`

	// TransactionIsReversal: Indicates if the linked transaction is a reversal entry.
	TransactionIsReversal *bool `json:"TransactionIsReversal,omitempty"`

	// TransactionReportingPeriod: Period of the linked transaction.
	TransactionReportingPeriod *int `json:"TransactionReportingPeriod,omitempty"`

	// TransactionReportingYear: Year of the linked transaction.
	TransactionReportingYear *int `json:"TransactionReportingYear,omitempty"`

	// TransactionStatus: Status of the linked transaction.
	TransactionStatus *int `json:"TransactionStatus,omitempty"`

	// TransactionType: Type of the linked transaction.
	TransactionType *int `json:"TransactionType,omitempty"`

	// YourRef: Invoice number of the supplier. In case the payment belongs to a bank entry line and is matched with one invoice, YourRef is filled with the YourRef of this invoice.
	YourRef *string `json:"YourRef,omitempty"`
}

CashflowPaymentTerms: Service: Sync Entity: CashflowPaymentTerms URL: /api/v1/{division}/sync/Cashflow/PaymentTerms HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncCashflowPaymentTerms

func (*CashflowPaymentTerms) GetPrimary

func (e *CashflowPaymentTerms) GetPrimary() *int64

type CashflowPaymentTermsEndpoint

type CashflowPaymentTermsEndpoint service

CashflowPaymentTermsEndpoint is responsible for communicating with the CashflowPaymentTerms endpoint of the Sync service.

func (*CashflowPaymentTermsEndpoint) Get

Get the CashflowPaymentTerms entitiy in the provided division.

func (*CashflowPaymentTermsEndpoint) List

List the CashflowPaymentTerms entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*CashflowPaymentTermsEndpoint) UserHasRights

func (s *CashflowPaymentTermsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type Deleted

type Deleted struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// DeletedBy: UserID of person who deleted record
	DeletedBy *types.GUID `json:"DeletedBy,omitempty"`

	// DeletedDate: Deleted date
	DeletedDate *types.Date `json:"DeletedDate,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// EntityKey: Entity key
	EntityKey *types.GUID `json:"EntityKey,omitempty"`

	// EntityType: Entity Types:	1= TransactionLines // 										2= Accounts // 										3= Addresses // 										4= Attachments // 										5= Contacts // 										6= Documents // 										7= GLAccounts // 										8= SalesItemPrices // 										9= Items // 										10= PaymentTerms // 										11= Quotations // 										12= SalesOrders // 										13= SalesInvoices // 										14= TimeCostTransactions // 										15= StockPositions // 										16= GoodsDeliveries // 										17= GoodsDeliveryLines // 										18= GLClassifications // 										19= ItemWarehouses // 										20= StorageLocationStockPositions // 										21= Projects // 										22= PurchaseOrders // 										23= Subscriptions // 										24= SubscriptionLines // 										25= ProjectWBS // 										26= ProjectPlanning
	EntityType *int `json:"EntityType,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`
}

Deleted: Service: Sync Entity: Deleted URL: /api/v1/{division}/sync/Deleted HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncDeleted

func (*Deleted) GetPrimary

func (e *Deleted) GetPrimary() *int64

type DeletedEndpoint

type DeletedEndpoint service

DeletedEndpoint is responsible for communicating with the Deleted endpoint of the Sync service.

func (*DeletedEndpoint) Get

func (s *DeletedEndpoint) Get(ctx context.Context, division int, id *int64) (*Deleted, error)

Get the Deleted entitiy in the provided division.

func (*DeletedEndpoint) List

func (s *DeletedEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*Deleted, error)

List the Deleted entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*DeletedEndpoint) UserHasRights

func (s *DeletedEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type DocumentsDocumentAttachments

type DocumentsDocumentAttachments struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Attachment:
	Attachment *[]byte `json:"Attachment,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// FileName:
	FileName *string `json:"FileName,omitempty"`

	// FileSize:
	FileSize *float64 `json:"FileSize,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Url:
	Url *string `json:"Url,omitempty"`
}

DocumentsDocumentAttachments: Service: Sync Entity: DocumentsDocumentAttachments URL: /api/v1/{division}/sync/Documents/DocumentAttachments HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncDocumentsDocumentAttachments

func (*DocumentsDocumentAttachments) GetPrimary

func (e *DocumentsDocumentAttachments) GetPrimary() *int64

type DocumentsDocumentAttachmentsEndpoint

type DocumentsDocumentAttachmentsEndpoint service

DocumentsDocumentAttachmentsEndpoint is responsible for communicating with the DocumentsDocumentAttachments endpoint of the Sync service.

func (*DocumentsDocumentAttachmentsEndpoint) Get

Get the DocumentsDocumentAttachments entitiy in the provided division.

func (*DocumentsDocumentAttachmentsEndpoint) List

List the DocumentsDocumentAttachments entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*DocumentsDocumentAttachmentsEndpoint) UserHasRights

func (s *DocumentsDocumentAttachmentsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type DocumentsDocuments

type DocumentsDocuments struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountCode:
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// Body:
	Body *string `json:"Body,omitempty"`

	// Category:
	Category *types.GUID `json:"Category,omitempty"`

	// CategoryDescription:
	CategoryDescription *string `json:"CategoryDescription,omitempty"`

	// Contact:
	Contact *types.GUID `json:"Contact,omitempty"`

	// ContactFullName:
	ContactFullName *string `json:"ContactFullName,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// DocumentDate:
	DocumentDate *types.Date `json:"DocumentDate,omitempty"`

	// DocumentFolder:
	DocumentFolder *types.GUID `json:"DocumentFolder,omitempty"`

	// DocumentFolderCode:
	DocumentFolderCode *string `json:"DocumentFolderCode,omitempty"`

	// DocumentFolderDescription:
	DocumentFolderDescription *string `json:"DocumentFolderDescription,omitempty"`

	// DocumentViewUrl:
	DocumentViewUrl *string `json:"DocumentViewUrl,omitempty"`

	// ExpiryDate:
	ExpiryDate *types.Date `json:"ExpiryDate,omitempty"`

	// FinancialTransactionEntryID:
	FinancialTransactionEntryID *types.GUID `json:"FinancialTransactionEntryID,omitempty"`

	// HasEmptyBody:
	HasEmptyBody *bool `json:"HasEmptyBody,omitempty"`

	// HID:
	HID *int `json:"HID,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// InheritShare:
	InheritShare *bool `json:"InheritShare,omitempty"`

	// Language:
	Language *string `json:"Language,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Opportunity:
	Opportunity *types.GUID `json:"Opportunity,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// ProposedEntryStatus:
	ProposedEntryStatus *int `json:"ProposedEntryStatus,omitempty"`

	// SalesInvoiceNumber:
	SalesInvoiceNumber *int `json:"SalesInvoiceNumber,omitempty"`

	// SalesOrderNumber:
	SalesOrderNumber *int `json:"SalesOrderNumber,omitempty"`

	// SendMethod:
	SendMethod *int `json:"SendMethod,omitempty"`

	// ShopOrderNumber:
	ShopOrderNumber *int `json:"ShopOrderNumber,omitempty"`

	// Subject:
	Subject *string `json:"Subject,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`

	// TypeDescription:
	TypeDescription *string `json:"TypeDescription,omitempty"`
}

DocumentsDocuments: Service: Sync Entity: DocumentsDocuments URL: /api/v1/{division}/sync/Documents/Documents HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncDocumentsDocuments

func (*DocumentsDocuments) GetPrimary

func (e *DocumentsDocuments) GetPrimary() *int64

type DocumentsDocumentsEndpoint

type DocumentsDocumentsEndpoint service

DocumentsDocumentsEndpoint is responsible for communicating with the DocumentsDocuments endpoint of the Sync service.

func (*DocumentsDocumentsEndpoint) Get

Get the DocumentsDocuments entitiy in the provided division.

func (*DocumentsDocumentsEndpoint) List

List the DocumentsDocuments entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*DocumentsDocumentsEndpoint) UserHasRights

func (s *DocumentsDocumentsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type FinancialGLAccounts

type FinancialGLAccounts struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AssimilatedVATBox:
	AssimilatedVATBox *int `json:"AssimilatedVATBox,omitempty"`

	// BalanceSide:
	BalanceSide *string `json:"BalanceSide,omitempty"`

	// BalanceType:
	BalanceType *string `json:"BalanceType,omitempty"`

	// BelcotaxType:
	BelcotaxType *int `json:"BelcotaxType,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// Compress:
	Compress *bool `json:"Compress,omitempty"`

	// Costcenter:
	Costcenter *string `json:"Costcenter,omitempty"`

	// CostcenterDescription:
	CostcenterDescription *string `json:"CostcenterDescription,omitempty"`

	// Costunit:
	Costunit *string `json:"Costunit,omitempty"`

	// CostunitDescription:
	CostunitDescription *string `json:"CostunitDescription,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// DeductibilityPercentages:
	DeductibilityPercentages *json.RawMessage `json:"DeductibilityPercentages,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// DescriptionTermID:
	DescriptionTermID *int `json:"DescriptionTermID,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// ExcludeVATListing:
	ExcludeVATListing *byte `json:"ExcludeVATListing,omitempty"`

	// ExpenseNonDeductiblePercentage:
	ExpenseNonDeductiblePercentage *float64 `json:"ExpenseNonDeductiblePercentage,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IsBlocked:
	IsBlocked *bool `json:"IsBlocked,omitempty"`

	// Matching:
	Matching *bool `json:"Matching,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// PrivateGLAccount:
	PrivateGLAccount *types.GUID `json:"PrivateGLAccount,omitempty"`

	// PrivatePercentage:
	PrivatePercentage *float64 `json:"PrivatePercentage,omitempty"`

	// ReportingCode:
	ReportingCode *string `json:"ReportingCode,omitempty"`

	// RevalueCurrency:
	RevalueCurrency *bool `json:"RevalueCurrency,omitempty"`

	// SearchCode:
	SearchCode *string `json:"SearchCode,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`

	// TypeDescription:
	TypeDescription *string `json:"TypeDescription,omitempty"`

	// UseCostcenter:
	UseCostcenter *byte `json:"UseCostcenter,omitempty"`

	// UseCostunit:
	UseCostunit *byte `json:"UseCostunit,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATDescription:
	VATDescription *string `json:"VATDescription,omitempty"`

	// VATGLAccountType:
	VATGLAccountType *string `json:"VATGLAccountType,omitempty"`

	// VATNonDeductibleGLAccount:
	VATNonDeductibleGLAccount *types.GUID `json:"VATNonDeductibleGLAccount,omitempty"`

	// VATNonDeductiblePercentage:
	VATNonDeductiblePercentage *float64 `json:"VATNonDeductiblePercentage,omitempty"`

	// VATSystem:
	VATSystem *string `json:"VATSystem,omitempty"`

	// YearEndCostGLAccount:
	YearEndCostGLAccount *types.GUID `json:"YearEndCostGLAccount,omitempty"`

	// YearEndReflectionGLAccount:
	YearEndReflectionGLAccount *types.GUID `json:"YearEndReflectionGLAccount,omitempty"`
}

FinancialGLAccounts: Service: Sync Entity: FinancialGLAccounts URL: /api/v1/{division}/sync/Financial/GLAccounts HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncFinancialGLAccounts

func (*FinancialGLAccounts) GetPrimary

func (e *FinancialGLAccounts) GetPrimary() *int64

type FinancialGLAccountsEndpoint

type FinancialGLAccountsEndpoint service

FinancialGLAccountsEndpoint is responsible for communicating with the FinancialGLAccounts endpoint of the Sync service.

func (*FinancialGLAccountsEndpoint) Get

Get the FinancialGLAccounts entitiy in the provided division.

func (*FinancialGLAccountsEndpoint) List

List the FinancialGLAccounts entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*FinancialGLAccountsEndpoint) UserHasRights

func (s *FinancialGLAccountsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type FinancialGLClassifications

type FinancialGLClassifications struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Abstract: Abstract elements are only used in presentation linkbases to group other elements. They are not supposed to be used in instance documents
	Abstract *bool `json:"Abstract,omitempty"`

	// Balance: Only used for amount concepts: in that case either 'debit' or 'credit'
	Balance *string `json:"Balance,omitempty"`

	// Code: The Code is unique
	Code *string `json:"Code,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description: Description of the element. Note that this description is only used for division-specific taxonomies (or reporting schemes).
	Description *string `json:"Description,omitempty"`

	// Division: Division is optional. For taxonomies of Taxonomies.Type = 0 (general taxonomies), the Division is empty. For division specific taxonomies it is mandatory
	Division *int `json:"Division,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// IsTupleSubElement: Obsolete
	IsTupleSubElement *bool `json:"IsTupleSubElement,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Name: The Name is unique in the namespace
	Name *string `json:"Name,omitempty"`

	// Nillable: Determines whether usage of the element is mandatory in an instance document
	Nillable *bool `json:"Nillable,omitempty"`

	// Parent: Parent element for reporting schemes. In a reporting scheme, an element can have only one parent. This column is only used for reporting schemes. Note that in a real taxonomy, elements can have multiple parents.
	Parent *types.GUID `json:"Parent,omitempty"`

	// PeriodType: Only used for item concepts: either 'instant' or 'duration'. 'instant' is used for balance types of concepts, 'duration' is used for P&L types of concepts
	PeriodType *string `json:"PeriodType,omitempty"`

	// SubstitutionGroup: Mostly import sutstitutiongroup is xbrli:tuple, which makes the element a tuple concept. The default substitutiongroup for item concepts is xbrli:item
	SubstitutionGroup *string `json:"SubstitutionGroup,omitempty"`

	// TaxonomyNamespace: Namespace of the element
	TaxonomyNamespace *types.GUID `json:"TaxonomyNamespace,omitempty"`

	// TaxonomyNamespaceDescription: Description of TaxonomyNamespace
	TaxonomyNamespaceDescription *string `json:"TaxonomyNamespaceDescription,omitempty"`

	// Type: Type of the element
	Type *types.GUID `json:"Type,omitempty"`
}

FinancialGLClassifications: Service: Sync Entity: FinancialGLClassifications URL: /api/v1/{division}/sync/Financial/GLClassifications HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncFinancialGLClassifications

func (*FinancialGLClassifications) GetPrimary

func (e *FinancialGLClassifications) GetPrimary() *int64

type FinancialGLClassificationsEndpoint

type FinancialGLClassificationsEndpoint service

FinancialGLClassificationsEndpoint is responsible for communicating with the FinancialGLClassifications endpoint of the Sync service.

func (*FinancialGLClassificationsEndpoint) Get

Get the FinancialGLClassifications entitiy in the provided division.

func (*FinancialGLClassificationsEndpoint) List

List the FinancialGLClassifications entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*FinancialGLClassificationsEndpoint) UserHasRights

func (s *FinancialGLClassificationsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type FinancialTransactionLines

type FinancialTransactionLines struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountCode:
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// AmountVATBaseFC:
	AmountVATBaseFC *float64 `json:"AmountVATBaseFC,omitempty"`

	// AmountVATFC:
	AmountVATFC *float64 `json:"AmountVATFC,omitempty"`

	// Asset:
	Asset *types.GUID `json:"Asset,omitempty"`

	// AssetCode:
	AssetCode *string `json:"AssetCode,omitempty"`

	// AssetDescription:
	AssetDescription *string `json:"AssetDescription,omitempty"`

	// CostCenter:
	CostCenter *string `json:"CostCenter,omitempty"`

	// CostCenterDescription:
	CostCenterDescription *string `json:"CostCenterDescription,omitempty"`

	// CostUnit:
	CostUnit *string `json:"CostUnit,omitempty"`

	// CostUnitDescription:
	CostUnitDescription *string `json:"CostUnitDescription,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// Date:
	Date *types.Date `json:"Date,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentNumber:
	DocumentNumber *int `json:"DocumentNumber,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DueDate:
	DueDate *types.Date `json:"DueDate,omitempty"`

	// EntryID:
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// EntryNumber:
	EntryNumber *int `json:"EntryNumber,omitempty"`

	// ExchangeRate:
	ExchangeRate *float64 `json:"ExchangeRate,omitempty"`

	// ExternalLinkDescription:
	ExternalLinkDescription *string `json:"ExternalLinkDescription,omitempty"`

	// ExternalLinkReference:
	ExternalLinkReference *string `json:"ExternalLinkReference,omitempty"`

	// ExtraDutyAmountFC:
	ExtraDutyAmountFC *float64 `json:"ExtraDutyAmountFC,omitempty"`

	// ExtraDutyPercentage:
	ExtraDutyPercentage *float64 `json:"ExtraDutyPercentage,omitempty"`

	// FinancialPeriod:
	FinancialPeriod *int `json:"FinancialPeriod,omitempty"`

	// FinancialYear:
	FinancialYear *int `json:"FinancialYear,omitempty"`

	// GLAccount:
	GLAccount *types.GUID `json:"GLAccount,omitempty"`

	// GLAccountCode:
	GLAccountCode *string `json:"GLAccountCode,omitempty"`

	// GLAccountDescription:
	GLAccountDescription *string `json:"GLAccountDescription,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// InvoiceNumber:
	InvoiceNumber *int `json:"InvoiceNumber,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode:
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// JournalCode:
	JournalCode *string `json:"JournalCode,omitempty"`

	// JournalDescription:
	JournalDescription *string `json:"JournalDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// LineType:
	LineType *int `json:"LineType,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OffsetID:
	OffsetID *types.GUID `json:"OffsetID,omitempty"`

	// OrderNumber:
	OrderNumber *int `json:"OrderNumber,omitempty"`

	// PaymentDiscountAmount:
	PaymentDiscountAmount *float64 `json:"PaymentDiscountAmount,omitempty"`

	// PaymentReference:
	PaymentReference *string `json:"PaymentReference,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// SerialNumber:
	SerialNumber *string `json:"SerialNumber,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// Subscription:
	Subscription *types.GUID `json:"Subscription,omitempty"`

	// SubscriptionDescription:
	SubscriptionDescription *string `json:"SubscriptionDescription,omitempty"`

	// TrackingNumber:
	TrackingNumber *string `json:"TrackingNumber,omitempty"`

	// TrackingNumberDescription:
	TrackingNumberDescription *string `json:"TrackingNumberDescription,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATCodeDescription:
	VATCodeDescription *string `json:"VATCodeDescription,omitempty"`

	// VATPercentage:
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// VATType:
	VATType *string `json:"VATType,omitempty"`

	// YourRef:
	YourRef *string `json:"YourRef,omitempty"`
}

FinancialTransactionLines: Service: Sync Entity: FinancialTransactionLines URL: /api/v1/{division}/sync/Financial/TransactionLines HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncFinancialTransactionLines

func (*FinancialTransactionLines) GetPrimary

func (e *FinancialTransactionLines) GetPrimary() *int64

type FinancialTransactionLinesEndpoint

type FinancialTransactionLinesEndpoint service

FinancialTransactionLinesEndpoint is responsible for communicating with the FinancialTransactionLines endpoint of the Sync service.

func (*FinancialTransactionLinesEndpoint) Get

Get the FinancialTransactionLines entitiy in the provided division.

func (*FinancialTransactionLinesEndpoint) List

List the FinancialTransactionLines entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*FinancialTransactionLinesEndpoint) UserHasRights

func (s *FinancialTransactionLinesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type InventoryItemWarehouses

type InventoryItemWarehouses struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// DefaultStorageLocation: This is a default storage location
	DefaultStorageLocation *types.GUID `json:"DefaultStorageLocation,omitempty"`

	// DefaultStorageLocationCode: Default storage location's code
	DefaultStorageLocationCode *string `json:"DefaultStorageLocationCode,omitempty"`

	// DefaultStorageLocationDescription: Default storage location's description
	DefaultStorageLocationDescription *string `json:"DefaultStorageLocationDescription,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// ID: A guid that is the unique identifier of the linkage between item and warehouse
	ID *types.GUID `json:"ID,omitempty"`

	// Item: Item ID
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode: Code of item
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription: Description of item
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// MaximumStock: Maximum quantity of items that you want in warehouse
	MaximumStock *float64 `json:"MaximumStock,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// OrderPolicy: Order Policy options: 1-Lot for lot, 2-Fixed order quantity, 3-Min / Max, 4-Order
	OrderPolicy *int `json:"OrderPolicy,omitempty"`

	// Period: Period that work together with replenishment in MRP
	Period *int `json:"Period,omitempty"`

	// ReorderPoint: Quantity of items as an indication of when you need to reorder more stock for the warehouse
	ReorderPoint *float64 `json:"ReorderPoint,omitempty"`

	// ReorderQuantity: Reorder quantity that work together with replenishment in MRP
	ReorderQuantity *float64 `json:"ReorderQuantity,omitempty"`

	// ReplenishmentType: Replenishment options: 1-Purchase, 2-Assemble, 3-Make, 4-Transfer, 5-No replenishment advice
	ReplenishmentType *int `json:"ReplenishmentType,omitempty"`

	// ReservedStock: The quantity in a back to back order process which is already received from the purchase order, but not yet delivered for the sales order.
	ReservedStock *float64 `json:"ReservedStock,omitempty"`

	// SafetyStock: Minimum quantity of items you must have in stock
	SafetyStock *float64 `json:"SafetyStock,omitempty"`

	// Warehouse: Warehouse ID
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of warehouse
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

InventoryItemWarehouses: Service: Sync Entity: InventoryItemWarehouses URL: /api/v1/{division}/sync/Inventory/ItemWarehouses HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncInventoryItemWarehouses

func (*InventoryItemWarehouses) GetPrimary

func (e *InventoryItemWarehouses) GetPrimary() *int64

type InventoryItemWarehousesEndpoint

type InventoryItemWarehousesEndpoint service

InventoryItemWarehousesEndpoint is responsible for communicating with the InventoryItemWarehouses endpoint of the Sync service.

func (*InventoryItemWarehousesEndpoint) Get

Get the InventoryItemWarehouses entitiy in the provided division.

func (*InventoryItemWarehousesEndpoint) List

List the InventoryItemWarehouses entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*InventoryItemWarehousesEndpoint) UserHasRights

func (s *InventoryItemWarehousesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type InventoryStockPositions

type InventoryStockPositions struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// CurrentStock: Number of items in stock
	CurrentStock *float64 `json:"CurrentStock,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// FreeStock: Quantity of available stock
	FreeStock *float64 `json:"FreeStock,omitempty"`

	// ID: Primary Key
	ID *types.GUID `json:"ID,omitempty"`

	// ItemCode: Code of the item
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription: Description of the item
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// ItemId: A guid that is the unique identifier of the item
	ItemId *types.GUID `json:"ItemId,omitempty"`

	// PlanningIn: Number of items that are planned to come in
	PlanningIn *float64 `json:"PlanningIn,omitempty"`

	// PlanningOut: Number of items that are planned to go out
	PlanningOut *float64 `json:"PlanningOut,omitempty"`

	// ProjectedStock: The quantity of stock projected given all planned future stock changes
	ProjectedStock *float64 `json:"ProjectedStock,omitempty"`

	// ReorderPoint: Quantity of items as an indication of when you need to reorder more stock for the warehouse
	ReorderPoint *float64 `json:"ReorderPoint,omitempty"`

	// ReservedStock: The quantity in a back to back order process which is already received from the purchase order, but not yet delivered for the sales order.
	ReservedStock *float64 `json:"ReservedStock,omitempty"`

	// UnitCode: Code of item unit
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription: Description of the item unit
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// Warehouse: A guid that is the unique identifier of the warehouse
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of warehouse
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

InventoryStockPositions: Service: Sync Entity: InventoryStockPositions URL: /api/v1/{division}/sync/Inventory/StockPositions HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncInventoryStockPositions

func (*InventoryStockPositions) GetPrimary

func (e *InventoryStockPositions) GetPrimary() *int64

type InventoryStockPositionsEndpoint

type InventoryStockPositionsEndpoint service

InventoryStockPositionsEndpoint is responsible for communicating with the InventoryStockPositions endpoint of the Sync service.

func (*InventoryStockPositionsEndpoint) Get

Get the InventoryStockPositions entitiy in the provided division.

func (*InventoryStockPositionsEndpoint) List

List the InventoryStockPositions entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*InventoryStockPositionsEndpoint) UserHasRights

func (s *InventoryStockPositionsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type InventoryStorageLocationStockPositions

type InventoryStorageLocationStockPositions struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Item: Item
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode: Code of the item
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription: Description of the item
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// Stock: Stock
	Stock *float64 `json:"Stock,omitempty"`

	// StorageLocation: Storage location
	StorageLocation *types.GUID `json:"StorageLocation,omitempty"`

	// StorageLocationCode: Code of the storage location
	StorageLocationCode *string `json:"StorageLocationCode,omitempty"`

	// StorageLocationDescription: Description of the storage location
	StorageLocationDescription *string `json:"StorageLocationDescription,omitempty"`

	// UnitCode: Code of the unit for the item
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription: Description of the unit for the item
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// Warehouse: Warehouse
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of the warehouse
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of the warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

InventoryStorageLocationStockPositions: Service: Sync Entity: InventoryStorageLocationStockPositions URL: /api/v1/{division}/sync/Inventory/StorageLocationStockPositions HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncInventoryStorageLocationStockPositions

func (*InventoryStorageLocationStockPositions) GetPrimary

type InventoryStorageLocationStockPositionsEndpoint

type InventoryStorageLocationStockPositionsEndpoint service

InventoryStorageLocationStockPositionsEndpoint is responsible for communicating with the InventoryStorageLocationStockPositions endpoint of the Sync service.

func (*InventoryStorageLocationStockPositionsEndpoint) Get

Get the InventoryStorageLocationStockPositions entitiy in the provided division.

func (*InventoryStorageLocationStockPositionsEndpoint) List

List the InventoryStorageLocationStockPositions entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*InventoryStorageLocationStockPositionsEndpoint) UserHasRights

func (s *InventoryStorageLocationStockPositionsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type LogisticsItems

type LogisticsItems struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AverageCost:
	AverageCost *float64 `json:"AverageCost,omitempty"`

	// Barcode:
	Barcode *string `json:"Barcode,omitempty"`

	// Class_01:
	Class_01 *string `json:"Class_01,omitempty"`

	// Class_02:
	Class_02 *string `json:"Class_02,omitempty"`

	// Class_03:
	Class_03 *string `json:"Class_03,omitempty"`

	// Class_04:
	Class_04 *string `json:"Class_04,omitempty"`

	// Class_05:
	Class_05 *string `json:"Class_05,omitempty"`

	// Class_06:
	Class_06 *string `json:"Class_06,omitempty"`

	// Class_07:
	Class_07 *string `json:"Class_07,omitempty"`

	// Class_08:
	Class_08 *string `json:"Class_08,omitempty"`

	// Class_09:
	Class_09 *string `json:"Class_09,omitempty"`

	// Class_10:
	Class_10 *string `json:"Class_10,omitempty"`

	// Code:
	Code *string `json:"Code,omitempty"`

	// CopyRemarks:
	CopyRemarks *byte `json:"CopyRemarks,omitempty"`

	// CostPriceCurrency:
	CostPriceCurrency *string `json:"CostPriceCurrency,omitempty"`

	// CostPriceNew:
	CostPriceNew *float64 `json:"CostPriceNew,omitempty"`

	// CostPriceStandard:
	CostPriceStandard *float64 `json:"CostPriceStandard,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomField:
	CustomField *string `json:"CustomField,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// ExtraDescription:
	ExtraDescription *string `json:"ExtraDescription,omitempty"`

	// FreeBoolField_01:
	FreeBoolField_01 *bool `json:"FreeBoolField_01,omitempty"`

	// FreeBoolField_02:
	FreeBoolField_02 *bool `json:"FreeBoolField_02,omitempty"`

	// FreeBoolField_03:
	FreeBoolField_03 *bool `json:"FreeBoolField_03,omitempty"`

	// FreeBoolField_04:
	FreeBoolField_04 *bool `json:"FreeBoolField_04,omitempty"`

	// FreeBoolField_05:
	FreeBoolField_05 *bool `json:"FreeBoolField_05,omitempty"`

	// FreeDateField_01:
	FreeDateField_01 *types.Date `json:"FreeDateField_01,omitempty"`

	// FreeDateField_02:
	FreeDateField_02 *types.Date `json:"FreeDateField_02,omitempty"`

	// FreeDateField_03:
	FreeDateField_03 *types.Date `json:"FreeDateField_03,omitempty"`

	// FreeDateField_04:
	FreeDateField_04 *types.Date `json:"FreeDateField_04,omitempty"`

	// FreeDateField_05:
	FreeDateField_05 *types.Date `json:"FreeDateField_05,omitempty"`

	// FreeNumberField_01:
	FreeNumberField_01 *float64 `json:"FreeNumberField_01,omitempty"`

	// FreeNumberField_02:
	FreeNumberField_02 *float64 `json:"FreeNumberField_02,omitempty"`

	// FreeNumberField_03:
	FreeNumberField_03 *float64 `json:"FreeNumberField_03,omitempty"`

	// FreeNumberField_04:
	FreeNumberField_04 *float64 `json:"FreeNumberField_04,omitempty"`

	// FreeNumberField_05:
	FreeNumberField_05 *float64 `json:"FreeNumberField_05,omitempty"`

	// FreeNumberField_06:
	FreeNumberField_06 *float64 `json:"FreeNumberField_06,omitempty"`

	// FreeNumberField_07:
	FreeNumberField_07 *float64 `json:"FreeNumberField_07,omitempty"`

	// FreeNumberField_08:
	FreeNumberField_08 *float64 `json:"FreeNumberField_08,omitempty"`

	// FreeTextField_01:
	FreeTextField_01 *string `json:"FreeTextField_01,omitempty"`

	// FreeTextField_02:
	FreeTextField_02 *string `json:"FreeTextField_02,omitempty"`

	// FreeTextField_03:
	FreeTextField_03 *string `json:"FreeTextField_03,omitempty"`

	// FreeTextField_04:
	FreeTextField_04 *string `json:"FreeTextField_04,omitempty"`

	// FreeTextField_05:
	FreeTextField_05 *string `json:"FreeTextField_05,omitempty"`

	// FreeTextField_06:
	FreeTextField_06 *string `json:"FreeTextField_06,omitempty"`

	// FreeTextField_07:
	FreeTextField_07 *string `json:"FreeTextField_07,omitempty"`

	// FreeTextField_08:
	FreeTextField_08 *string `json:"FreeTextField_08,omitempty"`

	// FreeTextField_09:
	FreeTextField_09 *string `json:"FreeTextField_09,omitempty"`

	// FreeTextField_10:
	FreeTextField_10 *string `json:"FreeTextField_10,omitempty"`

	// GLCosts:
	GLCosts *types.GUID `json:"GLCosts,omitempty"`

	// GLCostsCode:
	GLCostsCode *string `json:"GLCostsCode,omitempty"`

	// GLCostsDescription:
	GLCostsDescription *string `json:"GLCostsDescription,omitempty"`

	// GLRevenue:
	GLRevenue *types.GUID `json:"GLRevenue,omitempty"`

	// GLRevenueCode:
	GLRevenueCode *string `json:"GLRevenueCode,omitempty"`

	// GLRevenueDescription:
	GLRevenueDescription *string `json:"GLRevenueDescription,omitempty"`

	// GLStock:
	GLStock *types.GUID `json:"GLStock,omitempty"`

	// GLStockCode:
	GLStockCode *string `json:"GLStockCode,omitempty"`

	// GLStockDescription:
	GLStockDescription *string `json:"GLStockDescription,omitempty"`

	// GrossWeight:
	GrossWeight *float64 `json:"GrossWeight,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IsBatchItem:
	IsBatchItem *byte `json:"IsBatchItem,omitempty"`

	// IsFractionAllowedItem:
	IsFractionAllowedItem *bool `json:"IsFractionAllowedItem,omitempty"`

	// IsMakeItem:
	IsMakeItem *byte `json:"IsMakeItem,omitempty"`

	// IsNewContract:
	IsNewContract *byte `json:"IsNewContract,omitempty"`

	// IsOnDemandItem:
	IsOnDemandItem *byte `json:"IsOnDemandItem,omitempty"`

	// IsPackageItem:
	IsPackageItem *bool `json:"IsPackageItem,omitempty"`

	// IsPurchaseItem:
	IsPurchaseItem *bool `json:"IsPurchaseItem,omitempty"`

	// IsRegistrationCodeItem:
	IsRegistrationCodeItem *byte `json:"IsRegistrationCodeItem,omitempty"`

	// IsSalesItem:
	IsSalesItem *bool `json:"IsSalesItem,omitempty"`

	// IsSerialItem:
	IsSerialItem *bool `json:"IsSerialItem,omitempty"`

	// IsStockItem:
	IsStockItem *bool `json:"IsStockItem,omitempty"`

	// IsSubcontractedItem:
	IsSubcontractedItem *bool `json:"IsSubcontractedItem,omitempty"`

	// IsTaxableItem:
	IsTaxableItem *byte `json:"IsTaxableItem,omitempty"`

	// IsTime:
	IsTime *byte `json:"IsTime,omitempty"`

	// IsWebshopItem:
	IsWebshopItem *byte `json:"IsWebshopItem,omitempty"`

	// ItemGroup:
	ItemGroup *types.GUID `json:"ItemGroup,omitempty"`

	// ItemGroupCode:
	ItemGroupCode *string `json:"ItemGroupCode,omitempty"`

	// ItemGroupDescription:
	ItemGroupDescription *string `json:"ItemGroupDescription,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NetWeight:
	NetWeight *float64 `json:"NetWeight,omitempty"`

	// NetWeightUnit:
	NetWeightUnit *string `json:"NetWeightUnit,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// PictureName:
	PictureName *string `json:"PictureName,omitempty"`

	// PictureThumbnailUrl:
	PictureThumbnailUrl *string `json:"PictureThumbnailUrl,omitempty"`

	// PictureUrl:
	PictureUrl *string `json:"PictureUrl,omitempty"`

	// SalesVatCode:
	SalesVatCode *string `json:"SalesVatCode,omitempty"`

	// SalesVatCodeDescription:
	SalesVatCodeDescription *string `json:"SalesVatCodeDescription,omitempty"`

	// SearchCode:
	SearchCode *string `json:"SearchCode,omitempty"`

	// SecurityLevel:
	SecurityLevel *int `json:"SecurityLevel,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// StatisticalCode:
	StatisticalCode *string `json:"StatisticalCode,omitempty"`

	// StatisticalNetWeight:
	StatisticalNetWeight *float64 `json:"StatisticalNetWeight,omitempty"`

	// StatisticalUnits:
	StatisticalUnits *float64 `json:"StatisticalUnits,omitempty"`

	// StatisticalValue:
	StatisticalValue *float64 `json:"StatisticalValue,omitempty"`

	// Stock:
	Stock *float64 `json:"Stock,omitempty"`

	// Unit:
	Unit *string `json:"Unit,omitempty"`

	// UnitDescription:
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitType:
	UnitType *string `json:"UnitType,omitempty"`
}

LogisticsItems: Service: Sync Entity: LogisticsItems URL: /api/v1/{division}/sync/Logistics/Items HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncLogisticsItems

func (*LogisticsItems) GetPrimary

func (e *LogisticsItems) GetPrimary() *int64

type LogisticsItemsEndpoint

type LogisticsItemsEndpoint service

LogisticsItemsEndpoint is responsible for communicating with the LogisticsItems endpoint of the Sync service.

func (*LogisticsItemsEndpoint) Get

func (s *LogisticsItemsEndpoint) Get(ctx context.Context, division int, id *int64) (*LogisticsItems, error)

Get the LogisticsItems entitiy in the provided division.

func (*LogisticsItemsEndpoint) List

func (s *LogisticsItemsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*LogisticsItems, error)

List the LogisticsItems entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*LogisticsItemsEndpoint) UserHasRights

func (s *LogisticsItemsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type LogisticsSalesItemPrices

type LogisticsSalesItemPrices struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account: ID of the customer
	Account *types.GUID `json:"Account,omitempty"`

	// AccountName: Name of the customer account
	AccountName *string `json:"AccountName,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency: The currency of the price
	Currency *string `json:"Currency,omitempty"`

	// DefaultItemUnit: The default unit of the item
	DefaultItemUnit *string `json:"DefaultItemUnit,omitempty"`

	// DefaultItemUnitDescription: The description of the default item unit
	DefaultItemUnitDescription *string `json:"DefaultItemUnitDescription,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// EndDate: Together with StartDate this determines whether the price is active
	EndDate *types.Date `json:"EndDate,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Item: Item ID
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode: Code of Item
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription: Description of Item
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NumberOfItemsPerUnit: This is the multiplication factor when going from default item unit to the unit of this price.For example if the default item unit is 'gram' and the price unit is 'kilogram' then the value of this property is 1000.
	NumberOfItemsPerUnit *float64 `json:"NumberOfItemsPerUnit,omitempty"`

	// Price: The actual price of this sales item
	Price *float64 `json:"Price,omitempty"`

	// Quantity: Minimum quantity to which the price is applicable
	Quantity *float64 `json:"Quantity,omitempty"`

	// StartDate: Together with EndDate this determines whether the price is active
	StartDate *types.Date `json:"StartDate,omitempty"`

	// Unit: The unit code of the price
	Unit *string `json:"Unit,omitempty"`

	// UnitDescription: Description of the price unit
	UnitDescription *string `json:"UnitDescription,omitempty"`
}

LogisticsSalesItemPrices: Service: Sync Entity: LogisticsSalesItemPrices URL: /api/v1/{division}/sync/Logistics/SalesItemPrices HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncLogisticsSalesItemPrices

func (*LogisticsSalesItemPrices) GetPrimary

func (e *LogisticsSalesItemPrices) GetPrimary() *int64

type LogisticsSalesItemPricesEndpoint

type LogisticsSalesItemPricesEndpoint service

LogisticsSalesItemPricesEndpoint is responsible for communicating with the LogisticsSalesItemPrices endpoint of the Sync service.

func (*LogisticsSalesItemPricesEndpoint) Get

Get the LogisticsSalesItemPrices entitiy in the provided division.

func (*LogisticsSalesItemPricesEndpoint) List

List the LogisticsSalesItemPrices entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*LogisticsSalesItemPricesEndpoint) UserHasRights

func (s *LogisticsSalesItemPricesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type ProjectProjectPlanning

type ProjectProjectPlanning struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountCode:
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// BGTStatus:
	BGTStatus *int `json:"BGTStatus,omitempty"`

	// CommunicationErrorStatus:
	CommunicationErrorStatus *int `json:"CommunicationErrorStatus,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Employee:
	Employee *types.GUID `json:"Employee,omitempty"`

	// EmployeeCode:
	EmployeeCode *string `json:"EmployeeCode,omitempty"`

	// EmployeeHID:
	EmployeeHID *int `json:"EmployeeHID,omitempty"`

	// EndDate:
	EndDate *types.Date `json:"EndDate,omitempty"`

	// Hours:
	Hours *float64 `json:"Hours,omitempty"`

	// HourType:
	HourType *types.GUID `json:"HourType,omitempty"`

	// HourTypeCode:
	HourTypeCode *string `json:"HourTypeCode,omitempty"`

	// HourTypeDescription:
	HourTypeDescription *string `json:"HourTypeDescription,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IsBrokenRecurrence:
	IsBrokenRecurrence *bool `json:"IsBrokenRecurrence,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OverAllocate:
	OverAllocate *bool `json:"OverAllocate,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// ProjectPlanningRecurring:
	ProjectPlanningRecurring *types.GUID `json:"ProjectPlanningRecurring,omitempty"`

	// ProjectWBS:
	ProjectWBS *types.GUID `json:"ProjectWBS,omitempty"`

	// ProjectWBSDescription:
	ProjectWBSDescription *string `json:"ProjectWBSDescription,omitempty"`

	// StartDate:
	StartDate *types.Date `json:"StartDate,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`
}

ProjectProjectPlanning: Service: Sync Entity: ProjectProjectPlanning URL: /api/v1/{division}/sync/Project/ProjectPlanning HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncProjectProjectPlanning

func (*ProjectProjectPlanning) GetPrimary

func (e *ProjectProjectPlanning) GetPrimary() *int64

type ProjectProjectPlanningEndpoint

type ProjectProjectPlanningEndpoint service

ProjectProjectPlanningEndpoint is responsible for communicating with the ProjectProjectPlanning endpoint of the Sync service.

func (*ProjectProjectPlanningEndpoint) Get

Get the ProjectProjectPlanning entitiy in the provided division.

func (*ProjectProjectPlanningEndpoint) List

List the ProjectProjectPlanning entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ProjectProjectPlanningEndpoint) UserHasRights

func (s *ProjectProjectPlanningEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type ProjectProjectWBS

type ProjectProjectWBS struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// BlockEntry: A boolean field to indicated if time and cost entries is blocked
	BlockEntry *byte `json:"BlockEntry,omitempty"`

	// BlockRebilling: A boolean field to indicated if rebilling is blocked. Only for expense
	BlockRebilling *byte `json:"BlockRebilling,omitempty"`

	// BudgetedCost: Budget cost of the WBS activity and expense
	BudgetedCost *float64 `json:"BudgetedCost,omitempty"`

	// BudgetedHours: Budget hours of the WBS. Only for activity
	BudgetedHours *float64 `json:"BudgetedHours,omitempty"`

	// BudgetedRevenue: Revenue of the WBS. Only for activity and expense
	BudgetedRevenue *float64 `json:"BudgetedRevenue,omitempty"`

	// BudgetOverrunHours: BudgetOverrunHours: 10-Allowed, 20-Not Allowed. Only for activity
	BudgetOverrunHours *byte `json:"BudgetOverrunHours,omitempty"`

	// Completed: A boolean field to indicated if the project WBS deliverable is completed.
	Completed *byte `json:"Completed,omitempty"`

	// Created: The date and time when the WBS was created
	Created *types.Date `json:"Created,omitempty"`

	// Creator: The ID of the user that created the WBS
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: The full name of the user that created the WBS
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// DefaultItem: Default item to used for time entries
	DefaultItem *types.GUID `json:"DefaultItem,omitempty"`

	// DefaultItemIsMandatory: To indicated if only default item is allowed. Only for activity
	DefaultItemIsMandatory *byte `json:"DefaultItemIsMandatory,omitempty"`

	// Description: Description of the project WBS
	Description *string `json:"Description,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// EndDate: EndDate of the WBS. If it is a deliverable then EndDate is the lastest EndDate of its children
	EndDate *types.Date `json:"EndDate,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// InvoiceSeparately: To indicated if additional invoice is allowed on this WBS.  // 						Additional invoice can only be set when the project type is fixed price or prepaid and the project allow additional invoices.  // 						Only for activity and expense
	InvoiceSeparately *byte `json:"InvoiceSeparately,omitempty"`

	// MarkupPercentage: Markup percentage for WBS expense
	MarkupPercentage *float64 `json:"MarkupPercentage,omitempty"`

	// Milestone: To indicated if this is a milestone for WBS deliverable
	Milestone *byte `json:"Milestone,omitempty"`

	// Modified: Last modified date and time
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: The Guid ID of the user that modified the records
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: The full name of the user that modified the WBS
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes: For additional information about wbs
	Notes *string `json:"Notes,omitempty"`

	// PartOf: ID of the parent WBS
	PartOf *types.GUID `json:"PartOf,omitempty"`

	// PartOfDescription: Description of part of
	PartOfDescription *string `json:"PartOfDescription,omitempty"`

	// Project: ID of the project that linked to WBS
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectDescription: Description of the project that linked to WBS
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// ProjectTerm: ID of invoice term that linked to the WBS deliverable. Invoice term can only be linked when the project is using billing milestones and the deliverable is set as a milestone
	ProjectTerm *types.GUID `json:"ProjectTerm,omitempty"`

	// ProjectTermDescription: Description of invoice term that linked to the WBS deliverable
	ProjectTermDescription *string `json:"ProjectTermDescription,omitempty"`

	// SequenceNumber: Sequence number of the WBS. Last sequence will be selected if not specified
	SequenceNumber *int `json:"SequenceNumber,omitempty"`

	// StartDate: Startdate of the WBS. If it is a deliverable then StartDate is the earliest StartDate of its children
	StartDate *types.Date `json:"StartDate,omitempty"`

	// TimeQuantityToAlert: Alert when exceeding this time quantity for WBS activity
	TimeQuantityToAlert *float64 `json:"TimeQuantityToAlert,omitempty"`

	// Type: The type of project WBS. E.g: 1 = Deliverable, 2 = Activity, 3 = Expense
	Type *int `json:"Type,omitempty"`
}

ProjectProjectWBS: Service: Sync Entity: ProjectProjectWBS URL: /api/v1/{division}/sync/Project/ProjectWBS HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncProjectProjectWBS

func (*ProjectProjectWBS) GetPrimary

func (e *ProjectProjectWBS) GetPrimary() *int64

type ProjectProjectWBSEndpoint

type ProjectProjectWBSEndpoint service

ProjectProjectWBSEndpoint is responsible for communicating with the ProjectProjectWBS endpoint of the Sync service.

func (*ProjectProjectWBSEndpoint) Get

func (s *ProjectProjectWBSEndpoint) Get(ctx context.Context, division int, id *int64) (*ProjectProjectWBS, error)

Get the ProjectProjectWBS entitiy in the provided division.

func (*ProjectProjectWBSEndpoint) List

func (s *ProjectProjectWBSEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*ProjectProjectWBS, error)

List the ProjectProjectWBS entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ProjectProjectWBSEndpoint) UserHasRights

func (s *ProjectProjectWBSEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type ProjectProjects

type ProjectProjects struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account: The account for this project
	Account *types.GUID `json:"Account,omitempty"`

	// AccountCode: Code of Account
	AccountCode *string `json:"AccountCode,omitempty"`

	// AccountContact: Contact person of Account
	AccountContact *types.GUID `json:"AccountContact,omitempty"`

	// AccountName: Name of Account
	AccountName *string `json:"AccountName,omitempty"`

	// AllowAdditionalInvoicing: Indicates if additional invoice is allowed for project
	AllowAdditionalInvoicing *bool `json:"AllowAdditionalInvoicing,omitempty"`

	// AllowNonMemberEntry: Allow non member to create time or cost entry
	AllowNonMemberEntry *bool `json:"AllowNonMemberEntry,omitempty"`

	// BlockEntry: Block time and cost entries
	BlockEntry *bool `json:"BlockEntry,omitempty"`

	// BlockPurchasing: Block purchasing
	BlockPurchasing *bool `json:"BlockPurchasing,omitempty"`

	// BlockRebilling: Block rebilling
	BlockRebilling *bool `json:"BlockRebilling,omitempty"`

	// BudgetedAmount: Budgeted amount of sales in the default currency of the company
	BudgetedAmount *float64 `json:"BudgetedAmount,omitempty"`

	// BudgetedCosts: Budgeted amount of costs in the default currency of the company
	BudgetedCosts *float64 `json:"BudgetedCosts,omitempty"`

	// BudgetedRevenue: Budgeted amount of revenue in the default currency of the company
	BudgetedRevenue *float64 `json:"BudgetedRevenue,omitempty"`

	// BudgetOverrunHours: BudgetOverrunHours: 10-Allowed, 20-Not Allowed
	BudgetOverrunHours *byte `json:"BudgetOverrunHours,omitempty"`

	// BudgetType: Budget type
	BudgetType *int `json:"BudgetType,omitempty"`

	// BudgetTypeDescription: Budget type description
	BudgetTypeDescription *string `json:"BudgetTypeDescription,omitempty"`

	// Classification: Used only for PSA to link a project classification to the project
	Classification *types.GUID `json:"Classification,omitempty"`

	// ClassificationDescription: Description of Classification
	ClassificationDescription *string `json:"ClassificationDescription,omitempty"`

	// Code: Code
	Code *string `json:"Code,omitempty"`

	// CostsAmountFC: Used only for PSA to store the budgetted costs of a project (except for project type Campaign and Non-billable). Positive quantities only
	CostsAmountFC *float64 `json:"CostsAmountFC,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomerPOnumber: Used only for PSA to store the customer's PO number
	CustomerPOnumber *string `json:"CustomerPOnumber,omitempty"`

	// CustomField: Custom field endpoint. Provided only for the Exact Online Premium users.
	CustomField *string `json:"CustomField,omitempty"`

	// Description: Description of the project
	Description *string `json:"Description,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// DivisionName: Name of Division
	DivisionName *string `json:"DivisionName,omitempty"`

	// EndDate: End date of the project. In combination with the start date the status is determined
	EndDate *types.Date `json:"EndDate,omitempty"`

	// FixedPriceItem: Item used for fixed price invoicing. To be defined per project. If empty the functionality relies on the setting
	FixedPriceItem *types.GUID `json:"FixedPriceItem,omitempty"`

	// FixedPriceItemDescription: Description of FixedPriceItem
	FixedPriceItemDescription *string `json:"FixedPriceItemDescription,omitempty"`

	// HasWBSLines: Indicates if whether the Project has WBS
	HasWBSLines *bool `json:"HasWBSLines,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// IncludeInvoiceSpecification: Include invoice specification. E.g: 1 = Based on account, 2 = Always, 3 = Never
	IncludeInvoiceSpecification *int `json:"IncludeInvoiceSpecification,omitempty"`

	// IncludeSpecificationInInvoicePdf: Indicates whether to include invoice specification in invoice PDF
	IncludeSpecificationInInvoicePdf *bool `json:"IncludeSpecificationInInvoicePdf,omitempty"`

	// InternalNotes: Internal notes not to be printed in invoice
	InternalNotes *string `json:"InternalNotes,omitempty"`

	// InvoiceAddress: Invoice address
	InvoiceAddress *types.GUID `json:"InvoiceAddress,omitempty"`

	// InvoiceAsQuoted: Indicates whether the project is invoice as quoted
	InvoiceAsQuoted *bool `json:"InvoiceAsQuoted,omitempty"`

	// Manager: Responsible person for this project
	Manager *types.GUID `json:"Manager,omitempty"`

	// ManagerFullname: Name of Manager
	ManagerFullname *string `json:"ManagerFullname,omitempty"`

	// MarkupPercentage: Purchase markup percentage
	MarkupPercentage *float64 `json:"MarkupPercentage,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes: For additional information about projects
	Notes *string `json:"Notes,omitempty"`

	// PrepaidItem: Used only for PSA. This item is used for prepaid invoicing. If left empty, the functionality relies on a setting
	PrepaidItem *types.GUID `json:"PrepaidItem,omitempty"`

	// PrepaidItemDescription: Description of PrepaidItem
	PrepaidItemDescription *string `json:"PrepaidItemDescription,omitempty"`

	// PrepaidType: PrepaidType: 1-Retainer, 2-Hour type bundle
	PrepaidType *int `json:"PrepaidType,omitempty"`

	// PrepaidTypeDescription: Description of PrepaidType
	PrepaidTypeDescription *string `json:"PrepaidTypeDescription,omitempty"`

	// SalesTimeQuantity: Budgeted time. Total number of hours estimated for the fixed price project
	SalesTimeQuantity *float64 `json:"SalesTimeQuantity,omitempty"`

	// SourceQuotation: Source quotation
	SourceQuotation *types.GUID `json:"SourceQuotation,omitempty"`

	// StartDate: Start date of a project. In combination with the end date the status is determined
	StartDate *types.Date `json:"StartDate,omitempty"`

	// TimeQuantityToAlert: Alert when exceeding (Hours)
	TimeQuantityToAlert *float64 `json:"TimeQuantityToAlert,omitempty"`

	// Type: Reference to ProjectTypes. E.g: 1 = Campaign , 2 = Fixed Price, 3 = Time and Material, 4 = Non billable, 5 = Prepaid
	Type *int `json:"Type,omitempty"`

	// TypeDescription: Description of Type
	TypeDescription *string `json:"TypeDescription,omitempty"`

	// UseBillingMilestones: Indicates whether the Project is using billing milestones
	UseBillingMilestones *bool `json:"UseBillingMilestones,omitempty"`
}

ProjectProjects: Service: Sync Entity: ProjectProjects URL: /api/v1/{division}/sync/Project/Projects HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncProjectProjects

func (*ProjectProjects) GetPrimary

func (e *ProjectProjects) GetPrimary() *int64

type ProjectProjectsEndpoint

type ProjectProjectsEndpoint service

ProjectProjectsEndpoint is responsible for communicating with the ProjectProjects endpoint of the Sync service.

func (*ProjectProjectsEndpoint) Get

func (s *ProjectProjectsEndpoint) Get(ctx context.Context, division int, id *int64) (*ProjectProjects, error)

Get the ProjectProjects entitiy in the provided division.

func (*ProjectProjectsEndpoint) List

func (s *ProjectProjectsEndpoint) List(ctx context.Context, division int, all bool, o *api.ListOptions) ([]*ProjectProjects, error)

List the ProjectProjects entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ProjectProjectsEndpoint) UserHasRights

func (s *ProjectProjectsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type ProjectTimeCostTransactions

type ProjectTimeCostTransactions struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Account:
	Account *types.GUID `json:"Account,omitempty"`

	// AccountName:
	AccountName *string `json:"AccountName,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// Attachment:
	Attachment *types.GUID `json:"Attachment,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// Date:
	Date *types.Date `json:"Date,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// DivisionDescription:
	DivisionDescription *string `json:"DivisionDescription,omitempty"`

	// Employee:
	Employee *types.GUID `json:"Employee,omitempty"`

	// EndTime:
	EndTime *types.Date `json:"EndTime,omitempty"`

	// EntryNumber:
	EntryNumber *int `json:"EntryNumber,omitempty"`

	// ErrorText:
	ErrorText *string `json:"ErrorText,omitempty"`

	// HourStatus:
	HourStatus *int `json:"HourStatus,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// ItemDivisable:
	ItemDivisable *bool `json:"ItemDivisable,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// PriceFC:
	PriceFC *float64 `json:"PriceFC,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectAccount:
	ProjectAccount *types.GUID `json:"ProjectAccount,omitempty"`

	// ProjectAccountCode:
	ProjectAccountCode *string `json:"ProjectAccountCode,omitempty"`

	// ProjectAccountName:
	ProjectAccountName *string `json:"ProjectAccountName,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// StartTime:
	StartTime *types.Date `json:"StartTime,omitempty"`

	// Subscription:
	Subscription *types.GUID `json:"Subscription,omitempty"`

	// SubscriptionAccount:
	SubscriptionAccount *types.GUID `json:"SubscriptionAccount,omitempty"`

	// SubscriptionAccountCode:
	SubscriptionAccountCode *string `json:"SubscriptionAccountCode,omitempty"`

	// SubscriptionAccountName:
	SubscriptionAccountName *string `json:"SubscriptionAccountName,omitempty"`

	// SubscriptionDescription:
	SubscriptionDescription *string `json:"SubscriptionDescription,omitempty"`

	// SubscriptionNumber:
	SubscriptionNumber *int `json:"SubscriptionNumber,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`

	// WBS:
	WBS *types.GUID `json:"WBS,omitempty"`

	// WBSDescription:
	WBSDescription *string `json:"WBSDescription,omitempty"`
}

ProjectTimeCostTransactions: Service: Sync Entity: ProjectTimeCostTransactions URL: /api/v1/{division}/sync/Project/TimeCostTransactions HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncProjectTimeCostTransactions

func (*ProjectTimeCostTransactions) GetPrimary

func (e *ProjectTimeCostTransactions) GetPrimary() *int64

type ProjectTimeCostTransactionsEndpoint

type ProjectTimeCostTransactionsEndpoint service

ProjectTimeCostTransactionsEndpoint is responsible for communicating with the ProjectTimeCostTransactions endpoint of the Sync service.

func (*ProjectTimeCostTransactionsEndpoint) Get

Get the ProjectTimeCostTransactions entitiy in the provided division.

func (*ProjectTimeCostTransactionsEndpoint) List

List the ProjectTimeCostTransactions entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*ProjectTimeCostTransactionsEndpoint) UserHasRights

func (s *ProjectTimeCostTransactionsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type PurchaseOrderPurchaseOrders

type PurchaseOrderPurchaseOrders struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AmountDC: Amount in the default currency of the company
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC: Amount in the currency of the transaction
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// CostCenter: Reference to Cost center
	CostCenter *types.GUID `json:"CostCenter,omitempty"`

	// CostCenterCode: Code of Cost Center (user-defined ID)
	CostCenterCode *string `json:"CostCenterCode,omitempty"`

	// CostCenterDescription: Description of Cost Center
	CostCenterDescription *string `json:"CostCenterDescription,omitempty"`

	// CostUnit: Reference to Cost Unit
	CostUnit *types.GUID `json:"CostUnit,omitempty"`

	// CostUnitCode: Code of Cost Unit (user-defined ID)
	CostUnitCode *string `json:"CostUnitCode,omitempty"`

	// CostUnitDescription: Description of Cost Unit
	CostUnitDescription *string `json:"CostUnitDescription,omitempty"`

	// Created: Creation date
	Created *types.Date `json:"Created,omitempty"`

	// Creator: User ID of creator
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: Name of creator
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency: Currency code
	Currency *string `json:"Currency,omitempty"`

	// DeliveryAccount: Reference to account for delivery
	DeliveryAccount *types.GUID `json:"DeliveryAccount,omitempty"`

	// DeliveryAccountCode: Delivery account code
	DeliveryAccountCode *string `json:"DeliveryAccountCode,omitempty"`

	// DeliveryAccountName: Account name
	DeliveryAccountName *string `json:"DeliveryAccountName,omitempty"`

	// DeliveryAddress: Reference to shipping address
	DeliveryAddress *types.GUID `json:"DeliveryAddress,omitempty"`

	// DeliveryContact: Reference to contact for delivery
	DeliveryContact *types.GUID `json:"DeliveryContact,omitempty"`

	// DeliveryContactPersonFullName: Name of the contact person of the customer who will receive delivered goods
	DeliveryContactPersonFullName *string `json:"DeliveryContactPersonFullName,omitempty"`

	// Description: Description
	Description *string `json:"Description,omitempty"`

	// Discount: Discount in percentage for item
	Discount *float64 `json:"Discount,omitempty"`

	// Division: Division code
	Division *int `json:"Division,omitempty"`

	// Document: Document that is manually linked to the purchase order
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentNumber: Number of the document
	DocumentNumber *int `json:"DocumentNumber,omitempty"`

	// DocumentSubject: Subject of the document
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DropShipment: Shows if it is a drop shipment purchase order
	DropShipment *bool `json:"DropShipment,omitempty"`

	// ExchangeRate: The exchange rate between the invoice currency and the default currency of the division.
	ExchangeRate *float64 `json:"ExchangeRate,omitempty"`

	// Expense: Expense related to the Work Breakdown Structure of the selected project. Only available with a professional service license
	Expense *types.GUID `json:"Expense,omitempty"`

	// ExpenseDescription: Description of expense. Only available with a professional service license
	ExpenseDescription *string `json:"ExpenseDescription,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// IncotermAddress: Address of Incoterm
	IncotermAddress *string `json:"IncotermAddress,omitempty"`

	// IncotermCode: Code of Incoterm
	IncotermCode *string `json:"IncotermCode,omitempty"`

	// IncotermVersion: Version of Incoterm Supported version for Incoterms : 2010, 2020
	IncotermVersion *int `json:"IncotermVersion,omitempty"`

	// InvoicedQuantity: Quantity of item that has been invoiced
	InvoicedQuantity *float64 `json:"InvoicedQuantity,omitempty"`

	// InvoiceStatus: Invoice status of purchase order: 10-Open, 20-Partial, 30-Complete, 40-Canceled
	InvoiceStatus *int `json:"InvoiceStatus,omitempty"`

	// IsBatchNumberItem: Indicates that an Item is an batch item
	IsBatchNumberItem *byte `json:"IsBatchNumberItem,omitempty"`

	// IsSerialNumberItem: Indicates that an Item is an serial item
	IsSerialNumberItem *byte `json:"IsSerialNumberItem,omitempty"`

	// Item: Reference to the item for purchase order
	Item *types.GUID `json:"Item,omitempty"`

	// ItemBarcode: Barcode of the item (numeric string)
	ItemBarcode *string `json:"ItemBarcode,omitempty"`

	// ItemCode: Item code
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription: Description of item
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// ItemDivisable: Indicates if fractional quantities of the item can be used, for example quantity = 0.4
	ItemDivisable *bool `json:"ItemDivisable,omitempty"`

	// LineNumber: Line number
	LineNumber *int `json:"LineNumber,omitempty"`

	// Modified: Last modified date
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: User ID of modifier
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: Name of modifier
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NetPrice: The net price is the unit price (VAT code taken into account) with any discount applied
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes: Notes
	Notes *string `json:"Notes,omitempty"`

	// OrderDate: Order date
	OrderDate *types.Date `json:"OrderDate,omitempty"`

	// OrderNumber: Human readable id of the purchase order
	OrderNumber *int `json:"OrderNumber,omitempty"`

	// OrderStatus: Purchase order status: 10-Open, 20-Partial, 30-Complete, 40-Canceled
	OrderStatus *int `json:"OrderStatus,omitempty"`

	// PaymentCondition: The payment condition code used for due date and discount calculation
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription: Description of payment condition
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// Project: Reference to project. Only available with a professional service license
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode: Project code. Only available with a professional service license
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription: Description of the project. Only available with a professional service license
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// PurchaseAgent: Purchase agent
	PurchaseAgent *types.GUID `json:"PurchaseAgent,omitempty"`

	// PurchaseAgentFullName: Name of purchase agent
	PurchaseAgentFullName *string `json:"PurchaseAgentFullName,omitempty"`

	// PurchaseOrderID: The Purchase OrderID identifies the purchase order. All the lines of a purchase order have the same Purchase Order ID
	PurchaseOrderID *types.GUID `json:"PurchaseOrderID,omitempty"`

	// Quantity: Quantity in item units
	Quantity *float64 `json:"Quantity,omitempty"`

	// QuantityInPurchaseUnits: Quantity in purchase units. Use this field when creating a purchase order
	QuantityInPurchaseUnits *float64 `json:"QuantityInPurchaseUnits,omitempty"`

	// Rebill: Indicates whether the purchase order line needs to be rebilled. Only available with a professional service license
	Rebill *bool `json:"Rebill,omitempty"`

	// ReceiptDate: This field shows the date the goods are expected to be received.
	ReceiptDate *types.Date `json:"ReceiptDate,omitempty"`

	// ReceiptStatus: Receipt status of purchase order: 10-Open, 20-Partial, 30-Complete, 40-Canceled
	ReceiptStatus *int `json:"ReceiptStatus,omitempty"`

	// ReceivedQuantity: Quantity of goods received
	ReceivedQuantity *float64 `json:"ReceivedQuantity,omitempty"`

	// Remarks: Include any relevant remarks regarding the purchase order.
	Remarks *string `json:"Remarks,omitempty"`

	// SalesOrder: Reference to sales order when purchase order generated via back to back sales order. Show NULL if more than one sales order is linked to the purchase order.
	SalesOrder *types.GUID `json:"SalesOrder,omitempty"`

	// SalesOrderLine: Sales order line of the sales order that Is linked to a back to back sales order in purchase order. Show NULL if more than one sales order is linked to the purchase order line.
	SalesOrderLine *types.GUID `json:"SalesOrderLine,omitempty"`

	// SalesOrderLineNumber: Number of the sales order line. Show NULL if more than one sales order is linked to the purchase order line.
	SalesOrderLineNumber *int `json:"SalesOrderLineNumber,omitempty"`

	// SalesOrderNumber: Number of the sales order. Show NULL if more than one sales order is linked to the purchase order line.
	SalesOrderNumber *int `json:"SalesOrderNumber,omitempty"`

	// SelectionCode: ID of selection code. Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing
	SelectionCode *types.GUID `json:"SelectionCode,omitempty"`

	// SelectionCodeCode: Code of selection code
	SelectionCodeCode *string `json:"SelectionCodeCode,omitempty"`

	// SelectionCodeDescription: Description of selection code
	SelectionCodeDescription *string `json:"SelectionCodeDescription,omitempty"`

	// SendingMethod: SendingMethod
	SendingMethod *int `json:"SendingMethod,omitempty"`

	// ShippingMethod: Shipping Method
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShippingMethodCode: Code of Shipping Method
	ShippingMethodCode *string `json:"ShippingMethodCode,omitempty"`

	// ShippingMethodDescription: Description of Shipping Method
	ShippingMethodDescription *string `json:"ShippingMethodDescription,omitempty"`

	// Source: This shows how the purchase order was created: 1-Manual entry, 2-Import, 3-Other, 4-Purchase order, 5-Sales order, 6-Supplier's items, 7-Subcontract, 8-Purchase order advice, 9-Shop order, 10-MRP calculation, 11-Rest API, 12-Merge purchase orders
	Source *int `json:"Source,omitempty"`

	// Supplier: Reference to supplier account
	Supplier *types.GUID `json:"Supplier,omitempty"`

	// SupplierCode: Code of supplier
	SupplierCode *string `json:"SupplierCode,omitempty"`

	// SupplierContact: Contact of supplier
	SupplierContact *types.GUID `json:"SupplierContact,omitempty"`

	// SupplierContactPersonFullName: Contact person full name of supplier
	SupplierContactPersonFullName *string `json:"SupplierContactPersonFullName,omitempty"`

	// SupplierItemCode: Code the supplier uses for this item
	SupplierItemCode *string `json:"SupplierItemCode,omitempty"`

	// SupplierItemCopyRemarks: Indicate if the notes content should be copied from SupplierItem's remarks. The default follows the CopyRemarks value from SupplierItem. Values: 0 = Do not copy remark, 1 = Copy remark
	SupplierItemCopyRemarks *byte `json:"SupplierItemCopyRemarks,omitempty"`

	// SupplierName: Name of supplier
	SupplierName *string `json:"SupplierName,omitempty"`

	// Unit: Code of item unit
	Unit *string `json:"Unit,omitempty"`

	// UnitDescription: Description of unit
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice: Item price per purchase unit
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// VATAmount: Total VAT amount in the currency of the transaction
	VATAmount *float64 `json:"VATAmount,omitempty"`

	// VATCode: The VAT code used when the invoice was registered
	VATCode *string `json:"VATCode,omitempty"`

	// VATDescription: Description of vat code
	VATDescription *string `json:"VATDescription,omitempty"`

	// VATPercentage: The VAT percentage of the VAT code. This is the percentage at the moment the invoice is created. It's also used by the default calculation of VAT amounts and VAT base amounts
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// Warehouse: Warehouse
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode: Code of Warehouse
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription: Description of Warehouse
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`

	// YourRef: The reference number of the customer
	YourRef *string `json:"YourRef,omitempty"`
}

PurchaseOrderPurchaseOrders: Service: Sync Entity: PurchaseOrderPurchaseOrders URL: /api/v1/{division}/sync/PurchaseOrder/PurchaseOrders HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncPurchaseOrderPurchaseOrders

func (*PurchaseOrderPurchaseOrders) GetPrimary

func (e *PurchaseOrderPurchaseOrders) GetPrimary() *int64

type PurchaseOrderPurchaseOrdersEndpoint

type PurchaseOrderPurchaseOrdersEndpoint service

PurchaseOrderPurchaseOrdersEndpoint is responsible for communicating with the PurchaseOrderPurchaseOrders endpoint of the Sync service.

func (*PurchaseOrderPurchaseOrdersEndpoint) Get

Get the PurchaseOrderPurchaseOrders entitiy in the provided division.

func (*PurchaseOrderPurchaseOrdersEndpoint) List

List the PurchaseOrderPurchaseOrders entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*PurchaseOrderPurchaseOrdersEndpoint) UserHasRights

func (s *PurchaseOrderPurchaseOrdersEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SalesInvoiceSalesInvoices

type SalesInvoiceSalesInvoices struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountDiscount:
	AmountDiscount *float64 `json:"AmountDiscount,omitempty"`

	// AmountDiscountExclVat:
	AmountDiscountExclVat *float64 `json:"AmountDiscountExclVat,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// AmountFCExclVat:
	AmountFCExclVat *float64 `json:"AmountFCExclVat,omitempty"`

	// CostCenter:
	CostCenter *string `json:"CostCenter,omitempty"`

	// CostCenterDescription:
	CostCenterDescription *string `json:"CostCenterDescription,omitempty"`

	// CostUnit:
	CostUnit *string `json:"CostUnit,omitempty"`

	// CostUnitDescription:
	CostUnitDescription *string `json:"CostUnitDescription,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerItemCode:
	CustomerItemCode *string `json:"CustomerItemCode,omitempty"`

	// DeliverTo:
	DeliverTo *types.GUID `json:"DeliverTo,omitempty"`

	// DeliverToAddress:
	DeliverToAddress *types.GUID `json:"DeliverToAddress,omitempty"`

	// DeliverToContactPerson:
	DeliverToContactPerson *types.GUID `json:"DeliverToContactPerson,omitempty"`

	// DeliverToContactPersonFullName:
	DeliverToContactPersonFullName *string `json:"DeliverToContactPersonFullName,omitempty"`

	// DeliverToName:
	DeliverToName *string `json:"DeliverToName,omitempty"`

	// DeliveryDate:
	DeliveryDate *types.Date `json:"DeliveryDate,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Discount:
	Discount *float64 `json:"Discount,omitempty"`

	// DiscountType:
	DiscountType *int `json:"DiscountType,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentNumber:
	DocumentNumber *int `json:"DocumentNumber,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// DueDate:
	DueDate *types.Date `json:"DueDate,omitempty"`

	// Employee:
	Employee *types.GUID `json:"Employee,omitempty"`

	// EmployeeFullName:
	EmployeeFullName *string `json:"EmployeeFullName,omitempty"`

	// EndTime:
	EndTime *types.Date `json:"EndTime,omitempty"`

	// ExtraDutyAmountFC:
	ExtraDutyAmountFC *float64 `json:"ExtraDutyAmountFC,omitempty"`

	// ExtraDutyPercentage:
	ExtraDutyPercentage *float64 `json:"ExtraDutyPercentage,omitempty"`

	// GAccountAmountFC:
	GAccountAmountFC *float64 `json:"GAccountAmountFC,omitempty"`

	// GLAccount:
	GLAccount *types.GUID `json:"GLAccount,omitempty"`

	// GLAccountDescription:
	GLAccountDescription *string `json:"GLAccountDescription,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IncotermAddress:
	IncotermAddress *string `json:"IncotermAddress,omitempty"`

	// IncotermCode:
	IncotermCode *string `json:"IncotermCode,omitempty"`

	// IncotermVersion:
	IncotermVersion *int `json:"IncotermVersion,omitempty"`

	// InvoiceDate:
	InvoiceDate *types.Date `json:"InvoiceDate,omitempty"`

	// InvoiceID:
	InvoiceID *types.GUID `json:"InvoiceID,omitempty"`

	// InvoiceNumber:
	InvoiceNumber *int `json:"InvoiceNumber,omitempty"`

	// InvoiceTo:
	InvoiceTo *types.GUID `json:"InvoiceTo,omitempty"`

	// InvoiceToContactPerson:
	InvoiceToContactPerson *types.GUID `json:"InvoiceToContactPerson,omitempty"`

	// InvoiceToContactPersonFullName:
	InvoiceToContactPersonFullName *string `json:"InvoiceToContactPersonFullName,omitempty"`

	// InvoiceToName:
	InvoiceToName *string `json:"InvoiceToName,omitempty"`

	// IsExtraDuty:
	IsExtraDuty *bool `json:"IsExtraDuty,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode:
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// Journal:
	Journal *string `json:"Journal,omitempty"`

	// JournalDescription:
	JournalDescription *string `json:"JournalDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NetPrice:
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OrderDate:
	OrderDate *types.Date `json:"OrderDate,omitempty"`

	// OrderedBy:
	OrderedBy *types.GUID `json:"OrderedBy,omitempty"`

	// OrderedByContactPerson:
	OrderedByContactPerson *types.GUID `json:"OrderedByContactPerson,omitempty"`

	// OrderedByContactPersonFullName:
	OrderedByContactPersonFullName *string `json:"OrderedByContactPersonFullName,omitempty"`

	// OrderedByName:
	OrderedByName *string `json:"OrderedByName,omitempty"`

	// OrderNumber:
	OrderNumber *int `json:"OrderNumber,omitempty"`

	// PaymentCondition:
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription:
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// PaymentReference:
	PaymentReference *string `json:"PaymentReference,omitempty"`

	// Pricelist:
	Pricelist *types.GUID `json:"Pricelist,omitempty"`

	// PricelistDescription:
	PricelistDescription *string `json:"PricelistDescription,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// ProjectWBS:
	ProjectWBS *types.GUID `json:"ProjectWBS,omitempty"`

	// ProjectWBSDescription:
	ProjectWBSDescription *string `json:"ProjectWBSDescription,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// SalesChannel:
	SalesChannel *types.GUID `json:"SalesChannel,omitempty"`

	// SalesChannelCode:
	SalesChannelCode *string `json:"SalesChannelCode,omitempty"`

	// SalesChannelDescription:
	SalesChannelDescription *string `json:"SalesChannelDescription,omitempty"`

	// SalesOrder:
	SalesOrder *types.GUID `json:"SalesOrder,omitempty"`

	// SalesOrderLine:
	SalesOrderLine *types.GUID `json:"SalesOrderLine,omitempty"`

	// SalesOrderLineNumber:
	SalesOrderLineNumber *int `json:"SalesOrderLineNumber,omitempty"`

	// SalesOrderNumber:
	SalesOrderNumber *int `json:"SalesOrderNumber,omitempty"`

	// Salesperson:
	Salesperson *types.GUID `json:"Salesperson,omitempty"`

	// SalespersonFullName:
	SalespersonFullName *string `json:"SalespersonFullName,omitempty"`

	// StarterSalesInvoiceStatus:
	StarterSalesInvoiceStatus *int `json:"StarterSalesInvoiceStatus,omitempty"`

	// StarterSalesInvoiceStatusDescription:
	StarterSalesInvoiceStatusDescription *string `json:"StarterSalesInvoiceStatusDescription,omitempty"`

	// StartTime:
	StartTime *types.Date `json:"StartTime,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// StatusDescription:
	StatusDescription *string `json:"StatusDescription,omitempty"`

	// Subscription:
	Subscription *types.GUID `json:"Subscription,omitempty"`

	// SubscriptionDescription:
	SubscriptionDescription *string `json:"SubscriptionDescription,omitempty"`

	// TaxSchedule:
	TaxSchedule *types.GUID `json:"TaxSchedule,omitempty"`

	// TaxScheduleCode:
	TaxScheduleCode *string `json:"TaxScheduleCode,omitempty"`

	// TaxScheduleDescription:
	TaxScheduleDescription *string `json:"TaxScheduleDescription,omitempty"`

	// Type:
	Type *int `json:"Type,omitempty"`

	// TypeDescription:
	TypeDescription *string `json:"TypeDescription,omitempty"`

	// UnitCode:
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription:
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice:
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// VATAmountDC:
	VATAmountDC *float64 `json:"VATAmountDC,omitempty"`

	// VATAmountFC:
	VATAmountFC *float64 `json:"VATAmountFC,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATCodeDescription:
	VATCodeDescription *string `json:"VATCodeDescription,omitempty"`

	// VATPercentage:
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// Warehouse:
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WithholdingTaxAmountFC:
	WithholdingTaxAmountFC *float64 `json:"WithholdingTaxAmountFC,omitempty"`

	// WithholdingTaxBaseAmount:
	WithholdingTaxBaseAmount *float64 `json:"WithholdingTaxBaseAmount,omitempty"`

	// WithholdingTaxPercentage:
	WithholdingTaxPercentage *float64 `json:"WithholdingTaxPercentage,omitempty"`

	// YourRef:
	YourRef *string `json:"YourRef,omitempty"`
}

SalesInvoiceSalesInvoices: Service: Sync Entity: SalesInvoiceSalesInvoices URL: /api/v1/{division}/sync/SalesInvoice/SalesInvoices HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSalesInvoiceSalesInvoices

func (*SalesInvoiceSalesInvoices) GetPrimary

func (e *SalesInvoiceSalesInvoices) GetPrimary() *int64

type SalesInvoiceSalesInvoicesEndpoint

type SalesInvoiceSalesInvoicesEndpoint service

SalesInvoiceSalesInvoicesEndpoint is responsible for communicating with the SalesInvoiceSalesInvoices endpoint of the Sync service.

func (*SalesInvoiceSalesInvoicesEndpoint) Get

Get the SalesInvoiceSalesInvoices entitiy in the provided division.

func (*SalesInvoiceSalesInvoicesEndpoint) List

List the SalesInvoiceSalesInvoices entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SalesInvoiceSalesInvoicesEndpoint) UserHasRights

func (s *SalesInvoiceSalesInvoicesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SalesOrderGoodsDeliveries

type SalesOrderGoodsDeliveries struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// DeliveryAccount:
	DeliveryAccount *types.GUID `json:"DeliveryAccount,omitempty"`

	// DeliveryAccountCode:
	DeliveryAccountCode *string `json:"DeliveryAccountCode,omitempty"`

	// DeliveryAccountName:
	DeliveryAccountName *string `json:"DeliveryAccountName,omitempty"`

	// DeliveryAddress:
	DeliveryAddress *types.GUID `json:"DeliveryAddress,omitempty"`

	// DeliveryContact:
	DeliveryContact *types.GUID `json:"DeliveryContact,omitempty"`

	// DeliveryContactPersonFullName:
	DeliveryContactPersonFullName *string `json:"DeliveryContactPersonFullName,omitempty"`

	// DeliveryDate:
	DeliveryDate *types.Date `json:"DeliveryDate,omitempty"`

	// DeliveryNumber:
	DeliveryNumber *int `json:"DeliveryNumber,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// EntryID:
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// EntryNumber:
	EntryNumber *int `json:"EntryNumber,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShippingMethodCode:
	ShippingMethodCode *string `json:"ShippingMethodCode,omitempty"`

	// ShippingMethodDescription:
	ShippingMethodDescription *string `json:"ShippingMethodDescription,omitempty"`

	// TrackingNumber:
	TrackingNumber *string `json:"TrackingNumber,omitempty"`

	// Warehouse:
	Warehouse *types.GUID `json:"Warehouse,omitempty"`

	// WarehouseCode:
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription:
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`
}

SalesOrderGoodsDeliveries: Service: Sync Entity: SalesOrderGoodsDeliveries URL: /api/v1/{division}/sync/SalesOrder/GoodsDeliveries HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSalesOrderGoodsDeliveries

func (*SalesOrderGoodsDeliveries) GetPrimary

func (e *SalesOrderGoodsDeliveries) GetPrimary() *int64

type SalesOrderGoodsDeliveriesEndpoint

type SalesOrderGoodsDeliveriesEndpoint service

SalesOrderGoodsDeliveriesEndpoint is responsible for communicating with the SalesOrderGoodsDeliveries endpoint of the Sync service.

func (*SalesOrderGoodsDeliveriesEndpoint) Get

Get the SalesOrderGoodsDeliveries entitiy in the provided division.

func (*SalesOrderGoodsDeliveriesEndpoint) List

List the SalesOrderGoodsDeliveries entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SalesOrderGoodsDeliveriesEndpoint) UserHasRights

func (s *SalesOrderGoodsDeliveriesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SalesOrderGoodsDeliveryLines

type SalesOrderGoodsDeliveryLines struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// BatchNumbers:
	BatchNumbers *json.RawMessage `json:"BatchNumbers,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// CustomerItemCode:
	CustomerItemCode *string `json:"CustomerItemCode,omitempty"`

	// DeliveryDate:
	DeliveryDate *types.Date `json:"DeliveryDate,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// EntryID:
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode:
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// QuantityDelivered:
	QuantityDelivered *float64 `json:"QuantityDelivered,omitempty"`

	// QuantityOrdered:
	QuantityOrdered *float64 `json:"QuantityOrdered,omitempty"`

	// SalesOrderLineID:
	SalesOrderLineID *types.GUID `json:"SalesOrderLineID,omitempty"`

	// SalesOrderLineNumber:
	SalesOrderLineNumber *int `json:"SalesOrderLineNumber,omitempty"`

	// SalesOrderNumber:
	SalesOrderNumber *int `json:"SalesOrderNumber,omitempty"`

	// SerialNumbers:
	SerialNumbers *json.RawMessage `json:"SerialNumbers,omitempty"`

	// StorageLocation:
	StorageLocation *types.GUID `json:"StorageLocation,omitempty"`

	// StorageLocationCode:
	StorageLocationCode *string `json:"StorageLocationCode,omitempty"`

	// StorageLocationDescription:
	StorageLocationDescription *string `json:"StorageLocationDescription,omitempty"`

	// TrackingNumber:
	TrackingNumber *string `json:"TrackingNumber,omitempty"`

	// Unitcode:
	Unitcode *string `json:"Unitcode,omitempty"`
}

SalesOrderGoodsDeliveryLines: Service: Sync Entity: SalesOrderGoodsDeliveryLines URL: /api/v1/{division}/sync/SalesOrder/GoodsDeliveryLines HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSalesOrderGoodsDeliveryLines

func (*SalesOrderGoodsDeliveryLines) GetPrimary

func (e *SalesOrderGoodsDeliveryLines) GetPrimary() *int64

type SalesOrderGoodsDeliveryLinesEndpoint

type SalesOrderGoodsDeliveryLinesEndpoint service

SalesOrderGoodsDeliveryLinesEndpoint is responsible for communicating with the SalesOrderGoodsDeliveryLines endpoint of the Sync service.

func (*SalesOrderGoodsDeliveryLinesEndpoint) Get

Get the SalesOrderGoodsDeliveryLines entitiy in the provided division.

func (*SalesOrderGoodsDeliveryLinesEndpoint) List

List the SalesOrderGoodsDeliveryLines entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SalesOrderGoodsDeliveryLinesEndpoint) UserHasRights

func (s *SalesOrderGoodsDeliveryLinesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SalesOrderSalesOrders

type SalesOrderSalesOrders struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp:
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AmountDC:
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountDiscount:
	AmountDiscount *float64 `json:"AmountDiscount,omitempty"`

	// AmountDiscountExclVat:
	AmountDiscountExclVat *float64 `json:"AmountDiscountExclVat,omitempty"`

	// AmountFC:
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// AmountFCExclVat:
	AmountFCExclVat *float64 `json:"AmountFCExclVat,omitempty"`

	// ApprovalStatus:
	ApprovalStatus *int `json:"ApprovalStatus,omitempty"`

	// ApprovalStatusDescription:
	ApprovalStatusDescription *string `json:"ApprovalStatusDescription,omitempty"`

	// Approved:
	Approved *types.Date `json:"Approved,omitempty"`

	// Approver:
	Approver *types.GUID `json:"Approver,omitempty"`

	// ApproverFullName:
	ApproverFullName *string `json:"ApproverFullName,omitempty"`

	// CostCenter:
	CostCenter *string `json:"CostCenter,omitempty"`

	// CostCenterDescription:
	CostCenterDescription *string `json:"CostCenterDescription,omitempty"`

	// CostPriceFC:
	CostPriceFC *float64 `json:"CostPriceFC,omitempty"`

	// CostUnit:
	CostUnit *string `json:"CostUnit,omitempty"`

	// CostUnitDescription:
	CostUnitDescription *string `json:"CostUnitDescription,omitempty"`

	// Created:
	Created *types.Date `json:"Created,omitempty"`

	// Creator:
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName:
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency:
	Currency *string `json:"Currency,omitempty"`

	// CustomerItemCode:
	CustomerItemCode *string `json:"CustomerItemCode,omitempty"`

	// DeliverTo:
	DeliverTo *types.GUID `json:"DeliverTo,omitempty"`

	// DeliverToContactPerson:
	DeliverToContactPerson *types.GUID `json:"DeliverToContactPerson,omitempty"`

	// DeliverToContactPersonFullName:
	DeliverToContactPersonFullName *string `json:"DeliverToContactPersonFullName,omitempty"`

	// DeliverToName:
	DeliverToName *string `json:"DeliverToName,omitempty"`

	// DeliveryAddress:
	DeliveryAddress *types.GUID `json:"DeliveryAddress,omitempty"`

	// DeliveryDate:
	DeliveryDate *types.Date `json:"DeliveryDate,omitempty"`

	// DeliveryStatus:
	DeliveryStatus *int `json:"DeliveryStatus,omitempty"`

	// DeliveryStatusDescription:
	DeliveryStatusDescription *string `json:"DeliveryStatusDescription,omitempty"`

	// Description:
	Description *string `json:"Description,omitempty"`

	// Discount:
	Discount *float64 `json:"Discount,omitempty"`

	// Division:
	Division *int `json:"Division,omitempty"`

	// Document:
	Document *types.GUID `json:"Document,omitempty"`

	// DocumentNumber:
	DocumentNumber *int `json:"DocumentNumber,omitempty"`

	// DocumentSubject:
	DocumentSubject *string `json:"DocumentSubject,omitempty"`

	// ID:
	ID *types.GUID `json:"ID,omitempty"`

	// IncotermAddress:
	IncotermAddress *string `json:"IncotermAddress,omitempty"`

	// IncotermCode:
	IncotermCode *string `json:"IncotermCode,omitempty"`

	// IncotermVersion:
	IncotermVersion *int `json:"IncotermVersion,omitempty"`

	// InvoiceStatus:
	InvoiceStatus *int `json:"InvoiceStatus,omitempty"`

	// InvoiceStatusDescription:
	InvoiceStatusDescription *string `json:"InvoiceStatusDescription,omitempty"`

	// InvoiceTo:
	InvoiceTo *types.GUID `json:"InvoiceTo,omitempty"`

	// InvoiceToContactPerson:
	InvoiceToContactPerson *types.GUID `json:"InvoiceToContactPerson,omitempty"`

	// InvoiceToContactPersonFullName:
	InvoiceToContactPersonFullName *string `json:"InvoiceToContactPersonFullName,omitempty"`

	// InvoiceToName:
	InvoiceToName *string `json:"InvoiceToName,omitempty"`

	// Item:
	Item *types.GUID `json:"Item,omitempty"`

	// ItemCode:
	ItemCode *string `json:"ItemCode,omitempty"`

	// ItemDescription:
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// ItemVersion:
	ItemVersion *types.GUID `json:"ItemVersion,omitempty"`

	// ItemVersionDescription:
	ItemVersionDescription *string `json:"ItemVersionDescription,omitempty"`

	// LineNumber:
	LineNumber *int `json:"LineNumber,omitempty"`

	// Margin:
	Margin *float64 `json:"Margin,omitempty"`

	// Modified:
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier:
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName:
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// NetPrice:
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes:
	Notes *string `json:"Notes,omitempty"`

	// OrderDate:
	OrderDate *types.Date `json:"OrderDate,omitempty"`

	// OrderedBy:
	OrderedBy *types.GUID `json:"OrderedBy,omitempty"`

	// OrderedByContactPerson:
	OrderedByContactPerson *types.GUID `json:"OrderedByContactPerson,omitempty"`

	// OrderedByContactPersonFullName:
	OrderedByContactPersonFullName *string `json:"OrderedByContactPersonFullName,omitempty"`

	// OrderedByName:
	OrderedByName *string `json:"OrderedByName,omitempty"`

	// OrderID:
	OrderID *types.GUID `json:"OrderID,omitempty"`

	// OrderNumber:
	OrderNumber *int `json:"OrderNumber,omitempty"`

	// PaymentCondition:
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription:
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// PaymentReference:
	PaymentReference *string `json:"PaymentReference,omitempty"`

	// Pricelist:
	Pricelist *types.GUID `json:"Pricelist,omitempty"`

	// PricelistDescription:
	PricelistDescription *string `json:"PricelistDescription,omitempty"`

	// Project:
	Project *types.GUID `json:"Project,omitempty"`

	// ProjectCode:
	ProjectCode *string `json:"ProjectCode,omitempty"`

	// ProjectDescription:
	ProjectDescription *string `json:"ProjectDescription,omitempty"`

	// PurchaseOrder:
	PurchaseOrder *types.GUID `json:"PurchaseOrder,omitempty"`

	// PurchaseOrderLine:
	PurchaseOrderLine *types.GUID `json:"PurchaseOrderLine,omitempty"`

	// PurchaseOrderLineNumber:
	PurchaseOrderLineNumber *int `json:"PurchaseOrderLineNumber,omitempty"`

	// PurchaseOrderNumber:
	PurchaseOrderNumber *int `json:"PurchaseOrderNumber,omitempty"`

	// Quantity:
	Quantity *float64 `json:"Quantity,omitempty"`

	// QuantityDelivered:
	QuantityDelivered *float64 `json:"QuantityDelivered,omitempty"`

	// QuantityInvoiced:
	QuantityInvoiced *float64 `json:"QuantityInvoiced,omitempty"`

	// Remarks:
	Remarks *string `json:"Remarks,omitempty"`

	// SalesChannel:
	SalesChannel *types.GUID `json:"SalesChannel,omitempty"`

	// SalesChannelCode:
	SalesChannelCode *string `json:"SalesChannelCode,omitempty"`

	// SalesChannelDescription:
	SalesChannelDescription *string `json:"SalesChannelDescription,omitempty"`

	// Salesperson:
	Salesperson *types.GUID `json:"Salesperson,omitempty"`

	// SalespersonFullName:
	SalespersonFullName *string `json:"SalespersonFullName,omitempty"`

	// SelectionCode:
	SelectionCode *types.GUID `json:"SelectionCode,omitempty"`

	// SelectionCodeCode:
	SelectionCodeCode *string `json:"SelectionCodeCode,omitempty"`

	// SelectionCodeDescription:
	SelectionCodeDescription *string `json:"SelectionCodeDescription,omitempty"`

	// ShippingMethod:
	ShippingMethod *types.GUID `json:"ShippingMethod,omitempty"`

	// ShippingMethodCode:
	ShippingMethodCode *string `json:"ShippingMethodCode,omitempty"`

	// ShippingMethodDescription:
	ShippingMethodDescription *string `json:"ShippingMethodDescription,omitempty"`

	// ShopOrder:
	ShopOrder *types.GUID `json:"ShopOrder,omitempty"`

	// ShopOrderNumber:
	ShopOrderNumber *int `json:"ShopOrderNumber,omitempty"`

	// Status:
	Status *int `json:"Status,omitempty"`

	// StatusDescription:
	StatusDescription *string `json:"StatusDescription,omitempty"`

	// TaxSchedule:
	TaxSchedule *types.GUID `json:"TaxSchedule,omitempty"`

	// TaxScheduleCode:
	TaxScheduleCode *string `json:"TaxScheduleCode,omitempty"`

	// TaxScheduleDescription:
	TaxScheduleDescription *string `json:"TaxScheduleDescription,omitempty"`

	// UnitCode:
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription:
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice:
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// UseDropShipment:
	UseDropShipment *byte `json:"UseDropShipment,omitempty"`

	// VATAmount:
	VATAmount *float64 `json:"VATAmount,omitempty"`

	// VATCode:
	VATCode *string `json:"VATCode,omitempty"`

	// VATCodeDescription:
	VATCodeDescription *string `json:"VATCodeDescription,omitempty"`

	// VATPercentage:
	VATPercentage *float64 `json:"VATPercentage,omitempty"`

	// WarehouseCode:
	WarehouseCode *string `json:"WarehouseCode,omitempty"`

	// WarehouseDescription:
	WarehouseDescription *string `json:"WarehouseDescription,omitempty"`

	// WarehouseID:
	WarehouseID *types.GUID `json:"WarehouseID,omitempty"`

	// YourRef:
	YourRef *string `json:"YourRef,omitempty"`
}

SalesOrderSalesOrders: Service: Sync Entity: SalesOrderSalesOrders URL: /api/v1/{division}/sync/SalesOrder/SalesOrders HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSalesOrderSalesOrders

func (*SalesOrderSalesOrders) GetPrimary

func (e *SalesOrderSalesOrders) GetPrimary() *int64

type SalesOrderSalesOrdersEndpoint

type SalesOrderSalesOrdersEndpoint service

SalesOrderSalesOrdersEndpoint is responsible for communicating with the SalesOrderSalesOrders endpoint of the Sync service.

func (*SalesOrderSalesOrdersEndpoint) Get

Get the SalesOrderSalesOrders entitiy in the provided division.

func (*SalesOrderSalesOrdersEndpoint) List

List the SalesOrderSalesOrders entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SalesOrderSalesOrdersEndpoint) UserHasRights

func (s *SalesOrderSalesOrdersEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SubscriptionSubscriptionLines

type SubscriptionSubscriptionLines struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// AmountDC: Amount in the default currency of the company
	AmountDC *float64 `json:"AmountDC,omitempty"`

	// AmountFC: Amount in the currency of the transaction
	AmountFC *float64 `json:"AmountFC,omitempty"`

	// Costcenter: Cost center linked to the subscription line
	Costcenter *string `json:"Costcenter,omitempty"`

	// Costunit: Cost unit linked to the subscription line
	Costunit *string `json:"Costunit,omitempty"`

	// Description: Description of the subscription line
	Description *string `json:"Description,omitempty"`

	// Discount: Discount percentage of the subscription line
	Discount *float64 `json:"Discount,omitempty"`

	// Division: Code of division the subscription line is made
	Division *int `json:"Division,omitempty"`

	// EntryID: Entry ID referencing to the subscription
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// FromDate: The date which the subscription line starts
	FromDate *types.Date `json:"FromDate,omitempty"`

	// ID: Primary key
	ID *types.GUID `json:"ID,omitempty"`

	// Item: The item that is used by the subscription line for sales details. Reference to Item
	Item *types.GUID `json:"Item,omitempty"`

	// ItemDescription: Description of Item used by the subscription line
	ItemDescription *string `json:"ItemDescription,omitempty"`

	// LineNumber: Line number of the subscription line per subscription
	LineNumber *int `json:"LineNumber,omitempty"`

	// LineType: Reference to LineType endpoint
	LineType *int `json:"LineType,omitempty"`

	// LineTypeDescription: Description of LineType
	LineTypeDescription *string `json:"LineTypeDescription,omitempty"`

	// Modified: Date and time when the subscription line has been modified
	Modified *types.Date `json:"Modified,omitempty"`

	// NetPrice: Net price in the currency of the transaction
	NetPrice *float64 `json:"NetPrice,omitempty"`

	// Notes: To add or retrieve additional information in the subscription line
	Notes *string `json:"Notes,omitempty"`

	// Quantity: Quantity of item used in the subscription line
	Quantity *float64 `json:"Quantity,omitempty"`

	// SubscriptionNumber: Subscription number of the subscription line per subscription
	SubscriptionNumber *int `json:"SubscriptionNumber,omitempty"`

	// ToDate: The date the subscription line ends
	ToDate *types.Date `json:"ToDate,omitempty"`

	// UnitCode: The code of the unit used in the subscription line. E.g: kg, meter
	UnitCode *string `json:"UnitCode,omitempty"`

	// UnitDescription: Description of Unit used in the subscription line
	UnitDescription *string `json:"UnitDescription,omitempty"`

	// UnitPrice: Unit price in the currency of the transaction (price * unit factor)
	UnitPrice *float64 `json:"UnitPrice,omitempty"`

	// VATAmountFC: Vat Amount in the currency of the transaction
	VATAmountFC *float64 `json:"VATAmountFC,omitempty"`

	// VATCode: VAT code that is used in the subscription line
	VATCode *string `json:"VATCode,omitempty"`

	// VATCodeDescription: Description of VAT code that is used in the subscription line
	VATCodeDescription *string `json:"VATCodeDescription,omitempty"`
}

SubscriptionSubscriptionLines: Service: Sync Entity: SubscriptionSubscriptionLines URL: /api/v1/{division}/sync/Subscription/SubscriptionLines HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSubscriptionSubscriptionLines

func (*SubscriptionSubscriptionLines) GetPrimary

func (e *SubscriptionSubscriptionLines) GetPrimary() *int64

type SubscriptionSubscriptionLinesEndpoint

type SubscriptionSubscriptionLinesEndpoint service

SubscriptionSubscriptionLinesEndpoint is responsible for communicating with the SubscriptionSubscriptionLines endpoint of the Sync service.

func (*SubscriptionSubscriptionLinesEndpoint) Get

Get the SubscriptionSubscriptionLines entitiy in the provided division.

func (*SubscriptionSubscriptionLinesEndpoint) List

List the SubscriptionSubscriptionLines entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SubscriptionSubscriptionLinesEndpoint) UserHasRights

func (s *SubscriptionSubscriptionLinesEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SubscriptionSubscriptions

type SubscriptionSubscriptions struct {
	MetaData *api.MetaData `json:"__metadata,omitempty"`
	// Timestamp: Timestamp
	Timestamp *int64 `json:"Timestamp,omitempty"`

	// BlockEntry: Indicates if subscription is blocked for time cost entry
	BlockEntry *bool `json:"BlockEntry,omitempty"`

	// CancellationDate: Date of cancellation
	CancellationDate *types.Date `json:"CancellationDate,omitempty"`

	// Classification: Guid ID of classification, to filter the report based on the classification of a subscription
	Classification *types.GUID `json:"Classification,omitempty"`

	// ClassificationCode: Code of classification, to filter the report based on the classification of a subscription
	ClassificationCode *string `json:"ClassificationCode,omitempty"`

	// ClassificationDescription: Description of classification, to filter the report based on the classification of a subscription
	ClassificationDescription *string `json:"ClassificationDescription,omitempty"`

	// Created: Date when the subscription was created
	Created *types.Date `json:"Created,omitempty"`

	// Creator: The Guid ID of the user that created the subscription
	Creator *types.GUID `json:"Creator,omitempty"`

	// CreatorFullName: The full name of the user that created the subscription
	CreatorFullName *string `json:"CreatorFullName,omitempty"`

	// Currency: Currency code used in the transactions
	Currency *string `json:"Currency,omitempty"`

	// CustomerPONumber: Purchase order number of that is linked to customer
	CustomerPONumber *string `json:"CustomerPONumber,omitempty"`

	// Description: Description of the subscription
	Description *string `json:"Description,omitempty"`

	// Division: Division number of the company that the subscription is linked to
	Division *int `json:"Division,omitempty"`

	// EndDate: The date and time when the subscription ends
	EndDate *types.Date `json:"EndDate,omitempty"`

	// EntryID: Primary key
	EntryID *types.GUID `json:"EntryID,omitempty"`

	// InvoiceDay: For monthly, quaterly, half-year and yearly invoice period, the day number of the month when the invoice of the subscription is sent. // 												 // 						While for weekly invoice period, the weekday number of the week when the invoice of the subscription is sent:  // 						0=Monday  // 						1=Tuesday  // 						2=Wednesday  // 						3=Thursday // 						4=Friday  // 						5=Saturday  // 						6=Sunday
	InvoiceDay *byte `json:"InvoiceDay,omitempty"`

	// InvoicedTo: The date when the invoice of the subscription is sent
	InvoicedTo *types.Date `json:"InvoicedTo,omitempty"`

	// InvoiceTo: The account which the subsciption is invoiced to
	InvoiceTo *types.GUID `json:"InvoiceTo,omitempty"`

	// InvoiceToContactPerson: The ID of the contact person that is linked to the account the subscription is invoice to
	InvoiceToContactPerson *types.GUID `json:"InvoiceToContactPerson,omitempty"`

	// InvoiceToContactPersonFullName: The name of the contact person that is linked to the account the subscription is invoice to
	InvoiceToContactPersonFullName *string `json:"InvoiceToContactPersonFullName,omitempty"`

	// InvoiceToName: Name of the account to invoice to
	InvoiceToName *string `json:"InvoiceToName,omitempty"`

	// InvoicingStartDate: Date to start invoicing the account
	InvoicingStartDate *types.Date `json:"InvoicingStartDate,omitempty"`

	// Modified: Date and time when the subscription has been modified
	Modified *types.Date `json:"Modified,omitempty"`

	// Modifier: The ID of the user that modified the subscription
	Modifier *types.GUID `json:"Modifier,omitempty"`

	// ModifierFullName: The name of the user that modified the subscription
	ModifierFullName *string `json:"ModifierFullName,omitempty"`

	// Notes: For additional information regarding the subscription
	Notes *string `json:"Notes,omitempty"`

	// Number: Subscription number of the company
	Number *int `json:"Number,omitempty"`

	// OrderedBy: Reference to order account, GUID ID of the subscriber
	OrderedBy *types.GUID `json:"OrderedBy,omitempty"`

	// OrderedByContactPerson: Reference of contact person of order account, displays the contact name of the subscriber
	OrderedByContactPerson *types.GUID `json:"OrderedByContactPerson,omitempty"`

	// OrderedByContactPersonFullName: Name of contact person of order account, displays the full contact name of the subscriber
	OrderedByContactPersonFullName *string `json:"OrderedByContactPersonFullName,omitempty"`

	// OrderedByName: Name of order account, displays the name of the subscriber
	OrderedByName *string `json:"OrderedByName,omitempty"`

	// PaymentCondition: Code of subscriptions payment condition
	PaymentCondition *string `json:"PaymentCondition,omitempty"`

	// PaymentConditionDescription: Description of subscriptions payment condition
	PaymentConditionDescription *string `json:"PaymentConditionDescription,omitempty"`

	// Printed: Indicates if subscription has been printed
	Printed *bool `json:"Printed,omitempty"`

	// Project: The Guid ID of the project, reference to Project endpoint
	Project *types.GUID `json:"Project,omitempty"`

	// ReasonCancelled: Guid ID of the reason of cancellation record linked to the subscription
	ReasonCancelled *types.GUID `json:"ReasonCancelled,omitempty"`

	// ReasonCancelledCode: Code of the reason of cancellation record linked to the subscription
	ReasonCancelledCode *string `json:"ReasonCancelledCode,omitempty"`

	// ReasonCancelledDescription: Description of the reason of cancellation record linked to the subscription
	ReasonCancelledDescription *string `json:"ReasonCancelledDescription,omitempty"`

	// StartDate: Start date of the subscription
	StartDate *types.Date `json:"StartDate,omitempty"`

	// SubscriptionType: The GUID ID of the subscription condition, reference to SubscriptionType endpoint
	SubscriptionType *types.GUID `json:"SubscriptionType,omitempty"`

	// SubscriptionTypeCode: The code of the subscription condition record
	SubscriptionTypeCode *string `json:"SubscriptionTypeCode,omitempty"`

	// SubscriptionTypeDescription: The code of the subscription condition description
	SubscriptionTypeDescription *string `json:"SubscriptionTypeDescription,omitempty"`
}

SubscriptionSubscriptions: Service: Sync Entity: SubscriptionSubscriptions URL: /api/v1/{division}/sync/Subscription/Subscriptions HasWebhook: false IsInBeta: false Methods: GET Endpoint docs: https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=SyncSubscriptionSubscriptions

func (*SubscriptionSubscriptions) GetPrimary

func (e *SubscriptionSubscriptions) GetPrimary() *int64

type SubscriptionSubscriptionsEndpoint

type SubscriptionSubscriptionsEndpoint service

SubscriptionSubscriptionsEndpoint is responsible for communicating with the SubscriptionSubscriptions endpoint of the Sync service.

func (*SubscriptionSubscriptionsEndpoint) Get

Get the SubscriptionSubscriptions entitiy in the provided division.

func (*SubscriptionSubscriptionsEndpoint) List

List the SubscriptionSubscriptions entities in the provided division. If all is true, all the paginated results are fetched; if false, list the first page.

func (*SubscriptionSubscriptionsEndpoint) UserHasRights

func (s *SubscriptionSubscriptionsEndpoint) UserHasRights(ctx context.Context, division int, method string) (bool, error)

type SyncService

type SyncService struct {

	// Endpoints available under this service
	CashflowPaymentTerms                   *CashflowPaymentTermsEndpoint
	CRMAccounts                            *CRMAccountsEndpoint
	CRMAddresses                           *CRMAddressesEndpoint
	CRMContacts                            *CRMContactsEndpoint
	CRMQuotations                          *CRMQuotationsEndpoint
	Deleted                                *DeletedEndpoint
	DocumentsDocumentAttachments           *DocumentsDocumentAttachmentsEndpoint
	DocumentsDocuments                     *DocumentsDocumentsEndpoint
	FinancialGLAccounts                    *FinancialGLAccountsEndpoint
	FinancialGLClassifications             *FinancialGLClassificationsEndpoint
	FinancialTransactionLines              *FinancialTransactionLinesEndpoint
	InventoryItemWarehouses                *InventoryItemWarehousesEndpoint
	InventoryStockPositions                *InventoryStockPositionsEndpoint
	InventoryStorageLocationStockPositions *InventoryStorageLocationStockPositionsEndpoint
	LogisticsItems                         *LogisticsItemsEndpoint
	LogisticsSalesItemPrices               *LogisticsSalesItemPricesEndpoint
	ProjectProjectPlanning                 *ProjectProjectPlanningEndpoint
	ProjectProjects                        *ProjectProjectsEndpoint
	ProjectProjectWBS                      *ProjectProjectWBSEndpoint
	ProjectTimeCostTransactions            *ProjectTimeCostTransactionsEndpoint
	PurchaseOrderPurchaseOrders            *PurchaseOrderPurchaseOrdersEndpoint
	SalesInvoiceSalesInvoices              *SalesInvoiceSalesInvoicesEndpoint
	SalesOrderGoodsDeliveries              *SalesOrderGoodsDeliveriesEndpoint
	SalesOrderGoodsDeliveryLines           *SalesOrderGoodsDeliveryLinesEndpoint
	SalesOrderSalesOrders                  *SalesOrderSalesOrdersEndpoint
	SubscriptionSubscriptionLines          *SubscriptionSubscriptionLinesEndpoint
	SubscriptionSubscriptions              *SubscriptionSubscriptionsEndpoint
	// contains filtered or unexported fields
}

SyncService is responsible for communication with the Sync endpoints of the Exact Online API.

func NewSyncService

func NewSyncService(apiClient *api.Client) *SyncService

NewSyncService creates a new initialized instance of the SyncService.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL