From b08541b68ed4068192f34ef92e817fd3df68de5e Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:35:43 +0000 Subject: [PATCH] SDK regeneration --- accounting/accounting_periods.go | 4 +- accounting/accountingperiods/client.go | 3 + accounting/accounts.go | 6 +- accounting/accounts/client.go | 6 + accounting/async_passthrough.go | 65 + accounting/asyncpassthrough/client.go | 4 +- accounting/asynctasks/client.go | 52 + accounting/attachments.go | 4 +- accounting/attachments/client.go | 3 + accounting/audit_trail.go | 2 +- accounting/balance_sheets.go | 4 +- accounting/balancesheets/client.go | 3 + accounting/bank_feed_accounts.go | 29 + accounting/bank_feed_transactions.go | 49 + accounting/bankfeedaccounts/client.go | 162 + accounting/bankfeedtransactions/client.go | 187 + accounting/cash_flow_statements.go | 4 +- accounting/cashflowstatements/client.go | 3 + accounting/client/client.go | 173 +- accounting/company_info.go | 4 +- accounting/companyinfo/client.go | 3 + accounting/contacts.go | 27 +- accounting/contacts/client.go | 61 + accounting/credit_notes.go | 12 +- accounting/creditnotes/client.go | 61 + accounting/employees.go | 25 + accounting/employees/client.go | 110 + accounting/expenses.go | 354 +- accounting/expenses/client.go | 101 + accounting/field_mapping.go | 7 + accounting/fieldmapping/client.go | 18 +- accounting/forceresync/client.go | 2 +- accounting/general_ledger_transactions.go | 168 + .../generalledgertransactions/client.go | 135 + accounting/income_statements.go | 4 +- accounting/incomestatements/client.go | 3 + accounting/invoices.go | 11857 ++++++++- accounting/invoices/client.go | 108 + accounting/issues.go | 2 + accounting/issues/client.go | 5 +- accounting/items.go | 176 +- accounting/items/client.go | 3 + accounting/journal_entries.go | 38 +- accounting/journalentries/client.go | 101 + accounting/link_token.go | 11 +- accounting/linked_accounts.go | 2 +- accounting/payments.go | 38 +- accounting/payments/client.go | 101 + accounting/purchase_orders.go | 38 +- accounting/purchaseorders/client.go | 101 + accounting/scopes/client.go | 6 +- accounting/tax_rates.go | 4 +- accounting/taxrates/client.go | 3 + accounting/tracking_categories.go | 4 +- accounting/trackingcategories/client.go | 3 + accounting/transactions.go | 4 +- accounting/transactions/client.go | 3 + accounting/types.go | 21952 +++++++++++----- accounting/vendor_credits.go | 12 +- accounting/vendorcredits/client.go | 61 + ats/activities.go | 4 +- ats/activities/client.go | 3 + ats/applications.go | 4 +- ats/applications/client.go | 6 + ats/async_passthrough.go | 65 + ats/asyncpassthrough/client.go | 4 +- ats/attachments.go | 4 +- ats/attachments/client.go | 3 + ats/audit_trail.go | 2 +- ats/candidates.go | 4 +- ats/candidates/client.go | 3 + ats/departments.go | 4 +- ats/departments/client.go | 3 + ats/eeocs.go | 4 +- ats/eeocs/client.go | 3 + ats/field_mapping.go | 7 + ats/fieldmapping/client.go | 18 +- ats/forceresync/client.go | 2 +- ats/interviews.go | 4 +- ats/interviews/client.go | 3 + ats/job_interview_stages.go | 4 +- ats/job_postings.go | 4 +- ats/jobinterviewstages/client.go | 3 + ats/jobpostings/client.go | 3 + ats/jobs.go | 8 +- ats/jobs/client.go | 6 + ats/link_token.go | 9 +- ats/linked_accounts.go | 2 +- ats/offers.go | 4 +- ats/offers/client.go | 3 + ats/offices.go | 4 +- ats/offices/client.go | 3 + ats/reject_reasons.go | 4 +- ats/rejectreasons/client.go | 3 + ats/scopes/client.go | 6 +- ats/scorecards.go | 4 +- ats/scorecards/client.go | 3 + ats/tags.go | 4 +- ats/tags/client.go | 3 + ats/types.go | 138 +- ats/users.go | 4 +- ats/users/client.go | 3 + client/client.go | 4 +- core/client_option.go | 2 +- crm/accounts.go | 8 +- crm/accounts/client.go | 6 + crm/association_types.go | 4 +- crm/associations.go | 4 +- crm/associations/client.go | 3 + crm/associationtypes/client.go | 3 + crm/async_passthrough.go | 65 + crm/asyncpassthrough/client.go | 4 +- crm/audit_trail.go | 2 +- crm/contacts.go | 8 +- crm/contacts/client.go | 6 + crm/custom_object_classes.go | 4 +- crm/custom_objects.go | 8 +- crm/customobjectclasses/client.go | 3 + crm/customobjects/client.go | 6 + crm/engagement_types.go | 8 +- crm/engagements.go | 8 +- crm/engagements/client.go | 6 + crm/engagementtypes/client.go | 6 + crm/field_mapping.go | 7 + crm/fieldmapping/client.go | 18 +- crm/forceresync/client.go | 2 +- crm/leads.go | 8 +- crm/leads/client.go | 6 + crm/link_token.go | 9 +- crm/linked_accounts.go | 2 +- crm/notes.go | 8 +- crm/notes/client.go | 6 + crm/opportunities.go | 8 +- crm/opportunities/client.go | 6 + crm/scopes/client.go | 6 +- crm/stages.go | 8 +- crm/stages/client.go | 6 + crm/tasks.go | 8 +- crm/tasks/client.go | 6 + crm/types.go | 96 +- crm/users.go | 10 +- crm/users/client.go | 9 + filestorage/async_passthrough.go | 65 + filestorage/asyncpassthrough/client.go | 4 +- filestorage/audit_trail.go | 2 +- filestorage/drives.go | 4 +- filestorage/drives/client.go | 3 + filestorage/field_mapping.go | 7 + filestorage/fieldmapping/client.go | 18 +- filestorage/files.go | 4 +- filestorage/files/client.go | 3 + filestorage/folders.go | 4 +- filestorage/folders/client.go | 3 + filestorage/forceresync/client.go | 2 +- filestorage/groups.go | 8 +- filestorage/groups/client.go | 9 + filestorage/link_token.go | 9 +- filestorage/linked_accounts.go | 2 +- filestorage/scopes/client.go | 6 +- filestorage/types.go | 226 +- filestorage/users.go | 4 +- filestorage/users/client.go | 3 + hris/async_passthrough.go | 65 + hris/asyncpassthrough/client.go | 4 +- hris/audit_trail.go | 2 +- hris/bank_info.go | 4 +- hris/bankinfo/client.go | 3 + hris/benefits.go | 4 +- hris/benefits/client.go | 3 + hris/companies.go | 4 +- hris/companies/client.go | 3 + hris/dependents.go | 4 +- hris/dependents/client.go | 3 + hris/employee_payroll_runs.go | 4 +- hris/employeepayrollruns/client.go | 3 + hris/employees.go | 4 +- hris/employees/client.go | 3 + hris/employer_benefits.go | 4 +- hris/employerbenefits/client.go | 3 + hris/employments.go | 4 +- hris/employments/client.go | 3 + hris/field_mapping.go | 7 + hris/fieldmapping/client.go | 18 +- hris/forceresync/client.go | 2 +- hris/groups.go | 4 +- hris/groups/client.go | 3 + hris/link_token.go | 9 +- hris/linked_accounts.go | 2 +- hris/locations.go | 112 +- hris/locations/client.go | 11 +- hris/pay_groups.go | 4 +- hris/paygroups/client.go | 3 + hris/payroll_runs.go | 4 +- hris/payrollruns/client.go | 3 + hris/scopes/client.go | 6 +- hris/teams.go | 4 +- hris/teams/client.go | 3 + hris/time_off.go | 4 +- hris/time_off_balances.go | 4 +- hris/timeoff/client.go | 3 + hris/timeoffbalances/client.go | 3 + hris/timesheet_entries.go | 16 +- hris/timesheetentries/client.go | 17 +- hris/types.go | 257 +- ticketing/accounts.go | 4 +- ticketing/accounts/client.go | 3 + ticketing/async_passthrough.go | 65 + ticketing/asyncpassthrough/client.go | 4 +- ticketing/attachments.go | 4 +- ticketing/attachments/client.go | 3 + ticketing/audit_trail.go | 2 +- ticketing/collections.go | 66 +- ticketing/collections/client.go | 50 +- ticketing/comments.go | 4 +- ticketing/comments/client.go | 3 + ticketing/contacts.go | 4 +- ticketing/contacts/client.go | 3 + ticketing/field_mapping.go | 7 + ticketing/fieldmapping/client.go | 18 +- ticketing/forceresync/client.go | 2 +- ticketing/link_token.go | 9 +- ticketing/linked_accounts.go | 2 +- ticketing/projects.go | 8 +- ticketing/projects/client.go | 6 + ticketing/roles.go | 4 +- ticketing/roles/client.go | 3 + ticketing/scopes/client.go | 6 +- ticketing/tags.go | 4 +- ticketing/tags/client.go | 3 + ticketing/teams.go | 4 +- ticketing/teams/client.go | 3 + ticketing/tickets.go | 1397 +- ticketing/tickets/client.go | 17 +- ticketing/types.go | 524 +- ticketing/users.go | 4 +- ticketing/users/client.go | 3 + 236 files changed, 32993 insertions(+), 7521 deletions(-) create mode 100644 accounting/async_passthrough.go create mode 100644 accounting/asynctasks/client.go create mode 100644 accounting/bank_feed_accounts.go create mode 100644 accounting/bank_feed_transactions.go create mode 100644 accounting/bankfeedaccounts/client.go create mode 100644 accounting/bankfeedtransactions/client.go create mode 100644 accounting/employees.go create mode 100644 accounting/employees/client.go create mode 100644 accounting/general_ledger_transactions.go create mode 100644 accounting/generalledgertransactions/client.go create mode 100644 ats/async_passthrough.go create mode 100644 crm/async_passthrough.go create mode 100644 filestorage/async_passthrough.go create mode 100644 hris/async_passthrough.go create mode 100644 ticketing/async_passthrough.go diff --git a/accounting/accounting_periods.go b/accounting/accounting_periods.go index e407bda..f446398 100644 --- a/accounting/accounting_periods.go +++ b/accounting/accounting_periods.go @@ -5,10 +5,12 @@ package accounting type AccountingPeriodsListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` } diff --git a/accounting/accountingperiods/client.go b/accounting/accountingperiods/client.go index fbf8c51..3c95325 100644 --- a/accounting/accountingperiods/client.go +++ b/accounting/accountingperiods/client.go @@ -47,6 +47,9 @@ func (c *Client) List(ctx context.Context, request *accounting.AccountingPeriods if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } diff --git a/accounting/accounts.go b/accounting/accounts.go index bd50fe5..e5d0a3f 100644 --- a/accounting/accounts.go +++ b/accounting/accounts.go @@ -16,6 +16,8 @@ type AccountEndpointRequest struct { } type AccountsListRequest struct { + // If provided, will only provide accounts with the passed in enum. + AccountType *string `json:"-"` // If provided, will only return accounts for this company. CompanyId *string `json:"-"` // If provided, will only return objects created after this datetime. @@ -26,10 +28,12 @@ type AccountsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/accounts/client.go b/accounting/accounts/client.go index 139784d..76289ba 100644 --- a/accounting/accounts/client.go +++ b/accounting/accounts/client.go @@ -39,6 +39,9 @@ func (c *Client) List(ctx context.Context, request *accounting.AccountsListReque endpointURL := baseURL + "/" + "accounting/v1/accounts" queryParams := make(url.Values) + if request.AccountType != nil { + queryParams.Add("account_type", fmt.Sprintf("%v", *request.AccountType)) + } if request.CompanyId != nil { queryParams.Add("company_id", fmt.Sprintf("%v", *request.CompanyId)) } @@ -60,6 +63,9 @@ func (c *Client) List(ctx context.Context, request *accounting.AccountsListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/async_passthrough.go b/accounting/async_passthrough.go new file mode 100644 index 0000000..b45b070 --- /dev/null +++ b/accounting/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package accounting + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/accounting/asyncpassthrough/client.go b/accounting/asyncpassthrough/client.go index 437b119..d0b7ead 100644 --- a/accounting/asyncpassthrough/client.go +++ b/accounting/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *accounting.DataPassthrough } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*accounting.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*accounting.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *accounting.RemoteResponse + var response *accounting.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/accounting/asynctasks/client.go b/accounting/asynctasks/client.go new file mode 100644 index 0000000..aee80c0 --- /dev/null +++ b/accounting/asynctasks/client.go @@ -0,0 +1,52 @@ +// This file was auto-generated by Fern from our API Definition. + +package asynctasks + +import ( + context "context" + fmt "fmt" + accounting "github.com/merge-api/merge-go-client/accounting" + core "github.com/merge-api/merge-go-client/core" + http "net/http" +) + +type Client struct { + baseURL string + caller *core.Caller + header http.Header +} + +func NewClient(opts ...core.ClientOption) *Client { + options := core.NewClientOptions() + for _, opt := range opts { + opt(options) + } + return &Client{ + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + } +} + +// Returns an `AsyncPostTask` object with the given `id`. +func (c *Client) Retrieve(ctx context.Context, id string) (*accounting.AsyncPostTask, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/async-tasks/%v", id) + + var response *accounting.AsyncPostTask + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/attachments.go b/accounting/attachments.go index 4cbb5fd..cf9c0d8 100644 --- a/accounting/attachments.go +++ b/accounting/attachments.go @@ -23,10 +23,12 @@ type AttachmentsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/attachments/client.go b/accounting/attachments/client.go index 6ff8ccc..24bccb1 100644 --- a/accounting/attachments/client.go +++ b/accounting/attachments/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *accounting.AttachmentsListRe if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/audit_trail.go b/accounting/audit_trail.go index 136bcd0..5f4eec0 100644 --- a/accounting/audit_trail.go +++ b/accounting/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/accounting/balance_sheets.go b/accounting/balance_sheets.go index aaa608c..e9b03b6 100644 --- a/accounting/balance_sheets.go +++ b/accounting/balance_sheets.go @@ -17,10 +17,12 @@ type BalanceSheetsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/balancesheets/client.go b/accounting/balancesheets/client.go index cdd36c9..5894e5e 100644 --- a/accounting/balancesheets/client.go +++ b/accounting/balancesheets/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.BalanceSheetsList if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/bank_feed_accounts.go b/accounting/bank_feed_accounts.go new file mode 100644 index 0000000..c485ddf --- /dev/null +++ b/accounting/bank_feed_accounts.go @@ -0,0 +1,29 @@ +// This file was auto-generated by Fern from our API Definition. + +package accounting + +type BankFeedAccountEndpointRequest struct { + // Whether to include debug fields (such as log file links) in the response. + IsDebugMode *bool `json:"-"` + // Whether or not third-party updates should be run asynchronously. + RunAsync *bool `json:"-"` + Model *BankFeedAccountRequest `json:"model,omitempty"` +} + +type BankFeedAccountsListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + +type BankFeedAccountsRetrieveRequest struct { + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` +} diff --git a/accounting/bank_feed_transactions.go b/accounting/bank_feed_transactions.go new file mode 100644 index 0000000..656739b --- /dev/null +++ b/accounting/bank_feed_transactions.go @@ -0,0 +1,49 @@ +// This file was auto-generated by Fern from our API Definition. + +package accounting + +import ( + time "time" +) + +type BankFeedTransactionEndpointRequest struct { + // Whether to include debug fields (such as log file links) in the response. + IsDebugMode *bool `json:"-"` + // Whether or not third-party updates should be run asynchronously. + RunAsync *bool `json:"-"` + Model *BankFeedTransactionRequestRequest `json:"model,omitempty"` +} + +type BankFeedTransactionsListRequest struct { + // If provided, will only return objects created after this datetime. + CreatedAfter *time.Time `json:"-"` + // If provided, will only return objects created before this datetime. + CreatedBefore *time.Time `json:"-"` + // The pagination cursor value. + Cursor *string `json:"-"` + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return bank feed transactions with this is_processed value + IsProcessed *bool `json:"-"` + // If provided, only objects synced by Merge after this date time will be returned. + ModifiedAfter *time.Time `json:"-"` + // If provided, only objects synced by Merge before this date time will be returned. + ModifiedBefore *time.Time `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` + // The API provider's ID for the given object. + RemoteId *string `json:"-"` +} + +type BankFeedTransactionsRetrieveRequest struct { + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` +} diff --git a/accounting/bankfeedaccounts/client.go b/accounting/bankfeedaccounts/client.go new file mode 100644 index 0000000..549f7ae --- /dev/null +++ b/accounting/bankfeedaccounts/client.go @@ -0,0 +1,162 @@ +// This file was auto-generated by Fern from our API Definition. + +package bankfeedaccounts + +import ( + context "context" + fmt "fmt" + accounting "github.com/merge-api/merge-go-client/accounting" + core "github.com/merge-api/merge-go-client/core" + http "net/http" + url "net/url" +) + +type Client struct { + baseURL string + caller *core.Caller + header http.Header +} + +func NewClient(opts ...core.ClientOption) *Client { + options := core.NewClientOptions() + for _, opt := range opts { + opt(options) + } + return &Client{ + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + } +} + +// Returns a list of `BankFeedAccount` objects. +func (c *Client) List(ctx context.Context, request *accounting.BankFeedAccountsListRequest) (*accounting.PaginatedBankFeedAccountList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-accounts" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedBankFeedAccountList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Creates a `BankFeedAccount` object with the given values. +func (c *Client) Create(ctx context.Context, request *accounting.BankFeedAccountEndpointRequest) (*accounting.BankFeedAccountResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-accounts" + + queryParams := make(url.Values) + if request.IsDebugMode != nil { + queryParams.Add("is_debug_mode", fmt.Sprintf("%v", *request.IsDebugMode)) + } + if request.RunAsync != nil { + queryParams.Add("run_async", fmt.Sprintf("%v", *request.RunAsync)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.BankFeedAccountResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: c.header, + Request: request, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns a `BankFeedAccount` object with the given `id`. +func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.BankFeedAccountsRetrieveRequest) (*accounting.BankFeedAccount, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/bank-feed-accounts/%v", id) + + queryParams := make(url.Values) + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.BankFeedAccount + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns metadata for `BankFeedAccount` POSTs. +func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-accounts/meta/post" + + var response *accounting.MetaResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/bankfeedtransactions/client.go b/accounting/bankfeedtransactions/client.go new file mode 100644 index 0000000..6c44996 --- /dev/null +++ b/accounting/bankfeedtransactions/client.go @@ -0,0 +1,187 @@ +// This file was auto-generated by Fern from our API Definition. + +package bankfeedtransactions + +import ( + context "context" + fmt "fmt" + accounting "github.com/merge-api/merge-go-client/accounting" + core "github.com/merge-api/merge-go-client/core" + http "net/http" + url "net/url" + time "time" +) + +type Client struct { + baseURL string + caller *core.Caller + header http.Header +} + +func NewClient(opts ...core.ClientOption) *Client { + options := core.NewClientOptions() + for _, opt := range opts { + opt(options) + } + return &Client{ + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + } +} + +// Returns a list of `BankFeedTransaction` objects. +func (c *Client) List(ctx context.Context, request *accounting.BankFeedTransactionsListRequest) (*accounting.PaginatedBankFeedTransactionList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-transactions" + + queryParams := make(url.Values) + if request.CreatedAfter != nil { + queryParams.Add("created_after", fmt.Sprintf("%v", request.CreatedAfter.Format(time.RFC3339))) + } + if request.CreatedBefore != nil { + queryParams.Add("created_before", fmt.Sprintf("%v", request.CreatedBefore.Format(time.RFC3339))) + } + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsProcessed != nil { + queryParams.Add("is_processed", fmt.Sprintf("%v", *request.IsProcessed)) + } + if request.ModifiedAfter != nil { + queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) + } + if request.ModifiedBefore != nil { + queryParams.Add("modified_before", fmt.Sprintf("%v", request.ModifiedBefore.Format(time.RFC3339))) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if request.RemoteId != nil { + queryParams.Add("remote_id", fmt.Sprintf("%v", *request.RemoteId)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedBankFeedTransactionList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Creates a `BankFeedTransaction` object with the given values. +func (c *Client) Create(ctx context.Context, request *accounting.BankFeedTransactionEndpointRequest) (*accounting.BankFeedTransactionResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-transactions" + + queryParams := make(url.Values) + if request.IsDebugMode != nil { + queryParams.Add("is_debug_mode", fmt.Sprintf("%v", *request.IsDebugMode)) + } + if request.RunAsync != nil { + queryParams.Add("run_async", fmt.Sprintf("%v", *request.RunAsync)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.BankFeedTransactionResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: c.header, + Request: request, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns a `BankFeedTransaction` object with the given `id`. +func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.BankFeedTransactionsRetrieveRequest) (*accounting.BankFeedTransaction, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/bank-feed-transactions/%v", id) + + queryParams := make(url.Values) + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.BankFeedTransaction + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns metadata for `BankFeedTransaction` POSTs. +func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/bank-feed-transactions/meta/post" + + var response *accounting.MetaResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/cash_flow_statements.go b/accounting/cash_flow_statements.go index 03e3b14..a78d0cb 100644 --- a/accounting/cash_flow_statements.go +++ b/accounting/cash_flow_statements.go @@ -17,10 +17,12 @@ type CashFlowStatementsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/cashflowstatements/client.go b/accounting/cashflowstatements/client.go index 5ce3780..464510a 100644 --- a/accounting/cashflowstatements/client.go +++ b/accounting/cashflowstatements/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.CashFlowStatement if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/client/client.go b/accounting/client/client.go index c7e7427..5c8140e 100644 --- a/accounting/client/client.go +++ b/accounting/client/client.go @@ -9,18 +9,23 @@ import ( accounttoken "github.com/merge-api/merge-go-client/accounting/accounttoken" addresses "github.com/merge-api/merge-go-client/accounting/addresses" asyncpassthrough "github.com/merge-api/merge-go-client/accounting/asyncpassthrough" + asynctasks "github.com/merge-api/merge-go-client/accounting/asynctasks" attachments "github.com/merge-api/merge-go-client/accounting/attachments" audittrail "github.com/merge-api/merge-go-client/accounting/audittrail" availableactions "github.com/merge-api/merge-go-client/accounting/availableactions" balancesheets "github.com/merge-api/merge-go-client/accounting/balancesheets" + bankfeedaccounts "github.com/merge-api/merge-go-client/accounting/bankfeedaccounts" + bankfeedtransactions "github.com/merge-api/merge-go-client/accounting/bankfeedtransactions" cashflowstatements "github.com/merge-api/merge-go-client/accounting/cashflowstatements" companyinfo "github.com/merge-api/merge-go-client/accounting/companyinfo" contacts "github.com/merge-api/merge-go-client/accounting/contacts" creditnotes "github.com/merge-api/merge-go-client/accounting/creditnotes" deleteaccount "github.com/merge-api/merge-go-client/accounting/deleteaccount" + employees "github.com/merge-api/merge-go-client/accounting/employees" expenses "github.com/merge-api/merge-go-client/accounting/expenses" fieldmapping "github.com/merge-api/merge-go-client/accounting/fieldmapping" forceresync "github.com/merge-api/merge-go-client/accounting/forceresync" + generalledgertransactions "github.com/merge-api/merge-go-client/accounting/generalledgertransactions" generatekey "github.com/merge-api/merge-go-client/accounting/generatekey" incomestatements "github.com/merge-api/merge-go-client/accounting/incomestatements" invoices "github.com/merge-api/merge-go-client/accounting/invoices" @@ -50,44 +55,49 @@ type Client struct { caller *core.Caller header http.Header - AccountDetails *accountdetails.Client - AccountToken *accounttoken.Client - AccountingPeriods *accountingperiods.Client - Accounts *accounts.Client - Addresses *addresses.Client - AsyncPassthrough *asyncpassthrough.Client - Attachments *attachments.Client - AuditTrail *audittrail.Client - AvailableActions *availableactions.Client - BalanceSheets *balancesheets.Client - CashFlowStatements *cashflowstatements.Client - CompanyInfo *companyinfo.Client - Contacts *contacts.Client - CreditNotes *creditnotes.Client - Scopes *scopes.Client - DeleteAccount *deleteaccount.Client - Expenses *expenses.Client - FieldMapping *fieldmapping.Client - GenerateKey *generatekey.Client - IncomeStatements *incomestatements.Client - Invoices *invoices.Client - Issues *issues.Client - Items *items.Client - JournalEntries *journalentries.Client - LinkToken *linktoken.Client - LinkedAccounts *linkedaccounts.Client - Passthrough *passthrough.Client - Payments *payments.Client - PhoneNumbers *phonenumbers.Client - PurchaseOrders *purchaseorders.Client - RegenerateKey *regeneratekey.Client - SyncStatus *syncstatus.Client - ForceResync *forceresync.Client - TaxRates *taxrates.Client - TrackingCategories *trackingcategories.Client - Transactions *transactions.Client - VendorCredits *vendorcredits.Client - WebhookReceivers *webhookreceivers.Client + AccountDetails *accountdetails.Client + AccountToken *accounttoken.Client + AccountingPeriods *accountingperiods.Client + Accounts *accounts.Client + Addresses *addresses.Client + AsyncPassthrough *asyncpassthrough.Client + AsyncTasks *asynctasks.Client + Attachments *attachments.Client + AuditTrail *audittrail.Client + AvailableActions *availableactions.Client + BalanceSheets *balancesheets.Client + BankFeedAccounts *bankfeedaccounts.Client + BankFeedTransactions *bankfeedtransactions.Client + CashFlowStatements *cashflowstatements.Client + CompanyInfo *companyinfo.Client + Contacts *contacts.Client + CreditNotes *creditnotes.Client + Scopes *scopes.Client + DeleteAccount *deleteaccount.Client + Employees *employees.Client + Expenses *expenses.Client + FieldMapping *fieldmapping.Client + GeneralLedgerTransactions *generalledgertransactions.Client + GenerateKey *generatekey.Client + IncomeStatements *incomestatements.Client + Invoices *invoices.Client + Issues *issues.Client + Items *items.Client + JournalEntries *journalentries.Client + LinkToken *linktoken.Client + LinkedAccounts *linkedaccounts.Client + Passthrough *passthrough.Client + Payments *payments.Client + PhoneNumbers *phonenumbers.Client + PurchaseOrders *purchaseorders.Client + RegenerateKey *regeneratekey.Client + SyncStatus *syncstatus.Client + ForceResync *forceresync.Client + TaxRates *taxrates.Client + TrackingCategories *trackingcategories.Client + Transactions *transactions.Client + VendorCredits *vendorcredits.Client + WebhookReceivers *webhookreceivers.Client } func NewClient(opts ...core.ClientOption) *Client { @@ -96,46 +106,51 @@ func NewClient(opts ...core.ClientOption) *Client { opt(options) } return &Client{ - baseURL: options.BaseURL, - caller: core.NewCaller(options.HTTPClient), - header: options.ToHeader(), - AccountDetails: accountdetails.NewClient(opts...), - AccountToken: accounttoken.NewClient(opts...), - AccountingPeriods: accountingperiods.NewClient(opts...), - Accounts: accounts.NewClient(opts...), - Addresses: addresses.NewClient(opts...), - AsyncPassthrough: asyncpassthrough.NewClient(opts...), - Attachments: attachments.NewClient(opts...), - AuditTrail: audittrail.NewClient(opts...), - AvailableActions: availableactions.NewClient(opts...), - BalanceSheets: balancesheets.NewClient(opts...), - CashFlowStatements: cashflowstatements.NewClient(opts...), - CompanyInfo: companyinfo.NewClient(opts...), - Contacts: contacts.NewClient(opts...), - CreditNotes: creditnotes.NewClient(opts...), - Scopes: scopes.NewClient(opts...), - DeleteAccount: deleteaccount.NewClient(opts...), - Expenses: expenses.NewClient(opts...), - FieldMapping: fieldmapping.NewClient(opts...), - GenerateKey: generatekey.NewClient(opts...), - IncomeStatements: incomestatements.NewClient(opts...), - Invoices: invoices.NewClient(opts...), - Issues: issues.NewClient(opts...), - Items: items.NewClient(opts...), - JournalEntries: journalentries.NewClient(opts...), - LinkToken: linktoken.NewClient(opts...), - LinkedAccounts: linkedaccounts.NewClient(opts...), - Passthrough: passthrough.NewClient(opts...), - Payments: payments.NewClient(opts...), - PhoneNumbers: phonenumbers.NewClient(opts...), - PurchaseOrders: purchaseorders.NewClient(opts...), - RegenerateKey: regeneratekey.NewClient(opts...), - SyncStatus: syncstatus.NewClient(opts...), - ForceResync: forceresync.NewClient(opts...), - TaxRates: taxrates.NewClient(opts...), - TrackingCategories: trackingcategories.NewClient(opts...), - Transactions: transactions.NewClient(opts...), - VendorCredits: vendorcredits.NewClient(opts...), - WebhookReceivers: webhookreceivers.NewClient(opts...), + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + AccountDetails: accountdetails.NewClient(opts...), + AccountToken: accounttoken.NewClient(opts...), + AccountingPeriods: accountingperiods.NewClient(opts...), + Accounts: accounts.NewClient(opts...), + Addresses: addresses.NewClient(opts...), + AsyncPassthrough: asyncpassthrough.NewClient(opts...), + AsyncTasks: asynctasks.NewClient(opts...), + Attachments: attachments.NewClient(opts...), + AuditTrail: audittrail.NewClient(opts...), + AvailableActions: availableactions.NewClient(opts...), + BalanceSheets: balancesheets.NewClient(opts...), + BankFeedAccounts: bankfeedaccounts.NewClient(opts...), + BankFeedTransactions: bankfeedtransactions.NewClient(opts...), + CashFlowStatements: cashflowstatements.NewClient(opts...), + CompanyInfo: companyinfo.NewClient(opts...), + Contacts: contacts.NewClient(opts...), + CreditNotes: creditnotes.NewClient(opts...), + Scopes: scopes.NewClient(opts...), + DeleteAccount: deleteaccount.NewClient(opts...), + Employees: employees.NewClient(opts...), + Expenses: expenses.NewClient(opts...), + FieldMapping: fieldmapping.NewClient(opts...), + GeneralLedgerTransactions: generalledgertransactions.NewClient(opts...), + GenerateKey: generatekey.NewClient(opts...), + IncomeStatements: incomestatements.NewClient(opts...), + Invoices: invoices.NewClient(opts...), + Issues: issues.NewClient(opts...), + Items: items.NewClient(opts...), + JournalEntries: journalentries.NewClient(opts...), + LinkToken: linktoken.NewClient(opts...), + LinkedAccounts: linkedaccounts.NewClient(opts...), + Passthrough: passthrough.NewClient(opts...), + Payments: payments.NewClient(opts...), + PhoneNumbers: phonenumbers.NewClient(opts...), + PurchaseOrders: purchaseorders.NewClient(opts...), + RegenerateKey: regeneratekey.NewClient(opts...), + SyncStatus: syncstatus.NewClient(opts...), + ForceResync: forceresync.NewClient(opts...), + TaxRates: taxrates.NewClient(opts...), + TrackingCategories: trackingcategories.NewClient(opts...), + Transactions: transactions.NewClient(opts...), + VendorCredits: vendorcredits.NewClient(opts...), + WebhookReceivers: webhookreceivers.NewClient(opts...), } } diff --git a/accounting/company_info.go b/accounting/company_info.go index ed656b5..64fc674 100644 --- a/accounting/company_info.go +++ b/accounting/company_info.go @@ -16,10 +16,12 @@ type CompanyInfoListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *CompanyInfoListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/companyinfo/client.go b/accounting/companyinfo/client.go index 09e2380..a657981 100644 --- a/accounting/companyinfo/client.go +++ b/accounting/companyinfo/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *accounting.CompanyInfoListRe if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/contacts.go b/accounting/contacts.go index d56aab5..d275abb 100644 --- a/accounting/contacts.go +++ b/accounting/contacts.go @@ -24,12 +24,18 @@ type ContactsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` + // If provided, will only return Contacts that match this email. + EmailAddress *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ContactsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return Contacts that are denoted as customers. IsCustomer *string `json:"-"` // If provided, will only return Contacts that are denoted as suppliers. @@ -38,6 +44,8 @@ type ContactsListRequest struct { ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. ModifiedBefore *time.Time `json:"-"` + // If provided, will only return Contacts that match this name. + Name *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` // Deprecated. Use show_enum_origins. @@ -48,11 +56,28 @@ type ContactsListRequest struct { ShowEnumOrigins *string `json:"-"` } +type ContactsRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type ContactsRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ContactsRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` // Deprecated. Use show_enum_origins. RemoteFields *string `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) diff --git a/accounting/contacts/client.go b/accounting/contacts/client.go index 3224f0e..d605299 100644 --- a/accounting/contacts/client.go +++ b/accounting/contacts/client.go @@ -51,6 +51,9 @@ func (c *Client) List(ctx context.Context, request *accounting.ContactsListReque if request.Cursor != nil { queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) } + if request.EmailAddress != nil { + queryParams.Add("email_address", fmt.Sprintf("%v", *request.EmailAddress)) + } if request.Expand != nil { queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) } @@ -60,6 +63,12 @@ func (c *Client) List(ctx context.Context, request *accounting.ContactsListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCustomer != nil { queryParams.Add("is_customer", fmt.Sprintf("%v", *request.IsCustomer)) } @@ -72,6 +81,9 @@ func (c *Client) List(ctx context.Context, request *accounting.ContactsListReque if request.ModifiedBefore != nil { queryParams.Add("modified_before", fmt.Sprintf("%v", request.ModifiedBefore.Format(time.RFC3339))) } + if request.Name != nil { + queryParams.Add("name", fmt.Sprintf("%v", *request.Name)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } @@ -153,6 +165,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Co if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if request.RemoteFields != nil { queryParams.Add("remote_fields", fmt.Sprintf("%v", request.RemoteFields)) } @@ -200,3 +215,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.ContactsRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/contacts/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/credit_notes.go b/accounting/credit_notes.go index 154384e..12f106f 100644 --- a/accounting/credit_notes.go +++ b/accounting/credit_notes.go @@ -7,6 +7,14 @@ import ( time "time" ) +type CreditNoteEndpointRequest struct { + // Whether to include debug fields (such as log file links) in the response. + IsDebugMode *bool `json:"-"` + // Whether or not third-party updates should be run asynchronously. + RunAsync *bool `json:"-"` + Model *CreditNoteRequest `json:"model,omitempty"` +} + type CreditNotesListRequest struct { // If provided, will only return credit notes for this company. CompanyId *string `json:"-"` @@ -18,10 +26,12 @@ type CreditNotesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *CreditNotesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/creditnotes/client.go b/accounting/creditnotes/client.go index d572ad7..e9a5ff8 100644 --- a/accounting/creditnotes/client.go +++ b/accounting/creditnotes/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.CreditNotesListRe if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -103,6 +106,41 @@ func (c *Client) List(ctx context.Context, request *accounting.CreditNotesListRe return response, nil } +// Creates a `CreditNote` object with the given values. +func (c *Client) Create(ctx context.Context, request *accounting.CreditNoteEndpointRequest) (*accounting.CreditNoteResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/credit-notes" + + queryParams := make(url.Values) + if request.IsDebugMode != nil { + queryParams.Add("is_debug_mode", fmt.Sprintf("%v", *request.IsDebugMode)) + } + if request.RunAsync != nil { + queryParams.Add("run_async", fmt.Sprintf("%v", *request.RunAsync)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.CreditNoteResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: c.header, + Request: request, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns a `CreditNote` object with the given `id`. func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.CreditNotesRetrieveRequest) (*accounting.CreditNote, error) { baseURL := "https://api.merge.dev/api" @@ -142,3 +180,26 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Cr } return response, nil } + +// Returns metadata for `CreditNote` POSTs. +func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/credit-notes/meta/post" + + var response *accounting.MetaResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/employees.go b/accounting/employees.go new file mode 100644 index 0000000..92c5ca5 --- /dev/null +++ b/accounting/employees.go @@ -0,0 +1,25 @@ +// This file was auto-generated by Fern from our API Definition. + +package accounting + +type EmployeesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + +type EmployeesRetrieveRequest struct { + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` +} diff --git a/accounting/employees/client.go b/accounting/employees/client.go new file mode 100644 index 0000000..d2005e6 --- /dev/null +++ b/accounting/employees/client.go @@ -0,0 +1,110 @@ +// This file was auto-generated by Fern from our API Definition. + +package employees + +import ( + context "context" + fmt "fmt" + accounting "github.com/merge-api/merge-go-client/accounting" + core "github.com/merge-api/merge-go-client/core" + http "net/http" + url "net/url" +) + +type Client struct { + baseURL string + caller *core.Caller + header http.Header +} + +func NewClient(opts ...core.ClientOption) *Client { + options := core.NewClientOptions() + for _, opt := range opts { + opt(options) + } + return &Client{ + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + } +} + +// Returns a list of `Employee` objects. +func (c *Client) List(ctx context.Context, request *accounting.EmployeesListRequest) (*accounting.PaginatedEmployeeList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/employees" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedEmployeeList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns an `Employee` object with the given `id`. +func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.EmployeesRetrieveRequest) (*accounting.Employee, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/employees/%v", id) + + queryParams := make(url.Values) + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.Employee + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/expenses.go b/accounting/expenses.go index eee60a2..d54216f 100644 --- a/accounting/expenses.go +++ b/accounting/expenses.go @@ -15,6 +15,21 @@ type ExpenseEndpointRequest struct { Model *ExpenseRequest `json:"model,omitempty"` } +type ExpensesLinesRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type ExpensesListRequest struct { // If provided, will only return expenses for this company. CompanyId *string `json:"-"` @@ -26,10 +41,14 @@ type ExpensesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ExpensesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -44,47 +63,96 @@ type ExpensesListRequest struct { TransactionDateBefore *time.Time `json:"-"` } +type ExpensesRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type ExpensesRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ExpensesRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` } type ExpensesListRequestExpand string const ( - ExpensesListRequestExpandAccount ExpensesListRequestExpand = "account" - ExpensesListRequestExpandAccountAccountingPeriod ExpensesListRequestExpand = "account,accounting_period" - ExpensesListRequestExpandAccountCompany ExpensesListRequestExpand = "account,company" - ExpensesListRequestExpandAccountCompanyAccountingPeriod ExpensesListRequestExpand = "account,company,accounting_period" - ExpensesListRequestExpandAccountContact ExpensesListRequestExpand = "account,contact" - ExpensesListRequestExpandAccountContactAccountingPeriod ExpensesListRequestExpand = "account,contact,accounting_period" - ExpensesListRequestExpandAccountContactCompany ExpensesListRequestExpand = "account,contact,company" - ExpensesListRequestExpandAccountContactCompanyAccountingPeriod ExpensesListRequestExpand = "account,contact,company,accounting_period" - ExpensesListRequestExpandAccountingPeriod ExpensesListRequestExpand = "accounting_period" - ExpensesListRequestExpandCompany ExpensesListRequestExpand = "company" - ExpensesListRequestExpandCompanyAccountingPeriod ExpensesListRequestExpand = "company,accounting_period" - ExpensesListRequestExpandContact ExpensesListRequestExpand = "contact" - ExpensesListRequestExpandContactAccountingPeriod ExpensesListRequestExpand = "contact,accounting_period" - ExpensesListRequestExpandContactCompany ExpensesListRequestExpand = "contact,company" - ExpensesListRequestExpandContactCompanyAccountingPeriod ExpensesListRequestExpand = "contact,company,accounting_period" - ExpensesListRequestExpandTrackingCategories ExpensesListRequestExpand = "tracking_categories" - ExpensesListRequestExpandTrackingCategoriesAccount ExpensesListRequestExpand = "tracking_categories,account" - ExpensesListRequestExpandTrackingCategoriesAccountAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,accounting_period" - ExpensesListRequestExpandTrackingCategoriesAccountCompany ExpensesListRequestExpand = "tracking_categories,account,company" - ExpensesListRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,company,accounting_period" - ExpensesListRequestExpandTrackingCategoriesAccountContact ExpensesListRequestExpand = "tracking_categories,account,contact" - ExpensesListRequestExpandTrackingCategoriesAccountContactAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,accounting_period" - ExpensesListRequestExpandTrackingCategoriesAccountContactCompany ExpensesListRequestExpand = "tracking_categories,account,contact,company" - ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,company,accounting_period" - ExpensesListRequestExpandTrackingCategoriesAccountingPeriod ExpensesListRequestExpand = "tracking_categories,accounting_period" - ExpensesListRequestExpandTrackingCategoriesCompany ExpensesListRequestExpand = "tracking_categories,company" - ExpensesListRequestExpandTrackingCategoriesCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,company,accounting_period" - ExpensesListRequestExpandTrackingCategoriesContact ExpensesListRequestExpand = "tracking_categories,contact" - ExpensesListRequestExpandTrackingCategoriesContactAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,accounting_period" - ExpensesListRequestExpandTrackingCategoriesContactCompany ExpensesListRequestExpand = "tracking_categories,contact,company" - ExpensesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,company,accounting_period" + ExpensesListRequestExpandAccount ExpensesListRequestExpand = "account" + ExpensesListRequestExpandAccountAccountingPeriod ExpensesListRequestExpand = "account,accounting_period" + ExpensesListRequestExpandAccountCompany ExpensesListRequestExpand = "account,company" + ExpensesListRequestExpandAccountCompanyAccountingPeriod ExpensesListRequestExpand = "account,company,accounting_period" + ExpensesListRequestExpandAccountCompanyEmployee ExpensesListRequestExpand = "account,company,employee" + ExpensesListRequestExpandAccountCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "account,company,employee,accounting_period" + ExpensesListRequestExpandAccountContact ExpensesListRequestExpand = "account,contact" + ExpensesListRequestExpandAccountContactAccountingPeriod ExpensesListRequestExpand = "account,contact,accounting_period" + ExpensesListRequestExpandAccountContactCompany ExpensesListRequestExpand = "account,contact,company" + ExpensesListRequestExpandAccountContactCompanyAccountingPeriod ExpensesListRequestExpand = "account,contact,company,accounting_period" + ExpensesListRequestExpandAccountContactCompanyEmployee ExpensesListRequestExpand = "account,contact,company,employee" + ExpensesListRequestExpandAccountContactCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "account,contact,company,employee,accounting_period" + ExpensesListRequestExpandAccountContactEmployee ExpensesListRequestExpand = "account,contact,employee" + ExpensesListRequestExpandAccountContactEmployeeAccountingPeriod ExpensesListRequestExpand = "account,contact,employee,accounting_period" + ExpensesListRequestExpandAccountEmployee ExpensesListRequestExpand = "account,employee" + ExpensesListRequestExpandAccountEmployeeAccountingPeriod ExpensesListRequestExpand = "account,employee,accounting_period" + ExpensesListRequestExpandAccountingPeriod ExpensesListRequestExpand = "accounting_period" + ExpensesListRequestExpandCompany ExpensesListRequestExpand = "company" + ExpensesListRequestExpandCompanyAccountingPeriod ExpensesListRequestExpand = "company,accounting_period" + ExpensesListRequestExpandCompanyEmployee ExpensesListRequestExpand = "company,employee" + ExpensesListRequestExpandCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "company,employee,accounting_period" + ExpensesListRequestExpandContact ExpensesListRequestExpand = "contact" + ExpensesListRequestExpandContactAccountingPeriod ExpensesListRequestExpand = "contact,accounting_period" + ExpensesListRequestExpandContactCompany ExpensesListRequestExpand = "contact,company" + ExpensesListRequestExpandContactCompanyAccountingPeriod ExpensesListRequestExpand = "contact,company,accounting_period" + ExpensesListRequestExpandContactCompanyEmployee ExpensesListRequestExpand = "contact,company,employee" + ExpensesListRequestExpandContactCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "contact,company,employee,accounting_period" + ExpensesListRequestExpandContactEmployee ExpensesListRequestExpand = "contact,employee" + ExpensesListRequestExpandContactEmployeeAccountingPeriod ExpensesListRequestExpand = "contact,employee,accounting_period" + ExpensesListRequestExpandEmployee ExpensesListRequestExpand = "employee" + ExpensesListRequestExpandEmployeeAccountingPeriod ExpensesListRequestExpand = "employee,accounting_period" + ExpensesListRequestExpandTrackingCategories ExpensesListRequestExpand = "tracking_categories" + ExpensesListRequestExpandTrackingCategoriesAccount ExpensesListRequestExpand = "tracking_categories,account" + ExpensesListRequestExpandTrackingCategoriesAccountAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountCompany ExpensesListRequestExpand = "tracking_categories,account,company" + ExpensesListRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,company,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountCompanyEmployee ExpensesListRequestExpand = "tracking_categories,account,company,employee" + ExpensesListRequestExpandTrackingCategoriesAccountCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,company,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountContact ExpensesListRequestExpand = "tracking_categories,account,contact" + ExpensesListRequestExpandTrackingCategoriesAccountContactAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountContactCompany ExpensesListRequestExpand = "tracking_categories,account,contact,company" + ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,company,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyEmployee ExpensesListRequestExpand = "tracking_categories,account,contact,company,employee" + ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,company,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountContactEmployee ExpensesListRequestExpand = "tracking_categories,account,contact,employee" + ExpensesListRequestExpandTrackingCategoriesAccountContactEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,contact,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountEmployee ExpensesListRequestExpand = "tracking_categories,account,employee" + ExpensesListRequestExpandTrackingCategoriesAccountEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,account,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesAccountingPeriod ExpensesListRequestExpand = "tracking_categories,accounting_period" + ExpensesListRequestExpandTrackingCategoriesCompany ExpensesListRequestExpand = "tracking_categories,company" + ExpensesListRequestExpandTrackingCategoriesCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,company,accounting_period" + ExpensesListRequestExpandTrackingCategoriesCompanyEmployee ExpensesListRequestExpand = "tracking_categories,company,employee" + ExpensesListRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,company,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesContact ExpensesListRequestExpand = "tracking_categories,contact" + ExpensesListRequestExpandTrackingCategoriesContactAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,accounting_period" + ExpensesListRequestExpandTrackingCategoriesContactCompany ExpensesListRequestExpand = "tracking_categories,contact,company" + ExpensesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,company,accounting_period" + ExpensesListRequestExpandTrackingCategoriesContactCompanyEmployee ExpensesListRequestExpand = "tracking_categories,contact,company,employee" + ExpensesListRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,company,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesContactEmployee ExpensesListRequestExpand = "tracking_categories,contact,employee" + ExpensesListRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,contact,employee,accounting_period" + ExpensesListRequestExpandTrackingCategoriesEmployee ExpensesListRequestExpand = "tracking_categories,employee" + ExpensesListRequestExpandTrackingCategoriesEmployeeAccountingPeriod ExpensesListRequestExpand = "tracking_categories,employee,accounting_period" ) func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand, error) { @@ -97,6 +165,10 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandAccountCompany, nil case "account,company,accounting_period": return ExpensesListRequestExpandAccountCompanyAccountingPeriod, nil + case "account,company,employee": + return ExpensesListRequestExpandAccountCompanyEmployee, nil + case "account,company,employee,accounting_period": + return ExpensesListRequestExpandAccountCompanyEmployeeAccountingPeriod, nil case "account,contact": return ExpensesListRequestExpandAccountContact, nil case "account,contact,accounting_period": @@ -105,12 +177,28 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandAccountContactCompany, nil case "account,contact,company,accounting_period": return ExpensesListRequestExpandAccountContactCompanyAccountingPeriod, nil + case "account,contact,company,employee": + return ExpensesListRequestExpandAccountContactCompanyEmployee, nil + case "account,contact,company,employee,accounting_period": + return ExpensesListRequestExpandAccountContactCompanyEmployeeAccountingPeriod, nil + case "account,contact,employee": + return ExpensesListRequestExpandAccountContactEmployee, nil + case "account,contact,employee,accounting_period": + return ExpensesListRequestExpandAccountContactEmployeeAccountingPeriod, nil + case "account,employee": + return ExpensesListRequestExpandAccountEmployee, nil + case "account,employee,accounting_period": + return ExpensesListRequestExpandAccountEmployeeAccountingPeriod, nil case "accounting_period": return ExpensesListRequestExpandAccountingPeriod, nil case "company": return ExpensesListRequestExpandCompany, nil case "company,accounting_period": return ExpensesListRequestExpandCompanyAccountingPeriod, nil + case "company,employee": + return ExpensesListRequestExpandCompanyEmployee, nil + case "company,employee,accounting_period": + return ExpensesListRequestExpandCompanyEmployeeAccountingPeriod, nil case "contact": return ExpensesListRequestExpandContact, nil case "contact,accounting_period": @@ -119,6 +207,18 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandContactCompany, nil case "contact,company,accounting_period": return ExpensesListRequestExpandContactCompanyAccountingPeriod, nil + case "contact,company,employee": + return ExpensesListRequestExpandContactCompanyEmployee, nil + case "contact,company,employee,accounting_period": + return ExpensesListRequestExpandContactCompanyEmployeeAccountingPeriod, nil + case "contact,employee": + return ExpensesListRequestExpandContactEmployee, nil + case "contact,employee,accounting_period": + return ExpensesListRequestExpandContactEmployeeAccountingPeriod, nil + case "employee": + return ExpensesListRequestExpandEmployee, nil + case "employee,accounting_period": + return ExpensesListRequestExpandEmployeeAccountingPeriod, nil case "tracking_categories": return ExpensesListRequestExpandTrackingCategories, nil case "tracking_categories,account": @@ -129,6 +229,10 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandTrackingCategoriesAccountCompany, nil case "tracking_categories,account,company,accounting_period": return ExpensesListRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod, nil + case "tracking_categories,account,company,employee": + return ExpensesListRequestExpandTrackingCategoriesAccountCompanyEmployee, nil + case "tracking_categories,account,company,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesAccountCompanyEmployeeAccountingPeriod, nil case "tracking_categories,account,contact": return ExpensesListRequestExpandTrackingCategoriesAccountContact, nil case "tracking_categories,account,contact,accounting_period": @@ -137,12 +241,28 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandTrackingCategoriesAccountContactCompany, nil case "tracking_categories,account,contact,company,accounting_period": return ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod, nil + case "tracking_categories,account,contact,company,employee": + return ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyEmployee, nil + case "tracking_categories,account,contact,company,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,account,contact,employee": + return ExpensesListRequestExpandTrackingCategoriesAccountContactEmployee, nil + case "tracking_categories,account,contact,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesAccountContactEmployeeAccountingPeriod, nil + case "tracking_categories,account,employee": + return ExpensesListRequestExpandTrackingCategoriesAccountEmployee, nil + case "tracking_categories,account,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesAccountEmployeeAccountingPeriod, nil case "tracking_categories,accounting_period": return ExpensesListRequestExpandTrackingCategoriesAccountingPeriod, nil case "tracking_categories,company": return ExpensesListRequestExpandTrackingCategoriesCompany, nil case "tracking_categories,company,accounting_period": return ExpensesListRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,company,employee": + return ExpensesListRequestExpandTrackingCategoriesCompanyEmployee, nil + case "tracking_categories,company,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "tracking_categories,contact": return ExpensesListRequestExpandTrackingCategoriesContact, nil case "tracking_categories,contact,accounting_period": @@ -151,6 +271,18 @@ func NewExpensesListRequestExpandFromString(s string) (ExpensesListRequestExpand return ExpensesListRequestExpandTrackingCategoriesContactCompany, nil case "tracking_categories,contact,company,accounting_period": return ExpensesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod, nil + case "tracking_categories,contact,company,employee": + return ExpensesListRequestExpandTrackingCategoriesContactCompanyEmployee, nil + case "tracking_categories,contact,company,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,contact,employee": + return ExpensesListRequestExpandTrackingCategoriesContactEmployee, nil + case "tracking_categories,contact,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "tracking_categories,employee": + return ExpensesListRequestExpandTrackingCategoriesEmployee, nil + case "tracking_categories,employee,accounting_period": + return ExpensesListRequestExpandTrackingCategoriesEmployeeAccountingPeriod, nil } var t ExpensesListRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -163,37 +295,69 @@ func (e ExpensesListRequestExpand) Ptr() *ExpensesListRequestExpand { type ExpensesRetrieveRequestExpand string const ( - ExpensesRetrieveRequestExpandAccount ExpensesRetrieveRequestExpand = "account" - ExpensesRetrieveRequestExpandAccountAccountingPeriod ExpensesRetrieveRequestExpand = "account,accounting_period" - ExpensesRetrieveRequestExpandAccountCompany ExpensesRetrieveRequestExpand = "account,company" - ExpensesRetrieveRequestExpandAccountCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "account,company,accounting_period" - ExpensesRetrieveRequestExpandAccountContact ExpensesRetrieveRequestExpand = "account,contact" - ExpensesRetrieveRequestExpandAccountContactAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,accounting_period" - ExpensesRetrieveRequestExpandAccountContactCompany ExpensesRetrieveRequestExpand = "account,contact,company" - ExpensesRetrieveRequestExpandAccountContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,company,accounting_period" - ExpensesRetrieveRequestExpandAccountingPeriod ExpensesRetrieveRequestExpand = "accounting_period" - ExpensesRetrieveRequestExpandCompany ExpensesRetrieveRequestExpand = "company" - ExpensesRetrieveRequestExpandCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "company,accounting_period" - ExpensesRetrieveRequestExpandContact ExpensesRetrieveRequestExpand = "contact" - ExpensesRetrieveRequestExpandContactAccountingPeriod ExpensesRetrieveRequestExpand = "contact,accounting_period" - ExpensesRetrieveRequestExpandContactCompany ExpensesRetrieveRequestExpand = "contact,company" - ExpensesRetrieveRequestExpandContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "contact,company,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategories ExpensesRetrieveRequestExpand = "tracking_categories" - ExpensesRetrieveRequestExpandTrackingCategoriesAccount ExpensesRetrieveRequestExpand = "tracking_categories,account" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompany ExpensesRetrieveRequestExpand = "tracking_categories,account,company" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,company,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountContact ExpensesRetrieveRequestExpand = "tracking_categories,account,contact" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompany ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesCompany ExpensesRetrieveRequestExpand = "tracking_categories,company" - ExpensesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,company,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesContact ExpensesRetrieveRequestExpand = "tracking_categories,contact" - ExpensesRetrieveRequestExpandTrackingCategoriesContactAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,accounting_period" - ExpensesRetrieveRequestExpandTrackingCategoriesContactCompany ExpensesRetrieveRequestExpand = "tracking_categories,contact,company" - ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,company,accounting_period" + ExpensesRetrieveRequestExpandAccount ExpensesRetrieveRequestExpand = "account" + ExpensesRetrieveRequestExpandAccountAccountingPeriod ExpensesRetrieveRequestExpand = "account,accounting_period" + ExpensesRetrieveRequestExpandAccountCompany ExpensesRetrieveRequestExpand = "account,company" + ExpensesRetrieveRequestExpandAccountCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "account,company,accounting_period" + ExpensesRetrieveRequestExpandAccountCompanyEmployee ExpensesRetrieveRequestExpand = "account,company,employee" + ExpensesRetrieveRequestExpandAccountCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "account,company,employee,accounting_period" + ExpensesRetrieveRequestExpandAccountContact ExpensesRetrieveRequestExpand = "account,contact" + ExpensesRetrieveRequestExpandAccountContactAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,accounting_period" + ExpensesRetrieveRequestExpandAccountContactCompany ExpensesRetrieveRequestExpand = "account,contact,company" + ExpensesRetrieveRequestExpandAccountContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,company,accounting_period" + ExpensesRetrieveRequestExpandAccountContactCompanyEmployee ExpensesRetrieveRequestExpand = "account,contact,company,employee" + ExpensesRetrieveRequestExpandAccountContactCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,company,employee,accounting_period" + ExpensesRetrieveRequestExpandAccountContactEmployee ExpensesRetrieveRequestExpand = "account,contact,employee" + ExpensesRetrieveRequestExpandAccountContactEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "account,contact,employee,accounting_period" + ExpensesRetrieveRequestExpandAccountEmployee ExpensesRetrieveRequestExpand = "account,employee" + ExpensesRetrieveRequestExpandAccountEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "account,employee,accounting_period" + ExpensesRetrieveRequestExpandAccountingPeriod ExpensesRetrieveRequestExpand = "accounting_period" + ExpensesRetrieveRequestExpandCompany ExpensesRetrieveRequestExpand = "company" + ExpensesRetrieveRequestExpandCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "company,accounting_period" + ExpensesRetrieveRequestExpandCompanyEmployee ExpensesRetrieveRequestExpand = "company,employee" + ExpensesRetrieveRequestExpandCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "company,employee,accounting_period" + ExpensesRetrieveRequestExpandContact ExpensesRetrieveRequestExpand = "contact" + ExpensesRetrieveRequestExpandContactAccountingPeriod ExpensesRetrieveRequestExpand = "contact,accounting_period" + ExpensesRetrieveRequestExpandContactCompany ExpensesRetrieveRequestExpand = "contact,company" + ExpensesRetrieveRequestExpandContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "contact,company,accounting_period" + ExpensesRetrieveRequestExpandContactCompanyEmployee ExpensesRetrieveRequestExpand = "contact,company,employee" + ExpensesRetrieveRequestExpandContactCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "contact,company,employee,accounting_period" + ExpensesRetrieveRequestExpandContactEmployee ExpensesRetrieveRequestExpand = "contact,employee" + ExpensesRetrieveRequestExpandContactEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "contact,employee,accounting_period" + ExpensesRetrieveRequestExpandEmployee ExpensesRetrieveRequestExpand = "employee" + ExpensesRetrieveRequestExpandEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategories ExpensesRetrieveRequestExpand = "tracking_categories" + ExpensesRetrieveRequestExpandTrackingCategoriesAccount ExpensesRetrieveRequestExpand = "tracking_categories,account" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompany ExpensesRetrieveRequestExpand = "tracking_categories,account,company" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,company,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyEmployee ExpensesRetrieveRequestExpand = "tracking_categories,account,company,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,company,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContact ExpensesRetrieveRequestExpand = "tracking_categories,account,contact" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompany ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyEmployee ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,company,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactEmployee ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,contact,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountEmployee ExpensesRetrieveRequestExpand = "tracking_categories,account,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,account,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesCompany ExpensesRetrieveRequestExpand = "tracking_categories,company" + ExpensesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,company,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesCompanyEmployee ExpensesRetrieveRequestExpand = "tracking_categories,company,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,company,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesContact ExpensesRetrieveRequestExpand = "tracking_categories,contact" + ExpensesRetrieveRequestExpandTrackingCategoriesContactAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesContactCompany ExpensesRetrieveRequestExpand = "tracking_categories,contact,company" + ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,company,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployee ExpensesRetrieveRequestExpand = "tracking_categories,contact,company,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,company,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesContactEmployee ExpensesRetrieveRequestExpand = "tracking_categories,contact,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,contact,employee,accounting_period" + ExpensesRetrieveRequestExpandTrackingCategoriesEmployee ExpensesRetrieveRequestExpand = "tracking_categories,employee" + ExpensesRetrieveRequestExpandTrackingCategoriesEmployeeAccountingPeriod ExpensesRetrieveRequestExpand = "tracking_categories,employee,accounting_period" ) func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveRequestExpand, error) { @@ -206,6 +370,10 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandAccountCompany, nil case "account,company,accounting_period": return ExpensesRetrieveRequestExpandAccountCompanyAccountingPeriod, nil + case "account,company,employee": + return ExpensesRetrieveRequestExpandAccountCompanyEmployee, nil + case "account,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandAccountCompanyEmployeeAccountingPeriod, nil case "account,contact": return ExpensesRetrieveRequestExpandAccountContact, nil case "account,contact,accounting_period": @@ -214,12 +382,28 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandAccountContactCompany, nil case "account,contact,company,accounting_period": return ExpensesRetrieveRequestExpandAccountContactCompanyAccountingPeriod, nil + case "account,contact,company,employee": + return ExpensesRetrieveRequestExpandAccountContactCompanyEmployee, nil + case "account,contact,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandAccountContactCompanyEmployeeAccountingPeriod, nil + case "account,contact,employee": + return ExpensesRetrieveRequestExpandAccountContactEmployee, nil + case "account,contact,employee,accounting_period": + return ExpensesRetrieveRequestExpandAccountContactEmployeeAccountingPeriod, nil + case "account,employee": + return ExpensesRetrieveRequestExpandAccountEmployee, nil + case "account,employee,accounting_period": + return ExpensesRetrieveRequestExpandAccountEmployeeAccountingPeriod, nil case "accounting_period": return ExpensesRetrieveRequestExpandAccountingPeriod, nil case "company": return ExpensesRetrieveRequestExpandCompany, nil case "company,accounting_period": return ExpensesRetrieveRequestExpandCompanyAccountingPeriod, nil + case "company,employee": + return ExpensesRetrieveRequestExpandCompanyEmployee, nil + case "company,employee,accounting_period": + return ExpensesRetrieveRequestExpandCompanyEmployeeAccountingPeriod, nil case "contact": return ExpensesRetrieveRequestExpandContact, nil case "contact,accounting_period": @@ -228,6 +412,18 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandContactCompany, nil case "contact,company,accounting_period": return ExpensesRetrieveRequestExpandContactCompanyAccountingPeriod, nil + case "contact,company,employee": + return ExpensesRetrieveRequestExpandContactCompanyEmployee, nil + case "contact,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandContactCompanyEmployeeAccountingPeriod, nil + case "contact,employee": + return ExpensesRetrieveRequestExpandContactEmployee, nil + case "contact,employee,accounting_period": + return ExpensesRetrieveRequestExpandContactEmployeeAccountingPeriod, nil + case "employee": + return ExpensesRetrieveRequestExpandEmployee, nil + case "employee,accounting_period": + return ExpensesRetrieveRequestExpandEmployeeAccountingPeriod, nil case "tracking_categories": return ExpensesRetrieveRequestExpandTrackingCategories, nil case "tracking_categories,account": @@ -238,6 +434,10 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompany, nil case "tracking_categories,account,company,accounting_period": return ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyAccountingPeriod, nil + case "tracking_categories,account,company,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyEmployee, nil + case "tracking_categories,account,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountCompanyEmployeeAccountingPeriod, nil case "tracking_categories,account,contact": return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContact, nil case "tracking_categories,account,contact,accounting_period": @@ -246,12 +446,28 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompany, nil case "tracking_categories,account,contact,company,accounting_period": return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyAccountingPeriod, nil + case "tracking_categories,account,contact,company,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyEmployee, nil + case "tracking_categories,account,contact,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,account,contact,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactEmployee, nil + case "tracking_categories,account,contact,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountContactEmployeeAccountingPeriod, nil + case "tracking_categories,account,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountEmployee, nil + case "tracking_categories,account,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesAccountEmployeeAccountingPeriod, nil case "tracking_categories,accounting_period": return ExpensesRetrieveRequestExpandTrackingCategoriesAccountingPeriod, nil case "tracking_categories,company": return ExpensesRetrieveRequestExpandTrackingCategoriesCompany, nil case "tracking_categories,company,accounting_period": return ExpensesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,company,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesCompanyEmployee, nil + case "tracking_categories,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "tracking_categories,contact": return ExpensesRetrieveRequestExpandTrackingCategoriesContact, nil case "tracking_categories,contact,accounting_period": @@ -260,6 +476,18 @@ func NewExpensesRetrieveRequestExpandFromString(s string) (ExpensesRetrieveReque return ExpensesRetrieveRequestExpandTrackingCategoriesContactCompany, nil case "tracking_categories,contact,company,accounting_period": return ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod, nil + case "tracking_categories,contact,company,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployee, nil + case "tracking_categories,contact,company,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,contact,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesContactEmployee, nil + case "tracking_categories,contact,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "tracking_categories,employee": + return ExpensesRetrieveRequestExpandTrackingCategoriesEmployee, nil + case "tracking_categories,employee,accounting_period": + return ExpensesRetrieveRequestExpandTrackingCategoriesEmployeeAccountingPeriod, nil } var t ExpensesRetrieveRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) diff --git a/accounting/expenses/client.go b/accounting/expenses/client.go index b3fa7b4..3ecaf00 100644 --- a/accounting/expenses/client.go +++ b/accounting/expenses/client.go @@ -60,6 +60,12 @@ func (c *Client) List(ctx context.Context, request *accounting.ExpensesListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -147,6 +153,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Ex if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() } @@ -166,6 +175,52 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Ex return response, nil } +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) LinesRemoteFieldClassesList(ctx context.Context, request *accounting.ExpensesLinesRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/expenses/lines/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns metadata for `Expense` POSTs. func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { baseURL := "https://api.merge.dev/api" @@ -188,3 +243,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.ExpensesRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/expenses/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/field_mapping.go b/accounting/field_mapping.go index 7108c44..ecc1aae 100644 --- a/accounting/field_mapping.go +++ b/accounting/field_mapping.go @@ -3,6 +3,8 @@ package accounting type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/accounting/fieldmapping/client.go b/accounting/fieldmapping/client.go index 1a6e5d9..4895475 100644 --- a/accounting/fieldmapping/client.go +++ b/accounting/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*accounting.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *accounting.FieldMappingsRetrieveRequest) (*accounting.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "accounting/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *accounting.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *accounting.Cr } endpointURL := baseURL + "/" + "accounting/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *accounting.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/accounting/forceresync/client.go b/accounting/forceresync/client.go index 4047eba..0435d3e 100644 --- a/accounting/forceresync/client.go +++ b/accounting/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*accounting.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/accounting/general_ledger_transactions.go b/accounting/general_ledger_transactions.go new file mode 100644 index 0000000..6bd9bd3 --- /dev/null +++ b/accounting/general_ledger_transactions.go @@ -0,0 +1,168 @@ +// This file was auto-generated by Fern from our API Definition. + +package accounting + +import ( + fmt "fmt" + time "time" +) + +type GeneralLedgerTransactionsListRequest struct { + // If provided, will only return general ledger transactions for this company. + CompanyId *string `json:"-"` + // If provided, will only return objects created after this datetime. + CreatedAfter *time.Time `json:"-"` + // If provided, will only return objects created before this datetime. + CreatedBefore *time.Time `json:"-"` + // The pagination cursor value. + Cursor *string `json:"-"` + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *GeneralLedgerTransactionsListRequestExpand `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, only objects synced by Merge after this date time will be returned. + ModifiedAfter *time.Time `json:"-"` + // If provided, only objects synced by Merge before this date time will be returned. + ModifiedBefore *time.Time `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` + // If provided, will only return objects posted after this datetime. + PostedDateAfter *time.Time `json:"-"` + // If provided, will only return objects posted before this datetime. + PostedDateBefore *time.Time `json:"-"` + // The API provider's ID for the given object. + RemoteId *string `json:"-"` +} + +type GeneralLedgerTransactionsRetrieveRequest struct { + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *GeneralLedgerTransactionsRetrieveRequestExpand `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` +} + +type GeneralLedgerTransactionsListRequestExpand string + +const ( + GeneralLedgerTransactionsListRequestExpandAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "accounting_period" + GeneralLedgerTransactionsListRequestExpandCompany GeneralLedgerTransactionsListRequestExpand = "company" + GeneralLedgerTransactionsListRequestExpandCompanyAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "company,accounting_period" + GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLines GeneralLedgerTransactionsListRequestExpand = "general_ledger_transaction_lines" + GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "general_ledger_transaction_lines,accounting_period" + GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesCompany GeneralLedgerTransactionsListRequestExpand = "general_ledger_transaction_lines,company" + GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesCompanyAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "general_ledger_transaction_lines,company,accounting_period" + GeneralLedgerTransactionsListRequestExpandTrackingCategories GeneralLedgerTransactionsListRequestExpand = "tracking_categories" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "tracking_categories,accounting_period" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesCompany GeneralLedgerTransactionsListRequestExpand = "tracking_categories,company" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesCompanyAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "tracking_categories,company,accounting_period" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLines GeneralLedgerTransactionsListRequestExpand = "tracking_categories,general_ledger_transaction_lines" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "tracking_categories,general_ledger_transaction_lines,accounting_period" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompany GeneralLedgerTransactionsListRequestExpand = "tracking_categories,general_ledger_transaction_lines,company" + GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod GeneralLedgerTransactionsListRequestExpand = "tracking_categories,general_ledger_transaction_lines,company,accounting_period" +) + +func NewGeneralLedgerTransactionsListRequestExpandFromString(s string) (GeneralLedgerTransactionsListRequestExpand, error) { + switch s { + case "accounting_period": + return GeneralLedgerTransactionsListRequestExpandAccountingPeriod, nil + case "company": + return GeneralLedgerTransactionsListRequestExpandCompany, nil + case "company,accounting_period": + return GeneralLedgerTransactionsListRequestExpandCompanyAccountingPeriod, nil + case "general_ledger_transaction_lines": + return GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLines, nil + case "general_ledger_transaction_lines,accounting_period": + return GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesAccountingPeriod, nil + case "general_ledger_transaction_lines,company": + return GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesCompany, nil + case "general_ledger_transaction_lines,company,accounting_period": + return GeneralLedgerTransactionsListRequestExpandGeneralLedgerTransactionLinesCompanyAccountingPeriod, nil + case "tracking_categories": + return GeneralLedgerTransactionsListRequestExpandTrackingCategories, nil + case "tracking_categories,accounting_period": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesAccountingPeriod, nil + case "tracking_categories,company": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesCompany, nil + case "tracking_categories,company,accounting_period": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,general_ledger_transaction_lines": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLines, nil + case "tracking_categories,general_ledger_transaction_lines,accounting_period": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod, nil + case "tracking_categories,general_ledger_transaction_lines,company": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompany, nil + case "tracking_categories,general_ledger_transaction_lines,company,accounting_period": + return GeneralLedgerTransactionsListRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod, nil + } + var t GeneralLedgerTransactionsListRequestExpand + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (g GeneralLedgerTransactionsListRequestExpand) Ptr() *GeneralLedgerTransactionsListRequestExpand { + return &g +} + +type GeneralLedgerTransactionsRetrieveRequestExpand string + +const ( + GeneralLedgerTransactionsRetrieveRequestExpandAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandCompany GeneralLedgerTransactionsRetrieveRequestExpand = "company" + GeneralLedgerTransactionsRetrieveRequestExpandCompanyAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "company,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLines GeneralLedgerTransactionsRetrieveRequestExpand = "general_ledger_transaction_lines" + GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "general_ledger_transaction_lines,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesCompany GeneralLedgerTransactionsRetrieveRequestExpand = "general_ledger_transaction_lines,company" + GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesCompanyAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "general_ledger_transaction_lines,company,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategories GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesCompany GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,company" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,company,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLines GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,general_ledger_transaction_lines" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,general_ledger_transaction_lines,accounting_period" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompany GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,general_ledger_transaction_lines,company" + GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod GeneralLedgerTransactionsRetrieveRequestExpand = "tracking_categories,general_ledger_transaction_lines,company,accounting_period" +) + +func NewGeneralLedgerTransactionsRetrieveRequestExpandFromString(s string) (GeneralLedgerTransactionsRetrieveRequestExpand, error) { + switch s { + case "accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandAccountingPeriod, nil + case "company": + return GeneralLedgerTransactionsRetrieveRequestExpandCompany, nil + case "company,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandCompanyAccountingPeriod, nil + case "general_ledger_transaction_lines": + return GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLines, nil + case "general_ledger_transaction_lines,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesAccountingPeriod, nil + case "general_ledger_transaction_lines,company": + return GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesCompany, nil + case "general_ledger_transaction_lines,company,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandGeneralLedgerTransactionLinesCompanyAccountingPeriod, nil + case "tracking_categories": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategories, nil + case "tracking_categories,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesAccountingPeriod, nil + case "tracking_categories,company": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesCompany, nil + case "tracking_categories,company,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,general_ledger_transaction_lines": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLines, nil + case "tracking_categories,general_ledger_transaction_lines,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesAccountingPeriod, nil + case "tracking_categories,general_ledger_transaction_lines,company": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompany, nil + case "tracking_categories,general_ledger_transaction_lines,company,accounting_period": + return GeneralLedgerTransactionsRetrieveRequestExpandTrackingCategoriesGeneralLedgerTransactionLinesCompanyAccountingPeriod, nil + } + var t GeneralLedgerTransactionsRetrieveRequestExpand + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (g GeneralLedgerTransactionsRetrieveRequestExpand) Ptr() *GeneralLedgerTransactionsRetrieveRequestExpand { + return &g +} diff --git a/accounting/generalledgertransactions/client.go b/accounting/generalledgertransactions/client.go new file mode 100644 index 0000000..4529f83 --- /dev/null +++ b/accounting/generalledgertransactions/client.go @@ -0,0 +1,135 @@ +// This file was auto-generated by Fern from our API Definition. + +package generalledgertransactions + +import ( + context "context" + fmt "fmt" + accounting "github.com/merge-api/merge-go-client/accounting" + core "github.com/merge-api/merge-go-client/core" + http "net/http" + url "net/url" + time "time" +) + +type Client struct { + baseURL string + caller *core.Caller + header http.Header +} + +func NewClient(opts ...core.ClientOption) *Client { + options := core.NewClientOptions() + for _, opt := range opts { + opt(options) + } + return &Client{ + baseURL: options.BaseURL, + caller: core.NewCaller(options.HTTPClient), + header: options.ToHeader(), + } +} + +// Returns a list of `GeneralLedgerTransaction` objects. +func (c *Client) List(ctx context.Context, request *accounting.GeneralLedgerTransactionsListRequest) (*accounting.PaginatedGeneralLedgerTransactionList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/general-ledger-transactions" + + queryParams := make(url.Values) + if request.CompanyId != nil { + queryParams.Add("company_id", fmt.Sprintf("%v", *request.CompanyId)) + } + if request.CreatedAfter != nil { + queryParams.Add("created_after", fmt.Sprintf("%v", request.CreatedAfter.Format(time.RFC3339))) + } + if request.CreatedBefore != nil { + queryParams.Add("created_before", fmt.Sprintf("%v", request.CreatedBefore.Format(time.RFC3339))) + } + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.ModifiedAfter != nil { + queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) + } + if request.ModifiedBefore != nil { + queryParams.Add("modified_before", fmt.Sprintf("%v", request.ModifiedBefore.Format(time.RFC3339))) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if request.PostedDateAfter != nil { + queryParams.Add("posted_date_after", fmt.Sprintf("%v", request.PostedDateAfter.Format(time.RFC3339))) + } + if request.PostedDateBefore != nil { + queryParams.Add("posted_date_before", fmt.Sprintf("%v", request.PostedDateBefore.Format(time.RFC3339))) + } + if request.RemoteId != nil { + queryParams.Add("remote_id", fmt.Sprintf("%v", *request.RemoteId)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedGeneralLedgerTransactionList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + +// Returns a `GeneralLedgerTransaction` object with the given `id`. +func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.GeneralLedgerTransactionsRetrieveRequest) (*accounting.GeneralLedgerTransaction, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := fmt.Sprintf(baseURL+"/"+"accounting/v1/general-ledger-transactions/%v", id) + + queryParams := make(url.Values) + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.GeneralLedgerTransaction + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/income_statements.go b/accounting/income_statements.go index 913e5f2..fb2a6e7 100644 --- a/accounting/income_statements.go +++ b/accounting/income_statements.go @@ -17,10 +17,12 @@ type IncomeStatementsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/incomestatements/client.go b/accounting/incomestatements/client.go index 836ce0c..8b66566 100644 --- a/accounting/incomestatements/client.go +++ b/accounting/incomestatements/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.IncomeStatementsL if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/invoices.go b/accounting/invoices.go index efa42de..04cbaa7 100644 --- a/accounting/invoices.go +++ b/accounting/invoices.go @@ -15,6 +15,21 @@ type InvoiceEndpointRequest struct { Model *InvoiceRequest `json:"model,omitempty"` } +type InvoicesLineItemsRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type InvoicesListRequest struct { // If provided, will only return invoices for this company. CompanyId *string `json:"-"` @@ -28,10 +43,14 @@ type InvoicesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *InvoicesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return objects created after this datetime. IssueDateAfter *time.Time `json:"-"` // If provided, will only return objects created before this datetime. @@ -40,6 +59,8 @@ type InvoicesListRequest struct { ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. ModifiedBefore *time.Time `json:"-"` + // If provided, will only return Invoices with this number. + Number *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` // Deprecated. Use show_enum_origins. @@ -48,7 +69,16 @@ type InvoicesListRequest struct { RemoteId *string `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) ShowEnumOrigins *string `json:"-"` - // If provided, will only return Invoices with this type + // If provided, will only return Invoices with this status. + // + // - `PAID` - PAID + // - `DRAFT` - DRAFT + // - `SUBMITTED` - SUBMITTED + // - `PARTIALLY_PAID` - PARTIALLY_PAID + // - `OPEN` - OPEN + // - `VOID` - VOID + Status *InvoicesListRequestStatus `json:"-"` + // If provided, will only return Invoices with this type. // // - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE // - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE @@ -63,11 +93,28 @@ type PatchedInvoiceEndpointRequest struct { Model *InvoiceRequest `json:"model,omitempty"` } +type InvoicesRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type InvoicesRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *InvoicesRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` // Deprecated. Use show_enum_origins. RemoteFields *string `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) @@ -77,275 +124,2231 @@ type InvoicesRetrieveRequest struct { type InvoicesListRequestExpand string const ( - InvoicesListRequestExpandAccountingPeriod InvoicesListRequestExpand = "accounting_period" - InvoicesListRequestExpandAppliedPayments InvoicesListRequestExpand = "applied_payments" - InvoicesListRequestExpandAppliedPaymentsAccountingPeriod InvoicesListRequestExpand = "applied_payments,accounting_period" - InvoicesListRequestExpandAppliedPaymentsCompany InvoicesListRequestExpand = "applied_payments,company" - InvoicesListRequestExpandAppliedPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsContact InvoicesListRequestExpand = "applied_payments,contact" - InvoicesListRequestExpandAppliedPaymentsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsContactCompany InvoicesListRequestExpand = "applied_payments,contact,company" - InvoicesListRequestExpandAppliedPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItems InvoicesListRequestExpand = "applied_payments,line_items" - InvoicesListRequestExpandAppliedPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsCompany InvoicesListRequestExpand = "applied_payments,line_items,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsContact InvoicesListRequestExpand = "applied_payments,line_items,contact" - InvoicesListRequestExpandAppliedPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,contact,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrders InvoicesListRequestExpand = "applied_payments,purchase_orders" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,accounting_period" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,company" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,purchase_orders,contact" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company" - InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategories InvoicesListRequestExpand = "applied_payments,tracking_categories" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,company" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "applied_payments,tracking_categories,contact" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandCompany InvoicesListRequestExpand = "company" - InvoicesListRequestExpandCompanyAccountingPeriod InvoicesListRequestExpand = "company,accounting_period" - InvoicesListRequestExpandContact InvoicesListRequestExpand = "contact" - InvoicesListRequestExpandContactAccountingPeriod InvoicesListRequestExpand = "contact,accounting_period" - InvoicesListRequestExpandContactCompany InvoicesListRequestExpand = "contact,company" - InvoicesListRequestExpandContactCompanyAccountingPeriod InvoicesListRequestExpand = "contact,company,accounting_period" - InvoicesListRequestExpandLineItems InvoicesListRequestExpand = "line_items" - InvoicesListRequestExpandLineItemsAccountingPeriod InvoicesListRequestExpand = "line_items,accounting_period" - InvoicesListRequestExpandLineItemsCompany InvoicesListRequestExpand = "line_items,company" - InvoicesListRequestExpandLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,company,accounting_period" - InvoicesListRequestExpandLineItemsContact InvoicesListRequestExpand = "line_items,contact" - InvoicesListRequestExpandLineItemsContactAccountingPeriod InvoicesListRequestExpand = "line_items,contact,accounting_period" - InvoicesListRequestExpandLineItemsContactCompany InvoicesListRequestExpand = "line_items,contact,company" - InvoicesListRequestExpandLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,contact,company,accounting_period" - InvoicesListRequestExpandLineItemsPurchaseOrders InvoicesListRequestExpand = "line_items,purchase_orders" - InvoicesListRequestExpandLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,accounting_period" - InvoicesListRequestExpandLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "line_items,purchase_orders,company" - InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,company,accounting_period" - InvoicesListRequestExpandLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "line_items,purchase_orders,contact" - InvoicesListRequestExpandLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "line_items,purchase_orders,contact,company" - InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategories InvoicesListRequestExpand = "line_items,tracking_categories" - InvoicesListRequestExpandLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "line_items,tracking_categories,company" - InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,company,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "line_items,tracking_categories,contact" - InvoicesListRequestExpandLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,contact,company" - InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPayments InvoicesListRequestExpand = "payments" - InvoicesListRequestExpandPaymentsAccountingPeriod InvoicesListRequestExpand = "payments,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPayments InvoicesListRequestExpand = "payments,applied_payments" - InvoicesListRequestExpandPaymentsAppliedPaymentsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsCompany InvoicesListRequestExpand = "payments,applied_payments,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsContact InvoicesListRequestExpand = "payments,applied_payments,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompany InvoicesListRequestExpand = "payments,applied_payments,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItems InvoicesListRequestExpand = "payments,applied_payments,line_items" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,purchase_orders" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategories InvoicesListRequestExpand = "payments,applied_payments,tracking_categories" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsCompany InvoicesListRequestExpand = "payments,company" - InvoicesListRequestExpandPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,company,accounting_period" - InvoicesListRequestExpandPaymentsContact InvoicesListRequestExpand = "payments,contact" - InvoicesListRequestExpandPaymentsContactAccountingPeriod InvoicesListRequestExpand = "payments,contact,accounting_period" - InvoicesListRequestExpandPaymentsContactCompany InvoicesListRequestExpand = "payments,contact,company" - InvoicesListRequestExpandPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItems InvoicesListRequestExpand = "payments,line_items" - InvoicesListRequestExpandPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsCompany InvoicesListRequestExpand = "payments,line_items,company" - InvoicesListRequestExpandPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsContact InvoicesListRequestExpand = "payments,line_items,contact" - InvoicesListRequestExpandPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsContactCompany InvoicesListRequestExpand = "payments,line_items,contact,company" - InvoicesListRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "payments,line_items,purchase_orders" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,company" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "payments,line_items,tracking_categories" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,company" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsPurchaseOrders InvoicesListRequestExpand = "payments,purchase_orders" - InvoicesListRequestExpandPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,purchase_orders,company" - InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "payments,purchase_orders,contact" - InvoicesListRequestExpandPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategories InvoicesListRequestExpand = "payments,tracking_categories" - InvoicesListRequestExpandPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,tracking_categories,company" - InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,company,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "payments,tracking_categories,contact" - InvoicesListRequestExpandPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,tracking_categories,contact,company" - InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandPurchaseOrders InvoicesListRequestExpand = "purchase_orders" - InvoicesListRequestExpandPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "purchase_orders,accounting_period" - InvoicesListRequestExpandPurchaseOrdersCompany InvoicesListRequestExpand = "purchase_orders,company" - InvoicesListRequestExpandPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,company,accounting_period" - InvoicesListRequestExpandPurchaseOrdersContact InvoicesListRequestExpand = "purchase_orders,contact" - InvoicesListRequestExpandPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,accounting_period" - InvoicesListRequestExpandPurchaseOrdersContactCompany InvoicesListRequestExpand = "purchase_orders,contact,company" - InvoicesListRequestExpandPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,company,accounting_period" - InvoicesListRequestExpandTrackingCategories InvoicesListRequestExpand = "tracking_categories" - InvoicesListRequestExpandTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "tracking_categories,accounting_period" - InvoicesListRequestExpandTrackingCategoriesCompany InvoicesListRequestExpand = "tracking_categories,company" - InvoicesListRequestExpandTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,company,accounting_period" - InvoicesListRequestExpandTrackingCategoriesContact InvoicesListRequestExpand = "tracking_categories,contact" - InvoicesListRequestExpandTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,accounting_period" - InvoicesListRequestExpandTrackingCategoriesContactCompany InvoicesListRequestExpand = "tracking_categories,contact,company" - InvoicesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,company,accounting_period" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "tracking_categories,purchase_orders" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,accounting_period" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,company" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,company,accounting_period" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,accounting_period" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company" - InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandAccountingPeriod InvoicesListRequestExpand = "accounting_period" + InvoicesListRequestExpandAppliedCreditNotes InvoicesListRequestExpand = "applied_credit_notes" + InvoicesListRequestExpandAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_credit_notes,company" + InvoicesListRequestExpandAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesContact InvoicesListRequestExpand = "applied_credit_notes,contact" + InvoicesListRequestExpandAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_credit_notes,employee" + InvoicesListRequestExpandAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPayments InvoicesListRequestExpand = "applied_payments" + InvoicesListRequestExpandAppliedPaymentsAccountingPeriod InvoicesListRequestExpand = "applied_payments,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsCompany InvoicesListRequestExpand = "applied_payments,company" + InvoicesListRequestExpandAppliedPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsCompanyEmployee InvoicesListRequestExpand = "applied_payments,company,employee" + InvoicesListRequestExpandAppliedPaymentsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsContact InvoicesListRequestExpand = "applied_payments,contact" + InvoicesListRequestExpandAppliedPaymentsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsContactCompany InvoicesListRequestExpand = "applied_payments,contact,company" + InvoicesListRequestExpandAppliedPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsContactEmployee InvoicesListRequestExpand = "applied_payments,contact,employee" + InvoicesListRequestExpandAppliedPaymentsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsEmployee InvoicesListRequestExpand = "applied_payments,employee" + InvoicesListRequestExpandAppliedPaymentsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItems InvoicesListRequestExpand = "applied_payments,line_items" + InvoicesListRequestExpandAppliedPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsCompany InvoicesListRequestExpand = "applied_payments,line_items,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsContact InvoicesListRequestExpand = "applied_payments,line_items,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsEmployee InvoicesListRequestExpand = "applied_payments,line_items,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployee InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrders InvoicesListRequestExpand = "applied_payments,purchase_orders" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,purchase_orders,contact" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersEmployee InvoicesListRequestExpand = "applied_payments,purchase_orders,employee" + InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategories InvoicesListRequestExpand = "applied_payments,tracking_categories" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "applied_payments,tracking_categories,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandAppliedVendorCredits InvoicesListRequestExpand = "applied_vendor_credits" + InvoicesListRequestExpandAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsCompany InvoicesListRequestExpand = "applied_vendor_credits,company" + InvoicesListRequestExpandAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "applied_vendor_credits,company,employee" + InvoicesListRequestExpandAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsContact InvoicesListRequestExpand = "applied_vendor_credits,contact" + InvoicesListRequestExpandAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "applied_vendor_credits,contact,company" + InvoicesListRequestExpandAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "applied_vendor_credits,contact,employee" + InvoicesListRequestExpandAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandAppliedVendorCreditsEmployee InvoicesListRequestExpand = "applied_vendor_credits,employee" + InvoicesListRequestExpandAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandCompany InvoicesListRequestExpand = "company" + InvoicesListRequestExpandCompanyAccountingPeriod InvoicesListRequestExpand = "company,accounting_period" + InvoicesListRequestExpandCompanyEmployee InvoicesListRequestExpand = "company,employee" + InvoicesListRequestExpandCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "company,employee,accounting_period" + InvoicesListRequestExpandContact InvoicesListRequestExpand = "contact" + InvoicesListRequestExpandContactAccountingPeriod InvoicesListRequestExpand = "contact,accounting_period" + InvoicesListRequestExpandContactCompany InvoicesListRequestExpand = "contact,company" + InvoicesListRequestExpandContactCompanyAccountingPeriod InvoicesListRequestExpand = "contact,company,accounting_period" + InvoicesListRequestExpandContactCompanyEmployee InvoicesListRequestExpand = "contact,company,employee" + InvoicesListRequestExpandContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "contact,company,employee,accounting_period" + InvoicesListRequestExpandContactEmployee InvoicesListRequestExpand = "contact,employee" + InvoicesListRequestExpandContactEmployeeAccountingPeriod InvoicesListRequestExpand = "contact,employee,accounting_period" + InvoicesListRequestExpandEmployee InvoicesListRequestExpand = "employee" + InvoicesListRequestExpandEmployeeAccountingPeriod InvoicesListRequestExpand = "employee,accounting_period" + InvoicesListRequestExpandLineItems InvoicesListRequestExpand = "line_items" + InvoicesListRequestExpandLineItemsAccountingPeriod InvoicesListRequestExpand = "line_items,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotes InvoicesListRequestExpand = "line_items,applied_credit_notes" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesCompany InvoicesListRequestExpand = "line_items,applied_credit_notes,company" + InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,company,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContact InvoicesListRequestExpand = "line_items,applied_credit_notes,contact" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,company" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedCreditNotesEmployee InvoicesListRequestExpand = "line_items,applied_credit_notes,employee" + InvoicesListRequestExpandLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCredits InvoicesListRequestExpand = "line_items,applied_vendor_credits" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsCompany InvoicesListRequestExpand = "line_items,company" + InvoicesListRequestExpandLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,company,accounting_period" + InvoicesListRequestExpandLineItemsCompanyEmployee InvoicesListRequestExpand = "line_items,company,employee" + InvoicesListRequestExpandLineItemsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsContact InvoicesListRequestExpand = "line_items,contact" + InvoicesListRequestExpandLineItemsContactAccountingPeriod InvoicesListRequestExpand = "line_items,contact,accounting_period" + InvoicesListRequestExpandLineItemsContactCompany InvoicesListRequestExpand = "line_items,contact,company" + InvoicesListRequestExpandLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsContactCompanyEmployee InvoicesListRequestExpand = "line_items,contact,company,employee" + InvoicesListRequestExpandLineItemsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsContactEmployee InvoicesListRequestExpand = "line_items,contact,employee" + InvoicesListRequestExpandLineItemsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsEmployee InvoicesListRequestExpand = "line_items,employee" + InvoicesListRequestExpandLineItemsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrders InvoicesListRequestExpand = "line_items,purchase_orders" + InvoicesListRequestExpandLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "line_items,purchase_orders,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "line_items,purchase_orders,contact" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "line_items,purchase_orders,contact,company" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "line_items,purchase_orders,contact,company,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "line_items,purchase_orders,contact,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsPurchaseOrdersEmployee InvoicesListRequestExpand = "line_items,purchase_orders,employee" + InvoicesListRequestExpandLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategories InvoicesListRequestExpand = "line_items,tracking_categories" + InvoicesListRequestExpandLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "line_items,tracking_categories,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "line_items,tracking_categories,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesEmployee InvoicesListRequestExpand = "line_items,tracking_categories,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPayments InvoicesListRequestExpand = "payments" + InvoicesListRequestExpandPaymentsAccountingPeriod InvoicesListRequestExpand = "payments,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPayments InvoicesListRequestExpand = "payments,applied_payments" + InvoicesListRequestExpandPaymentsAppliedPaymentsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsCompany InvoicesListRequestExpand = "payments,applied_payments,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsContact InvoicesListRequestExpand = "payments,applied_payments,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompany InvoicesListRequestExpand = "payments,applied_payments,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsEmployee InvoicesListRequestExpand = "payments,applied_payments,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItems InvoicesListRequestExpand = "payments,applied_payments,line_items" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,purchase_orders" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategories InvoicesListRequestExpand = "payments,applied_payments,tracking_categories" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCredits InvoicesListRequestExpand = "payments,applied_vendor_credits" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsCompany InvoicesListRequestExpand = "payments,company" + InvoicesListRequestExpandPaymentsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,company,accounting_period" + InvoicesListRequestExpandPaymentsCompanyEmployee InvoicesListRequestExpand = "payments,company,employee" + InvoicesListRequestExpandPaymentsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsContact InvoicesListRequestExpand = "payments,contact" + InvoicesListRequestExpandPaymentsContactAccountingPeriod InvoicesListRequestExpand = "payments,contact,accounting_period" + InvoicesListRequestExpandPaymentsContactCompany InvoicesListRequestExpand = "payments,contact,company" + InvoicesListRequestExpandPaymentsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsContactCompanyEmployee InvoicesListRequestExpand = "payments,contact,company,employee" + InvoicesListRequestExpandPaymentsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsContactEmployee InvoicesListRequestExpand = "payments,contact,employee" + InvoicesListRequestExpandPaymentsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsEmployee InvoicesListRequestExpand = "payments,employee" + InvoicesListRequestExpandPaymentsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItems InvoicesListRequestExpand = "payments,line_items" + InvoicesListRequestExpandPaymentsLineItemsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotes InvoicesListRequestExpand = "payments,line_items,applied_credit_notes" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContact InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsCompany InvoicesListRequestExpand = "payments,line_items,company" + InvoicesListRequestExpandPaymentsLineItemsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,company,employee" + InvoicesListRequestExpandPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsContact InvoicesListRequestExpand = "payments,line_items,contact" + InvoicesListRequestExpandPaymentsLineItemsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsContactCompany InvoicesListRequestExpand = "payments,line_items,contact,company" + InvoicesListRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsContactEmployee InvoicesListRequestExpand = "payments,line_items,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsEmployee InvoicesListRequestExpand = "payments,line_items,employee" + InvoicesListRequestExpandPaymentsLineItemsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrders InvoicesListRequestExpand = "payments,line_items,purchase_orders" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContact InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,line_items,purchase_orders,employee" + InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategories InvoicesListRequestExpand = "payments,line_items,tracking_categories" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrders InvoicesListRequestExpand = "payments,purchase_orders" + InvoicesListRequestExpandPaymentsPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersCompany InvoicesListRequestExpand = "payments,purchase_orders,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersContact InvoicesListRequestExpand = "payments,purchase_orders,contact" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,purchase_orders,employee" + InvoicesListRequestExpandPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategories InvoicesListRequestExpand = "payments,tracking_categories" + InvoicesListRequestExpandPaymentsTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesCompany InvoicesListRequestExpand = "payments,tracking_categories,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesContact InvoicesListRequestExpand = "payments,tracking_categories,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompany InvoicesListRequestExpand = "payments,tracking_categories,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesEmployee InvoicesListRequestExpand = "payments,tracking_categories,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrders InvoicesListRequestExpand = "purchase_orders" + InvoicesListRequestExpandPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "purchase_orders,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "purchase_orders,applied_credit_notes" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersCompany InvoicesListRequestExpand = "purchase_orders,company" + InvoicesListRequestExpandPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "purchase_orders,company,employee" + InvoicesListRequestExpandPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersContact InvoicesListRequestExpand = "purchase_orders,contact" + InvoicesListRequestExpandPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,accounting_period" + InvoicesListRequestExpandPurchaseOrdersContactCompany InvoicesListRequestExpand = "purchase_orders,contact,company" + InvoicesListRequestExpandPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "purchase_orders,contact,company,employee" + InvoicesListRequestExpandPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersContactEmployee InvoicesListRequestExpand = "purchase_orders,contact,employee" + InvoicesListRequestExpandPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandPurchaseOrdersEmployee InvoicesListRequestExpand = "purchase_orders,employee" + InvoicesListRequestExpandPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "purchase_orders,employee,accounting_period" + InvoicesListRequestExpandTrackingCategories InvoicesListRequestExpand = "tracking_categories" + InvoicesListRequestExpandTrackingCategoriesAccountingPeriod InvoicesListRequestExpand = "tracking_categories,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotes InvoicesListRequestExpand = "tracking_categories,applied_credit_notes" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompany InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,company" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContact InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompany InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,company" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesEmployee InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCredits InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompany InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,company" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContact InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,company" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,employee" + InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesCompany InvoicesListRequestExpand = "tracking_categories,company" + InvoicesListRequestExpandTrackingCategoriesCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesCompanyEmployee InvoicesListRequestExpand = "tracking_categories,company,employee" + InvoicesListRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesContact InvoicesListRequestExpand = "tracking_categories,contact" + InvoicesListRequestExpandTrackingCategoriesContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesContactCompany InvoicesListRequestExpand = "tracking_categories,contact,company" + InvoicesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesContactEmployee InvoicesListRequestExpand = "tracking_categories,contact,employee" + InvoicesListRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesEmployee InvoicesListRequestExpand = "tracking_categories,employee" + InvoicesListRequestExpandTrackingCategoriesEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrders InvoicesListRequestExpand = "tracking_categories,purchase_orders" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContact InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompany InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersEmployee InvoicesListRequestExpand = "tracking_categories,purchase_orders,employee" + InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesListRequestExpand = "tracking_categories,purchase_orders,employee,accounting_period" ) func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand, error) { switch s { case "accounting_period": return InvoicesListRequestExpandAccountingPeriod, nil + case "applied_credit_notes": + return InvoicesListRequestExpandAppliedCreditNotes, nil + case "applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCredits, nil + case "applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_credit_notes,company": + return InvoicesListRequestExpandAppliedCreditNotesCompany, nil + case "applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedCreditNotesCompanyEmployee, nil + case "applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedCreditNotesContact, nil + case "applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesContactAccountingPeriod, nil + case "applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedCreditNotesContactCompany, nil + case "applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedCreditNotesContactCompanyEmployee, nil + case "applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedCreditNotesContactEmployee, nil + case "applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedCreditNotesEmployee, nil + case "applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedCreditNotesEmployeeAccountingPeriod, nil case "applied_payments": return InvoicesListRequestExpandAppliedPayments, nil case "applied_payments,accounting_period": return InvoicesListRequestExpandAppliedPaymentsAccountingPeriod, nil + case "applied_payments,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotes, nil + case "applied_payments,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompany, nil + case "applied_payments,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContact, nil + case "applied_payments,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompany, nil + case "applied_payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployee, nil + case "applied_payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesEmployee, nil + case "applied_payments,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCredits, nil + case "applied_payments,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompany, nil + case "applied_payments,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContact, nil + case "applied_payments,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompany, nil + case "applied_payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployee, nil + case "applied_payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsEmployee, nil + case "applied_payments,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,company": return InvoicesListRequestExpandAppliedPaymentsCompany, nil case "applied_payments,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsCompanyAccountingPeriod, nil + case "applied_payments,company,employee": + return InvoicesListRequestExpandAppliedPaymentsCompanyEmployee, nil + case "applied_payments,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsCompanyEmployeeAccountingPeriod, nil case "applied_payments,contact": return InvoicesListRequestExpandAppliedPaymentsContact, nil case "applied_payments,contact,accounting_period": @@ -354,14 +2357,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsContactCompany, nil case "applied_payments,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsContactCompanyAccountingPeriod, nil + case "applied_payments,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsContactCompanyEmployee, nil + case "applied_payments,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsContactEmployee, nil + case "applied_payments,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsContactEmployeeAccountingPeriod, nil + case "applied_payments,employee": + return InvoicesListRequestExpandAppliedPaymentsEmployee, nil + case "applied_payments,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsEmployeeAccountingPeriod, nil case "applied_payments,line_items": return InvoicesListRequestExpandAppliedPaymentsLineItems, nil case "applied_payments,line_items,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotes, nil + case "applied_payments,line_items,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompany, nil + case "applied_payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContact, nil + case "applied_payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCredits, nil + case "applied_payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContact, nil + case "applied_payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,company": return InvoicesListRequestExpandAppliedPaymentsLineItemsCompany, nil case "applied_payments,line_items,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod, nil + case "applied_payments,line_items,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyEmployee, nil + case "applied_payments,line_items,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,contact": return InvoicesListRequestExpandAppliedPaymentsLineItemsContact, nil case "applied_payments,line_items,contact,accounting_period": @@ -370,14 +2485,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompany, nil case "applied_payments,line_items,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyEmployee, nil + case "applied_payments,line_items,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsContactEmployee, nil + case "applied_payments,line_items,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsEmployee, nil + case "applied_payments,line_items,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrders, nil case "applied_payments,line_items,purchase_orders,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders,company": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany, nil case "applied_payments,line_items,purchase_orders,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders,contact": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact, nil case "applied_payments,line_items,purchase_orders,contact,accounting_period": @@ -386,14 +2613,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany, nil case "applied_payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "applied_payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployee, nil + case "applied_payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategories, nil case "applied_payments,line_items,tracking_categories,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,company": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany, nil case "applied_payments,line_items,tracking_categories,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,contact": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact, nil case "applied_payments,line_items,tracking_categories,contact,accounting_period": @@ -402,14 +2741,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany, nil case "applied_payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployee, nil + case "applied_payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -418,14 +2869,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrders, nil case "applied_payments,purchase_orders,accounting_period": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders,company": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompany, nil case "applied_payments,purchase_orders,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployee, nil + case "applied_payments,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders,contact": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContact, nil case "applied_payments,purchase_orders,contact,accounting_period": @@ -434,14 +2997,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompany, nil case "applied_payments,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactEmployee, nil + case "applied_payments,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,employee": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersEmployee, nil + case "applied_payments,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories": return InvoicesListRequestExpandAppliedPaymentsTrackingCategories, nil case "applied_payments,tracking_categories,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "applied_payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,company": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompany, nil case "applied_payments,tracking_categories,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployee, nil + case "applied_payments,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,contact": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContact, nil case "applied_payments,tracking_categories,contact,accounting_period": @@ -450,14 +3125,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompany, nil case "applied_payments,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactEmployee, nil + case "applied_payments,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesEmployee, nil + case "applied_payments,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders, nil case "applied_payments,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "applied_payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "applied_payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -466,10 +3253,58 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil + case "applied_vendor_credits": + return InvoicesListRequestExpandAppliedVendorCredits, nil + case "applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsAccountingPeriod, nil + case "applied_vendor_credits,company": + return InvoicesListRequestExpandAppliedVendorCreditsCompany, nil + case "applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_vendor_credits,company,employee": + return InvoicesListRequestExpandAppliedVendorCreditsCompanyEmployee, nil + case "applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_vendor_credits,contact": + return InvoicesListRequestExpandAppliedVendorCreditsContact, nil + case "applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_vendor_credits,contact,company": + return InvoicesListRequestExpandAppliedVendorCreditsContactCompany, nil + case "applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandAppliedVendorCreditsContactEmployee, nil + case "applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_vendor_credits,employee": + return InvoicesListRequestExpandAppliedVendorCreditsEmployee, nil + case "applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandAppliedVendorCreditsEmployeeAccountingPeriod, nil case "company": return InvoicesListRequestExpandCompany, nil case "company,accounting_period": return InvoicesListRequestExpandCompanyAccountingPeriod, nil + case "company,employee": + return InvoicesListRequestExpandCompanyEmployee, nil + case "company,employee,accounting_period": + return InvoicesListRequestExpandCompanyEmployeeAccountingPeriod, nil case "contact": return InvoicesListRequestExpandContact, nil case "contact,accounting_period": @@ -478,14 +3313,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandContactCompany, nil case "contact,company,accounting_period": return InvoicesListRequestExpandContactCompanyAccountingPeriod, nil + case "contact,company,employee": + return InvoicesListRequestExpandContactCompanyEmployee, nil + case "contact,company,employee,accounting_period": + return InvoicesListRequestExpandContactCompanyEmployeeAccountingPeriod, nil + case "contact,employee": + return InvoicesListRequestExpandContactEmployee, nil + case "contact,employee,accounting_period": + return InvoicesListRequestExpandContactEmployeeAccountingPeriod, nil + case "employee": + return InvoicesListRequestExpandEmployee, nil + case "employee,accounting_period": + return InvoicesListRequestExpandEmployeeAccountingPeriod, nil case "line_items": return InvoicesListRequestExpandLineItems, nil case "line_items,accounting_period": return InvoicesListRequestExpandLineItemsAccountingPeriod, nil + case "line_items,applied_credit_notes": + return InvoicesListRequestExpandLineItemsAppliedCreditNotes, nil + case "line_items,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,company": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesCompany, nil + case "line_items,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,company,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyEmployee, nil + case "line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,contact": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContact, nil + case "line_items,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,company": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompany, nil + case "line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactEmployee, nil + case "line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,employee": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesEmployee, nil + case "line_items,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsAppliedVendorCredits, nil + case "line_items,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "line_items,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompany, nil + case "line_items,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContact, nil + case "line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompany, nil + case "line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactEmployee, nil + case "line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsEmployee, nil + case "line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,company": return InvoicesListRequestExpandLineItemsCompany, nil case "line_items,company,accounting_period": return InvoicesListRequestExpandLineItemsCompanyAccountingPeriod, nil + case "line_items,company,employee": + return InvoicesListRequestExpandLineItemsCompanyEmployee, nil + case "line_items,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsCompanyEmployeeAccountingPeriod, nil case "line_items,contact": return InvoicesListRequestExpandLineItemsContact, nil case "line_items,contact,accounting_period": @@ -494,14 +3441,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandLineItemsContactCompany, nil case "line_items,contact,company,accounting_period": return InvoicesListRequestExpandLineItemsContactCompanyAccountingPeriod, nil + case "line_items,contact,company,employee": + return InvoicesListRequestExpandLineItemsContactCompanyEmployee, nil + case "line_items,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,contact,employee": + return InvoicesListRequestExpandLineItemsContactEmployee, nil + case "line_items,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsContactEmployeeAccountingPeriod, nil + case "line_items,employee": + return InvoicesListRequestExpandLineItemsEmployee, nil + case "line_items,employee,accounting_period": + return InvoicesListRequestExpandLineItemsEmployeeAccountingPeriod, nil case "line_items,purchase_orders": return InvoicesListRequestExpandLineItemsPurchaseOrders, nil case "line_items,purchase_orders,accounting_period": return InvoicesListRequestExpandLineItemsPurchaseOrdersAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,purchase_orders,company": return InvoicesListRequestExpandLineItemsPurchaseOrdersCompany, nil case "line_items,purchase_orders,company,accounting_period": return InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "line_items,purchase_orders,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyEmployee, nil + case "line_items,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "line_items,purchase_orders,contact": return InvoicesListRequestExpandLineItemsPurchaseOrdersContact, nil case "line_items,purchase_orders,contact,accounting_period": @@ -510,14 +3569,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompany, nil case "line_items,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,contact,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersContactEmployee, nil + case "line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,employee": + return InvoicesListRequestExpandLineItemsPurchaseOrdersEmployee, nil + case "line_items,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "line_items,tracking_categories": return InvoicesListRequestExpandLineItemsTrackingCategories, nil case "line_items,tracking_categories,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,tracking_categories,company": return InvoicesListRequestExpandLineItemsTrackingCategoriesCompany, nil case "line_items,tracking_categories,company,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyEmployee, nil + case "line_items,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "line_items,tracking_categories,contact": return InvoicesListRequestExpandLineItemsTrackingCategoriesContact, nil case "line_items,tracking_categories,contact,accounting_period": @@ -526,14 +3697,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompany, nil case "line_items,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesContactEmployee, nil + case "line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesEmployee, nil + case "line_items,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrders, nil case "line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -542,18 +3825,194 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments": return InvoicesListRequestExpandPayments, nil case "payments,accounting_period": return InvoicesListRequestExpandPaymentsAccountingPeriod, nil + case "payments,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedCreditNotes, nil + case "payments,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesCompany, nil + case "payments,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContact, nil + case "payments,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompany, nil + case "payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactEmployee, nil + case "payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesEmployee, nil + case "payments,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil case "payments,applied_payments": return InvoicesListRequestExpandPaymentsAppliedPayments, nil case "payments,applied_payments,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotes, nil + case "payments,applied_payments,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompany, nil + case "payments,applied_payments,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContact, nil + case "payments,applied_payments,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployee, nil + case "payments,applied_payments,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCredits, nil + case "payments,applied_payments,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompany, nil + case "payments,applied_payments,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContact, nil + case "payments,applied_payments,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsCompany, nil case "payments,applied_payments,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod, nil + case "payments,applied_payments,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyEmployee, nil + case "payments,applied_payments,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsContact, nil case "payments,applied_payments,contact,accounting_period": @@ -562,14 +4021,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompany, nil case "payments,applied_payments,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyEmployee, nil + case "payments,applied_payments,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsContactEmployee, nil + case "payments,applied_payments,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsEmployee, nil + case "payments,applied_payments,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItems, nil case "payments,applied_payments,line_items,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotes, nil + case "payments,applied_payments,line_items,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCredits, nil + case "payments,applied_payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompany, nil case "payments,applied_payments,line_items,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployee, nil + case "payments,applied_payments,line_items,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContact, nil case "payments,applied_payments,line_items,contact,accounting_period": @@ -578,14 +4149,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany, nil case "payments,applied_payments,line_items,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployee, nil + case "payments,applied_payments,line_items,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsEmployee, nil + case "payments,applied_payments,line_items,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders, nil case "payments,applied_payments,line_items,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany, nil case "payments,applied_payments,line_items,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact, nil case "payments,applied_payments,line_items,purchase_orders,contact,accounting_period": @@ -594,14 +4277,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany, nil case "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories, nil case "payments,applied_payments,line_items,tracking_categories,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany, nil case "payments,applied_payments,line_items,tracking_categories,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact, nil case "payments,applied_payments,line_items,tracking_categories,contact,accounting_period": @@ -610,14 +4405,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany, nil case "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -626,14 +4533,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrders, nil case "payments,applied_payments,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany, nil case "payments,applied_payments,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact, nil case "payments,applied_payments,purchase_orders,contact,accounting_period": @@ -642,14 +4661,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany, nil case "payments,applied_payments,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployee, nil + case "payments,applied_payments,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategories, nil case "payments,applied_payments,tracking_categories,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany, nil case "payments,applied_payments,tracking_categories,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact, nil case "payments,applied_payments,tracking_categories,contact,accounting_period": @@ -658,14 +4789,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany, nil case "payments,applied_payments,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployee, nil + case "payments,applied_payments,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployee, nil + case "payments,applied_payments,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders, nil case "payments,applied_payments,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -674,10 +4917,58 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsAppliedVendorCredits, nil + case "payments,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompany, nil + case "payments,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContact, nil + case "payments,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompany, nil + case "payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsEmployee, nil + case "payments,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,company": return InvoicesListRequestExpandPaymentsCompany, nil case "payments,company,accounting_period": return InvoicesListRequestExpandPaymentsCompanyAccountingPeriod, nil + case "payments,company,employee": + return InvoicesListRequestExpandPaymentsCompanyEmployee, nil + case "payments,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsCompanyEmployeeAccountingPeriod, nil case "payments,contact": return InvoicesListRequestExpandPaymentsContact, nil case "payments,contact,accounting_period": @@ -686,14 +4977,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsContactCompany, nil case "payments,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsContactCompanyAccountingPeriod, nil + case "payments,contact,company,employee": + return InvoicesListRequestExpandPaymentsContactCompanyEmployee, nil + case "payments,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "payments,contact,employee": + return InvoicesListRequestExpandPaymentsContactEmployee, nil + case "payments,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsContactEmployeeAccountingPeriod, nil + case "payments,employee": + return InvoicesListRequestExpandPaymentsEmployee, nil + case "payments,employee,accounting_period": + return InvoicesListRequestExpandPaymentsEmployeeAccountingPeriod, nil case "payments,line_items": return InvoicesListRequestExpandPaymentsLineItems, nil case "payments,line_items,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsAccountingPeriod, nil + case "payments,line_items,applied_credit_notes": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotes, nil + case "payments,line_items,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompany, nil + case "payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContact, nil + case "payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCredits, nil + case "payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContact, nil + case "payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,company": return InvoicesListRequestExpandPaymentsLineItemsCompany, nil case "payments,line_items,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsCompanyAccountingPeriod, nil + case "payments,line_items,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsCompanyEmployee, nil + case "payments,line_items,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "payments,line_items,contact": return InvoicesListRequestExpandPaymentsLineItemsContact, nil case "payments,line_items,contact,accounting_period": @@ -702,14 +5105,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsLineItemsContactCompany, nil case "payments,line_items,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "payments,line_items,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsContactCompanyEmployee, nil + case "payments,line_items,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsContactEmployee, nil + case "payments,line_items,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "payments,line_items,employee": + return InvoicesListRequestExpandPaymentsLineItemsEmployee, nil + case "payments,line_items,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrders, nil case "payments,line_items,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders,company": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompany, nil case "payments,line_items,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders,contact": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContact, nil case "payments,line_items,purchase_orders,contact,accounting_period": @@ -718,14 +5233,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany, nil case "payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersEmployee, nil + case "payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategories, nil case "payments,line_items,tracking_categories,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,company": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompany, nil case "payments,line_items,tracking_categories,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,contact": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContact, nil case "payments,line_items,tracking_categories,contact,accounting_period": @@ -734,14 +5361,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany, nil case "payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesEmployee, nil + case "payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -750,14 +5489,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,purchase_orders": return InvoicesListRequestExpandPaymentsPurchaseOrders, nil case "payments,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsPurchaseOrdersAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,purchase_orders,company": return InvoicesListRequestExpandPaymentsPurchaseOrdersCompany, nil case "payments,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyEmployee, nil + case "payments,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,purchase_orders,contact": return InvoicesListRequestExpandPaymentsPurchaseOrdersContact, nil case "payments,purchase_orders,contact,accounting_period": @@ -766,14 +5617,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompany, nil case "payments,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersContactEmployee, nil + case "payments,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsPurchaseOrdersEmployee, nil + case "payments,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,tracking_categories": return InvoicesListRequestExpandPaymentsTrackingCategories, nil case "payments,tracking_categories,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,tracking_categories,company": return InvoicesListRequestExpandPaymentsTrackingCategoriesCompany, nil case "payments,tracking_categories,company,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,tracking_categories,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyEmployee, nil + case "payments,tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,tracking_categories,contact": return InvoicesListRequestExpandPaymentsTrackingCategoriesContact, nil case "payments,tracking_categories,contact,accounting_period": @@ -782,14 +5745,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompany, nil case "payments,tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesContactEmployee, nil + case "payments,tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesEmployee, nil + case "payments,tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrders, nil case "payments,tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders,company": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -798,14 +5873,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "purchase_orders": return InvoicesListRequestExpandPurchaseOrders, nil case "purchase_orders,accounting_period": return InvoicesListRequestExpandPurchaseOrdersAccountingPeriod, nil + case "purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotes, nil + case "purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompany, nil + case "purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContact, nil + case "purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesEmployee, nil + case "purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCredits, nil + case "purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompany, nil + case "purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContact, nil + case "purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "purchase_orders,company": return InvoicesListRequestExpandPurchaseOrdersCompany, nil case "purchase_orders,company,accounting_period": return InvoicesListRequestExpandPurchaseOrdersCompanyAccountingPeriod, nil + case "purchase_orders,company,employee": + return InvoicesListRequestExpandPurchaseOrdersCompanyEmployee, nil + case "purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "purchase_orders,contact": return InvoicesListRequestExpandPurchaseOrdersContact, nil case "purchase_orders,contact,accounting_period": @@ -814,14 +6001,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandPurchaseOrdersContactCompany, nil case "purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandPurchaseOrdersContactCompanyAccountingPeriod, nil + case "purchase_orders,contact,company,employee": + return InvoicesListRequestExpandPurchaseOrdersContactCompanyEmployee, nil + case "purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,contact,employee": + return InvoicesListRequestExpandPurchaseOrdersContactEmployee, nil + case "purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "purchase_orders,employee": + return InvoicesListRequestExpandPurchaseOrdersEmployee, nil + case "purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandPurchaseOrdersEmployeeAccountingPeriod, nil case "tracking_categories": return InvoicesListRequestExpandTrackingCategories, nil case "tracking_categories,accounting_period": return InvoicesListRequestExpandTrackingCategoriesAccountingPeriod, nil + case "tracking_categories,applied_credit_notes": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotes, nil + case "tracking_categories,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompany, nil + case "tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContact, nil + case "tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesEmployee, nil + case "tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCredits, nil + case "tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompany, nil + case "tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContact, nil + case "tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,employee": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "tracking_categories,company": return InvoicesListRequestExpandTrackingCategoriesCompany, nil case "tracking_categories,company,accounting_period": return InvoicesListRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,company,employee": + return InvoicesListRequestExpandTrackingCategoriesCompanyEmployee, nil + case "tracking_categories,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "tracking_categories,contact": return InvoicesListRequestExpandTrackingCategoriesContact, nil case "tracking_categories,contact,accounting_period": @@ -830,14 +6129,126 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandTrackingCategoriesContactCompany, nil case "tracking_categories,contact,company,accounting_period": return InvoicesListRequestExpandTrackingCategoriesContactCompanyAccountingPeriod, nil + case "tracking_categories,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesContactCompanyEmployee, nil + case "tracking_categories,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesContactEmployee, nil + case "tracking_categories,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "tracking_categories,employee": + return InvoicesListRequestExpandTrackingCategoriesEmployee, nil + case "tracking_categories,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrders, nil case "tracking_categories,purchase_orders,accounting_period": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders,company": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompany, nil case "tracking_categories,purchase_orders,company,accounting_period": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders,contact": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContact, nil case "tracking_categories,purchase_orders,contact,accounting_period": @@ -846,6 +6257,18 @@ func NewInvoicesListRequestExpandFromString(s string) (InvoicesListRequestExpand return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompany, nil case "tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,contact,company,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,contact,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,employee": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersEmployee, nil + case "tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesListRequestExpandTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil } var t InvoicesListRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -855,6 +6278,40 @@ func (i InvoicesListRequestExpand) Ptr() *InvoicesListRequestExpand { return &i } +type InvoicesListRequestStatus string + +const ( + InvoicesListRequestStatusDraft InvoicesListRequestStatus = "DRAFT" + InvoicesListRequestStatusOpen InvoicesListRequestStatus = "OPEN" + InvoicesListRequestStatusPaid InvoicesListRequestStatus = "PAID" + InvoicesListRequestStatusPartiallyPaid InvoicesListRequestStatus = "PARTIALLY_PAID" + InvoicesListRequestStatusSubmitted InvoicesListRequestStatus = "SUBMITTED" + InvoicesListRequestStatusVoid InvoicesListRequestStatus = "VOID" +) + +func NewInvoicesListRequestStatusFromString(s string) (InvoicesListRequestStatus, error) { + switch s { + case "DRAFT": + return InvoicesListRequestStatusDraft, nil + case "OPEN": + return InvoicesListRequestStatusOpen, nil + case "PAID": + return InvoicesListRequestStatusPaid, nil + case "PARTIALLY_PAID": + return InvoicesListRequestStatusPartiallyPaid, nil + case "SUBMITTED": + return InvoicesListRequestStatusSubmitted, nil + case "VOID": + return InvoicesListRequestStatusVoid, nil + } + var t InvoicesListRequestStatus + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (i InvoicesListRequestStatus) Ptr() *InvoicesListRequestStatus { + return &i +} + type InvoicesListRequestType string const ( @@ -880,275 +6337,2231 @@ func (i InvoicesListRequestType) Ptr() *InvoicesListRequestType { type InvoicesRetrieveRequestExpand string const ( - InvoicesRetrieveRequestExpandAccountingPeriod InvoicesRetrieveRequestExpand = "accounting_period" - InvoicesRetrieveRequestExpandAppliedPayments InvoicesRetrieveRequestExpand = "applied_payments" - InvoicesRetrieveRequestExpandAppliedPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsCompany InvoicesRetrieveRequestExpand = "applied_payments,company" - InvoicesRetrieveRequestExpandAppliedPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsContact InvoicesRetrieveRequestExpand = "applied_payments,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItems InvoicesRetrieveRequestExpand = "applied_payments,line_items" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandCompany InvoicesRetrieveRequestExpand = "company" - InvoicesRetrieveRequestExpandCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "company,accounting_period" - InvoicesRetrieveRequestExpandContact InvoicesRetrieveRequestExpand = "contact" - InvoicesRetrieveRequestExpandContactAccountingPeriod InvoicesRetrieveRequestExpand = "contact,accounting_period" - InvoicesRetrieveRequestExpandContactCompany InvoicesRetrieveRequestExpand = "contact,company" - InvoicesRetrieveRequestExpandContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "contact,company,accounting_period" - InvoicesRetrieveRequestExpandLineItems InvoicesRetrieveRequestExpand = "line_items" - InvoicesRetrieveRequestExpandLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,accounting_period" - InvoicesRetrieveRequestExpandLineItemsCompany InvoicesRetrieveRequestExpand = "line_items,company" - InvoicesRetrieveRequestExpandLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsContact InvoicesRetrieveRequestExpand = "line_items,contact" - InvoicesRetrieveRequestExpandLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,accounting_period" - InvoicesRetrieveRequestExpandLineItemsContactCompany InvoicesRetrieveRequestExpand = "line_items,contact,company" - InvoicesRetrieveRequestExpandLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "line_items,purchase_orders" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "line_items,tracking_categories" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPayments InvoicesRetrieveRequestExpand = "payments" - InvoicesRetrieveRequestExpandPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPayments InvoicesRetrieveRequestExpand = "payments,applied_payments" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItems InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsCompany InvoicesRetrieveRequestExpand = "payments,company" - InvoicesRetrieveRequestExpandPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsContact InvoicesRetrieveRequestExpand = "payments,contact" - InvoicesRetrieveRequestExpandPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsContactCompany InvoicesRetrieveRequestExpand = "payments,contact,company" - InvoicesRetrieveRequestExpandPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItems InvoicesRetrieveRequestExpand = "payments,line_items" - InvoicesRetrieveRequestExpandPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "payments,line_items,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "payments,line_items,contact" - InvoicesRetrieveRequestExpandPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,contact,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "payments,tracking_categories" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,company" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandPurchaseOrders InvoicesRetrieveRequestExpand = "purchase_orders" - InvoicesRetrieveRequestExpandPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "purchase_orders,company" - InvoicesRetrieveRequestExpandPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandPurchaseOrdersContact InvoicesRetrieveRequestExpand = "purchase_orders,contact" - InvoicesRetrieveRequestExpandPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "purchase_orders,contact,company" - InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,company,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategories InvoicesRetrieveRequestExpand = "tracking_categories" - InvoicesRetrieveRequestExpandTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "tracking_categories,company" - InvoicesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,company,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesContact InvoicesRetrieveRequestExpand = "tracking_categories,contact" - InvoicesRetrieveRequestExpandTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,contact,company" - InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,company,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,accounting_period" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company" - InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAccountingPeriod InvoicesRetrieveRequestExpand = "accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPayments InvoicesRetrieveRequestExpand = "applied_payments" + InvoicesRetrieveRequestExpandAppliedPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsCompany InvoicesRetrieveRequestExpand = "applied_payments,company" + InvoicesRetrieveRequestExpandAppliedPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsContact InvoicesRetrieveRequestExpand = "applied_payments,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsEmployee InvoicesRetrieveRequestExpand = "applied_payments,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItems InvoicesRetrieveRequestExpand = "applied_payments,line_items" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCredits InvoicesRetrieveRequestExpand = "applied_vendor_credits" + InvoicesRetrieveRequestExpandAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "applied_vendor_credits,company" + InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandCompany InvoicesRetrieveRequestExpand = "company" + InvoicesRetrieveRequestExpandCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "company,accounting_period" + InvoicesRetrieveRequestExpandCompanyEmployee InvoicesRetrieveRequestExpand = "company,employee" + InvoicesRetrieveRequestExpandCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "company,employee,accounting_period" + InvoicesRetrieveRequestExpandContact InvoicesRetrieveRequestExpand = "contact" + InvoicesRetrieveRequestExpandContactAccountingPeriod InvoicesRetrieveRequestExpand = "contact,accounting_period" + InvoicesRetrieveRequestExpandContactCompany InvoicesRetrieveRequestExpand = "contact,company" + InvoicesRetrieveRequestExpandContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "contact,company,accounting_period" + InvoicesRetrieveRequestExpandContactCompanyEmployee InvoicesRetrieveRequestExpand = "contact,company,employee" + InvoicesRetrieveRequestExpandContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandContactEmployee InvoicesRetrieveRequestExpand = "contact,employee" + InvoicesRetrieveRequestExpandContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "contact,employee,accounting_period" + InvoicesRetrieveRequestExpandEmployee InvoicesRetrieveRequestExpand = "employee" + InvoicesRetrieveRequestExpandEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "employee,accounting_period" + InvoicesRetrieveRequestExpandLineItems InvoicesRetrieveRequestExpand = "line_items" + InvoicesRetrieveRequestExpandLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotes InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,company" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsCompany InvoicesRetrieveRequestExpand = "line_items,company" + InvoicesRetrieveRequestExpandLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,company,employee" + InvoicesRetrieveRequestExpandLineItemsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsContact InvoicesRetrieveRequestExpand = "line_items,contact" + InvoicesRetrieveRequestExpandLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsContactCompany InvoicesRetrieveRequestExpand = "line_items,contact,company" + InvoicesRetrieveRequestExpandLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsContactEmployee InvoicesRetrieveRequestExpand = "line_items,contact,employee" + InvoicesRetrieveRequestExpandLineItemsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsEmployee InvoicesRetrieveRequestExpand = "line_items,employee" + InvoicesRetrieveRequestExpandLineItemsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "line_items,purchase_orders" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "line_items,purchase_orders,employee" + InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "line_items,tracking_categories" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPayments InvoicesRetrieveRequestExpand = "payments" + InvoicesRetrieveRequestExpandPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPayments InvoicesRetrieveRequestExpand = "payments,applied_payments" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItems InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsCompany InvoicesRetrieveRequestExpand = "payments,company" + InvoicesRetrieveRequestExpandPaymentsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,company,employee" + InvoicesRetrieveRequestExpandPaymentsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsContact InvoicesRetrieveRequestExpand = "payments,contact" + InvoicesRetrieveRequestExpandPaymentsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsContactCompany InvoicesRetrieveRequestExpand = "payments,contact,company" + InvoicesRetrieveRequestExpandPaymentsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsContactEmployee InvoicesRetrieveRequestExpand = "payments,contact,employee" + InvoicesRetrieveRequestExpandPaymentsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsEmployee InvoicesRetrieveRequestExpand = "payments,employee" + InvoicesRetrieveRequestExpandPaymentsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItems InvoicesRetrieveRequestExpand = "payments,line_items" + InvoicesRetrieveRequestExpandPaymentsLineItemsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsCompany InvoicesRetrieveRequestExpand = "payments,line_items,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsContact InvoicesRetrieveRequestExpand = "payments,line_items,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategories InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrders InvoicesRetrieveRequestExpand = "payments,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategories InvoicesRetrieveRequestExpand = "payments,tracking_categories" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "payments,tracking_categories,purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrders InvoicesRetrieveRequestExpand = "purchase_orders" + InvoicesRetrieveRequestExpandPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "purchase_orders,company" + InvoicesRetrieveRequestExpandPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersContact InvoicesRetrieveRequestExpand = "purchase_orders,contact" + InvoicesRetrieveRequestExpandPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "purchase_orders,contact,company" + InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "purchase_orders,employee" + InvoicesRetrieveRequestExpandPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "purchase_orders,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategories InvoicesRetrieveRequestExpand = "tracking_categories" + InvoicesRetrieveRequestExpandTrackingCategoriesAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotes InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCredits InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesCompany InvoicesRetrieveRequestExpand = "tracking_categories,company" + InvoicesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesContact InvoicesRetrieveRequestExpand = "tracking_categories,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesEmployee InvoicesRetrieveRequestExpand = "tracking_categories,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrders InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotes InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCredits InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContact InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompany InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,company,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,contact,employee,accounting_period" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersEmployee InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,employee" + InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod InvoicesRetrieveRequestExpand = "tracking_categories,purchase_orders,employee,accounting_period" ) func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveRequestExpand, error) { switch s { case "accounting_period": return InvoicesRetrieveRequestExpandAccountingPeriod, nil + case "applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedCreditNotes, nil + case "applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCredits, nil + case "applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedCreditNotesCompany, nil + case "applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyEmployee, nil + case "applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContact, nil + case "applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactAccountingPeriod, nil + case "applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompany, nil + case "applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyEmployee, nil + case "applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactEmployee, nil + case "applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedCreditNotesEmployee, nil + case "applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedCreditNotesEmployeeAccountingPeriod, nil case "applied_payments": return InvoicesRetrieveRequestExpandAppliedPayments, nil case "applied_payments,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsAccountingPeriod, nil + case "applied_payments,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotes, nil + case "applied_payments,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompany, nil + case "applied_payments,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContact, nil + case "applied_payments,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompany, nil + case "applied_payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployee, nil + case "applied_payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesEmployee, nil + case "applied_payments,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCredits, nil + case "applied_payments,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompany, nil + case "applied_payments,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContact, nil + case "applied_payments,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompany, nil + case "applied_payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployee, nil + case "applied_payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsEmployee, nil + case "applied_payments,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,company": return InvoicesRetrieveRequestExpandAppliedPaymentsCompany, nil case "applied_payments,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsCompanyAccountingPeriod, nil + case "applied_payments,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsCompanyEmployee, nil + case "applied_payments,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsCompanyEmployeeAccountingPeriod, nil case "applied_payments,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsContact, nil case "applied_payments,contact,accounting_period": @@ -1157,14 +8570,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsContactCompany, nil case "applied_payments,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyAccountingPeriod, nil + case "applied_payments,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyEmployee, nil + case "applied_payments,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsContactEmployee, nil + case "applied_payments,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsContactEmployeeAccountingPeriod, nil + case "applied_payments,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsEmployee, nil + case "applied_payments,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsEmployeeAccountingPeriod, nil case "applied_payments,line_items": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItems, nil case "applied_payments,line_items,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotes, nil + case "applied_payments,line_items,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompany, nil + case "applied_payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContact, nil + case "applied_payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCredits, nil + case "applied_payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContact, nil + case "applied_payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,company": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompany, nil case "applied_payments,line_items,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyAccountingPeriod, nil + case "applied_payments,line_items,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyEmployee, nil + case "applied_payments,line_items,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContact, nil case "applied_payments,line_items,contact,accounting_period": @@ -1173,14 +8698,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompany, nil case "applied_payments,line_items,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyEmployee, nil + case "applied_payments,line_items,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactEmployee, nil + case "applied_payments,line_items,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsEmployee, nil + case "applied_payments,line_items,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrders, nil case "applied_payments,line_items,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders,company": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompany, nil case "applied_payments,line_items,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,purchase_orders,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContact, nil case "applied_payments,line_items,purchase_orders,contact,accounting_period": @@ -1189,14 +8826,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompany, nil case "applied_payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "applied_payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,purchase_orders,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployee, nil + case "applied_payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategories, nil case "applied_payments,line_items,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,company": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompany, nil case "applied_payments,line_items,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContact, nil case "applied_payments,line_items,tracking_categories,contact,accounting_period": @@ -1205,14 +8954,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompany, nil case "applied_payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployee, nil + case "applied_payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -1221,14 +9082,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrders, nil case "applied_payments,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders,company": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompany, nil case "applied_payments,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployee, nil + case "applied_payments,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,purchase_orders,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContact, nil case "applied_payments,purchase_orders,contact,accounting_period": @@ -1237,14 +9210,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompany, nil case "applied_payments,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactEmployee, nil + case "applied_payments,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,purchase_orders,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersEmployee, nil + case "applied_payments,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategories, nil case "applied_payments,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "applied_payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,company": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompany, nil case "applied_payments,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployee, nil + case "applied_payments,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContact, nil case "applied_payments,tracking_categories,contact,accounting_period": @@ -1253,14 +9338,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompany, nil case "applied_payments,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactEmployee, nil + case "applied_payments,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesEmployee, nil + case "applied_payments,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrders, nil case "applied_payments,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "applied_payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "applied_payments,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "applied_payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -1269,10 +9466,58 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "applied_payments,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "applied_payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil + case "applied_vendor_credits": + return InvoicesRetrieveRequestExpandAppliedVendorCredits, nil + case "applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsAccountingPeriod, nil + case "applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsCompany, nil + case "applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyAccountingPeriod, nil + case "applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyEmployee, nil + case "applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContact, nil + case "applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactAccountingPeriod, nil + case "applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompany, nil + case "applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyEmployee, nil + case "applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactEmployee, nil + case "applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsEmployee, nil + case "applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandAppliedVendorCreditsEmployeeAccountingPeriod, nil case "company": return InvoicesRetrieveRequestExpandCompany, nil case "company,accounting_period": return InvoicesRetrieveRequestExpandCompanyAccountingPeriod, nil + case "company,employee": + return InvoicesRetrieveRequestExpandCompanyEmployee, nil + case "company,employee,accounting_period": + return InvoicesRetrieveRequestExpandCompanyEmployeeAccountingPeriod, nil case "contact": return InvoicesRetrieveRequestExpandContact, nil case "contact,accounting_period": @@ -1281,14 +9526,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandContactCompany, nil case "contact,company,accounting_period": return InvoicesRetrieveRequestExpandContactCompanyAccountingPeriod, nil + case "contact,company,employee": + return InvoicesRetrieveRequestExpandContactCompanyEmployee, nil + case "contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandContactCompanyEmployeeAccountingPeriod, nil + case "contact,employee": + return InvoicesRetrieveRequestExpandContactEmployee, nil + case "contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandContactEmployeeAccountingPeriod, nil + case "employee": + return InvoicesRetrieveRequestExpandEmployee, nil + case "employee,accounting_period": + return InvoicesRetrieveRequestExpandEmployeeAccountingPeriod, nil case "line_items": return InvoicesRetrieveRequestExpandLineItems, nil case "line_items,accounting_period": return InvoicesRetrieveRequestExpandLineItemsAccountingPeriod, nil + case "line_items,applied_credit_notes": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotes, nil + case "line_items,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompany, nil + case "line_items,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyEmployee, nil + case "line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContact, nil + case "line_items,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompany, nil + case "line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactEmployee, nil + case "line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesEmployee, nil + case "line_items,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCredits, nil + case "line_items,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "line_items,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompany, nil + case "line_items,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContact, nil + case "line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompany, nil + case "line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactEmployee, nil + case "line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsEmployee, nil + case "line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,company": return InvoicesRetrieveRequestExpandLineItemsCompany, nil case "line_items,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsCompanyAccountingPeriod, nil + case "line_items,company,employee": + return InvoicesRetrieveRequestExpandLineItemsCompanyEmployee, nil + case "line_items,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsCompanyEmployeeAccountingPeriod, nil case "line_items,contact": return InvoicesRetrieveRequestExpandLineItemsContact, nil case "line_items,contact,accounting_period": @@ -1297,14 +9654,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandLineItemsContactCompany, nil case "line_items,contact,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsContactCompanyAccountingPeriod, nil + case "line_items,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsContactCompanyEmployee, nil + case "line_items,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsContactEmployee, nil + case "line_items,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsContactEmployeeAccountingPeriod, nil + case "line_items,employee": + return InvoicesRetrieveRequestExpandLineItemsEmployee, nil + case "line_items,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsEmployeeAccountingPeriod, nil case "line_items,purchase_orders": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrders, nil case "line_items,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,purchase_orders,company": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompany, nil case "line_items,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "line_items,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyEmployee, nil + case "line_items,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "line_items,purchase_orders,contact": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContact, nil case "line_items,purchase_orders,contact,accounting_period": @@ -1313,14 +9782,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompany, nil case "line_items,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "line_items,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactEmployee, nil + case "line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "line_items,purchase_orders,employee": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersEmployee, nil + case "line_items,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "line_items,tracking_categories": return InvoicesRetrieveRequestExpandLineItemsTrackingCategories, nil case "line_items,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,tracking_categories,company": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompany, nil case "line_items,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyEmployee, nil + case "line_items,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "line_items,tracking_categories,contact": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContact, nil case "line_items,tracking_categories,contact,accounting_period": @@ -1329,14 +9910,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompany, nil case "line_items,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactEmployee, nil + case "line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesEmployee, nil + case "line_items,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrders, nil case "line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "line_items,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -1345,18 +10038,194 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "line_items,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments": return InvoicesRetrieveRequestExpandPayments, nil case "payments,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAccountingPeriod, nil + case "payments,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotes, nil + case "payments,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompany, nil + case "payments,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContact, nil + case "payments,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompany, nil + case "payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactEmployee, nil + case "payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesEmployee, nil + case "payments,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil case "payments,applied_payments": return InvoicesRetrieveRequestExpandPaymentsAppliedPayments, nil case "payments,applied_payments,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotes, nil + case "payments,applied_payments,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompany, nil + case "payments,applied_payments,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContact, nil + case "payments,applied_payments,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployee, nil + case "payments,applied_payments,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCredits, nil + case "payments,applied_payments,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompany, nil + case "payments,applied_payments,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContact, nil + case "payments,applied_payments,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompany, nil case "payments,applied_payments,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyAccountingPeriod, nil + case "payments,applied_payments,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyEmployee, nil + case "payments,applied_payments,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContact, nil case "payments,applied_payments,contact,accounting_period": @@ -1365,14 +10234,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompany, nil case "payments,applied_payments,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyEmployee, nil + case "payments,applied_payments,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactEmployee, nil + case "payments,applied_payments,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsEmployee, nil + case "payments,applied_payments,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItems, nil case "payments,applied_payments,line_items,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotes, nil + case "payments,applied_payments,line_items,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCredits, nil + case "payments,applied_payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompany, nil case "payments,applied_payments,line_items,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployee, nil + case "payments,applied_payments,line_items,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContact, nil case "payments,applied_payments,line_items,contact,accounting_period": @@ -1381,14 +10362,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompany, nil case "payments,applied_payments,line_items,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployee, nil + case "payments,applied_payments,line_items,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsEmployee, nil + case "payments,applied_payments,line_items,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrders, nil case "payments,applied_payments,line_items,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompany, nil case "payments,applied_payments,line_items,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContact, nil case "payments,applied_payments,line_items,purchase_orders,contact,accounting_period": @@ -1397,14 +10490,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompany, nil case "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployee, nil + case "payments,applied_payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategories, nil case "payments,applied_payments,line_items,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompany, nil case "payments,applied_payments,line_items,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContact, nil case "payments,applied_payments,line_items,tracking_categories,contact,accounting_period": @@ -1413,14 +10618,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompany, nil case "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -1429,14 +10746,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrders, nil case "payments,applied_payments,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompany, nil case "payments,applied_payments,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContact, nil case "payments,applied_payments,purchase_orders,contact,accounting_period": @@ -1445,14 +10874,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompany, nil case "payments,applied_payments,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployee, nil + case "payments,applied_payments,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategories, nil case "payments,applied_payments,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompany, nil case "payments,applied_payments,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContact, nil case "payments,applied_payments,tracking_categories,contact,accounting_period": @@ -1461,14 +11002,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompany, nil case "payments,applied_payments,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployee, nil + case "payments,applied_payments,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployee, nil + case "payments,applied_payments,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrders, nil case "payments,applied_payments,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -1477,10 +11130,58 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,applied_payments,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCredits, nil + case "payments,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsAccountingPeriod, nil + case "payments,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompany, nil + case "payments,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyEmployee, nil + case "payments,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContact, nil + case "payments,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompany, nil + case "payments,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactEmployee, nil + case "payments,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsEmployee, nil + case "payments,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,company": return InvoicesRetrieveRequestExpandPaymentsCompany, nil case "payments,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsCompanyAccountingPeriod, nil + case "payments,company,employee": + return InvoicesRetrieveRequestExpandPaymentsCompanyEmployee, nil + case "payments,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsCompanyEmployeeAccountingPeriod, nil case "payments,contact": return InvoicesRetrieveRequestExpandPaymentsContact, nil case "payments,contact,accounting_period": @@ -1489,14 +11190,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsContactCompany, nil case "payments,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsContactCompanyAccountingPeriod, nil + case "payments,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsContactCompanyEmployee, nil + case "payments,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsContactCompanyEmployeeAccountingPeriod, nil + case "payments,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsContactEmployee, nil + case "payments,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsContactEmployeeAccountingPeriod, nil + case "payments,employee": + return InvoicesRetrieveRequestExpandPaymentsEmployee, nil + case "payments,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsEmployeeAccountingPeriod, nil case "payments,line_items": return InvoicesRetrieveRequestExpandPaymentsLineItems, nil case "payments,line_items,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsAccountingPeriod, nil + case "payments,line_items,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotes, nil + case "payments,line_items,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompany, nil + case "payments,line_items,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContact, nil + case "payments,line_items,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompany, nil + case "payments,line_items,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployee, nil + case "payments,line_items,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesEmployee, nil + case "payments,line_items,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCredits, nil + case "payments,line_items,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompany, nil + case "payments,line_items,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContact, nil + case "payments,line_items,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompany, nil + case "payments,line_items,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployee, nil + case "payments,line_items,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,company": return InvoicesRetrieveRequestExpandPaymentsLineItemsCompany, nil case "payments,line_items,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyAccountingPeriod, nil + case "payments,line_items,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyEmployee, nil + case "payments,line_items,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsCompanyEmployeeAccountingPeriod, nil case "payments,line_items,contact": return InvoicesRetrieveRequestExpandPaymentsLineItemsContact, nil case "payments,line_items,contact,accounting_period": @@ -1505,14 +11318,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompany, nil case "payments,line_items,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyAccountingPeriod, nil + case "payments,line_items,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyEmployee, nil + case "payments,line_items,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsContactEmployee, nil + case "payments,line_items,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsContactEmployeeAccountingPeriod, nil + case "payments,line_items,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsEmployee, nil + case "payments,line_items,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrders, nil case "payments,line_items,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotes, nil + case "payments,line_items,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCredits, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompany, nil case "payments,line_items,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployee, nil + case "payments,line_items,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,line_items,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContact, nil case "payments,line_items,purchase_orders,contact,accounting_period": @@ -1521,14 +11446,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompany, nil case "payments,line_items,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,line_items,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployee, nil + case "payments,line_items,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployee, nil + case "payments,line_items,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,line_items,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersEmployee, nil + case "payments,line_items,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategories, nil case "payments,line_items,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotes, nil + case "payments,line_items,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,company": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompany, nil case "payments,line_items,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployee, nil + case "payments,line_items,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,contact": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContact, nil case "payments,line_items,tracking_categories,contact,accounting_period": @@ -1537,14 +11574,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompany, nil case "payments,line_items,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployee, nil + case "payments,line_items,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesEmployee, nil + case "payments,line_items,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrders, nil case "payments,line_items,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,line_items,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,line_items,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContact, nil case "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period": @@ -1553,14 +11702,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,line_items,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsLineItemsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrders, nil case "payments,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotes, nil + case "payments,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCredits, nil + case "payments,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompany, nil case "payments,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyEmployee, nil + case "payments,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContact, nil case "payments,purchase_orders,contact,accounting_period": @@ -1569,14 +11830,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompany, nil case "payments,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyEmployee, nil + case "payments,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactEmployee, nil + case "payments,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersEmployee, nil + case "payments,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsPurchaseOrdersEmployeeAccountingPeriod, nil case "payments,tracking_categories": return InvoicesRetrieveRequestExpandPaymentsTrackingCategories, nil case "payments,tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotes, nil + case "payments,tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompany, nil + case "payments,tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContact, nil + case "payments,tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployee, nil + case "payments,tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCredits, nil + case "payments,tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,tracking_categories,company": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompany, nil case "payments,tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyAccountingPeriod, nil + case "payments,tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyEmployee, nil + case "payments,tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "payments,tracking_categories,contact": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContact, nil case "payments,tracking_categories,contact,accounting_period": @@ -1585,14 +11958,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompany, nil case "payments,tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyEmployee, nil + case "payments,tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactEmployee, nil + case "payments,tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesEmployee, nil + case "payments,tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrders, nil case "payments,tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompany, nil case "payments,tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "payments,tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContact, nil case "payments,tracking_categories,purchase_orders,contact,accounting_period": @@ -1601,14 +12086,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompany, nil case "payments,tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "payments,tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "payments,tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployee, nil + case "payments,tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPaymentsTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil case "purchase_orders": return InvoicesRetrieveRequestExpandPurchaseOrders, nil case "purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandPurchaseOrdersAccountingPeriod, nil + case "purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotes, nil + case "purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompany, nil + case "purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContact, nil + case "purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesEmployee, nil + case "purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCredits, nil + case "purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompany, nil + case "purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContact, nil + case "purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "purchase_orders,company": return InvoicesRetrieveRequestExpandPurchaseOrdersCompany, nil case "purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandPurchaseOrdersCompanyAccountingPeriod, nil + case "purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersCompanyEmployee, nil + case "purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "purchase_orders,contact": return InvoicesRetrieveRequestExpandPurchaseOrdersContact, nil case "purchase_orders,contact,accounting_period": @@ -1617,14 +12214,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandPurchaseOrdersContactCompany, nil case "purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyAccountingPeriod, nil + case "purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyEmployee, nil + case "purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersContactEmployee, nil + case "purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "purchase_orders,employee": + return InvoicesRetrieveRequestExpandPurchaseOrdersEmployee, nil + case "purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandPurchaseOrdersEmployeeAccountingPeriod, nil case "tracking_categories": return InvoicesRetrieveRequestExpandTrackingCategories, nil case "tracking_categories,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesAccountingPeriod, nil + case "tracking_categories,applied_credit_notes": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotes, nil + case "tracking_categories,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCredits, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContact, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompany, nil + case "tracking_categories,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContact, nil + case "tracking_categories,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompany, nil + case "tracking_categories,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployee, nil + case "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployee, nil + case "tracking_categories,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesEmployee, nil + case "tracking_categories,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedCreditNotesEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCredits, nil + case "tracking_categories,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompany, nil + case "tracking_categories,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContact, nil + case "tracking_categories,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsEmployee, nil + case "tracking_categories,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesAppliedVendorCreditsEmployeeAccountingPeriod, nil case "tracking_categories,company": return InvoicesRetrieveRequestExpandTrackingCategoriesCompany, nil case "tracking_categories,company,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesCompanyAccountingPeriod, nil + case "tracking_categories,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesCompanyEmployee, nil + case "tracking_categories,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesCompanyEmployeeAccountingPeriod, nil case "tracking_categories,contact": return InvoicesRetrieveRequestExpandTrackingCategoriesContact, nil case "tracking_categories,contact,accounting_period": @@ -1633,14 +12342,126 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandTrackingCategoriesContactCompany, nil case "tracking_categories,contact,company,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyAccountingPeriod, nil + case "tracking_categories,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployee, nil + case "tracking_categories,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesContactEmployee, nil + case "tracking_categories,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesContactEmployeeAccountingPeriod, nil + case "tracking_categories,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesEmployee, nil + case "tracking_categories,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrders, nil case "tracking_categories,purchase_orders,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotes, nil + case "tracking_categories,purchase_orders,applied_credit_notes,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCredits, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContact, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesAppliedVendorCreditsEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContact, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompany, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_credit_notes,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployee, nil + case "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedCreditNotesEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCredits, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompany, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContact, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompany, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployee, nil + case "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersAppliedVendorCreditsEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders,company": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompany, nil case "tracking_categories,purchase_orders,company,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployee, nil + case "tracking_categories,purchase_orders,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersCompanyEmployeeAccountingPeriod, nil case "tracking_categories,purchase_orders,contact": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContact, nil case "tracking_categories,purchase_orders,contact,accounting_period": @@ -1649,6 +12470,18 @@ func NewInvoicesRetrieveRequestExpandFromString(s string) (InvoicesRetrieveReque return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompany, nil case "tracking_categories,purchase_orders,contact,company,accounting_period": return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyAccountingPeriod, nil + case "tracking_categories,purchase_orders,contact,company,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployee, nil + case "tracking_categories,purchase_orders,contact,company,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactCompanyEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,contact,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactEmployee, nil + case "tracking_categories,purchase_orders,contact,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersContactEmployeeAccountingPeriod, nil + case "tracking_categories,purchase_orders,employee": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersEmployee, nil + case "tracking_categories,purchase_orders,employee,accounting_period": + return InvoicesRetrieveRequestExpandTrackingCategoriesPurchaseOrdersEmployeeAccountingPeriod, nil } var t InvoicesRetrieveRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) diff --git a/accounting/invoices/client.go b/accounting/invoices/client.go index 0d99f28..e4c43b2 100644 --- a/accounting/invoices/client.go +++ b/accounting/invoices/client.go @@ -63,6 +63,12 @@ func (c *Client) List(ctx context.Context, request *accounting.InvoicesListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IssueDateAfter != nil { queryParams.Add("issue_date_after", fmt.Sprintf("%v", request.IssueDateAfter.Format(time.RFC3339))) } @@ -75,6 +81,9 @@ func (c *Client) List(ctx context.Context, request *accounting.InvoicesListReque if request.ModifiedBefore != nil { queryParams.Add("modified_before", fmt.Sprintf("%v", request.ModifiedBefore.Format(time.RFC3339))) } + if request.Number != nil { + queryParams.Add("number", fmt.Sprintf("%v", *request.Number)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } @@ -87,6 +96,9 @@ func (c *Client) List(ctx context.Context, request *accounting.InvoicesListReque if request.ShowEnumOrigins != nil { queryParams.Add("show_enum_origins", fmt.Sprintf("%v", request.ShowEnumOrigins)) } + if request.Status != nil { + queryParams.Add("status", fmt.Sprintf("%v", *request.Status)) + } if request.Type != nil { queryParams.Add("type", fmt.Sprintf("%v", *request.Type)) } @@ -110,6 +122,7 @@ func (c *Client) List(ctx context.Context, request *accounting.InvoicesListReque } // Creates an `Invoice` object with the given values. +// Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). func (c *Client) Create(ctx context.Context, request *accounting.InvoiceEndpointRequest) (*accounting.InvoiceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -159,6 +172,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.In if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if request.RemoteFields != nil { queryParams.Add("remote_fields", fmt.Sprintf("%v", request.RemoteFields)) } @@ -219,6 +235,52 @@ func (c *Client) PartialUpdate(ctx context.Context, id string, request *accounti return response, nil } +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) LineItemsRemoteFieldClassesList(ctx context.Context, request *accounting.InvoicesLineItemsRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/invoices/line-items/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns metadata for `Invoice` PATCHs. func (c *Client) MetaPatchRetrieve(ctx context.Context, id string) (*accounting.MetaResponse, error) { baseURL := "https://api.merge.dev/api" @@ -264,3 +326,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.InvoicesRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/invoices/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/issues.go b/accounting/issues.go index fc9eceb..0f6f566 100644 --- a/accounting/issues.go +++ b/accounting/issues.go @@ -25,6 +25,8 @@ type IssuesListRequest struct { LastIncidentTimeAfter *time.Time `json:"-"` // If provided, will only return issues whose last incident time was before this datetime. LastIncidentTimeBefore *time.Time `json:"-"` + // If provided, will only include issues pertaining to the linked account passed in. + LinkedAccountId *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` // If included, will only include issues whose most recent action occurred after this time diff --git a/accounting/issues/client.go b/accounting/issues/client.go index fe8937a..507e72f 100644 --- a/accounting/issues/client.go +++ b/accounting/issues/client.go @@ -30,7 +30,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Gets issues. +// Gets all issues for Organization. func (c *Client) List(ctx context.Context, request *accounting.IssuesListRequest) (*accounting.PaginatedIssueList, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -69,6 +69,9 @@ func (c *Client) List(ctx context.Context, request *accounting.IssuesListRequest if request.LastIncidentTimeBefore != nil { queryParams.Add("last_incident_time_before", fmt.Sprintf("%v", request.LastIncidentTimeBefore.Format(time.RFC3339))) } + if request.LinkedAccountId != nil { + queryParams.Add("linked_account_id", fmt.Sprintf("%v", *request.LinkedAccountId)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } diff --git a/accounting/items.go b/accounting/items.go index 4f020c8..b4d9c56 100644 --- a/accounting/items.go +++ b/accounting/items.go @@ -18,10 +18,12 @@ type ItemsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ItemsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -50,31 +52,103 @@ type ItemsRetrieveRequest struct { type ItemsListRequestExpand string const ( - ItemsListRequestExpandCompany ItemsListRequestExpand = "company" - ItemsListRequestExpandPurchaseAccount ItemsListRequestExpand = "purchase_account" - ItemsListRequestExpandPurchaseAccountCompany ItemsListRequestExpand = "purchase_account,company" - ItemsListRequestExpandPurchaseAccountSalesAccount ItemsListRequestExpand = "purchase_account,sales_account" - ItemsListRequestExpandPurchaseAccountSalesAccountCompany ItemsListRequestExpand = "purchase_account,sales_account,company" - ItemsListRequestExpandSalesAccount ItemsListRequestExpand = "sales_account" - ItemsListRequestExpandSalesAccountCompany ItemsListRequestExpand = "sales_account,company" + ItemsListRequestExpandCompany ItemsListRequestExpand = "company" + ItemsListRequestExpandCompanyPurchaseTaxRate ItemsListRequestExpand = "company,purchase_tax_rate" + ItemsListRequestExpandCompanySalesTaxRate ItemsListRequestExpand = "company,sales_tax_rate" + ItemsListRequestExpandCompanySalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "company,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccount ItemsListRequestExpand = "purchase_account" + ItemsListRequestExpandPurchaseAccountCompany ItemsListRequestExpand = "purchase_account,company" + ItemsListRequestExpandPurchaseAccountCompanyPurchaseTaxRate ItemsListRequestExpand = "purchase_account,company,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountCompanySalesTaxRate ItemsListRequestExpand = "purchase_account,company,sales_tax_rate" + ItemsListRequestExpandPurchaseAccountCompanySalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "purchase_account,company,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountPurchaseTaxRate ItemsListRequestExpand = "purchase_account,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccount ItemsListRequestExpand = "purchase_account,sales_account" + ItemsListRequestExpandPurchaseAccountSalesAccountCompany ItemsListRequestExpand = "purchase_account,sales_account,company" + ItemsListRequestExpandPurchaseAccountSalesAccountCompanyPurchaseTaxRate ItemsListRequestExpand = "purchase_account,sales_account,company,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRate ItemsListRequestExpand = "purchase_account,sales_account,company,sales_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccountPurchaseTaxRate ItemsListRequestExpand = "purchase_account,sales_account,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccountSalesTaxRate ItemsListRequestExpand = "purchase_account,sales_account,sales_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesTaxRate ItemsListRequestExpand = "purchase_account,sales_tax_rate" + ItemsListRequestExpandPurchaseAccountSalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "purchase_account,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandPurchaseTaxRate ItemsListRequestExpand = "purchase_tax_rate" + ItemsListRequestExpandSalesAccount ItemsListRequestExpand = "sales_account" + ItemsListRequestExpandSalesAccountCompany ItemsListRequestExpand = "sales_account,company" + ItemsListRequestExpandSalesAccountCompanyPurchaseTaxRate ItemsListRequestExpand = "sales_account,company,purchase_tax_rate" + ItemsListRequestExpandSalesAccountCompanySalesTaxRate ItemsListRequestExpand = "sales_account,company,sales_tax_rate" + ItemsListRequestExpandSalesAccountCompanySalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "sales_account,company,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandSalesAccountPurchaseTaxRate ItemsListRequestExpand = "sales_account,purchase_tax_rate" + ItemsListRequestExpandSalesAccountSalesTaxRate ItemsListRequestExpand = "sales_account,sales_tax_rate" + ItemsListRequestExpandSalesAccountSalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "sales_account,sales_tax_rate,purchase_tax_rate" + ItemsListRequestExpandSalesTaxRate ItemsListRequestExpand = "sales_tax_rate" + ItemsListRequestExpandSalesTaxRatePurchaseTaxRate ItemsListRequestExpand = "sales_tax_rate,purchase_tax_rate" ) func NewItemsListRequestExpandFromString(s string) (ItemsListRequestExpand, error) { switch s { case "company": return ItemsListRequestExpandCompany, nil + case "company,purchase_tax_rate": + return ItemsListRequestExpandCompanyPurchaseTaxRate, nil + case "company,sales_tax_rate": + return ItemsListRequestExpandCompanySalesTaxRate, nil + case "company,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandCompanySalesTaxRatePurchaseTaxRate, nil case "purchase_account": return ItemsListRequestExpandPurchaseAccount, nil case "purchase_account,company": return ItemsListRequestExpandPurchaseAccountCompany, nil + case "purchase_account,company,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountCompanyPurchaseTaxRate, nil + case "purchase_account,company,sales_tax_rate": + return ItemsListRequestExpandPurchaseAccountCompanySalesTaxRate, nil + case "purchase_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "purchase_account,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountPurchaseTaxRate, nil case "purchase_account,sales_account": return ItemsListRequestExpandPurchaseAccountSalesAccount, nil case "purchase_account,sales_account,company": return ItemsListRequestExpandPurchaseAccountSalesAccountCompany, nil + case "purchase_account,sales_account,company,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountCompanyPurchaseTaxRate, nil + case "purchase_account,sales_account,company,sales_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRate, nil + case "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "purchase_account,sales_account,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountPurchaseTaxRate, nil + case "purchase_account,sales_account,sales_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountSalesTaxRate, nil + case "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate, nil + case "purchase_account,sales_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesTaxRate, nil + case "purchase_account,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandPurchaseAccountSalesTaxRatePurchaseTaxRate, nil + case "purchase_tax_rate": + return ItemsListRequestExpandPurchaseTaxRate, nil case "sales_account": return ItemsListRequestExpandSalesAccount, nil case "sales_account,company": return ItemsListRequestExpandSalesAccountCompany, nil + case "sales_account,company,purchase_tax_rate": + return ItemsListRequestExpandSalesAccountCompanyPurchaseTaxRate, nil + case "sales_account,company,sales_tax_rate": + return ItemsListRequestExpandSalesAccountCompanySalesTaxRate, nil + case "sales_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandSalesAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "sales_account,purchase_tax_rate": + return ItemsListRequestExpandSalesAccountPurchaseTaxRate, nil + case "sales_account,sales_tax_rate": + return ItemsListRequestExpandSalesAccountSalesTaxRate, nil + case "sales_account,sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandSalesAccountSalesTaxRatePurchaseTaxRate, nil + case "sales_tax_rate": + return ItemsListRequestExpandSalesTaxRate, nil + case "sales_tax_rate,purchase_tax_rate": + return ItemsListRequestExpandSalesTaxRatePurchaseTaxRate, nil } var t ItemsListRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -87,31 +161,103 @@ func (i ItemsListRequestExpand) Ptr() *ItemsListRequestExpand { type ItemsRetrieveRequestExpand string const ( - ItemsRetrieveRequestExpandCompany ItemsRetrieveRequestExpand = "company" - ItemsRetrieveRequestExpandPurchaseAccount ItemsRetrieveRequestExpand = "purchase_account" - ItemsRetrieveRequestExpandPurchaseAccountCompany ItemsRetrieveRequestExpand = "purchase_account,company" - ItemsRetrieveRequestExpandPurchaseAccountSalesAccount ItemsRetrieveRequestExpand = "purchase_account,sales_account" - ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompany ItemsRetrieveRequestExpand = "purchase_account,sales_account,company" - ItemsRetrieveRequestExpandSalesAccount ItemsRetrieveRequestExpand = "sales_account" - ItemsRetrieveRequestExpandSalesAccountCompany ItemsRetrieveRequestExpand = "sales_account,company" + ItemsRetrieveRequestExpandCompany ItemsRetrieveRequestExpand = "company" + ItemsRetrieveRequestExpandCompanyPurchaseTaxRate ItemsRetrieveRequestExpand = "company,purchase_tax_rate" + ItemsRetrieveRequestExpandCompanySalesTaxRate ItemsRetrieveRequestExpand = "company,sales_tax_rate" + ItemsRetrieveRequestExpandCompanySalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "company,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccount ItemsRetrieveRequestExpand = "purchase_account" + ItemsRetrieveRequestExpandPurchaseAccountCompany ItemsRetrieveRequestExpand = "purchase_account,company" + ItemsRetrieveRequestExpandPurchaseAccountCompanyPurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,company,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountCompanySalesTaxRate ItemsRetrieveRequestExpand = "purchase_account,company,sales_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountCompanySalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,company,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountPurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccount ItemsRetrieveRequestExpand = "purchase_account,sales_account" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompany ItemsRetrieveRequestExpand = "purchase_account,sales_account,company" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanyPurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,company,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,company,sales_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountPurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountSalesTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,sales_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_tax_rate" + ItemsRetrieveRequestExpandPurchaseAccountSalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_account,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandPurchaseTaxRate ItemsRetrieveRequestExpand = "purchase_tax_rate" + ItemsRetrieveRequestExpandSalesAccount ItemsRetrieveRequestExpand = "sales_account" + ItemsRetrieveRequestExpandSalesAccountCompany ItemsRetrieveRequestExpand = "sales_account,company" + ItemsRetrieveRequestExpandSalesAccountCompanyPurchaseTaxRate ItemsRetrieveRequestExpand = "sales_account,company,purchase_tax_rate" + ItemsRetrieveRequestExpandSalesAccountCompanySalesTaxRate ItemsRetrieveRequestExpand = "sales_account,company,sales_tax_rate" + ItemsRetrieveRequestExpandSalesAccountCompanySalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "sales_account,company,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandSalesAccountPurchaseTaxRate ItemsRetrieveRequestExpand = "sales_account,purchase_tax_rate" + ItemsRetrieveRequestExpandSalesAccountSalesTaxRate ItemsRetrieveRequestExpand = "sales_account,sales_tax_rate" + ItemsRetrieveRequestExpandSalesAccountSalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "sales_account,sales_tax_rate,purchase_tax_rate" + ItemsRetrieveRequestExpandSalesTaxRate ItemsRetrieveRequestExpand = "sales_tax_rate" + ItemsRetrieveRequestExpandSalesTaxRatePurchaseTaxRate ItemsRetrieveRequestExpand = "sales_tax_rate,purchase_tax_rate" ) func NewItemsRetrieveRequestExpandFromString(s string) (ItemsRetrieveRequestExpand, error) { switch s { case "company": return ItemsRetrieveRequestExpandCompany, nil + case "company,purchase_tax_rate": + return ItemsRetrieveRequestExpandCompanyPurchaseTaxRate, nil + case "company,sales_tax_rate": + return ItemsRetrieveRequestExpandCompanySalesTaxRate, nil + case "company,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandCompanySalesTaxRatePurchaseTaxRate, nil case "purchase_account": return ItemsRetrieveRequestExpandPurchaseAccount, nil case "purchase_account,company": return ItemsRetrieveRequestExpandPurchaseAccountCompany, nil + case "purchase_account,company,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountCompanyPurchaseTaxRate, nil + case "purchase_account,company,sales_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountCompanySalesTaxRate, nil + case "purchase_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "purchase_account,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountPurchaseTaxRate, nil case "purchase_account,sales_account": return ItemsRetrieveRequestExpandPurchaseAccountSalesAccount, nil case "purchase_account,sales_account,company": return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompany, nil + case "purchase_account,sales_account,company,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanyPurchaseTaxRate, nil + case "purchase_account,sales_account,company,sales_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRate, nil + case "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "purchase_account,sales_account,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountPurchaseTaxRate, nil + case "purchase_account,sales_account,sales_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountSalesTaxRate, nil + case "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesAccountSalesTaxRatePurchaseTaxRate, nil + case "purchase_account,sales_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesTaxRate, nil + case "purchase_account,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseAccountSalesTaxRatePurchaseTaxRate, nil + case "purchase_tax_rate": + return ItemsRetrieveRequestExpandPurchaseTaxRate, nil case "sales_account": return ItemsRetrieveRequestExpandSalesAccount, nil case "sales_account,company": return ItemsRetrieveRequestExpandSalesAccountCompany, nil + case "sales_account,company,purchase_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountCompanyPurchaseTaxRate, nil + case "sales_account,company,sales_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountCompanySalesTaxRate, nil + case "sales_account,company,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountCompanySalesTaxRatePurchaseTaxRate, nil + case "sales_account,purchase_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountPurchaseTaxRate, nil + case "sales_account,sales_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountSalesTaxRate, nil + case "sales_account,sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandSalesAccountSalesTaxRatePurchaseTaxRate, nil + case "sales_tax_rate": + return ItemsRetrieveRequestExpandSalesTaxRate, nil + case "sales_tax_rate,purchase_tax_rate": + return ItemsRetrieveRequestExpandSalesTaxRatePurchaseTaxRate, nil } var t ItemsRetrieveRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) diff --git a/accounting/items/client.go b/accounting/items/client.go index f609737..63b9e32 100644 --- a/accounting/items/client.go +++ b/accounting/items/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.ItemsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/journal_entries.go b/accounting/journal_entries.go index 9c33d56..6958c01 100644 --- a/accounting/journal_entries.go +++ b/accounting/journal_entries.go @@ -15,6 +15,21 @@ type JournalEntryEndpointRequest struct { Model *JournalEntryRequest `json:"model,omitempty"` } +type JournalEntriesLinesRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type JournalEntriesListRequest struct { // If provided, will only return journal entries for this company. CompanyId *string `json:"-"` @@ -26,10 +41,14 @@ type JournalEntriesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *JournalEntriesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -44,11 +63,28 @@ type JournalEntriesListRequest struct { TransactionDateBefore *time.Time `json:"-"` } +type JournalEntriesRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type JournalEntriesRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *JournalEntriesRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` } type JournalEntriesListRequestExpand string diff --git a/accounting/journalentries/client.go b/accounting/journalentries/client.go index 5bd0162..bd7ec36 100644 --- a/accounting/journalentries/client.go +++ b/accounting/journalentries/client.go @@ -60,6 +60,12 @@ func (c *Client) List(ctx context.Context, request *accounting.JournalEntriesLis if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -147,6 +153,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Jo if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() } @@ -166,6 +175,52 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Jo return response, nil } +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) LinesRemoteFieldClassesList(ctx context.Context, request *accounting.JournalEntriesLinesRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/journal-entries/lines/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns metadata for `JournalEntry` POSTs. func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { baseURL := "https://api.merge.dev/api" @@ -188,3 +243,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.JournalEntriesRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/journal-entries/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/link_token.go b/accounting/link_token.go index 97f6b62..d9efb1c 100644 --- a/accounting/link_token.go +++ b/accounting/link_token.go @@ -17,12 +17,19 @@ type EndUserDetailsRequest struct { LinkExpiryMins *int `json:"link_expiry_mins,omitempty"` // Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. ShouldCreateMagicLinkUrl *bool `json:"should_create_magic_link_url,omitempty"` + // Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + HideAdminMagicLink *bool `json:"hide_admin_magic_link,omitempty"` // An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/accounting/linked_accounts.go b/accounting/linked_accounts.go index a165ef0..59a15e8 100644 --- a/accounting/linked_accounts.go +++ b/accounting/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/accounting/payments.go b/accounting/payments.go index 45dbc13..1434311 100644 --- a/accounting/payments.go +++ b/accounting/payments.go @@ -15,6 +15,21 @@ type PaymentEndpointRequest struct { Model *PaymentRequest `json:"model,omitempty"` } +type PaymentsLineItemsRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type PaymentsListRequest struct { // If provided, will only return payments for this account. AccountId *string `json:"-"` @@ -30,10 +45,14 @@ type PaymentsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *PaymentsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -56,11 +75,28 @@ type PatchedPaymentEndpointRequest struct { Model *PatchedPaymentRequest `json:"model,omitempty"` } +type PaymentsRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type PaymentsRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *PaymentsRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` } type PaymentsListRequestExpand string diff --git a/accounting/payments/client.go b/accounting/payments/client.go index 9ea9b77..c65a611 100644 --- a/accounting/payments/client.go +++ b/accounting/payments/client.go @@ -66,6 +66,12 @@ func (c *Client) List(ctx context.Context, request *accounting.PaymentsListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -153,6 +159,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Pa if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() } @@ -207,6 +216,52 @@ func (c *Client) PartialUpdate(ctx context.Context, id string, request *accounti return response, nil } +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) LineItemsRemoteFieldClassesList(ctx context.Context, request *accounting.PaymentsLineItemsRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/payments/line-items/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns metadata for `Payment` PATCHs. func (c *Client) MetaPatchRetrieve(ctx context.Context, id string) (*accounting.MetaResponse, error) { baseURL := "https://api.merge.dev/api" @@ -252,3 +307,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.PaymentsRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/payments/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/purchase_orders.go b/accounting/purchase_orders.go index d027342..5da7ab0 100644 --- a/accounting/purchase_orders.go +++ b/accounting/purchase_orders.go @@ -15,6 +15,21 @@ type PurchaseOrderEndpointRequest struct { Model *PurchaseOrderRequest `json:"model,omitempty"` } +type PurchaseOrdersLineItemsRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type PurchaseOrdersListRequest struct { // If provided, will only return purchase orders for this company. CompanyId *string `json:"-"` @@ -26,10 +41,14 @@ type PurchaseOrdersListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *PurchaseOrdersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return objects created after this datetime. IssueDateAfter *time.Time `json:"-"` // If provided, will only return objects created before this datetime. @@ -48,11 +67,28 @@ type PurchaseOrdersListRequest struct { ShowEnumOrigins *string `json:"-"` } +type PurchaseOrdersRemoteFieldClassesListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // If provided, will only return remote field classes with this is_common_model_field value + IsCommonModelField *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} + type PurchaseOrdersRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *PurchaseOrdersRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + IncludeRemoteFields *bool `json:"-"` // Deprecated. Use show_enum_origins. RemoteFields *string `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) diff --git a/accounting/purchaseorders/client.go b/accounting/purchaseorders/client.go index 0a283fb..abf94e9 100644 --- a/accounting/purchaseorders/client.go +++ b/accounting/purchaseorders/client.go @@ -60,6 +60,12 @@ func (c *Client) List(ctx context.Context, request *accounting.PurchaseOrdersLis if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IssueDateAfter != nil { queryParams.Add("issue_date_after", fmt.Sprintf("%v", request.IssueDateAfter.Format(time.RFC3339))) } @@ -153,6 +159,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Pu if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeRemoteFields != nil { + queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) + } if request.RemoteFields != nil { queryParams.Add("remote_fields", fmt.Sprintf("%v", request.RemoteFields)) } @@ -178,6 +187,52 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Pu return response, nil } +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) LineItemsRemoteFieldClassesList(ctx context.Context, request *accounting.PurchaseOrdersLineItemsRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/purchase-orders/line-items/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns metadata for `PurchaseOrder` POSTs. func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { baseURL := "https://api.merge.dev/api" @@ -200,3 +255,49 @@ func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse } return response, nil } + +// Returns a list of `RemoteFieldClass` objects. +func (c *Client) RemoteFieldClassesList(ctx context.Context, request *accounting.PurchaseOrdersRemoteFieldClassesListRequest) (*accounting.PaginatedRemoteFieldClassList, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/purchase-orders/remote-field-classes" + + queryParams := make(url.Values) + if request.Cursor != nil { + queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) + } + if request.IncludeDeletedData != nil { + queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) + } + if request.IncludeRemoteData != nil { + queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) + } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } + if request.IsCommonModelField != nil { + queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) + } + if request.PageSize != nil { + queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.PaginatedRemoteFieldClassList + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/accounting/scopes/client.go b/accounting/scopes/client.go index 8ebe09c..a85e0ba 100644 --- a/accounting/scopes/client.go +++ b/accounting/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*accounting.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*accounting.CommonM return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*accounting.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*accounting.C return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *accounting.LinkedAccountCommonModelScopeDeserializerRequest) (*accounting.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/accounting/tax_rates.go b/accounting/tax_rates.go index f2c76d9..335b9e6 100644 --- a/accounting/tax_rates.go +++ b/accounting/tax_rates.go @@ -17,10 +17,12 @@ type TaxRatesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/taxrates/client.go b/accounting/taxrates/client.go index a9e5158..fe2a3f5 100644 --- a/accounting/taxrates/client.go +++ b/accounting/taxrates/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.TaxRatesListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/tracking_categories.go b/accounting/tracking_categories.go index 99d09ca..bc26f1e 100644 --- a/accounting/tracking_categories.go +++ b/accounting/tracking_categories.go @@ -17,10 +17,12 @@ type TrackingCategoriesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/trackingcategories/client.go b/accounting/trackingcategories/client.go index eba3248..c7bd929 100644 --- a/accounting/trackingcategories/client.go +++ b/accounting/trackingcategories/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.TrackingCategorie if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/transactions.go b/accounting/transactions.go index ba7dbf0..82c2b10 100644 --- a/accounting/transactions.go +++ b/accounting/transactions.go @@ -18,10 +18,12 @@ type TransactionsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *TransactionsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/transactions/client.go b/accounting/transactions/client.go index 1ac0edd..fc0f672 100644 --- a/accounting/transactions/client.go +++ b/accounting/transactions/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.TransactionsListR if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/accounting/types.go b/accounting/types.go index 0a73997..8de74e9 100644 --- a/accounting/types.go +++ b/accounting/types.go @@ -48,6 +48,22 @@ type Account struct { Classification *AccountClassification `json:"classification,omitempty"` // The account's type is a narrower and more specific grouping within the account's classification. Type *string `json:"type,omitempty"` + // Normalized account type- which is a narrower and more specific grouping within the account's classification. + // + // - `BANK` - BANK + // - `CREDIT_CARD` - CREDIT_CARD + // - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + // - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + // - `FIXED_ASSET` - FIXED_ASSET + // - `OTHER_ASSET` - OTHER_ASSET + // - `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET + // - `OTHER_EXPENSE` - OTHER_EXPENSE + // - `OTHER_INCOME` - OTHER_INCOME + // - `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD + // - `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY + // - `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY + // - `NON_POSTING` - NON_POSTING + AccountType *AccountAccountType `json:"account_type,omitempty"` // The account's status. // // - `ACTIVE` - ACTIVE @@ -371,7 +387,7 @@ type Account struct { ParentAccount *string `json:"parent_account,omitempty"` // The company the account belongs to. Company *string `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -402,6 +418,146 @@ func (a *Account) String() string { return fmt.Sprintf("%#v", a) } +// Normalized account type- which is a narrower and more specific grouping within the account's classification. +// +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +// - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE +// - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE +// - `FIXED_ASSET` - FIXED_ASSET +// - `OTHER_ASSET` - OTHER_ASSET +// - `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET +// - `OTHER_EXPENSE` - OTHER_EXPENSE +// - `OTHER_INCOME` - OTHER_INCOME +// - `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD +// - `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY +// - `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY +// - `NON_POSTING` - NON_POSTING +type AccountAccountType struct { + typeName string + AccountAccountTypeEnum AccountAccountTypeEnum + String string +} + +func NewAccountAccountTypeFromAccountAccountTypeEnum(value AccountAccountTypeEnum) *AccountAccountType { + return &AccountAccountType{typeName: "accountAccountTypeEnum", AccountAccountTypeEnum: value} +} + +func NewAccountAccountTypeFromString(value string) *AccountAccountType { + return &AccountAccountType{typeName: "string", String: value} +} + +func (a *AccountAccountType) UnmarshalJSON(data []byte) error { + var valueAccountAccountTypeEnum AccountAccountTypeEnum + if err := json.Unmarshal(data, &valueAccountAccountTypeEnum); err == nil { + a.typeName = "accountAccountTypeEnum" + a.AccountAccountTypeEnum = valueAccountAccountTypeEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AccountAccountType) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "accountAccountTypeEnum": + return json.Marshal(a.AccountAccountTypeEnum) + case "string": + return json.Marshal(a.String) + } +} + +type AccountAccountTypeVisitor interface { + VisitAccountAccountTypeEnum(AccountAccountTypeEnum) error + VisitString(string) error +} + +func (a *AccountAccountType) Accept(visitor AccountAccountTypeVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "accountAccountTypeEnum": + return visitor.VisitAccountAccountTypeEnum(a.AccountAccountTypeEnum) + case "string": + return visitor.VisitString(a.String) + } +} + +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +// - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE +// - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE +// - `FIXED_ASSET` - FIXED_ASSET +// - `OTHER_ASSET` - OTHER_ASSET +// - `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET +// - `OTHER_EXPENSE` - OTHER_EXPENSE +// - `OTHER_INCOME` - OTHER_INCOME +// - `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD +// - `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY +// - `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY +// - `NON_POSTING` - NON_POSTING +type AccountAccountTypeEnum string + +const ( + AccountAccountTypeEnumBank AccountAccountTypeEnum = "BANK" + AccountAccountTypeEnumCreditCard AccountAccountTypeEnum = "CREDIT_CARD" + AccountAccountTypeEnumAccountsPayable AccountAccountTypeEnum = "ACCOUNTS_PAYABLE" + AccountAccountTypeEnumAccountsReceivable AccountAccountTypeEnum = "ACCOUNTS_RECEIVABLE" + AccountAccountTypeEnumFixedAsset AccountAccountTypeEnum = "FIXED_ASSET" + AccountAccountTypeEnumOtherAsset AccountAccountTypeEnum = "OTHER_ASSET" + AccountAccountTypeEnumOtherCurrentAsset AccountAccountTypeEnum = "OTHER_CURRENT_ASSET" + AccountAccountTypeEnumOtherExpense AccountAccountTypeEnum = "OTHER_EXPENSE" + AccountAccountTypeEnumOtherIncome AccountAccountTypeEnum = "OTHER_INCOME" + AccountAccountTypeEnumCostOfGoodsSold AccountAccountTypeEnum = "COST_OF_GOODS_SOLD" + AccountAccountTypeEnumOtherCurrentLiability AccountAccountTypeEnum = "OTHER_CURRENT_LIABILITY" + AccountAccountTypeEnumLongTermLiability AccountAccountTypeEnum = "LONG_TERM_LIABILITY" + AccountAccountTypeEnumNonPosting AccountAccountTypeEnum = "NON_POSTING" +) + +func NewAccountAccountTypeEnumFromString(s string) (AccountAccountTypeEnum, error) { + switch s { + case "BANK": + return AccountAccountTypeEnumBank, nil + case "CREDIT_CARD": + return AccountAccountTypeEnumCreditCard, nil + case "ACCOUNTS_PAYABLE": + return AccountAccountTypeEnumAccountsPayable, nil + case "ACCOUNTS_RECEIVABLE": + return AccountAccountTypeEnumAccountsReceivable, nil + case "FIXED_ASSET": + return AccountAccountTypeEnumFixedAsset, nil + case "OTHER_ASSET": + return AccountAccountTypeEnumOtherAsset, nil + case "OTHER_CURRENT_ASSET": + return AccountAccountTypeEnumOtherCurrentAsset, nil + case "OTHER_EXPENSE": + return AccountAccountTypeEnumOtherExpense, nil + case "OTHER_INCOME": + return AccountAccountTypeEnumOtherIncome, nil + case "COST_OF_GOODS_SOLD": + return AccountAccountTypeEnumCostOfGoodsSold, nil + case "OTHER_CURRENT_LIABILITY": + return AccountAccountTypeEnumOtherCurrentLiability, nil + case "LONG_TERM_LIABILITY": + return AccountAccountTypeEnumLongTermLiability, nil + case "NON_POSTING": + return AccountAccountTypeEnumNonPosting, nil + } + var t AccountAccountTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (a AccountAccountTypeEnum) Ptr() *AccountAccountTypeEnum { + return &a +} + // The account's broadest grouping. // // - `ASSET` - ASSET @@ -775,13 +931,13 @@ func (a *AccountClassification) Accept(visitor AccountClassificationVisitor) err // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type AccountCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewAccountCurrencyFromCurrencyEnum(value CurrencyEnum) *AccountCurrency { - return &AccountCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewAccountCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *AccountCurrency { + return &AccountCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewAccountCurrencyFromString(value string) *AccountCurrency { @@ -789,10 +945,10 @@ func NewAccountCurrencyFromString(value string) *AccountCurrency { } func (a *AccountCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - a.typeName = "currencyEnum" - a.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + a.typeName = "transactionCurrencyEnum" + a.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -808,15 +964,15 @@ func (a AccountCurrency) MarshalJSON() ([]byte, error) { switch a.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "currencyEnum": - return json.Marshal(a.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(a.TransactionCurrencyEnum) case "string": return json.Marshal(a.String) } } type AccountCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -824,8 +980,8 @@ func (a *AccountCurrency) Accept(visitor AccountCurrencyVisitor) error { switch a.typeName { default: return fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "currencyEnum": - return visitor.VisitCurrencyEnum(a.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(a.TransactionCurrencyEnum) case "string": return visitor.VisitString(a.String) } @@ -844,6 +1000,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -895,6 +1053,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -961,12 +1120,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -977,6 +1138,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -989,11 +1152,13 @@ func (a AccountDetailsAndActionsStatusEnum) Ptr() *AccountDetailsAndActionsStatu type AccountIntegration struct { // Company name. Name string `json:"name"` + // Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) + AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -1063,6 +1228,22 @@ type AccountRequest struct { Classification *AccountRequestClassification `json:"classification,omitempty"` // The account's type is a narrower and more specific grouping within the account's classification. Type *string `json:"type,omitempty"` + // Normalized account type- which is a narrower and more specific grouping within the account's classification. + // + // - `BANK` - BANK + // - `CREDIT_CARD` - CREDIT_CARD + // - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE + // - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE + // - `FIXED_ASSET` - FIXED_ASSET + // - `OTHER_ASSET` - OTHER_ASSET + // - `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET + // - `OTHER_EXPENSE` - OTHER_EXPENSE + // - `OTHER_INCOME` - OTHER_INCOME + // - `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD + // - `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY + // - `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY + // - `NON_POSTING` - NON_POSTING + AccountType *AccountRequestAccountType `json:"account_type,omitempty"` // The account's status. // // - `ACTIVE` - ACTIVE @@ -1415,6 +1596,78 @@ func (a *AccountRequest) String() string { return fmt.Sprintf("%#v", a) } +// Normalized account type- which is a narrower and more specific grouping within the account's classification. +// +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +// - `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE +// - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE +// - `FIXED_ASSET` - FIXED_ASSET +// - `OTHER_ASSET` - OTHER_ASSET +// - `OTHER_CURRENT_ASSET` - OTHER_CURRENT_ASSET +// - `OTHER_EXPENSE` - OTHER_EXPENSE +// - `OTHER_INCOME` - OTHER_INCOME +// - `COST_OF_GOODS_SOLD` - COST_OF_GOODS_SOLD +// - `OTHER_CURRENT_LIABILITY` - OTHER_CURRENT_LIABILITY +// - `LONG_TERM_LIABILITY` - LONG_TERM_LIABILITY +// - `NON_POSTING` - NON_POSTING +type AccountRequestAccountType struct { + typeName string + AccountAccountTypeEnum AccountAccountTypeEnum + String string +} + +func NewAccountRequestAccountTypeFromAccountAccountTypeEnum(value AccountAccountTypeEnum) *AccountRequestAccountType { + return &AccountRequestAccountType{typeName: "accountAccountTypeEnum", AccountAccountTypeEnum: value} +} + +func NewAccountRequestAccountTypeFromString(value string) *AccountRequestAccountType { + return &AccountRequestAccountType{typeName: "string", String: value} +} + +func (a *AccountRequestAccountType) UnmarshalJSON(data []byte) error { + var valueAccountAccountTypeEnum AccountAccountTypeEnum + if err := json.Unmarshal(data, &valueAccountAccountTypeEnum); err == nil { + a.typeName = "accountAccountTypeEnum" + a.AccountAccountTypeEnum = valueAccountAccountTypeEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AccountRequestAccountType) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "accountAccountTypeEnum": + return json.Marshal(a.AccountAccountTypeEnum) + case "string": + return json.Marshal(a.String) + } +} + +type AccountRequestAccountTypeVisitor interface { + VisitAccountAccountTypeEnum(AccountAccountTypeEnum) error + VisitString(string) error +} + +func (a *AccountRequestAccountType) Accept(visitor AccountRequestAccountTypeVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "accountAccountTypeEnum": + return visitor.VisitAccountAccountTypeEnum(a.AccountAccountTypeEnum) + case "string": + return visitor.VisitString(a.String) + } +} + // The account's broadest grouping. // // - `ASSET` - ASSET @@ -1788,13 +2041,13 @@ func (a *AccountRequestClassification) Accept(visitor AccountRequestClassificati // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type AccountRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewAccountRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *AccountRequestCurrency { - return &AccountRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewAccountRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *AccountRequestCurrency { + return &AccountRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewAccountRequestCurrencyFromString(value string) *AccountRequestCurrency { @@ -1802,10 +2055,10 @@ func NewAccountRequestCurrencyFromString(value string) *AccountRequestCurrency { } func (a *AccountRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - a.typeName = "currencyEnum" - a.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + a.typeName = "transactionCurrencyEnum" + a.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -1821,15 +2074,15 @@ func (a AccountRequestCurrency) MarshalJSON() ([]byte, error) { switch a.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "currencyEnum": - return json.Marshal(a.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(a.TransactionCurrencyEnum) case "string": return json.Marshal(a.String) } } type AccountRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -1837,8 +2090,8 @@ func (a *AccountRequestCurrency) Accept(visitor AccountRequestCurrencyVisitor) e switch a.typeName { default: return fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "currencyEnum": - return visitor.VisitCurrencyEnum(a.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(a.TransactionCurrencyEnum) case "string": return visitor.VisitString(a.String) } @@ -2081,7 +2334,7 @@ type AccountingAttachment struct { FileUrl *string `json:"file_url,omitempty"` // The company the accounting attachment belongs to. Company *string `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2200,17 +2453,21 @@ func (a *AccountingAttachmentResponse) String() string { // Common models like `Invoice` and `Transaction` will have `AccountingPeriod` objects which will denote when they occurred. type AccountingPeriod struct { Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` // The datetime that this object was created by Merge. CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` + // Name of the accounting period. + Name *string `json:"name,omitempty"` + Status *AccountingPeriodStatus `json:"status,omitempty"` // Beginning date of the period StartDate *time.Time `json:"start_date,omitempty"` // End date of the period - EndDate *time.Time `json:"end_date,omitempty"` - Status *AccountingPeriodStatus `json:"status,omitempty"` - // Name of the accounting period. - Name *string `json:"name,omitempty"` + EndDate *time.Time `json:"end_date,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -2239,13 +2496,13 @@ func (a *AccountingPeriod) String() string { } type AccountingPeriodStatus struct { - typeName string - AccountingPeriodStatusEnum AccountingPeriodStatusEnum - String string + typeName string + Status895Enum Status895Enum + String string } -func NewAccountingPeriodStatusFromAccountingPeriodStatusEnum(value AccountingPeriodStatusEnum) *AccountingPeriodStatus { - return &AccountingPeriodStatus{typeName: "accountingPeriodStatusEnum", AccountingPeriodStatusEnum: value} +func NewAccountingPeriodStatusFromStatus895Enum(value Status895Enum) *AccountingPeriodStatus { + return &AccountingPeriodStatus{typeName: "status895Enum", Status895Enum: value} } func NewAccountingPeriodStatusFromString(value string) *AccountingPeriodStatus { @@ -2253,10 +2510,10 @@ func NewAccountingPeriodStatusFromString(value string) *AccountingPeriodStatus { } func (a *AccountingPeriodStatus) UnmarshalJSON(data []byte) error { - var valueAccountingPeriodStatusEnum AccountingPeriodStatusEnum - if err := json.Unmarshal(data, &valueAccountingPeriodStatusEnum); err == nil { - a.typeName = "accountingPeriodStatusEnum" - a.AccountingPeriodStatusEnum = valueAccountingPeriodStatusEnum + var valueStatus895Enum Status895Enum + if err := json.Unmarshal(data, &valueStatus895Enum); err == nil { + a.typeName = "status895Enum" + a.Status895Enum = valueStatus895Enum return nil } var valueString string @@ -2272,15 +2529,15 @@ func (a AccountingPeriodStatus) MarshalJSON() ([]byte, error) { switch a.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "accountingPeriodStatusEnum": - return json.Marshal(a.AccountingPeriodStatusEnum) + case "status895Enum": + return json.Marshal(a.Status895Enum) case "string": return json.Marshal(a.String) } } type AccountingPeriodStatusVisitor interface { - VisitAccountingPeriodStatusEnum(AccountingPeriodStatusEnum) error + VisitStatus895Enum(Status895Enum) error VisitString(string) error } @@ -2288,37 +2545,13 @@ func (a *AccountingPeriodStatus) Accept(visitor AccountingPeriodStatusVisitor) e switch a.typeName { default: return fmt.Errorf("invalid type %s in %T", a.typeName, a) - case "accountingPeriodStatusEnum": - return visitor.VisitAccountingPeriodStatusEnum(a.AccountingPeriodStatusEnum) + case "status895Enum": + return visitor.VisitStatus895Enum(a.Status895Enum) case "string": return visitor.VisitString(a.String) } } -// - `ACTIVE` - ACTIVE -// - `INACTIVE` - INACTIVE -type AccountingPeriodStatusEnum string - -const ( - AccountingPeriodStatusEnumActive AccountingPeriodStatusEnum = "ACTIVE" - AccountingPeriodStatusEnumInactive AccountingPeriodStatusEnum = "INACTIVE" -) - -func NewAccountingPeriodStatusEnumFromString(s string) (AccountingPeriodStatusEnum, error) { - switch s { - case "ACTIVE": - return AccountingPeriodStatusEnumActive, nil - case "INACTIVE": - return AccountingPeriodStatusEnumInactive, nil - } - var t AccountingPeriodStatusEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (a AccountingPeriodStatusEnum) Ptr() *AccountingPeriodStatusEnum { - return &a -} - // # The AccountingPhoneNumber Object // // ### Description @@ -3847,6 +4080,155 @@ func (a *AsyncPassthroughReciept) String() string { return fmt.Sprintf("%#v", a) } +type AsyncPostTask struct { + Status *AsyncPostTaskStatus `json:"status,omitempty"` + Result *AsyncPostTaskResult `json:"result,omitempty"` + + _rawJSON json.RawMessage +} + +func (a *AsyncPostTask) UnmarshalJSON(data []byte) error { + type unmarshaler AsyncPostTask + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *a = AsyncPostTask(value) + a._rawJSON = json.RawMessage(data) + return nil +} + +func (a *AsyncPostTask) String() string { + if len(a._rawJSON) > 0 { + if value, err := core.StringifyJSON(a._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(a); err == nil { + return value + } + return fmt.Sprintf("%#v", a) +} + +type AsyncPostTaskResult struct { + StatusCode *int `json:"status_code,omitempty"` + Response map[string]interface{} `json:"response,omitempty"` + + _rawJSON json.RawMessage +} + +func (a *AsyncPostTaskResult) UnmarshalJSON(data []byte) error { + type unmarshaler AsyncPostTaskResult + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *a = AsyncPostTaskResult(value) + a._rawJSON = json.RawMessage(data) + return nil +} + +func (a *AsyncPostTaskResult) String() string { + if len(a._rawJSON) > 0 { + if value, err := core.StringifyJSON(a._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(a); err == nil { + return value + } + return fmt.Sprintf("%#v", a) +} + +type AsyncPostTaskStatus struct { + typeName string + AsyncPostTaskStatusEnum AsyncPostTaskStatusEnum + String string +} + +func NewAsyncPostTaskStatusFromAsyncPostTaskStatusEnum(value AsyncPostTaskStatusEnum) *AsyncPostTaskStatus { + return &AsyncPostTaskStatus{typeName: "asyncPostTaskStatusEnum", AsyncPostTaskStatusEnum: value} +} + +func NewAsyncPostTaskStatusFromString(value string) *AsyncPostTaskStatus { + return &AsyncPostTaskStatus{typeName: "string", String: value} +} + +func (a *AsyncPostTaskStatus) UnmarshalJSON(data []byte) error { + var valueAsyncPostTaskStatusEnum AsyncPostTaskStatusEnum + if err := json.Unmarshal(data, &valueAsyncPostTaskStatusEnum); err == nil { + a.typeName = "asyncPostTaskStatusEnum" + a.AsyncPostTaskStatusEnum = valueAsyncPostTaskStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPostTaskStatus) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "asyncPostTaskStatusEnum": + return json.Marshal(a.AsyncPostTaskStatusEnum) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPostTaskStatusVisitor interface { + VisitAsyncPostTaskStatusEnum(AsyncPostTaskStatusEnum) error + VisitString(string) error +} + +func (a *AsyncPostTaskStatus) Accept(visitor AsyncPostTaskStatusVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "asyncPostTaskStatusEnum": + return visitor.VisitAsyncPostTaskStatusEnum(a.AsyncPostTaskStatusEnum) + case "string": + return visitor.VisitString(a.String) + } +} + +// - `QUEUED` - QUEUED +// - `IN_PROGRESS` - IN_PROGRESS +// - `COMPLETED` - COMPLETED +// - `FAILURE` - FAILURE +type AsyncPostTaskStatusEnum string + +const ( + AsyncPostTaskStatusEnumQueued AsyncPostTaskStatusEnum = "QUEUED" + AsyncPostTaskStatusEnumInProgress AsyncPostTaskStatusEnum = "IN_PROGRESS" + AsyncPostTaskStatusEnumCompleted AsyncPostTaskStatusEnum = "COMPLETED" + AsyncPostTaskStatusEnumFailure AsyncPostTaskStatusEnum = "FAILURE" +) + +func NewAsyncPostTaskStatusEnumFromString(s string) (AsyncPostTaskStatusEnum, error) { + switch s { + case "QUEUED": + return AsyncPostTaskStatusEnumQueued, nil + case "IN_PROGRESS": + return AsyncPostTaskStatusEnumInProgress, nil + case "COMPLETED": + return AsyncPostTaskStatusEnumCompleted, nil + case "FAILURE": + return AsyncPostTaskStatusEnumFailure, nil + } + var t AsyncPostTaskStatusEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (a AsyncPostTaskStatusEnum) Ptr() *AsyncPostTaskStatusEnum { + return &a +} + type AuditLogEvent struct { Id *string `json:"id,omitempty"` // The User's full name at the time of this Event occurring. @@ -3896,12 +4278,16 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK // - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK // - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK // - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + // - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED EventType *AuditLogEventEventType `json:"event_type,omitempty"` EventDescription string `json:"event_description"` CreatedAt *time.Time `json:"created_at,omitempty"` @@ -3965,12 +4351,16 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK // - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK // - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK // - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED +// - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED type AuditLogEventEventType struct { typeName string EventTypeEnum EventTypeEnum @@ -4472,7 +4862,7 @@ type BalanceSheet struct { Equity []*ReportItem `json:"equity,omitempty"` // The time that balance sheet was generated by the accounting system. RemoteGeneratedAt *time.Time `json:"remote_generated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -4870,13 +5260,13 @@ func (b *BalanceSheetCompany) Accept(visitor BalanceSheetCompanyVisitor) error { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type BalanceSheetCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewBalanceSheetCurrencyFromCurrencyEnum(value CurrencyEnum) *BalanceSheetCurrency { - return &BalanceSheetCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewBalanceSheetCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *BalanceSheetCurrency { + return &BalanceSheetCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewBalanceSheetCurrencyFromString(value string) *BalanceSheetCurrency { @@ -4884,10 +5274,10 @@ func NewBalanceSheetCurrencyFromString(value string) *BalanceSheetCurrency { } func (b *BalanceSheetCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - b.typeName = "currencyEnum" - b.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + b.typeName = "transactionCurrencyEnum" + b.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -4903,15 +5293,15 @@ func (b BalanceSheetCurrency) MarshalJSON() ([]byte, error) { switch b.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) - case "currencyEnum": - return json.Marshal(b.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(b.TransactionCurrencyEnum) case "string": return json.Marshal(b.String) } } type BalanceSheetCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -4919,23 +5309,23 @@ func (b *BalanceSheetCurrency) Accept(visitor BalanceSheetCurrencyVisitor) error switch b.typeName { default: return fmt.Errorf("invalid type %s in %T", b.typeName, b) - case "currencyEnum": - return visitor.VisitCurrencyEnum(b.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(b.TransactionCurrencyEnum) case "string": return visitor.VisitString(b.String) } } -// # The CashFlowStatement Object +// # The BankFeedAccount Object // // ### Description // -// The `CashFlowStatement` object shows operating activities, investing activities, and financing activities over a period of time (month, quarter, or year). +// The `BankFeedAccount` object represents a bank feed account, detailing various attributes including account identifiers, names, currency, and balance information. This object is central to managing and tracking bank feed accounts within the system. // // ### Usage Example // -// Fetch from the `LIST CashFlowStatements` endpoint and view a company's cash flow statements. -type CashFlowStatement struct { +// Fetch from the `GET BankFeedAccount` endpoint to view details of a bank feed account. +type BankFeedAccount struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` @@ -4943,9 +5333,17 @@ type CashFlowStatement struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The cash flow statement's name. - Name *string `json:"name,omitempty"` - // The cash flow statement's currency. + // The unique identifier of the source account from our customer’s platform. + SourceAccountId *string `json:"source_account_id,omitempty"` + // The unique identifier of the target account from the third party software. + TargetAccountId *string `json:"target_account_id,omitempty"` + // The name of the source account as stored in our customer’s platform. + SourceAccountName *string `json:"source_account_name,omitempty"` + // The human-readable account number of the source account as stored in our customer’s platform. + SourceAccountNumber *string `json:"source_account_number,omitempty"` + // The name of the target account from the third party software. + TargetAccountName *string `json:"target_account_name,omitempty"` + // The currency code of the bank feed. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -5253,112 +5651,138 @@ type CashFlowStatement struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *CashFlowStatementCurrency `json:"currency,omitempty"` - // The company the cash flow statement belongs to. - Company *CashFlowStatementCompany `json:"company,omitempty"` - // The cash flow statement's start period. - StartPeriod *time.Time `json:"start_period,omitempty"` - // The cash flow statement's end period. - EndPeriod *time.Time `json:"end_period,omitempty"` - // Cash and cash equivalents at the beginning of the cash flow statement's period. - CashAtBeginningOfPeriod *float64 `json:"cash_at_beginning_of_period,omitempty"` - // Cash and cash equivalents at the beginning of the cash flow statement's period. - CashAtEndOfPeriod *float64 `json:"cash_at_end_of_period,omitempty"` - OperatingActivities []*ReportItem `json:"operating_activities,omitempty"` - InvestingActivities []*ReportItem `json:"investing_activities,omitempty"` - FinancingActivities []*ReportItem `json:"financing_activities,omitempty"` - // The time that cash flow statement was generated by the accounting system. - RemoteGeneratedAt *time.Time `json:"remote_generated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + Currency *BankFeedAccountCurrency `json:"currency,omitempty"` + // The status of the bank feed. + // + // - `ACTIVE` - ACTIVE + // - `INACTIVE` - INACTIVE + FeedStatus *BankFeedAccountFeedStatus `json:"feed_status,omitempty"` + // The start date of the bank feed’s transactions. + FeedStartDate *time.Time `json:"feed_start_date,omitempty"` + // The current balance of funds in the source account. + SourceAccountBalance *float64 `json:"source_account_balance,omitempty"` + // The type of the account. + // + // - `BANK` - BANK + // - `CREDIT_CARD` - CREDIT_CARD + AccountType *BankFeedAccountAccountType `json:"account_type,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []map[string]interface{} `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (c *CashFlowStatement) UnmarshalJSON(data []byte) error { - type unmarshaler CashFlowStatement +func (b *BankFeedAccount) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedAccount var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = CashFlowStatement(value) - c._rawJSON = json.RawMessage(data) + *b = BankFeedAccount(value) + b._rawJSON = json.RawMessage(data) return nil } -func (c *CashFlowStatement) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (b *BankFeedAccount) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(b); err == nil { return value } - return fmt.Sprintf("%#v", c) + return fmt.Sprintf("%#v", b) } -// The company the cash flow statement belongs to. -type CashFlowStatementCompany struct { - typeName string - String string - CompanyInfo *CompanyInfo +// The type of the account. +// +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +type BankFeedAccountAccountType struct { + typeName string + BankFeedAccountAccountTypeEnum BankFeedAccountAccountTypeEnum + String string } -func NewCashFlowStatementCompanyFromString(value string) *CashFlowStatementCompany { - return &CashFlowStatementCompany{typeName: "string", String: value} +func NewBankFeedAccountAccountTypeFromBankFeedAccountAccountTypeEnum(value BankFeedAccountAccountTypeEnum) *BankFeedAccountAccountType { + return &BankFeedAccountAccountType{typeName: "bankFeedAccountAccountTypeEnum", BankFeedAccountAccountTypeEnum: value} } -func NewCashFlowStatementCompanyFromCompanyInfo(value *CompanyInfo) *CashFlowStatementCompany { - return &CashFlowStatementCompany{typeName: "companyInfo", CompanyInfo: value} +func NewBankFeedAccountAccountTypeFromString(value string) *BankFeedAccountAccountType { + return &BankFeedAccountAccountType{typeName: "string", String: value} } -func (c *CashFlowStatementCompany) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString +func (b *BankFeedAccountAccountType) UnmarshalJSON(data []byte) error { + var valueBankFeedAccountAccountTypeEnum BankFeedAccountAccountTypeEnum + if err := json.Unmarshal(data, &valueBankFeedAccountAccountTypeEnum); err == nil { + b.typeName = "bankFeedAccountAccountTypeEnum" + b.BankFeedAccountAccountTypeEnum = valueBankFeedAccountAccountTypeEnum return nil } - valueCompanyInfo := new(CompanyInfo) - if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - c.typeName = "companyInfo" - c.CompanyInfo = valueCompanyInfo + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + b.typeName = "string" + b.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c CashFlowStatementCompany) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedAccountAccountType) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "bankFeedAccountAccountTypeEnum": + return json.Marshal(b.BankFeedAccountAccountTypeEnum) case "string": - return json.Marshal(c.String) - case "companyInfo": - return json.Marshal(c.CompanyInfo) + return json.Marshal(b.String) } } -type CashFlowStatementCompanyVisitor interface { +type BankFeedAccountAccountTypeVisitor interface { + VisitBankFeedAccountAccountTypeEnum(BankFeedAccountAccountTypeEnum) error VisitString(string) error - VisitCompanyInfo(*CompanyInfo) error } -func (c *CashFlowStatementCompany) Accept(visitor CashFlowStatementCompanyVisitor) error { - switch c.typeName { +func (b *BankFeedAccountAccountType) Accept(visitor BankFeedAccountAccountTypeVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "bankFeedAccountAccountTypeEnum": + return visitor.VisitBankFeedAccountAccountTypeEnum(b.BankFeedAccountAccountTypeEnum) case "string": - return visitor.VisitString(c.String) - case "companyInfo": - return visitor.VisitCompanyInfo(c.CompanyInfo) + return visitor.VisitString(b.String) } } -// The cash flow statement's currency. +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +type BankFeedAccountAccountTypeEnum string + +const ( + BankFeedAccountAccountTypeEnumBank BankFeedAccountAccountTypeEnum = "BANK" + BankFeedAccountAccountTypeEnumCreditCard BankFeedAccountAccountTypeEnum = "CREDIT_CARD" +) + +func NewBankFeedAccountAccountTypeEnumFromString(s string) (BankFeedAccountAccountTypeEnum, error) { + switch s { + case "BANK": + return BankFeedAccountAccountTypeEnumBank, nil + case "CREDIT_CARD": + return BankFeedAccountAccountTypeEnumCreditCard, nil + } + var t BankFeedAccountAccountTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (b BankFeedAccountAccountTypeEnum) Ptr() *BankFeedAccountAccountTypeEnum { + return &b +} + +// The currency code of the bank feed. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -5666,300 +6090,145 @@ func (c *CashFlowStatementCompany) Accept(visitor CashFlowStatementCompanyVisito // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type CashFlowStatementCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type BankFeedAccountCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewCashFlowStatementCurrencyFromCurrencyEnum(value CurrencyEnum) *CashFlowStatementCurrency { - return &CashFlowStatementCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewBankFeedAccountCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *BankFeedAccountCurrency { + return &BankFeedAccountCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewCashFlowStatementCurrencyFromString(value string) *CashFlowStatementCurrency { - return &CashFlowStatementCurrency{typeName: "string", String: value} +func NewBankFeedAccountCurrencyFromString(value string) *BankFeedAccountCurrency { + return &BankFeedAccountCurrency{typeName: "string", String: value} } -func (c *CashFlowStatementCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - c.typeName = "currencyEnum" - c.CurrencyEnum = valueCurrencyEnum +func (b *BankFeedAccountCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + b.typeName = "transactionCurrencyEnum" + b.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + b.typeName = "string" + b.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c CashFlowStatementCurrency) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedAccountCurrency) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return json.Marshal(c.CurrencyEnum) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "transactionCurrencyEnum": + return json.Marshal(b.TransactionCurrencyEnum) case "string": - return json.Marshal(c.String) + return json.Marshal(b.String) } } -type CashFlowStatementCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type BankFeedAccountCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (c *CashFlowStatementCurrency) Accept(visitor CashFlowStatementCurrencyVisitor) error { - switch c.typeName { +func (b *BankFeedAccountCurrency) Accept(visitor BankFeedAccountCurrencyVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return visitor.VisitCurrencyEnum(c.CurrencyEnum) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(b.TransactionCurrencyEnum) case "string": - return visitor.VisitString(c.String) - } -} - -// - `hris` - hris -// - `ats` - ats -// - `accounting` - accounting -// - `ticketing` - ticketing -// - `crm` - crm -// - `mktg` - mktg -// - `filestorage` - filestorage -type CategoriesEnum string - -const ( - CategoriesEnumHris CategoriesEnum = "hris" - CategoriesEnumAts CategoriesEnum = "ats" - CategoriesEnumAccounting CategoriesEnum = "accounting" - CategoriesEnumTicketing CategoriesEnum = "ticketing" - CategoriesEnumCrm CategoriesEnum = "crm" - CategoriesEnumMktg CategoriesEnum = "mktg" - CategoriesEnumFilestorage CategoriesEnum = "filestorage" -) - -func NewCategoriesEnumFromString(s string) (CategoriesEnum, error) { - switch s { - case "hris": - return CategoriesEnumHris, nil - case "ats": - return CategoriesEnumAts, nil - case "accounting": - return CategoriesEnumAccounting, nil - case "ticketing": - return CategoriesEnumTicketing, nil - case "crm": - return CategoriesEnumCrm, nil - case "mktg": - return CategoriesEnumMktg, nil - case "filestorage": - return CategoriesEnumFilestorage, nil - } - var t CategoriesEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (c CategoriesEnum) Ptr() *CategoriesEnum { - return &c -} - -// - `hris` - hris -// - `ats` - ats -// - `accounting` - accounting -// - `ticketing` - ticketing -// - `crm` - crm -// - `mktg` - mktg -// - `filestorage` - filestorage -type CategoryEnum string - -const ( - CategoryEnumHris CategoryEnum = "hris" - CategoryEnumAts CategoryEnum = "ats" - CategoryEnumAccounting CategoryEnum = "accounting" - CategoryEnumTicketing CategoryEnum = "ticketing" - CategoryEnumCrm CategoryEnum = "crm" - CategoryEnumMktg CategoryEnum = "mktg" - CategoryEnumFilestorage CategoryEnum = "filestorage" -) - -func NewCategoryEnumFromString(s string) (CategoryEnum, error) { - switch s { - case "hris": - return CategoryEnumHris, nil - case "ats": - return CategoryEnumAts, nil - case "accounting": - return CategoryEnumAccounting, nil - case "ticketing": - return CategoryEnumTicketing, nil - case "crm": - return CategoryEnumCrm, nil - case "mktg": - return CategoryEnumMktg, nil - case "filestorage": - return CategoryEnumFilestorage, nil + return visitor.VisitString(b.String) } - var t CategoryEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (c CategoryEnum) Ptr() *CategoryEnum { - return &c +// The status of the bank feed. +// +// - `ACTIVE` - ACTIVE +// - `INACTIVE` - INACTIVE +type BankFeedAccountFeedStatus struct { + typeName string + FeedStatusEnum FeedStatusEnum + String string } -// - `CLASS` - CLASS -// - `DEPARTMENT` - DEPARTMENT -type CategoryTypeEnum string - -const ( - CategoryTypeEnumClass CategoryTypeEnum = "CLASS" - CategoryTypeEnumDepartment CategoryTypeEnum = "DEPARTMENT" -) - -func NewCategoryTypeEnumFromString(s string) (CategoryTypeEnum, error) { - switch s { - case "CLASS": - return CategoryTypeEnumClass, nil - case "DEPARTMENT": - return CategoryTypeEnumDepartment, nil - } - var t CategoryTypeEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +func NewBankFeedAccountFeedStatusFromFeedStatusEnum(value FeedStatusEnum) *BankFeedAccountFeedStatus { + return &BankFeedAccountFeedStatus{typeName: "feedStatusEnum", FeedStatusEnum: value} } -func (c CategoryTypeEnum) Ptr() *CategoryTypeEnum { - return &c +func NewBankFeedAccountFeedStatusFromString(value string) *BankFeedAccountFeedStatus { + return &BankFeedAccountFeedStatus{typeName: "string", String: value} } -// - `ASSET` - ASSET -// - `EQUITY` - EQUITY -// - `EXPENSE` - EXPENSE -// - `LIABILITY` - LIABILITY -// - `REVENUE` - REVENUE -type ClassificationEnum string - -const ( - ClassificationEnumAsset ClassificationEnum = "ASSET" - ClassificationEnumEquity ClassificationEnum = "EQUITY" - ClassificationEnumExpense ClassificationEnum = "EXPENSE" - ClassificationEnumLiability ClassificationEnum = "LIABILITY" - ClassificationEnumRevenue ClassificationEnum = "REVENUE" -) - -func NewClassificationEnumFromString(s string) (ClassificationEnum, error) { - switch s { - case "ASSET": - return ClassificationEnumAsset, nil - case "EQUITY": - return ClassificationEnumEquity, nil - case "EXPENSE": - return ClassificationEnumExpense, nil - case "LIABILITY": - return ClassificationEnumLiability, nil - case "REVENUE": - return ClassificationEnumRevenue, nil +func (b *BankFeedAccountFeedStatus) UnmarshalJSON(data []byte) error { + var valueFeedStatusEnum FeedStatusEnum + if err := json.Unmarshal(data, &valueFeedStatusEnum); err == nil { + b.typeName = "feedStatusEnum" + b.FeedStatusEnum = valueFeedStatusEnum + return nil } - var t ClassificationEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (c ClassificationEnum) Ptr() *ClassificationEnum { - return &c -} - -type CommonModelScopeApi struct { - // The common models you want to update the scopes for - CommonModels []*IndividualCommonModelScopeDeserializer `json:"common_models,omitempty"` - - _rawJSON json.RawMessage -} - -func (c *CommonModelScopeApi) UnmarshalJSON(data []byte) error { - type unmarshaler CommonModelScopeApi - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + b.typeName = "string" + b.String = valueString + return nil } - *c = CommonModelScopeApi(value) - c._rawJSON = json.RawMessage(data) - return nil + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c *CommonModelScopeApi) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(c); err == nil { - return value +func (b BankFeedAccountFeedStatus) MarshalJSON() ([]byte, error) { + switch b.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "feedStatusEnum": + return json.Marshal(b.FeedStatusEnum) + case "string": + return json.Marshal(b.String) } - return fmt.Sprintf("%#v", c) -} - -type CommonModelScopesBodyRequest struct { - ModelId string `json:"model_id"` - EnabledActions []EnabledActionsEnum `json:"enabled_actions,omitempty"` - DisabledFields []string `json:"disabled_fields,omitempty"` - - _rawJSON json.RawMessage } -func (c *CommonModelScopesBodyRequest) UnmarshalJSON(data []byte) error { - type unmarshaler CommonModelScopesBodyRequest - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *c = CommonModelScopesBodyRequest(value) - c._rawJSON = json.RawMessage(data) - return nil +type BankFeedAccountFeedStatusVisitor interface { + VisitFeedStatusEnum(FeedStatusEnum) error + VisitString(string) error } -func (c *CommonModelScopesBodyRequest) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(c); err == nil { - return value +func (b *BankFeedAccountFeedStatus) Accept(visitor BankFeedAccountFeedStatusVisitor) error { + switch b.typeName { + default: + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "feedStatusEnum": + return visitor.VisitFeedStatusEnum(b.FeedStatusEnum) + case "string": + return visitor.VisitString(b.String) } - return fmt.Sprintf("%#v", c) } -// # The CompanyInfo Object +// # The BankFeedAccount Object // // ### Description // -// The `CompanyInfo` object contains information about the company of the linked account. If the company has multiple entities (also known as subsidiaries), each entity may show up as a single `CompanyInfo` record. +// The `BankFeedAccount` object represents a bank feed account, detailing various attributes including account identifiers, names, currency, and balance information. This object is central to managing and tracking bank feed accounts within the system. // // ### Usage Example // -// Fetch from the `GET CompanyInfo` endpoint and view a company's information. -type CompanyInfo struct { - Id *string `json:"id,omitempty"` - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The company's name. - Name *string `json:"name,omitempty"` - // The company's legal name. - LegalName *string `json:"legal_name,omitempty"` - // The company's tax number. - TaxNumber *string `json:"tax_number,omitempty"` - // The company's fiscal year end month. - FiscalYearEndMonth *int `json:"fiscal_year_end_month,omitempty"` - // The company's fiscal year end day. - FiscalYearEndDay *int `json:"fiscal_year_end_day,omitempty"` - // The currency set in the company's accounting platform. +// Fetch from the `GET BankFeedAccount` endpoint to view details of a bank feed account. +type BankFeedAccountRequest struct { + // The unique identifier of the source account from our customer’s platform. + SourceAccountId *string `json:"source_account_id,omitempty"` + // The unique identifier of the target account from the third party software. + TargetAccountId *string `json:"target_account_id,omitempty"` + // The name of the source account as stored in our customer’s platform. + SourceAccountName *string `json:"source_account_name,omitempty"` + // The human-readable account number of the source account as stored in our customer’s platform. + SourceAccountNumber *string `json:"source_account_number,omitempty"` + // The name of the target account from the third party software. + TargetAccountName *string `json:"target_account_name,omitempty"` + // The currency code of the bank feed. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -6267,45 +6536,112 @@ type CompanyInfo struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *CompanyInfoCurrency `json:"currency,omitempty"` - // When the third party's company was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` - // The company's urls. - Urls []*string `json:"urls,omitempty"` - Addresses []*Address `json:"addresses,omitempty"` - PhoneNumbers []*AccountingPhoneNumber `json:"phone_numbers,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + Currency *BankFeedAccountRequestCurrency `json:"currency,omitempty"` + // The status of the bank feed. + // + // - `ACTIVE` - ACTIVE + // - `INACTIVE` - INACTIVE + FeedStatus *BankFeedAccountRequestFeedStatus `json:"feed_status,omitempty"` + // The start date of the bank feed’s transactions. + FeedStartDate *time.Time `json:"feed_start_date,omitempty"` + // The current balance of funds in the source account. + SourceAccountBalance *float64 `json:"source_account_balance,omitempty"` + // The type of the account. + // + // - `BANK` - BANK + // - `CREDIT_CARD` - CREDIT_CARD + AccountType *BankFeedAccountRequestAccountType `json:"account_type,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` _rawJSON json.RawMessage } -func (c *CompanyInfo) UnmarshalJSON(data []byte) error { - type unmarshaler CompanyInfo +func (b *BankFeedAccountRequest) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedAccountRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = CompanyInfo(value) - c._rawJSON = json.RawMessage(data) + *b = BankFeedAccountRequest(value) + b._rawJSON = json.RawMessage(data) return nil } -func (c *CompanyInfo) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (b *BankFeedAccountRequest) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(b); err == nil { return value } - return fmt.Sprintf("%#v", c) + return fmt.Sprintf("%#v", b) } -// The currency set in the company's accounting platform. +// The type of the account. +// +// - `BANK` - BANK +// - `CREDIT_CARD` - CREDIT_CARD +type BankFeedAccountRequestAccountType struct { + typeName string + BankFeedAccountAccountTypeEnum BankFeedAccountAccountTypeEnum + String string +} + +func NewBankFeedAccountRequestAccountTypeFromBankFeedAccountAccountTypeEnum(value BankFeedAccountAccountTypeEnum) *BankFeedAccountRequestAccountType { + return &BankFeedAccountRequestAccountType{typeName: "bankFeedAccountAccountTypeEnum", BankFeedAccountAccountTypeEnum: value} +} + +func NewBankFeedAccountRequestAccountTypeFromString(value string) *BankFeedAccountRequestAccountType { + return &BankFeedAccountRequestAccountType{typeName: "string", String: value} +} + +func (b *BankFeedAccountRequestAccountType) UnmarshalJSON(data []byte) error { + var valueBankFeedAccountAccountTypeEnum BankFeedAccountAccountTypeEnum + if err := json.Unmarshal(data, &valueBankFeedAccountAccountTypeEnum); err == nil { + b.typeName = "bankFeedAccountAccountTypeEnum" + b.BankFeedAccountAccountTypeEnum = valueBankFeedAccountAccountTypeEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + b.typeName = "string" + b.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) +} + +func (b BankFeedAccountRequestAccountType) MarshalJSON() ([]byte, error) { + switch b.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "bankFeedAccountAccountTypeEnum": + return json.Marshal(b.BankFeedAccountAccountTypeEnum) + case "string": + return json.Marshal(b.String) + } +} + +type BankFeedAccountRequestAccountTypeVisitor interface { + VisitBankFeedAccountAccountTypeEnum(BankFeedAccountAccountTypeEnum) error + VisitString(string) error +} + +func (b *BankFeedAccountRequestAccountType) Accept(visitor BankFeedAccountRequestAccountTypeVisitor) error { + switch b.typeName { + default: + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "bankFeedAccountAccountTypeEnum": + return visitor.VisitBankFeedAccountAccountTypeEnum(b.BankFeedAccountAccountTypeEnum) + case "string": + return visitor.VisitString(b.String) + } +} + +// The currency code of the bank feed. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -6613,76 +6949,166 @@ func (c *CompanyInfo) String() string { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type CompanyInfoCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type BankFeedAccountRequestCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewCompanyInfoCurrencyFromCurrencyEnum(value CurrencyEnum) *CompanyInfoCurrency { - return &CompanyInfoCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewBankFeedAccountRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *BankFeedAccountRequestCurrency { + return &BankFeedAccountRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewCompanyInfoCurrencyFromString(value string) *CompanyInfoCurrency { - return &CompanyInfoCurrency{typeName: "string", String: value} +func NewBankFeedAccountRequestCurrencyFromString(value string) *BankFeedAccountRequestCurrency { + return &BankFeedAccountRequestCurrency{typeName: "string", String: value} } -func (c *CompanyInfoCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - c.typeName = "currencyEnum" - c.CurrencyEnum = valueCurrencyEnum +func (b *BankFeedAccountRequestCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + b.typeName = "transactionCurrencyEnum" + b.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + b.typeName = "string" + b.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c CompanyInfoCurrency) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedAccountRequestCurrency) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return json.Marshal(c.CurrencyEnum) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "transactionCurrencyEnum": + return json.Marshal(b.TransactionCurrencyEnum) case "string": - return json.Marshal(c.String) + return json.Marshal(b.String) } } -type CompanyInfoCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type BankFeedAccountRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (c *CompanyInfoCurrency) Accept(visitor CompanyInfoCurrencyVisitor) error { - switch c.typeName { +func (b *BankFeedAccountRequestCurrency) Accept(visitor BankFeedAccountRequestCurrencyVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return visitor.VisitCurrencyEnum(c.CurrencyEnum) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(b.TransactionCurrencyEnum) case "string": - return visitor.VisitString(c.String) + return visitor.VisitString(b.String) } } -// # The Contact Object +// The status of the bank feed. // -// ### Description +// - `ACTIVE` - ACTIVE +// - `INACTIVE` - INACTIVE +type BankFeedAccountRequestFeedStatus struct { + typeName string + FeedStatusEnum FeedStatusEnum + String string +} + +func NewBankFeedAccountRequestFeedStatusFromFeedStatusEnum(value FeedStatusEnum) *BankFeedAccountRequestFeedStatus { + return &BankFeedAccountRequestFeedStatus{typeName: "feedStatusEnum", FeedStatusEnum: value} +} + +func NewBankFeedAccountRequestFeedStatusFromString(value string) *BankFeedAccountRequestFeedStatus { + return &BankFeedAccountRequestFeedStatus{typeName: "string", String: value} +} + +func (b *BankFeedAccountRequestFeedStatus) UnmarshalJSON(data []byte) error { + var valueFeedStatusEnum FeedStatusEnum + if err := json.Unmarshal(data, &valueFeedStatusEnum); err == nil { + b.typeName = "feedStatusEnum" + b.FeedStatusEnum = valueFeedStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + b.typeName = "string" + b.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) +} + +func (b BankFeedAccountRequestFeedStatus) MarshalJSON() ([]byte, error) { + switch b.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "feedStatusEnum": + return json.Marshal(b.FeedStatusEnum) + case "string": + return json.Marshal(b.String) + } +} + +type BankFeedAccountRequestFeedStatusVisitor interface { + VisitFeedStatusEnum(FeedStatusEnum) error + VisitString(string) error +} + +func (b *BankFeedAccountRequestFeedStatus) Accept(visitor BankFeedAccountRequestFeedStatusVisitor) error { + switch b.typeName { + default: + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "feedStatusEnum": + return visitor.VisitFeedStatusEnum(b.FeedStatusEnum) + case "string": + return visitor.VisitString(b.String) + } +} + +type BankFeedAccountResponse struct { + Model *BankFeedAccount `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (b *BankFeedAccountResponse) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedAccountResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *b = BankFeedAccountResponse(value) + b._rawJSON = json.RawMessage(data) + return nil +} + +func (b *BankFeedAccountResponse) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(b); err == nil { + return value + } + return fmt.Sprintf("%#v", b) +} + +// # The BankFeedTransaction Object // -// A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. +// ### Description // -// - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. -// - A `Contact` is a customer if the `is_customer` property is true. +// The `BankFeedTransaction` object is used to represent transactions linked to a bank feed account. This includes details about the transaction such as the date, amount, description, and type. // // ### Usage Example // -// Fetch from the `LIST Contacts` endpoint and view a company's contacts. -type Contact struct { +// Fetch from the `GET BankFeedTransaction` endpoint to view details of a transaction associated with a bank feed account. +type BankFeedTransaction struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` @@ -6690,304 +7116,358 @@ type Contact struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The contact's name. - Name *string `json:"name,omitempty"` - // Whether the contact is a supplier. - IsSupplier *bool `json:"is_supplier,omitempty"` - // Whether the contact is a customer. - IsCustomer *bool `json:"is_customer,omitempty"` - // The contact's email address. - EmailAddress *string `json:"email_address,omitempty"` - // The contact's tax number. - TaxNumber *string `json:"tax_number,omitempty"` - // The contact's status + // The bank feed account associated with the transaction. + BankFeedAccount *BankFeedTransactionBankFeedAccount `json:"bank_feed_account,omitempty"` + // The date that the transaction occurred. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The date the transaction was posted to the bank account. + PostedDate *time.Time `json:"posted_date,omitempty"` + // The amount of the transaction. + Amount *float64 `json:"amount,omitempty"` + // The description of the transaction. + Description *string `json:"description,omitempty"` + // The underlying type of the transaction. + TransactionType *string `json:"transaction_type,omitempty"` + // The person or merchant who initiated the transaction, or alternatively, to whom the transaction was paid. + Payee *string `json:"payee,omitempty"` + // If the transaction is of type debit or credit. // - // - `ACTIVE` - ACTIVE - // - `ARCHIVED` - ARCHIVED - Status *ContactStatus `json:"status,omitempty"` - // The currency the contact's transactions are in. - Currency *string `json:"currency,omitempty"` - // When the third party's contact was updated. - RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // The company the contact belongs to. - Company *string `json:"company,omitempty"` - // `Address` object IDs for the given `Contacts` object. - Addresses []*ContactAddressesItem `json:"addresses,omitempty"` - // `AccountingPhoneNumber` object for the given `Contacts` object. - PhoneNumbers []*AccountingPhoneNumber `json:"phone_numbers,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + // - `CREDIT` - CREDIT + // - `DEBIT` - DEBIT + CreditOrDebit *BankFeedTransactionCreditOrDebit `json:"credit_or_debit,omitempty"` + // The customer’s identifier for the transaction. + SourceTransactionId *string `json:"source_transaction_id,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // Whether or not this transaction has been processed by the external system. For example, NetSuite writes this field as True when the SuiteApp has processed the transaction. + IsProcessed *bool `json:"is_processed,omitempty"` _rawJSON json.RawMessage } -func (c *Contact) UnmarshalJSON(data []byte) error { - type unmarshaler Contact +func (b *BankFeedTransaction) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedTransaction var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = Contact(value) - c._rawJSON = json.RawMessage(data) + *b = BankFeedTransaction(value) + b._rawJSON = json.RawMessage(data) return nil } -func (c *Contact) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (b *BankFeedTransaction) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(b); err == nil { return value } - return fmt.Sprintf("%#v", c) + return fmt.Sprintf("%#v", b) } -type ContactAddressesItem struct { - typeName string - String string - Address *Address +// The bank feed account associated with the transaction. +type BankFeedTransactionBankFeedAccount struct { + typeName string + String string + BankFeedAccount *BankFeedAccount } -func NewContactAddressesItemFromString(value string) *ContactAddressesItem { - return &ContactAddressesItem{typeName: "string", String: value} +func NewBankFeedTransactionBankFeedAccountFromString(value string) *BankFeedTransactionBankFeedAccount { + return &BankFeedTransactionBankFeedAccount{typeName: "string", String: value} } -func NewContactAddressesItemFromAddress(value *Address) *ContactAddressesItem { - return &ContactAddressesItem{typeName: "address", Address: value} +func NewBankFeedTransactionBankFeedAccountFromBankFeedAccount(value *BankFeedAccount) *BankFeedTransactionBankFeedAccount { + return &BankFeedTransactionBankFeedAccount{typeName: "bankFeedAccount", BankFeedAccount: value} } -func (c *ContactAddressesItem) UnmarshalJSON(data []byte) error { +func (b *BankFeedTransactionBankFeedAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + b.typeName = "string" + b.String = valueString return nil } - valueAddress := new(Address) - if err := json.Unmarshal(data, &valueAddress); err == nil { - c.typeName = "address" - c.Address = valueAddress + valueBankFeedAccount := new(BankFeedAccount) + if err := json.Unmarshal(data, &valueBankFeedAccount); err == nil { + b.typeName = "bankFeedAccount" + b.BankFeedAccount = valueBankFeedAccount return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c ContactAddressesItem) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedTransactionBankFeedAccount) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) case "string": - return json.Marshal(c.String) - case "address": - return json.Marshal(c.Address) + return json.Marshal(b.String) + case "bankFeedAccount": + return json.Marshal(b.BankFeedAccount) } } -type ContactAddressesItemVisitor interface { +type BankFeedTransactionBankFeedAccountVisitor interface { VisitString(string) error - VisitAddress(*Address) error + VisitBankFeedAccount(*BankFeedAccount) error } -func (c *ContactAddressesItem) Accept(visitor ContactAddressesItemVisitor) error { - switch c.typeName { +func (b *BankFeedTransactionBankFeedAccount) Accept(visitor BankFeedTransactionBankFeedAccountVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) case "string": - return visitor.VisitString(c.String) - case "address": - return visitor.VisitAddress(c.Address) + return visitor.VisitString(b.String) + case "bankFeedAccount": + return visitor.VisitBankFeedAccount(b.BankFeedAccount) } } -// # The Contact Object +// If the transaction is of type debit or credit. // -// ### Description +// - `CREDIT` - CREDIT +// - `DEBIT` - DEBIT +type BankFeedTransactionCreditOrDebit struct { + typeName string + CreditOrDebitEnum CreditOrDebitEnum + String string +} + +func NewBankFeedTransactionCreditOrDebitFromCreditOrDebitEnum(value CreditOrDebitEnum) *BankFeedTransactionCreditOrDebit { + return &BankFeedTransactionCreditOrDebit{typeName: "creditOrDebitEnum", CreditOrDebitEnum: value} +} + +func NewBankFeedTransactionCreditOrDebitFromString(value string) *BankFeedTransactionCreditOrDebit { + return &BankFeedTransactionCreditOrDebit{typeName: "string", String: value} +} + +func (b *BankFeedTransactionCreditOrDebit) UnmarshalJSON(data []byte) error { + var valueCreditOrDebitEnum CreditOrDebitEnum + if err := json.Unmarshal(data, &valueCreditOrDebitEnum); err == nil { + b.typeName = "creditOrDebitEnum" + b.CreditOrDebitEnum = valueCreditOrDebitEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + b.typeName = "string" + b.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) +} + +func (b BankFeedTransactionCreditOrDebit) MarshalJSON() ([]byte, error) { + switch b.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "creditOrDebitEnum": + return json.Marshal(b.CreditOrDebitEnum) + case "string": + return json.Marshal(b.String) + } +} + +type BankFeedTransactionCreditOrDebitVisitor interface { + VisitCreditOrDebitEnum(CreditOrDebitEnum) error + VisitString(string) error +} + +func (b *BankFeedTransactionCreditOrDebit) Accept(visitor BankFeedTransactionCreditOrDebitVisitor) error { + switch b.typeName { + default: + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "creditOrDebitEnum": + return visitor.VisitCreditOrDebitEnum(b.CreditOrDebitEnum) + case "string": + return visitor.VisitString(b.String) + } +} + +// # The BankFeedTransaction Object // -// A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. +// ### Description // -// - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. -// - A `Contact` is a customer if the `is_customer` property is true. +// The `BankFeedTransaction` object is used to represent transactions linked to a bank feed account. This includes details about the transaction such as the date, amount, description, and type. // // ### Usage Example // -// Fetch from the `LIST Contacts` endpoint and view a company's contacts. -type ContactRequest struct { - // The contact's name. - Name *string `json:"name,omitempty"` - // Whether the contact is a supplier. - IsSupplier *bool `json:"is_supplier,omitempty"` - // Whether the contact is a customer. - IsCustomer *bool `json:"is_customer,omitempty"` - // The contact's email address. - EmailAddress *string `json:"email_address,omitempty"` - // The contact's tax number. - TaxNumber *string `json:"tax_number,omitempty"` - // The contact's status +// Fetch from the `GET BankFeedTransaction` endpoint to view details of a transaction associated with a bank feed account. +type BankFeedTransactionRequestRequest struct { + // The bank feed account associated with the transaction. + BankFeedAccount *BankFeedTransactionRequestRequestBankFeedAccount `json:"bank_feed_account,omitempty"` + // The date that the transaction occurred. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The date the transaction was posted to the bank account. + PostedDate *time.Time `json:"posted_date,omitempty"` + // The amount of the transaction. + Amount *float64 `json:"amount,omitempty"` + // The description of the transaction. + Description *string `json:"description,omitempty"` + // The underlying type of the transaction. + TransactionType *string `json:"transaction_type,omitempty"` + // The person or merchant who initiated the transaction, or alternatively, to whom the transaction was paid. + Payee *string `json:"payee,omitempty"` + // If the transaction is of type debit or credit. // - // - `ACTIVE` - ACTIVE - // - `ARCHIVED` - ARCHIVED - Status *ContactRequestStatus `json:"status,omitempty"` - // The currency the contact's transactions are in. - Currency *string `json:"currency,omitempty"` - // The company the contact belongs to. - Company *string `json:"company,omitempty"` - // `Address` object IDs for the given `Contacts` object. - Addresses []*ContactRequestAddressesItem `json:"addresses,omitempty"` - // `AccountingPhoneNumber` object for the given `Contacts` object. - PhoneNumbers []*AccountingPhoneNumberRequest `json:"phone_numbers,omitempty"` - IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` - LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + // - `CREDIT` - CREDIT + // - `DEBIT` - DEBIT + CreditOrDebit *BankFeedTransactionRequestRequestCreditOrDebit `json:"credit_or_debit,omitempty"` + // The customer’s identifier for the transaction. + SourceTransactionId *string `json:"source_transaction_id,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` _rawJSON json.RawMessage } -func (c *ContactRequest) UnmarshalJSON(data []byte) error { - type unmarshaler ContactRequest +func (b *BankFeedTransactionRequestRequest) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedTransactionRequestRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = ContactRequest(value) - c._rawJSON = json.RawMessage(data) + *b = BankFeedTransactionRequestRequest(value) + b._rawJSON = json.RawMessage(data) return nil } -func (c *ContactRequest) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (b *BankFeedTransactionRequestRequest) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(b); err == nil { return value } - return fmt.Sprintf("%#v", c) + return fmt.Sprintf("%#v", b) } -type ContactRequestAddressesItem struct { - typeName string - String string - Address *Address +// The bank feed account associated with the transaction. +type BankFeedTransactionRequestRequestBankFeedAccount struct { + typeName string + String string + BankFeedAccount *BankFeedAccount } -func NewContactRequestAddressesItemFromString(value string) *ContactRequestAddressesItem { - return &ContactRequestAddressesItem{typeName: "string", String: value} +func NewBankFeedTransactionRequestRequestBankFeedAccountFromString(value string) *BankFeedTransactionRequestRequestBankFeedAccount { + return &BankFeedTransactionRequestRequestBankFeedAccount{typeName: "string", String: value} } -func NewContactRequestAddressesItemFromAddress(value *Address) *ContactRequestAddressesItem { - return &ContactRequestAddressesItem{typeName: "address", Address: value} +func NewBankFeedTransactionRequestRequestBankFeedAccountFromBankFeedAccount(value *BankFeedAccount) *BankFeedTransactionRequestRequestBankFeedAccount { + return &BankFeedTransactionRequestRequestBankFeedAccount{typeName: "bankFeedAccount", BankFeedAccount: value} } -func (c *ContactRequestAddressesItem) UnmarshalJSON(data []byte) error { +func (b *BankFeedTransactionRequestRequestBankFeedAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + b.typeName = "string" + b.String = valueString return nil } - valueAddress := new(Address) - if err := json.Unmarshal(data, &valueAddress); err == nil { - c.typeName = "address" - c.Address = valueAddress + valueBankFeedAccount := new(BankFeedAccount) + if err := json.Unmarshal(data, &valueBankFeedAccount); err == nil { + b.typeName = "bankFeedAccount" + b.BankFeedAccount = valueBankFeedAccount return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c ContactRequestAddressesItem) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedTransactionRequestRequestBankFeedAccount) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) case "string": - return json.Marshal(c.String) - case "address": - return json.Marshal(c.Address) + return json.Marshal(b.String) + case "bankFeedAccount": + return json.Marshal(b.BankFeedAccount) } } -type ContactRequestAddressesItemVisitor interface { +type BankFeedTransactionRequestRequestBankFeedAccountVisitor interface { VisitString(string) error - VisitAddress(*Address) error + VisitBankFeedAccount(*BankFeedAccount) error } -func (c *ContactRequestAddressesItem) Accept(visitor ContactRequestAddressesItemVisitor) error { - switch c.typeName { +func (b *BankFeedTransactionRequestRequestBankFeedAccount) Accept(visitor BankFeedTransactionRequestRequestBankFeedAccountVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) case "string": - return visitor.VisitString(c.String) - case "address": - return visitor.VisitAddress(c.Address) + return visitor.VisitString(b.String) + case "bankFeedAccount": + return visitor.VisitBankFeedAccount(b.BankFeedAccount) } } -// The contact's status +// If the transaction is of type debit or credit. // -// - `ACTIVE` - ACTIVE -// - `ARCHIVED` - ARCHIVED -type ContactRequestStatus struct { - typeName string - Status7D1Enum Status7D1Enum - String string +// - `CREDIT` - CREDIT +// - `DEBIT` - DEBIT +type BankFeedTransactionRequestRequestCreditOrDebit struct { + typeName string + CreditOrDebitEnum CreditOrDebitEnum + String string } -func NewContactRequestStatusFromStatus7D1Enum(value Status7D1Enum) *ContactRequestStatus { - return &ContactRequestStatus{typeName: "status7D1Enum", Status7D1Enum: value} +func NewBankFeedTransactionRequestRequestCreditOrDebitFromCreditOrDebitEnum(value CreditOrDebitEnum) *BankFeedTransactionRequestRequestCreditOrDebit { + return &BankFeedTransactionRequestRequestCreditOrDebit{typeName: "creditOrDebitEnum", CreditOrDebitEnum: value} } -func NewContactRequestStatusFromString(value string) *ContactRequestStatus { - return &ContactRequestStatus{typeName: "string", String: value} +func NewBankFeedTransactionRequestRequestCreditOrDebitFromString(value string) *BankFeedTransactionRequestRequestCreditOrDebit { + return &BankFeedTransactionRequestRequestCreditOrDebit{typeName: "string", String: value} } -func (c *ContactRequestStatus) UnmarshalJSON(data []byte) error { - var valueStatus7D1Enum Status7D1Enum - if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { - c.typeName = "status7D1Enum" - c.Status7D1Enum = valueStatus7D1Enum +func (b *BankFeedTransactionRequestRequestCreditOrDebit) UnmarshalJSON(data []byte) error { + var valueCreditOrDebitEnum CreditOrDebitEnum + if err := json.Unmarshal(data, &valueCreditOrDebitEnum); err == nil { + b.typeName = "creditOrDebitEnum" + b.CreditOrDebitEnum = valueCreditOrDebitEnum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + b.typeName = "string" + b.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, b) } -func (c ContactRequestStatus) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (b BankFeedTransactionRequestRequestCreditOrDebit) MarshalJSON() ([]byte, error) { + switch b.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "status7D1Enum": - return json.Marshal(c.Status7D1Enum) + return nil, fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "creditOrDebitEnum": + return json.Marshal(b.CreditOrDebitEnum) case "string": - return json.Marshal(c.String) + return json.Marshal(b.String) } } -type ContactRequestStatusVisitor interface { - VisitStatus7D1Enum(Status7D1Enum) error +type BankFeedTransactionRequestRequestCreditOrDebitVisitor interface { + VisitCreditOrDebitEnum(CreditOrDebitEnum) error VisitString(string) error } -func (c *ContactRequestStatus) Accept(visitor ContactRequestStatusVisitor) error { - switch c.typeName { +func (b *BankFeedTransactionRequestRequestCreditOrDebit) Accept(visitor BankFeedTransactionRequestRequestCreditOrDebitVisitor) error { + switch b.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "status7D1Enum": - return visitor.VisitStatus7D1Enum(c.Status7D1Enum) + return fmt.Errorf("invalid type %s in %T", b.typeName, b) + case "creditOrDebitEnum": + return visitor.VisitCreditOrDebitEnum(b.CreditOrDebitEnum) case "string": - return visitor.VisitString(c.String) + return visitor.VisitString(b.String) } } -type ContactResponse struct { - Model *Contact `json:"model,omitempty"` +type BankFeedTransactionResponse struct { + Model *BankFeedTransaction `json:"model,omitempty"` Warnings []*WarningValidationProblem `json:"warnings,omitempty"` Errors []*ErrorValidationProblem `json:"errors,omitempty"` Logs []*DebugModeLog `json:"logs,omitempty"` @@ -6995,164 +7475,2282 @@ type ContactResponse struct { _rawJSON json.RawMessage } -func (c *ContactResponse) UnmarshalJSON(data []byte) error { - type unmarshaler ContactResponse +func (b *BankFeedTransactionResponse) UnmarshalJSON(data []byte) error { + type unmarshaler BankFeedTransactionResponse var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = ContactResponse(value) - c._rawJSON = json.RawMessage(data) + *b = BankFeedTransactionResponse(value) + b._rawJSON = json.RawMessage(data) return nil } -func (c *ContactResponse) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (b *BankFeedTransactionResponse) String() string { + if len(b._rawJSON) > 0 { + if value, err := core.StringifyJSON(b._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(b); err == nil { return value } - return fmt.Sprintf("%#v", c) + return fmt.Sprintf("%#v", b) } -// The contact's status +// # The CashFlowStatement Object // -// - `ACTIVE` - ACTIVE -// - `ARCHIVED` - ARCHIVED -type ContactStatus struct { - typeName string - Status7D1Enum Status7D1Enum - String string -} - -func NewContactStatusFromStatus7D1Enum(value Status7D1Enum) *ContactStatus { - return &ContactStatus{typeName: "status7D1Enum", Status7D1Enum: value} -} - -func NewContactStatusFromString(value string) *ContactStatus { - return &ContactStatus{typeName: "string", String: value} -} - -func (c *ContactStatus) UnmarshalJSON(data []byte) error { - var valueStatus7D1Enum Status7D1Enum - if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { - c.typeName = "status7D1Enum" - c.Status7D1Enum = valueStatus7D1Enum - return nil - } - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) -} - -func (c ContactStatus) MarshalJSON() ([]byte, error) { - switch c.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "status7D1Enum": - return json.Marshal(c.Status7D1Enum) - case "string": - return json.Marshal(c.String) - } -} - -type ContactStatusVisitor interface { - VisitStatus7D1Enum(Status7D1Enum) error - VisitString(string) error -} - -func (c *ContactStatus) Accept(visitor ContactStatusVisitor) error { - switch c.typeName { - default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "status7D1Enum": - return visitor.VisitStatus7D1Enum(c.Status7D1Enum) - case "string": - return visitor.VisitString(c.String) - } -} - -// - `AF` - Afghanistan -// - `AX` - Åland Islands -// - `AL` - Albania -// - `DZ` - Algeria -// - `AS` - American Samoa -// - `AD` - Andorra -// - `AO` - Angola -// - `AI` - Anguilla -// - `AQ` - Antarctica -// - `AG` - Antigua and Barbuda -// - `AR` - Argentina -// - `AM` - Armenia -// - `AW` - Aruba -// - `AU` - Australia -// - `AT` - Austria -// - `AZ` - Azerbaijan -// - `BS` - Bahamas -// - `BH` - Bahrain -// - `BD` - Bangladesh -// - `BB` - Barbados -// - `BY` - Belarus -// - `BE` - Belgium -// - `BZ` - Belize -// - `BJ` - Benin -// - `BM` - Bermuda -// - `BT` - Bhutan -// - `BO` - Bolivia -// - `BQ` - Bonaire, Sint Eustatius and Saba -// - `BA` - Bosnia and Herzegovina -// - `BW` - Botswana -// - `BV` - Bouvet Island -// - `BR` - Brazil -// - `IO` - British Indian Ocean Territory -// - `BN` - Brunei -// - `BG` - Bulgaria -// - `BF` - Burkina Faso -// - `BI` - Burundi -// - `CV` - Cabo Verde -// - `KH` - Cambodia -// - `CM` - Cameroon -// - `CA` - Canada -// - `KY` - Cayman Islands -// - `CF` - Central African Republic -// - `TD` - Chad -// - `CL` - Chile -// - `CN` - China -// - `CX` - Christmas Island -// - `CC` - Cocos (Keeling) Islands -// - `CO` - Colombia -// - `KM` - Comoros -// - `CG` - Congo -// - `CD` - Congo (the Democratic Republic of the) -// - `CK` - Cook Islands -// - `CR` - Costa Rica -// - `CI` - Côte d'Ivoire -// - `HR` - Croatia -// - `CU` - Cuba -// - `CW` - Curaçao -// - `CY` - Cyprus -// - `CZ` - Czechia -// - `DK` - Denmark -// - `DJ` - Djibouti -// - `DM` - Dominica -// - `DO` - Dominican Republic -// - `EC` - Ecuador -// - `EG` - Egypt -// - `SV` - El Salvador -// - `GQ` - Equatorial Guinea -// - `ER` - Eritrea -// - `EE` - Estonia -// - `SZ` - Eswatini -// - `ET` - Ethiopia -// - `FK` - Falkland Islands (Malvinas) -// - `FO` - Faroe Islands +// ### Description +// +// The `CashFlowStatement` object shows operating activities, investing activities, and financing activities over a period of time (month, quarter, or year). +// +// ### Usage Example +// +// Fetch from the `LIST CashFlowStatements` endpoint and view a company's cash flow statements. +type CashFlowStatement struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The cash flow statement's name. + Name *string `json:"name,omitempty"` + // The cash flow statement's currency. + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + Currency *CashFlowStatementCurrency `json:"currency,omitempty"` + // The company the cash flow statement belongs to. + Company *CashFlowStatementCompany `json:"company,omitempty"` + // The cash flow statement's start period. + StartPeriod *time.Time `json:"start_period,omitempty"` + // The cash flow statement's end period. + EndPeriod *time.Time `json:"end_period,omitempty"` + // Cash and cash equivalents at the beginning of the cash flow statement's period. + CashAtBeginningOfPeriod *float64 `json:"cash_at_beginning_of_period,omitempty"` + // Cash and cash equivalents at the beginning of the cash flow statement's period. + CashAtEndOfPeriod *float64 `json:"cash_at_end_of_period,omitempty"` + OperatingActivities []*ReportItem `json:"operating_activities,omitempty"` + InvestingActivities []*ReportItem `json:"investing_activities,omitempty"` + FinancingActivities []*ReportItem `json:"financing_activities,omitempty"` + // The time that cash flow statement was generated by the accounting system. + RemoteGeneratedAt *time.Time `json:"remote_generated_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CashFlowStatement) UnmarshalJSON(data []byte) error { + type unmarshaler CashFlowStatement + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CashFlowStatement(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CashFlowStatement) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The company the cash flow statement belongs to. +type CashFlowStatementCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewCashFlowStatementCompanyFromString(value string) *CashFlowStatementCompany { + return &CashFlowStatementCompany{typeName: "string", String: value} +} + +func NewCashFlowStatementCompanyFromCompanyInfo(value *CompanyInfo) *CashFlowStatementCompany { + return &CashFlowStatementCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (c *CashFlowStatementCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + c.typeName = "companyInfo" + c.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CashFlowStatementCompany) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "companyInfo": + return json.Marshal(c.CompanyInfo) + } +} + +type CashFlowStatementCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (c *CashFlowStatementCompany) Accept(visitor CashFlowStatementCompanyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "companyInfo": + return visitor.VisitCompanyInfo(c.CompanyInfo) + } +} + +// The cash flow statement's currency. +// +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type CashFlowStatementCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewCashFlowStatementCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *CashFlowStatementCurrency { + return &CashFlowStatementCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewCashFlowStatementCurrencyFromString(value string) *CashFlowStatementCurrency { + return &CashFlowStatementCurrency{typeName: "string", String: value} +} + +func (c *CashFlowStatementCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + c.typeName = "transactionCurrencyEnum" + c.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CashFlowStatementCurrency) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return json.Marshal(c.TransactionCurrencyEnum) + case "string": + return json.Marshal(c.String) + } +} + +type CashFlowStatementCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (c *CashFlowStatementCurrency) Accept(visitor CashFlowStatementCurrencyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(c.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +// - `hris` - hris +// - `ats` - ats +// - `accounting` - accounting +// - `ticketing` - ticketing +// - `crm` - crm +// - `mktg` - mktg +// - `filestorage` - filestorage +type CategoriesEnum string + +const ( + CategoriesEnumHris CategoriesEnum = "hris" + CategoriesEnumAts CategoriesEnum = "ats" + CategoriesEnumAccounting CategoriesEnum = "accounting" + CategoriesEnumTicketing CategoriesEnum = "ticketing" + CategoriesEnumCrm CategoriesEnum = "crm" + CategoriesEnumMktg CategoriesEnum = "mktg" + CategoriesEnumFilestorage CategoriesEnum = "filestorage" +) + +func NewCategoriesEnumFromString(s string) (CategoriesEnum, error) { + switch s { + case "hris": + return CategoriesEnumHris, nil + case "ats": + return CategoriesEnumAts, nil + case "accounting": + return CategoriesEnumAccounting, nil + case "ticketing": + return CategoriesEnumTicketing, nil + case "crm": + return CategoriesEnumCrm, nil + case "mktg": + return CategoriesEnumMktg, nil + case "filestorage": + return CategoriesEnumFilestorage, nil + } + var t CategoriesEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CategoriesEnum) Ptr() *CategoriesEnum { + return &c +} + +// - `hris` - hris +// - `ats` - ats +// - `accounting` - accounting +// - `ticketing` - ticketing +// - `crm` - crm +// - `mktg` - mktg +// - `filestorage` - filestorage +type CategoryEnum string + +const ( + CategoryEnumHris CategoryEnum = "hris" + CategoryEnumAts CategoryEnum = "ats" + CategoryEnumAccounting CategoryEnum = "accounting" + CategoryEnumTicketing CategoryEnum = "ticketing" + CategoryEnumCrm CategoryEnum = "crm" + CategoryEnumMktg CategoryEnum = "mktg" + CategoryEnumFilestorage CategoryEnum = "filestorage" +) + +func NewCategoryEnumFromString(s string) (CategoryEnum, error) { + switch s { + case "hris": + return CategoryEnumHris, nil + case "ats": + return CategoryEnumAts, nil + case "accounting": + return CategoryEnumAccounting, nil + case "ticketing": + return CategoryEnumTicketing, nil + case "crm": + return CategoryEnumCrm, nil + case "mktg": + return CategoryEnumMktg, nil + case "filestorage": + return CategoryEnumFilestorage, nil + } + var t CategoryEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CategoryEnum) Ptr() *CategoryEnum { + return &c +} + +// - `CLASS` - CLASS +// - `DEPARTMENT` - DEPARTMENT +type CategoryTypeEnum string + +const ( + CategoryTypeEnumClass CategoryTypeEnum = "CLASS" + CategoryTypeEnumDepartment CategoryTypeEnum = "DEPARTMENT" +) + +func NewCategoryTypeEnumFromString(s string) (CategoryTypeEnum, error) { + switch s { + case "CLASS": + return CategoryTypeEnumClass, nil + case "DEPARTMENT": + return CategoryTypeEnumDepartment, nil + } + var t CategoryTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CategoryTypeEnum) Ptr() *CategoryTypeEnum { + return &c +} + +// - `ASSET` - ASSET +// - `EQUITY` - EQUITY +// - `EXPENSE` - EXPENSE +// - `LIABILITY` - LIABILITY +// - `REVENUE` - REVENUE +type ClassificationEnum string + +const ( + ClassificationEnumAsset ClassificationEnum = "ASSET" + ClassificationEnumEquity ClassificationEnum = "EQUITY" + ClassificationEnumExpense ClassificationEnum = "EXPENSE" + ClassificationEnumLiability ClassificationEnum = "LIABILITY" + ClassificationEnumRevenue ClassificationEnum = "REVENUE" +) + +func NewClassificationEnumFromString(s string) (ClassificationEnum, error) { + switch s { + case "ASSET": + return ClassificationEnumAsset, nil + case "EQUITY": + return ClassificationEnumEquity, nil + case "EXPENSE": + return ClassificationEnumExpense, nil + case "LIABILITY": + return ClassificationEnumLiability, nil + case "REVENUE": + return ClassificationEnumRevenue, nil + } + var t ClassificationEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c ClassificationEnum) Ptr() *ClassificationEnum { + return &c +} + +type CommonModelScopeApi struct { + // The common models you want to update the scopes for + CommonModels []*IndividualCommonModelScopeDeserializer `json:"common_models,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CommonModelScopeApi) UnmarshalJSON(data []byte) error { + type unmarshaler CommonModelScopeApi + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CommonModelScopeApi(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CommonModelScopeApi) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type CommonModelScopesBodyRequest struct { + ModelId string `json:"model_id"` + EnabledActions []EnabledActionsEnum `json:"enabled_actions,omitempty"` + DisabledFields []string `json:"disabled_fields,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CommonModelScopesBodyRequest) UnmarshalJSON(data []byte) error { + type unmarshaler CommonModelScopesBodyRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CommonModelScopesBodyRequest(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CommonModelScopesBodyRequest) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// # The CompanyInfo Object +// +// ### Description +// +// The `CompanyInfo` object contains information about the company of the linked account. If the company has multiple entities (also known as subsidiaries), each entity may show up as a single `CompanyInfo` record. +// +// ### Usage Example +// +// Fetch from the `GET CompanyInfo` endpoint and view a company's information. +type CompanyInfo struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The company's name. + Name *string `json:"name,omitempty"` + // The company's legal name. + LegalName *string `json:"legal_name,omitempty"` + // The company's tax number. + TaxNumber *string `json:"tax_number,omitempty"` + // The company's fiscal year end month. + FiscalYearEndMonth *int `json:"fiscal_year_end_month,omitempty"` + // The company's fiscal year end day. + FiscalYearEndDay *int `json:"fiscal_year_end_day,omitempty"` + // The currency set in the company's accounting platform. + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + Currency *CompanyInfoCurrency `json:"currency,omitempty"` + // When the third party's company was created. + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // The company's urls. + Urls []*string `json:"urls,omitempty"` + Addresses []*Address `json:"addresses,omitempty"` + PhoneNumbers []*AccountingPhoneNumber `json:"phone_numbers,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CompanyInfo) UnmarshalJSON(data []byte) error { + type unmarshaler CompanyInfo + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CompanyInfo(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CompanyInfo) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The currency set in the company's accounting platform. +// +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type CompanyInfoCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewCompanyInfoCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *CompanyInfoCurrency { + return &CompanyInfoCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewCompanyInfoCurrencyFromString(value string) *CompanyInfoCurrency { + return &CompanyInfoCurrency{typeName: "string", String: value} +} + +func (c *CompanyInfoCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + c.typeName = "transactionCurrencyEnum" + c.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CompanyInfoCurrency) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return json.Marshal(c.TransactionCurrencyEnum) + case "string": + return json.Marshal(c.String) + } +} + +type CompanyInfoCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (c *CompanyInfoCurrency) Accept(visitor CompanyInfoCurrencyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(c.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +// - `SALES` - SALES +// - `PURCHASE` - PURCHASE +type ComponentTypeEnum string + +const ( + ComponentTypeEnumSales ComponentTypeEnum = "SALES" + ComponentTypeEnumPurchase ComponentTypeEnum = "PURCHASE" +) + +func NewComponentTypeEnumFromString(s string) (ComponentTypeEnum, error) { + switch s { + case "SALES": + return ComponentTypeEnumSales, nil + case "PURCHASE": + return ComponentTypeEnumPurchase, nil + } + var t ComponentTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c ComponentTypeEnum) Ptr() *ComponentTypeEnum { + return &c +} + +// # The Contact Object +// +// ### Description +// +// A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. +// +// - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. +// - A `Contact` is a customer if the `is_customer` property is true. +// +// ### Usage Example +// +// Fetch from the `LIST Contacts` endpoint and view a company's contacts. +type Contact struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The contact's name. + Name *string `json:"name,omitempty"` + // Whether the contact is a supplier. + IsSupplier *bool `json:"is_supplier,omitempty"` + // Whether the contact is a customer. + IsCustomer *bool `json:"is_customer,omitempty"` + // The contact's email address. + EmailAddress *string `json:"email_address,omitempty"` + // The contact's tax number. + TaxNumber *string `json:"tax_number,omitempty"` + // The contact's status + // + // - `ACTIVE` - ACTIVE + // - `ARCHIVED` - ARCHIVED + Status *ContactStatus `json:"status,omitempty"` + // The currency the contact's transactions are in. + Currency *string `json:"currency,omitempty"` + // When the third party's contact was updated. + RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + // The company the contact belongs to. + Company *string `json:"company,omitempty"` + // `Address` object IDs for the given `Contacts` object. + Addresses []*ContactAddressesItem `json:"addresses,omitempty"` + // `AccountingPhoneNumber` object for the given `Contacts` object. + PhoneNumbers []*AccountingPhoneNumber `json:"phone_numbers,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *Contact) UnmarshalJSON(data []byte) error { + type unmarshaler Contact + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = Contact(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *Contact) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type ContactAddressesItem struct { + typeName string + String string + Address *Address +} + +func NewContactAddressesItemFromString(value string) *ContactAddressesItem { + return &ContactAddressesItem{typeName: "string", String: value} +} + +func NewContactAddressesItemFromAddress(value *Address) *ContactAddressesItem { + return &ContactAddressesItem{typeName: "address", Address: value} +} + +func (c *ContactAddressesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueAddress := new(Address) + if err := json.Unmarshal(data, &valueAddress); err == nil { + c.typeName = "address" + c.Address = valueAddress + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c ContactAddressesItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "address": + return json.Marshal(c.Address) + } +} + +type ContactAddressesItemVisitor interface { + VisitString(string) error + VisitAddress(*Address) error +} + +func (c *ContactAddressesItem) Accept(visitor ContactAddressesItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "address": + return visitor.VisitAddress(c.Address) + } +} + +// # The Contact Object +// +// ### Description +// +// A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from. +// +// - A `Contact` is a Vendor/Supplier if the `is_supplier` property is true. +// - A `Contact` is a customer if the `is_customer` property is true. +// +// ### Usage Example +// +// Fetch from the `LIST Contacts` endpoint and view a company's contacts. +type ContactRequest struct { + // The contact's name. + Name *string `json:"name,omitempty"` + // Whether the contact is a supplier. + IsSupplier *bool `json:"is_supplier,omitempty"` + // Whether the contact is a customer. + IsCustomer *bool `json:"is_customer,omitempty"` + // The contact's email address. + EmailAddress *string `json:"email_address,omitempty"` + // The contact's tax number. + TaxNumber *string `json:"tax_number,omitempty"` + // The contact's status + // + // - `ACTIVE` - ACTIVE + // - `ARCHIVED` - ARCHIVED + Status *ContactRequestStatus `json:"status,omitempty"` + // The currency the contact's transactions are in. + Currency *string `json:"currency,omitempty"` + // The company the contact belongs to. + Company *string `json:"company,omitempty"` + // `Address` object IDs for the given `Contacts` object. + Addresses []*ContactRequestAddressesItem `json:"addresses,omitempty"` + // `AccountingPhoneNumber` object for the given `Contacts` object. + PhoneNumbers []*AccountingPhoneNumberRequest `json:"phone_numbers,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *ContactRequest) UnmarshalJSON(data []byte) error { + type unmarshaler ContactRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = ContactRequest(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *ContactRequest) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type ContactRequestAddressesItem struct { + typeName string + String string + Address *Address +} + +func NewContactRequestAddressesItemFromString(value string) *ContactRequestAddressesItem { + return &ContactRequestAddressesItem{typeName: "string", String: value} +} + +func NewContactRequestAddressesItemFromAddress(value *Address) *ContactRequestAddressesItem { + return &ContactRequestAddressesItem{typeName: "address", Address: value} +} + +func (c *ContactRequestAddressesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueAddress := new(Address) + if err := json.Unmarshal(data, &valueAddress); err == nil { + c.typeName = "address" + c.Address = valueAddress + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c ContactRequestAddressesItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "address": + return json.Marshal(c.Address) + } +} + +type ContactRequestAddressesItemVisitor interface { + VisitString(string) error + VisitAddress(*Address) error +} + +func (c *ContactRequestAddressesItem) Accept(visitor ContactRequestAddressesItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "address": + return visitor.VisitAddress(c.Address) + } +} + +// The contact's status +// +// - `ACTIVE` - ACTIVE +// - `ARCHIVED` - ARCHIVED +type ContactRequestStatus struct { + typeName string + Status7D1Enum Status7D1Enum + String string +} + +func NewContactRequestStatusFromStatus7D1Enum(value Status7D1Enum) *ContactRequestStatus { + return &ContactRequestStatus{typeName: "status7D1Enum", Status7D1Enum: value} +} + +func NewContactRequestStatusFromString(value string) *ContactRequestStatus { + return &ContactRequestStatus{typeName: "string", String: value} +} + +func (c *ContactRequestStatus) UnmarshalJSON(data []byte) error { + var valueStatus7D1Enum Status7D1Enum + if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { + c.typeName = "status7D1Enum" + c.Status7D1Enum = valueStatus7D1Enum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c ContactRequestStatus) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "status7D1Enum": + return json.Marshal(c.Status7D1Enum) + case "string": + return json.Marshal(c.String) + } +} + +type ContactRequestStatusVisitor interface { + VisitStatus7D1Enum(Status7D1Enum) error + VisitString(string) error +} + +func (c *ContactRequestStatus) Accept(visitor ContactRequestStatusVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "status7D1Enum": + return visitor.VisitStatus7D1Enum(c.Status7D1Enum) + case "string": + return visitor.VisitString(c.String) + } +} + +type ContactResponse struct { + Model *Contact `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *ContactResponse) UnmarshalJSON(data []byte) error { + type unmarshaler ContactResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = ContactResponse(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *ContactResponse) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The contact's status +// +// - `ACTIVE` - ACTIVE +// - `ARCHIVED` - ARCHIVED +type ContactStatus struct { + typeName string + Status7D1Enum Status7D1Enum + String string +} + +func NewContactStatusFromStatus7D1Enum(value Status7D1Enum) *ContactStatus { + return &ContactStatus{typeName: "status7D1Enum", Status7D1Enum: value} +} + +func NewContactStatusFromString(value string) *ContactStatus { + return &ContactStatus{typeName: "string", String: value} +} + +func (c *ContactStatus) UnmarshalJSON(data []byte) error { + var valueStatus7D1Enum Status7D1Enum + if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { + c.typeName = "status7D1Enum" + c.Status7D1Enum = valueStatus7D1Enum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c ContactStatus) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "status7D1Enum": + return json.Marshal(c.Status7D1Enum) + case "string": + return json.Marshal(c.String) + } +} + +type ContactStatusVisitor interface { + VisitStatus7D1Enum(Status7D1Enum) error + VisitString(string) error +} + +func (c *ContactStatus) Accept(visitor ContactStatusVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "status7D1Enum": + return visitor.VisitStatus7D1Enum(c.Status7D1Enum) + case "string": + return visitor.VisitString(c.String) + } +} + +// - `AF` - Afghanistan +// - `AX` - Åland Islands +// - `AL` - Albania +// - `DZ` - Algeria +// - `AS` - American Samoa +// - `AD` - Andorra +// - `AO` - Angola +// - `AI` - Anguilla +// - `AQ` - Antarctica +// - `AG` - Antigua and Barbuda +// - `AR` - Argentina +// - `AM` - Armenia +// - `AW` - Aruba +// - `AU` - Australia +// - `AT` - Austria +// - `AZ` - Azerbaijan +// - `BS` - Bahamas +// - `BH` - Bahrain +// - `BD` - Bangladesh +// - `BB` - Barbados +// - `BY` - Belarus +// - `BE` - Belgium +// - `BZ` - Belize +// - `BJ` - Benin +// - `BM` - Bermuda +// - `BT` - Bhutan +// - `BO` - Bolivia +// - `BQ` - Bonaire, Sint Eustatius and Saba +// - `BA` - Bosnia and Herzegovina +// - `BW` - Botswana +// - `BV` - Bouvet Island +// - `BR` - Brazil +// - `IO` - British Indian Ocean Territory +// - `BN` - Brunei +// - `BG` - Bulgaria +// - `BF` - Burkina Faso +// - `BI` - Burundi +// - `CV` - Cabo Verde +// - `KH` - Cambodia +// - `CM` - Cameroon +// - `CA` - Canada +// - `KY` - Cayman Islands +// - `CF` - Central African Republic +// - `TD` - Chad +// - `CL` - Chile +// - `CN` - China +// - `CX` - Christmas Island +// - `CC` - Cocos (Keeling) Islands +// - `CO` - Colombia +// - `KM` - Comoros +// - `CG` - Congo +// - `CD` - Congo (the Democratic Republic of the) +// - `CK` - Cook Islands +// - `CR` - Costa Rica +// - `CI` - Côte d'Ivoire +// - `HR` - Croatia +// - `CU` - Cuba +// - `CW` - Curaçao +// - `CY` - Cyprus +// - `CZ` - Czechia +// - `DK` - Denmark +// - `DJ` - Djibouti +// - `DM` - Dominica +// - `DO` - Dominican Republic +// - `EC` - Ecuador +// - `EG` - Egypt +// - `SV` - El Salvador +// - `GQ` - Equatorial Guinea +// - `ER` - Eritrea +// - `EE` - Estonia +// - `SZ` - Eswatini +// - `ET` - Ethiopia +// - `FK` - Falkland Islands (Malvinas) +// - `FO` - Faroe Islands // - `FJ` - Fiji // - `FI` - Finland // - `FR` - France @@ -7330,784 +9928,2503 @@ func (c *ContactStatus) Accept(visitor ContactStatusVisitor) error { // - `ZW` - Zimbabwe type CountryEnum string -const ( - CountryEnumAf CountryEnum = "AF" - CountryEnumAx CountryEnum = "AX" - CountryEnumAl CountryEnum = "AL" - CountryEnumDz CountryEnum = "DZ" - CountryEnumAs CountryEnum = "AS" - CountryEnumAd CountryEnum = "AD" - CountryEnumAo CountryEnum = "AO" - CountryEnumAi CountryEnum = "AI" - CountryEnumAq CountryEnum = "AQ" - CountryEnumAg CountryEnum = "AG" - CountryEnumAr CountryEnum = "AR" - CountryEnumAm CountryEnum = "AM" - CountryEnumAw CountryEnum = "AW" - CountryEnumAu CountryEnum = "AU" - CountryEnumAt CountryEnum = "AT" - CountryEnumAz CountryEnum = "AZ" - CountryEnumBs CountryEnum = "BS" - CountryEnumBh CountryEnum = "BH" - CountryEnumBd CountryEnum = "BD" - CountryEnumBb CountryEnum = "BB" - CountryEnumBy CountryEnum = "BY" - CountryEnumBe CountryEnum = "BE" - CountryEnumBz CountryEnum = "BZ" - CountryEnumBj CountryEnum = "BJ" - CountryEnumBm CountryEnum = "BM" - CountryEnumBt CountryEnum = "BT" - CountryEnumBo CountryEnum = "BO" - CountryEnumBq CountryEnum = "BQ" - CountryEnumBa CountryEnum = "BA" - CountryEnumBw CountryEnum = "BW" - CountryEnumBv CountryEnum = "BV" - CountryEnumBr CountryEnum = "BR" - CountryEnumIo CountryEnum = "IO" - CountryEnumBn CountryEnum = "BN" - CountryEnumBg CountryEnum = "BG" - CountryEnumBf CountryEnum = "BF" - CountryEnumBi CountryEnum = "BI" - CountryEnumCv CountryEnum = "CV" - CountryEnumKh CountryEnum = "KH" - CountryEnumCm CountryEnum = "CM" - CountryEnumCa CountryEnum = "CA" - CountryEnumKy CountryEnum = "KY" - CountryEnumCf CountryEnum = "CF" - CountryEnumTd CountryEnum = "TD" - CountryEnumCl CountryEnum = "CL" - CountryEnumCn CountryEnum = "CN" - CountryEnumCx CountryEnum = "CX" - CountryEnumCc CountryEnum = "CC" - CountryEnumCo CountryEnum = "CO" - CountryEnumKm CountryEnum = "KM" - CountryEnumCg CountryEnum = "CG" - CountryEnumCd CountryEnum = "CD" - CountryEnumCk CountryEnum = "CK" - CountryEnumCr CountryEnum = "CR" - CountryEnumCi CountryEnum = "CI" - CountryEnumHr CountryEnum = "HR" - CountryEnumCu CountryEnum = "CU" - CountryEnumCw CountryEnum = "CW" - CountryEnumCy CountryEnum = "CY" - CountryEnumCz CountryEnum = "CZ" - CountryEnumDk CountryEnum = "DK" - CountryEnumDj CountryEnum = "DJ" - CountryEnumDm CountryEnum = "DM" - CountryEnumDo CountryEnum = "DO" - CountryEnumEc CountryEnum = "EC" - CountryEnumEg CountryEnum = "EG" - CountryEnumSv CountryEnum = "SV" - CountryEnumGq CountryEnum = "GQ" - CountryEnumEr CountryEnum = "ER" - CountryEnumEe CountryEnum = "EE" - CountryEnumSz CountryEnum = "SZ" - CountryEnumEt CountryEnum = "ET" - CountryEnumFk CountryEnum = "FK" - CountryEnumFo CountryEnum = "FO" - CountryEnumFj CountryEnum = "FJ" - CountryEnumFi CountryEnum = "FI" - CountryEnumFr CountryEnum = "FR" - CountryEnumGf CountryEnum = "GF" - CountryEnumPf CountryEnum = "PF" - CountryEnumTf CountryEnum = "TF" - CountryEnumGa CountryEnum = "GA" - CountryEnumGm CountryEnum = "GM" - CountryEnumGe CountryEnum = "GE" - CountryEnumDe CountryEnum = "DE" - CountryEnumGh CountryEnum = "GH" - CountryEnumGi CountryEnum = "GI" - CountryEnumGr CountryEnum = "GR" - CountryEnumGl CountryEnum = "GL" - CountryEnumGd CountryEnum = "GD" - CountryEnumGp CountryEnum = "GP" - CountryEnumGu CountryEnum = "GU" - CountryEnumGt CountryEnum = "GT" - CountryEnumGg CountryEnum = "GG" - CountryEnumGn CountryEnum = "GN" - CountryEnumGw CountryEnum = "GW" - CountryEnumGy CountryEnum = "GY" - CountryEnumHt CountryEnum = "HT" - CountryEnumHm CountryEnum = "HM" - CountryEnumVa CountryEnum = "VA" - CountryEnumHn CountryEnum = "HN" - CountryEnumHk CountryEnum = "HK" - CountryEnumHu CountryEnum = "HU" - CountryEnumIs CountryEnum = "IS" - CountryEnumIn CountryEnum = "IN" - CountryEnumId CountryEnum = "ID" - CountryEnumIr CountryEnum = "IR" - CountryEnumIq CountryEnum = "IQ" - CountryEnumIe CountryEnum = "IE" - CountryEnumIm CountryEnum = "IM" - CountryEnumIl CountryEnum = "IL" - CountryEnumIt CountryEnum = "IT" - CountryEnumJm CountryEnum = "JM" - CountryEnumJp CountryEnum = "JP" - CountryEnumJe CountryEnum = "JE" - CountryEnumJo CountryEnum = "JO" - CountryEnumKz CountryEnum = "KZ" - CountryEnumKe CountryEnum = "KE" - CountryEnumKi CountryEnum = "KI" - CountryEnumKw CountryEnum = "KW" - CountryEnumKg CountryEnum = "KG" - CountryEnumLa CountryEnum = "LA" - CountryEnumLv CountryEnum = "LV" - CountryEnumLb CountryEnum = "LB" - CountryEnumLs CountryEnum = "LS" - CountryEnumLr CountryEnum = "LR" - CountryEnumLy CountryEnum = "LY" - CountryEnumLi CountryEnum = "LI" - CountryEnumLt CountryEnum = "LT" - CountryEnumLu CountryEnum = "LU" - CountryEnumMo CountryEnum = "MO" - CountryEnumMg CountryEnum = "MG" - CountryEnumMw CountryEnum = "MW" - CountryEnumMy CountryEnum = "MY" - CountryEnumMv CountryEnum = "MV" - CountryEnumMl CountryEnum = "ML" - CountryEnumMt CountryEnum = "MT" - CountryEnumMh CountryEnum = "MH" - CountryEnumMq CountryEnum = "MQ" - CountryEnumMr CountryEnum = "MR" - CountryEnumMu CountryEnum = "MU" - CountryEnumYt CountryEnum = "YT" - CountryEnumMx CountryEnum = "MX" - CountryEnumFm CountryEnum = "FM" - CountryEnumMd CountryEnum = "MD" - CountryEnumMc CountryEnum = "MC" - CountryEnumMn CountryEnum = "MN" - CountryEnumMe CountryEnum = "ME" - CountryEnumMs CountryEnum = "MS" - CountryEnumMa CountryEnum = "MA" - CountryEnumMz CountryEnum = "MZ" - CountryEnumMm CountryEnum = "MM" - CountryEnumNa CountryEnum = "NA" - CountryEnumNr CountryEnum = "NR" - CountryEnumNp CountryEnum = "NP" - CountryEnumNl CountryEnum = "NL" - CountryEnumNc CountryEnum = "NC" - CountryEnumNz CountryEnum = "NZ" - CountryEnumNi CountryEnum = "NI" - CountryEnumNe CountryEnum = "NE" - CountryEnumNg CountryEnum = "NG" - CountryEnumNu CountryEnum = "NU" - CountryEnumNf CountryEnum = "NF" - CountryEnumKp CountryEnum = "KP" - CountryEnumMk CountryEnum = "MK" - CountryEnumMp CountryEnum = "MP" - CountryEnumNo CountryEnum = "NO" - CountryEnumOm CountryEnum = "OM" - CountryEnumPk CountryEnum = "PK" - CountryEnumPw CountryEnum = "PW" - CountryEnumPs CountryEnum = "PS" - CountryEnumPa CountryEnum = "PA" - CountryEnumPg CountryEnum = "PG" - CountryEnumPy CountryEnum = "PY" - CountryEnumPe CountryEnum = "PE" - CountryEnumPh CountryEnum = "PH" - CountryEnumPn CountryEnum = "PN" - CountryEnumPl CountryEnum = "PL" - CountryEnumPt CountryEnum = "PT" - CountryEnumPr CountryEnum = "PR" - CountryEnumQa CountryEnum = "QA" - CountryEnumRe CountryEnum = "RE" - CountryEnumRo CountryEnum = "RO" - CountryEnumRu CountryEnum = "RU" - CountryEnumRw CountryEnum = "RW" - CountryEnumBl CountryEnum = "BL" - CountryEnumSh CountryEnum = "SH" - CountryEnumKn CountryEnum = "KN" - CountryEnumLc CountryEnum = "LC" - CountryEnumMf CountryEnum = "MF" - CountryEnumPm CountryEnum = "PM" - CountryEnumVc CountryEnum = "VC" - CountryEnumWs CountryEnum = "WS" - CountryEnumSm CountryEnum = "SM" - CountryEnumSt CountryEnum = "ST" - CountryEnumSa CountryEnum = "SA" - CountryEnumSn CountryEnum = "SN" - CountryEnumRs CountryEnum = "RS" - CountryEnumSc CountryEnum = "SC" - CountryEnumSl CountryEnum = "SL" - CountryEnumSg CountryEnum = "SG" - CountryEnumSx CountryEnum = "SX" - CountryEnumSk CountryEnum = "SK" - CountryEnumSi CountryEnum = "SI" - CountryEnumSb CountryEnum = "SB" - CountryEnumSo CountryEnum = "SO" - CountryEnumZa CountryEnum = "ZA" - CountryEnumGs CountryEnum = "GS" - CountryEnumKr CountryEnum = "KR" - CountryEnumSs CountryEnum = "SS" - CountryEnumEs CountryEnum = "ES" - CountryEnumLk CountryEnum = "LK" - CountryEnumSd CountryEnum = "SD" - CountryEnumSr CountryEnum = "SR" - CountryEnumSj CountryEnum = "SJ" - CountryEnumSe CountryEnum = "SE" - CountryEnumCh CountryEnum = "CH" - CountryEnumSy CountryEnum = "SY" - CountryEnumTw CountryEnum = "TW" - CountryEnumTj CountryEnum = "TJ" - CountryEnumTz CountryEnum = "TZ" - CountryEnumTh CountryEnum = "TH" - CountryEnumTl CountryEnum = "TL" - CountryEnumTg CountryEnum = "TG" - CountryEnumTk CountryEnum = "TK" - CountryEnumTo CountryEnum = "TO" - CountryEnumTt CountryEnum = "TT" - CountryEnumTn CountryEnum = "TN" - CountryEnumTr CountryEnum = "TR" - CountryEnumTm CountryEnum = "TM" - CountryEnumTc CountryEnum = "TC" - CountryEnumTv CountryEnum = "TV" - CountryEnumUg CountryEnum = "UG" - CountryEnumUa CountryEnum = "UA" - CountryEnumAe CountryEnum = "AE" - CountryEnumGb CountryEnum = "GB" - CountryEnumUm CountryEnum = "UM" - CountryEnumUs CountryEnum = "US" - CountryEnumUy CountryEnum = "UY" - CountryEnumUz CountryEnum = "UZ" - CountryEnumVu CountryEnum = "VU" - CountryEnumVe CountryEnum = "VE" - CountryEnumVn CountryEnum = "VN" - CountryEnumVg CountryEnum = "VG" - CountryEnumVi CountryEnum = "VI" - CountryEnumWf CountryEnum = "WF" - CountryEnumEh CountryEnum = "EH" - CountryEnumYe CountryEnum = "YE" - CountryEnumZm CountryEnum = "ZM" - CountryEnumZw CountryEnum = "ZW" -) +const ( + CountryEnumAf CountryEnum = "AF" + CountryEnumAx CountryEnum = "AX" + CountryEnumAl CountryEnum = "AL" + CountryEnumDz CountryEnum = "DZ" + CountryEnumAs CountryEnum = "AS" + CountryEnumAd CountryEnum = "AD" + CountryEnumAo CountryEnum = "AO" + CountryEnumAi CountryEnum = "AI" + CountryEnumAq CountryEnum = "AQ" + CountryEnumAg CountryEnum = "AG" + CountryEnumAr CountryEnum = "AR" + CountryEnumAm CountryEnum = "AM" + CountryEnumAw CountryEnum = "AW" + CountryEnumAu CountryEnum = "AU" + CountryEnumAt CountryEnum = "AT" + CountryEnumAz CountryEnum = "AZ" + CountryEnumBs CountryEnum = "BS" + CountryEnumBh CountryEnum = "BH" + CountryEnumBd CountryEnum = "BD" + CountryEnumBb CountryEnum = "BB" + CountryEnumBy CountryEnum = "BY" + CountryEnumBe CountryEnum = "BE" + CountryEnumBz CountryEnum = "BZ" + CountryEnumBj CountryEnum = "BJ" + CountryEnumBm CountryEnum = "BM" + CountryEnumBt CountryEnum = "BT" + CountryEnumBo CountryEnum = "BO" + CountryEnumBq CountryEnum = "BQ" + CountryEnumBa CountryEnum = "BA" + CountryEnumBw CountryEnum = "BW" + CountryEnumBv CountryEnum = "BV" + CountryEnumBr CountryEnum = "BR" + CountryEnumIo CountryEnum = "IO" + CountryEnumBn CountryEnum = "BN" + CountryEnumBg CountryEnum = "BG" + CountryEnumBf CountryEnum = "BF" + CountryEnumBi CountryEnum = "BI" + CountryEnumCv CountryEnum = "CV" + CountryEnumKh CountryEnum = "KH" + CountryEnumCm CountryEnum = "CM" + CountryEnumCa CountryEnum = "CA" + CountryEnumKy CountryEnum = "KY" + CountryEnumCf CountryEnum = "CF" + CountryEnumTd CountryEnum = "TD" + CountryEnumCl CountryEnum = "CL" + CountryEnumCn CountryEnum = "CN" + CountryEnumCx CountryEnum = "CX" + CountryEnumCc CountryEnum = "CC" + CountryEnumCo CountryEnum = "CO" + CountryEnumKm CountryEnum = "KM" + CountryEnumCg CountryEnum = "CG" + CountryEnumCd CountryEnum = "CD" + CountryEnumCk CountryEnum = "CK" + CountryEnumCr CountryEnum = "CR" + CountryEnumCi CountryEnum = "CI" + CountryEnumHr CountryEnum = "HR" + CountryEnumCu CountryEnum = "CU" + CountryEnumCw CountryEnum = "CW" + CountryEnumCy CountryEnum = "CY" + CountryEnumCz CountryEnum = "CZ" + CountryEnumDk CountryEnum = "DK" + CountryEnumDj CountryEnum = "DJ" + CountryEnumDm CountryEnum = "DM" + CountryEnumDo CountryEnum = "DO" + CountryEnumEc CountryEnum = "EC" + CountryEnumEg CountryEnum = "EG" + CountryEnumSv CountryEnum = "SV" + CountryEnumGq CountryEnum = "GQ" + CountryEnumEr CountryEnum = "ER" + CountryEnumEe CountryEnum = "EE" + CountryEnumSz CountryEnum = "SZ" + CountryEnumEt CountryEnum = "ET" + CountryEnumFk CountryEnum = "FK" + CountryEnumFo CountryEnum = "FO" + CountryEnumFj CountryEnum = "FJ" + CountryEnumFi CountryEnum = "FI" + CountryEnumFr CountryEnum = "FR" + CountryEnumGf CountryEnum = "GF" + CountryEnumPf CountryEnum = "PF" + CountryEnumTf CountryEnum = "TF" + CountryEnumGa CountryEnum = "GA" + CountryEnumGm CountryEnum = "GM" + CountryEnumGe CountryEnum = "GE" + CountryEnumDe CountryEnum = "DE" + CountryEnumGh CountryEnum = "GH" + CountryEnumGi CountryEnum = "GI" + CountryEnumGr CountryEnum = "GR" + CountryEnumGl CountryEnum = "GL" + CountryEnumGd CountryEnum = "GD" + CountryEnumGp CountryEnum = "GP" + CountryEnumGu CountryEnum = "GU" + CountryEnumGt CountryEnum = "GT" + CountryEnumGg CountryEnum = "GG" + CountryEnumGn CountryEnum = "GN" + CountryEnumGw CountryEnum = "GW" + CountryEnumGy CountryEnum = "GY" + CountryEnumHt CountryEnum = "HT" + CountryEnumHm CountryEnum = "HM" + CountryEnumVa CountryEnum = "VA" + CountryEnumHn CountryEnum = "HN" + CountryEnumHk CountryEnum = "HK" + CountryEnumHu CountryEnum = "HU" + CountryEnumIs CountryEnum = "IS" + CountryEnumIn CountryEnum = "IN" + CountryEnumId CountryEnum = "ID" + CountryEnumIr CountryEnum = "IR" + CountryEnumIq CountryEnum = "IQ" + CountryEnumIe CountryEnum = "IE" + CountryEnumIm CountryEnum = "IM" + CountryEnumIl CountryEnum = "IL" + CountryEnumIt CountryEnum = "IT" + CountryEnumJm CountryEnum = "JM" + CountryEnumJp CountryEnum = "JP" + CountryEnumJe CountryEnum = "JE" + CountryEnumJo CountryEnum = "JO" + CountryEnumKz CountryEnum = "KZ" + CountryEnumKe CountryEnum = "KE" + CountryEnumKi CountryEnum = "KI" + CountryEnumKw CountryEnum = "KW" + CountryEnumKg CountryEnum = "KG" + CountryEnumLa CountryEnum = "LA" + CountryEnumLv CountryEnum = "LV" + CountryEnumLb CountryEnum = "LB" + CountryEnumLs CountryEnum = "LS" + CountryEnumLr CountryEnum = "LR" + CountryEnumLy CountryEnum = "LY" + CountryEnumLi CountryEnum = "LI" + CountryEnumLt CountryEnum = "LT" + CountryEnumLu CountryEnum = "LU" + CountryEnumMo CountryEnum = "MO" + CountryEnumMg CountryEnum = "MG" + CountryEnumMw CountryEnum = "MW" + CountryEnumMy CountryEnum = "MY" + CountryEnumMv CountryEnum = "MV" + CountryEnumMl CountryEnum = "ML" + CountryEnumMt CountryEnum = "MT" + CountryEnumMh CountryEnum = "MH" + CountryEnumMq CountryEnum = "MQ" + CountryEnumMr CountryEnum = "MR" + CountryEnumMu CountryEnum = "MU" + CountryEnumYt CountryEnum = "YT" + CountryEnumMx CountryEnum = "MX" + CountryEnumFm CountryEnum = "FM" + CountryEnumMd CountryEnum = "MD" + CountryEnumMc CountryEnum = "MC" + CountryEnumMn CountryEnum = "MN" + CountryEnumMe CountryEnum = "ME" + CountryEnumMs CountryEnum = "MS" + CountryEnumMa CountryEnum = "MA" + CountryEnumMz CountryEnum = "MZ" + CountryEnumMm CountryEnum = "MM" + CountryEnumNa CountryEnum = "NA" + CountryEnumNr CountryEnum = "NR" + CountryEnumNp CountryEnum = "NP" + CountryEnumNl CountryEnum = "NL" + CountryEnumNc CountryEnum = "NC" + CountryEnumNz CountryEnum = "NZ" + CountryEnumNi CountryEnum = "NI" + CountryEnumNe CountryEnum = "NE" + CountryEnumNg CountryEnum = "NG" + CountryEnumNu CountryEnum = "NU" + CountryEnumNf CountryEnum = "NF" + CountryEnumKp CountryEnum = "KP" + CountryEnumMk CountryEnum = "MK" + CountryEnumMp CountryEnum = "MP" + CountryEnumNo CountryEnum = "NO" + CountryEnumOm CountryEnum = "OM" + CountryEnumPk CountryEnum = "PK" + CountryEnumPw CountryEnum = "PW" + CountryEnumPs CountryEnum = "PS" + CountryEnumPa CountryEnum = "PA" + CountryEnumPg CountryEnum = "PG" + CountryEnumPy CountryEnum = "PY" + CountryEnumPe CountryEnum = "PE" + CountryEnumPh CountryEnum = "PH" + CountryEnumPn CountryEnum = "PN" + CountryEnumPl CountryEnum = "PL" + CountryEnumPt CountryEnum = "PT" + CountryEnumPr CountryEnum = "PR" + CountryEnumQa CountryEnum = "QA" + CountryEnumRe CountryEnum = "RE" + CountryEnumRo CountryEnum = "RO" + CountryEnumRu CountryEnum = "RU" + CountryEnumRw CountryEnum = "RW" + CountryEnumBl CountryEnum = "BL" + CountryEnumSh CountryEnum = "SH" + CountryEnumKn CountryEnum = "KN" + CountryEnumLc CountryEnum = "LC" + CountryEnumMf CountryEnum = "MF" + CountryEnumPm CountryEnum = "PM" + CountryEnumVc CountryEnum = "VC" + CountryEnumWs CountryEnum = "WS" + CountryEnumSm CountryEnum = "SM" + CountryEnumSt CountryEnum = "ST" + CountryEnumSa CountryEnum = "SA" + CountryEnumSn CountryEnum = "SN" + CountryEnumRs CountryEnum = "RS" + CountryEnumSc CountryEnum = "SC" + CountryEnumSl CountryEnum = "SL" + CountryEnumSg CountryEnum = "SG" + CountryEnumSx CountryEnum = "SX" + CountryEnumSk CountryEnum = "SK" + CountryEnumSi CountryEnum = "SI" + CountryEnumSb CountryEnum = "SB" + CountryEnumSo CountryEnum = "SO" + CountryEnumZa CountryEnum = "ZA" + CountryEnumGs CountryEnum = "GS" + CountryEnumKr CountryEnum = "KR" + CountryEnumSs CountryEnum = "SS" + CountryEnumEs CountryEnum = "ES" + CountryEnumLk CountryEnum = "LK" + CountryEnumSd CountryEnum = "SD" + CountryEnumSr CountryEnum = "SR" + CountryEnumSj CountryEnum = "SJ" + CountryEnumSe CountryEnum = "SE" + CountryEnumCh CountryEnum = "CH" + CountryEnumSy CountryEnum = "SY" + CountryEnumTw CountryEnum = "TW" + CountryEnumTj CountryEnum = "TJ" + CountryEnumTz CountryEnum = "TZ" + CountryEnumTh CountryEnum = "TH" + CountryEnumTl CountryEnum = "TL" + CountryEnumTg CountryEnum = "TG" + CountryEnumTk CountryEnum = "TK" + CountryEnumTo CountryEnum = "TO" + CountryEnumTt CountryEnum = "TT" + CountryEnumTn CountryEnum = "TN" + CountryEnumTr CountryEnum = "TR" + CountryEnumTm CountryEnum = "TM" + CountryEnumTc CountryEnum = "TC" + CountryEnumTv CountryEnum = "TV" + CountryEnumUg CountryEnum = "UG" + CountryEnumUa CountryEnum = "UA" + CountryEnumAe CountryEnum = "AE" + CountryEnumGb CountryEnum = "GB" + CountryEnumUm CountryEnum = "UM" + CountryEnumUs CountryEnum = "US" + CountryEnumUy CountryEnum = "UY" + CountryEnumUz CountryEnum = "UZ" + CountryEnumVu CountryEnum = "VU" + CountryEnumVe CountryEnum = "VE" + CountryEnumVn CountryEnum = "VN" + CountryEnumVg CountryEnum = "VG" + CountryEnumVi CountryEnum = "VI" + CountryEnumWf CountryEnum = "WF" + CountryEnumEh CountryEnum = "EH" + CountryEnumYe CountryEnum = "YE" + CountryEnumZm CountryEnum = "ZM" + CountryEnumZw CountryEnum = "ZW" +) + +func NewCountryEnumFromString(s string) (CountryEnum, error) { + switch s { + case "AF": + return CountryEnumAf, nil + case "AX": + return CountryEnumAx, nil + case "AL": + return CountryEnumAl, nil + case "DZ": + return CountryEnumDz, nil + case "AS": + return CountryEnumAs, nil + case "AD": + return CountryEnumAd, nil + case "AO": + return CountryEnumAo, nil + case "AI": + return CountryEnumAi, nil + case "AQ": + return CountryEnumAq, nil + case "AG": + return CountryEnumAg, nil + case "AR": + return CountryEnumAr, nil + case "AM": + return CountryEnumAm, nil + case "AW": + return CountryEnumAw, nil + case "AU": + return CountryEnumAu, nil + case "AT": + return CountryEnumAt, nil + case "AZ": + return CountryEnumAz, nil + case "BS": + return CountryEnumBs, nil + case "BH": + return CountryEnumBh, nil + case "BD": + return CountryEnumBd, nil + case "BB": + return CountryEnumBb, nil + case "BY": + return CountryEnumBy, nil + case "BE": + return CountryEnumBe, nil + case "BZ": + return CountryEnumBz, nil + case "BJ": + return CountryEnumBj, nil + case "BM": + return CountryEnumBm, nil + case "BT": + return CountryEnumBt, nil + case "BO": + return CountryEnumBo, nil + case "BQ": + return CountryEnumBq, nil + case "BA": + return CountryEnumBa, nil + case "BW": + return CountryEnumBw, nil + case "BV": + return CountryEnumBv, nil + case "BR": + return CountryEnumBr, nil + case "IO": + return CountryEnumIo, nil + case "BN": + return CountryEnumBn, nil + case "BG": + return CountryEnumBg, nil + case "BF": + return CountryEnumBf, nil + case "BI": + return CountryEnumBi, nil + case "CV": + return CountryEnumCv, nil + case "KH": + return CountryEnumKh, nil + case "CM": + return CountryEnumCm, nil + case "CA": + return CountryEnumCa, nil + case "KY": + return CountryEnumKy, nil + case "CF": + return CountryEnumCf, nil + case "TD": + return CountryEnumTd, nil + case "CL": + return CountryEnumCl, nil + case "CN": + return CountryEnumCn, nil + case "CX": + return CountryEnumCx, nil + case "CC": + return CountryEnumCc, nil + case "CO": + return CountryEnumCo, nil + case "KM": + return CountryEnumKm, nil + case "CG": + return CountryEnumCg, nil + case "CD": + return CountryEnumCd, nil + case "CK": + return CountryEnumCk, nil + case "CR": + return CountryEnumCr, nil + case "CI": + return CountryEnumCi, nil + case "HR": + return CountryEnumHr, nil + case "CU": + return CountryEnumCu, nil + case "CW": + return CountryEnumCw, nil + case "CY": + return CountryEnumCy, nil + case "CZ": + return CountryEnumCz, nil + case "DK": + return CountryEnumDk, nil + case "DJ": + return CountryEnumDj, nil + case "DM": + return CountryEnumDm, nil + case "DO": + return CountryEnumDo, nil + case "EC": + return CountryEnumEc, nil + case "EG": + return CountryEnumEg, nil + case "SV": + return CountryEnumSv, nil + case "GQ": + return CountryEnumGq, nil + case "ER": + return CountryEnumEr, nil + case "EE": + return CountryEnumEe, nil + case "SZ": + return CountryEnumSz, nil + case "ET": + return CountryEnumEt, nil + case "FK": + return CountryEnumFk, nil + case "FO": + return CountryEnumFo, nil + case "FJ": + return CountryEnumFj, nil + case "FI": + return CountryEnumFi, nil + case "FR": + return CountryEnumFr, nil + case "GF": + return CountryEnumGf, nil + case "PF": + return CountryEnumPf, nil + case "TF": + return CountryEnumTf, nil + case "GA": + return CountryEnumGa, nil + case "GM": + return CountryEnumGm, nil + case "GE": + return CountryEnumGe, nil + case "DE": + return CountryEnumDe, nil + case "GH": + return CountryEnumGh, nil + case "GI": + return CountryEnumGi, nil + case "GR": + return CountryEnumGr, nil + case "GL": + return CountryEnumGl, nil + case "GD": + return CountryEnumGd, nil + case "GP": + return CountryEnumGp, nil + case "GU": + return CountryEnumGu, nil + case "GT": + return CountryEnumGt, nil + case "GG": + return CountryEnumGg, nil + case "GN": + return CountryEnumGn, nil + case "GW": + return CountryEnumGw, nil + case "GY": + return CountryEnumGy, nil + case "HT": + return CountryEnumHt, nil + case "HM": + return CountryEnumHm, nil + case "VA": + return CountryEnumVa, nil + case "HN": + return CountryEnumHn, nil + case "HK": + return CountryEnumHk, nil + case "HU": + return CountryEnumHu, nil + case "IS": + return CountryEnumIs, nil + case "IN": + return CountryEnumIn, nil + case "ID": + return CountryEnumId, nil + case "IR": + return CountryEnumIr, nil + case "IQ": + return CountryEnumIq, nil + case "IE": + return CountryEnumIe, nil + case "IM": + return CountryEnumIm, nil + case "IL": + return CountryEnumIl, nil + case "IT": + return CountryEnumIt, nil + case "JM": + return CountryEnumJm, nil + case "JP": + return CountryEnumJp, nil + case "JE": + return CountryEnumJe, nil + case "JO": + return CountryEnumJo, nil + case "KZ": + return CountryEnumKz, nil + case "KE": + return CountryEnumKe, nil + case "KI": + return CountryEnumKi, nil + case "KW": + return CountryEnumKw, nil + case "KG": + return CountryEnumKg, nil + case "LA": + return CountryEnumLa, nil + case "LV": + return CountryEnumLv, nil + case "LB": + return CountryEnumLb, nil + case "LS": + return CountryEnumLs, nil + case "LR": + return CountryEnumLr, nil + case "LY": + return CountryEnumLy, nil + case "LI": + return CountryEnumLi, nil + case "LT": + return CountryEnumLt, nil + case "LU": + return CountryEnumLu, nil + case "MO": + return CountryEnumMo, nil + case "MG": + return CountryEnumMg, nil + case "MW": + return CountryEnumMw, nil + case "MY": + return CountryEnumMy, nil + case "MV": + return CountryEnumMv, nil + case "ML": + return CountryEnumMl, nil + case "MT": + return CountryEnumMt, nil + case "MH": + return CountryEnumMh, nil + case "MQ": + return CountryEnumMq, nil + case "MR": + return CountryEnumMr, nil + case "MU": + return CountryEnumMu, nil + case "YT": + return CountryEnumYt, nil + case "MX": + return CountryEnumMx, nil + case "FM": + return CountryEnumFm, nil + case "MD": + return CountryEnumMd, nil + case "MC": + return CountryEnumMc, nil + case "MN": + return CountryEnumMn, nil + case "ME": + return CountryEnumMe, nil + case "MS": + return CountryEnumMs, nil + case "MA": + return CountryEnumMa, nil + case "MZ": + return CountryEnumMz, nil + case "MM": + return CountryEnumMm, nil + case "NA": + return CountryEnumNa, nil + case "NR": + return CountryEnumNr, nil + case "NP": + return CountryEnumNp, nil + case "NL": + return CountryEnumNl, nil + case "NC": + return CountryEnumNc, nil + case "NZ": + return CountryEnumNz, nil + case "NI": + return CountryEnumNi, nil + case "NE": + return CountryEnumNe, nil + case "NG": + return CountryEnumNg, nil + case "NU": + return CountryEnumNu, nil + case "NF": + return CountryEnumNf, nil + case "KP": + return CountryEnumKp, nil + case "MK": + return CountryEnumMk, nil + case "MP": + return CountryEnumMp, nil + case "NO": + return CountryEnumNo, nil + case "OM": + return CountryEnumOm, nil + case "PK": + return CountryEnumPk, nil + case "PW": + return CountryEnumPw, nil + case "PS": + return CountryEnumPs, nil + case "PA": + return CountryEnumPa, nil + case "PG": + return CountryEnumPg, nil + case "PY": + return CountryEnumPy, nil + case "PE": + return CountryEnumPe, nil + case "PH": + return CountryEnumPh, nil + case "PN": + return CountryEnumPn, nil + case "PL": + return CountryEnumPl, nil + case "PT": + return CountryEnumPt, nil + case "PR": + return CountryEnumPr, nil + case "QA": + return CountryEnumQa, nil + case "RE": + return CountryEnumRe, nil + case "RO": + return CountryEnumRo, nil + case "RU": + return CountryEnumRu, nil + case "RW": + return CountryEnumRw, nil + case "BL": + return CountryEnumBl, nil + case "SH": + return CountryEnumSh, nil + case "KN": + return CountryEnumKn, nil + case "LC": + return CountryEnumLc, nil + case "MF": + return CountryEnumMf, nil + case "PM": + return CountryEnumPm, nil + case "VC": + return CountryEnumVc, nil + case "WS": + return CountryEnumWs, nil + case "SM": + return CountryEnumSm, nil + case "ST": + return CountryEnumSt, nil + case "SA": + return CountryEnumSa, nil + case "SN": + return CountryEnumSn, nil + case "RS": + return CountryEnumRs, nil + case "SC": + return CountryEnumSc, nil + case "SL": + return CountryEnumSl, nil + case "SG": + return CountryEnumSg, nil + case "SX": + return CountryEnumSx, nil + case "SK": + return CountryEnumSk, nil + case "SI": + return CountryEnumSi, nil + case "SB": + return CountryEnumSb, nil + case "SO": + return CountryEnumSo, nil + case "ZA": + return CountryEnumZa, nil + case "GS": + return CountryEnumGs, nil + case "KR": + return CountryEnumKr, nil + case "SS": + return CountryEnumSs, nil + case "ES": + return CountryEnumEs, nil + case "LK": + return CountryEnumLk, nil + case "SD": + return CountryEnumSd, nil + case "SR": + return CountryEnumSr, nil + case "SJ": + return CountryEnumSj, nil + case "SE": + return CountryEnumSe, nil + case "CH": + return CountryEnumCh, nil + case "SY": + return CountryEnumSy, nil + case "TW": + return CountryEnumTw, nil + case "TJ": + return CountryEnumTj, nil + case "TZ": + return CountryEnumTz, nil + case "TH": + return CountryEnumTh, nil + case "TL": + return CountryEnumTl, nil + case "TG": + return CountryEnumTg, nil + case "TK": + return CountryEnumTk, nil + case "TO": + return CountryEnumTo, nil + case "TT": + return CountryEnumTt, nil + case "TN": + return CountryEnumTn, nil + case "TR": + return CountryEnumTr, nil + case "TM": + return CountryEnumTm, nil + case "TC": + return CountryEnumTc, nil + case "TV": + return CountryEnumTv, nil + case "UG": + return CountryEnumUg, nil + case "UA": + return CountryEnumUa, nil + case "AE": + return CountryEnumAe, nil + case "GB": + return CountryEnumGb, nil + case "UM": + return CountryEnumUm, nil + case "US": + return CountryEnumUs, nil + case "UY": + return CountryEnumUy, nil + case "UZ": + return CountryEnumUz, nil + case "VU": + return CountryEnumVu, nil + case "VE": + return CountryEnumVe, nil + case "VN": + return CountryEnumVn, nil + case "VG": + return CountryEnumVg, nil + case "VI": + return CountryEnumVi, nil + case "WF": + return CountryEnumWf, nil + case "EH": + return CountryEnumEh, nil + case "YE": + return CountryEnumYe, nil + case "ZM": + return CountryEnumZm, nil + case "ZW": + return CountryEnumZw, nil + } + var t CountryEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CountryEnum) Ptr() *CountryEnum { + return &c +} + +// # The CreditNote Object +// +// ### Description +// +// A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to _Accounts Receivable_ Invoices to decrease the overall amount of the Invoice. +// +// ### Usage Example +// +// Fetch from the `LIST CreditNotes` endpoint and view a company's credit notes. +type CreditNote struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The credit note's transaction date. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The credit note's status. + // + // - `SUBMITTED` - SUBMITTED + // - `AUTHORIZED` - AUTHORIZED + // - `PAID` - PAID + Status *CreditNoteStatus `json:"status,omitempty"` + // The credit note's number. + Number *string `json:"number,omitempty"` + // The credit note's contact. + Contact *CreditNoteContact `json:"contact,omitempty"` + // The company the credit note belongs to. + Company *CreditNoteCompany `json:"company,omitempty"` + // The credit note's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + // The credit note's total amount. + TotalAmount *float64 `json:"total_amount,omitempty"` + // The amount of value remaining in the credit note that the customer can use. + RemainingCredit *float64 `json:"remaining_credit,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + LineItems []*CreditNoteLineItem `json:"line_items,omitempty"` + TrackingCategories []*CreditNoteTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The credit note's currency. + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + Currency *CreditNoteCurrency `json:"currency,omitempty"` + // When the third party's credit note was created. + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // When the third party's credit note was updated. + RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + // Array of `Payment` object IDs + Payments []*CreditNotePaymentsItem `json:"payments,omitempty"` + // A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. + AppliedPayments []*CreditNoteAppliedPaymentsItem `json:"applied_payments,omitempty"` + // The accounting period that the CreditNote was generated in. + AccountingPeriod *CreditNoteAccountingPeriod `json:"accounting_period,omitempty"` + // A list of the CreditNote Applied to Lines common models related to a given Credit Note + AppliedToLines []*CreditNoteApplyLineForCreditNote `json:"applied_to_lines,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNote) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNote + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNote(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNote) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The accounting period that the CreditNote was generated in. +type CreditNoteAccountingPeriod struct { + typeName string + String string + AccountingPeriod *AccountingPeriod +} + +func NewCreditNoteAccountingPeriodFromString(value string) *CreditNoteAccountingPeriod { + return &CreditNoteAccountingPeriod{typeName: "string", String: value} +} + +func NewCreditNoteAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *CreditNoteAccountingPeriod { + return &CreditNoteAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +} + +func (c *CreditNoteAccountingPeriod) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + c.typeName = "accountingPeriod" + c.AccountingPeriod = valueAccountingPeriod + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteAccountingPeriod) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "accountingPeriod": + return json.Marshal(c.AccountingPeriod) + } +} + +type CreditNoteAccountingPeriodVisitor interface { + VisitString(string) error + VisitAccountingPeriod(*AccountingPeriod) error +} + +func (c *CreditNoteAccountingPeriod) Accept(visitor CreditNoteAccountingPeriodVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(c.AccountingPeriod) + } +} + +type CreditNoteAppliedPaymentsItem struct { + typeName string + String string + PaymentLineItem *PaymentLineItem +} + +func NewCreditNoteAppliedPaymentsItemFromString(value string) *CreditNoteAppliedPaymentsItem { + return &CreditNoteAppliedPaymentsItem{typeName: "string", String: value} +} + +func NewCreditNoteAppliedPaymentsItemFromPaymentLineItem(value *PaymentLineItem) *CreditNoteAppliedPaymentsItem { + return &CreditNoteAppliedPaymentsItem{typeName: "paymentLineItem", PaymentLineItem: value} +} + +func (c *CreditNoteAppliedPaymentsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valuePaymentLineItem := new(PaymentLineItem) + if err := json.Unmarshal(data, &valuePaymentLineItem); err == nil { + c.typeName = "paymentLineItem" + c.PaymentLineItem = valuePaymentLineItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteAppliedPaymentsItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "paymentLineItem": + return json.Marshal(c.PaymentLineItem) + } +} + +type CreditNoteAppliedPaymentsItemVisitor interface { + VisitString(string) error + VisitPaymentLineItem(*PaymentLineItem) error +} + +func (c *CreditNoteAppliedPaymentsItem) Accept(visitor CreditNoteAppliedPaymentsItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "paymentLineItem": + return visitor.VisitPaymentLineItem(c.PaymentLineItem) + } +} + +// # The CreditNoteApplyLine Object +// +// ### Description +// +// The `CreditNoteApplyLine` is attached to the CreditNote model. +// +// ### Usage Example +// +// Fetch from the `GET CreditNote` endpoint and view the invoice's applied to lines. +type CreditNoteApplyLineForCreditNote struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + Invoice *CreditNoteApplyLineForCreditNoteInvoice `json:"invoice,omitempty"` + // Date that the credit note is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the Credit Note applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNoteApplyLineForCreditNote) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteApplyLineForCreditNote + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteApplyLineForCreditNote(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteApplyLineForCreditNote) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type CreditNoteApplyLineForCreditNoteInvoice struct { + typeName string + String string + Invoice *Invoice +} + +func NewCreditNoteApplyLineForCreditNoteInvoiceFromString(value string) *CreditNoteApplyLineForCreditNoteInvoice { + return &CreditNoteApplyLineForCreditNoteInvoice{typeName: "string", String: value} +} + +func NewCreditNoteApplyLineForCreditNoteInvoiceFromInvoice(value *Invoice) *CreditNoteApplyLineForCreditNoteInvoice { + return &CreditNoteApplyLineForCreditNoteInvoice{typeName: "invoice", Invoice: value} +} + +func (c *CreditNoteApplyLineForCreditNoteInvoice) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueInvoice := new(Invoice) + if err := json.Unmarshal(data, &valueInvoice); err == nil { + c.typeName = "invoice" + c.Invoice = valueInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteApplyLineForCreditNoteInvoice) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "invoice": + return json.Marshal(c.Invoice) + } +} + +type CreditNoteApplyLineForCreditNoteInvoiceVisitor interface { + VisitString(string) error + VisitInvoice(*Invoice) error +} + +func (c *CreditNoteApplyLineForCreditNoteInvoice) Accept(visitor CreditNoteApplyLineForCreditNoteInvoiceVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "invoice": + return visitor.VisitInvoice(c.Invoice) + } +} + +// # The CreditNoteApplyLine Object +// +// ### Description +// +// The `CreditNoteApplyLine` is attached to the CreditNote model. +// +// ### Usage Example +// +// Fetch from the `GET CreditNote` endpoint and view the invoice's applied to lines. +type CreditNoteApplyLineForCreditNoteRequest struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + Invoice *CreditNoteApplyLineForCreditNoteRequestInvoice `json:"invoice,omitempty"` + // Date that the credit note is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the Credit Note applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + + _rawJSON json.RawMessage +} -func NewCountryEnumFromString(s string) (CountryEnum, error) { - switch s { - case "AF": - return CountryEnumAf, nil - case "AX": - return CountryEnumAx, nil - case "AL": - return CountryEnumAl, nil - case "DZ": - return CountryEnumDz, nil - case "AS": - return CountryEnumAs, nil - case "AD": - return CountryEnumAd, nil - case "AO": - return CountryEnumAo, nil - case "AI": - return CountryEnumAi, nil - case "AQ": - return CountryEnumAq, nil - case "AG": - return CountryEnumAg, nil - case "AR": - return CountryEnumAr, nil - case "AM": - return CountryEnumAm, nil - case "AW": - return CountryEnumAw, nil - case "AU": - return CountryEnumAu, nil - case "AT": - return CountryEnumAt, nil - case "AZ": - return CountryEnumAz, nil - case "BS": - return CountryEnumBs, nil - case "BH": - return CountryEnumBh, nil - case "BD": - return CountryEnumBd, nil - case "BB": - return CountryEnumBb, nil - case "BY": - return CountryEnumBy, nil - case "BE": - return CountryEnumBe, nil - case "BZ": - return CountryEnumBz, nil - case "BJ": - return CountryEnumBj, nil - case "BM": - return CountryEnumBm, nil - case "BT": - return CountryEnumBt, nil - case "BO": - return CountryEnumBo, nil - case "BQ": - return CountryEnumBq, nil - case "BA": - return CountryEnumBa, nil - case "BW": - return CountryEnumBw, nil - case "BV": - return CountryEnumBv, nil - case "BR": - return CountryEnumBr, nil - case "IO": - return CountryEnumIo, nil - case "BN": - return CountryEnumBn, nil - case "BG": - return CountryEnumBg, nil - case "BF": - return CountryEnumBf, nil - case "BI": - return CountryEnumBi, nil - case "CV": - return CountryEnumCv, nil - case "KH": - return CountryEnumKh, nil - case "CM": - return CountryEnumCm, nil - case "CA": - return CountryEnumCa, nil - case "KY": - return CountryEnumKy, nil - case "CF": - return CountryEnumCf, nil - case "TD": - return CountryEnumTd, nil - case "CL": - return CountryEnumCl, nil - case "CN": - return CountryEnumCn, nil - case "CX": - return CountryEnumCx, nil - case "CC": - return CountryEnumCc, nil - case "CO": - return CountryEnumCo, nil - case "KM": - return CountryEnumKm, nil - case "CG": - return CountryEnumCg, nil - case "CD": - return CountryEnumCd, nil - case "CK": - return CountryEnumCk, nil - case "CR": - return CountryEnumCr, nil - case "CI": - return CountryEnumCi, nil - case "HR": - return CountryEnumHr, nil - case "CU": - return CountryEnumCu, nil - case "CW": - return CountryEnumCw, nil - case "CY": - return CountryEnumCy, nil - case "CZ": - return CountryEnumCz, nil - case "DK": - return CountryEnumDk, nil - case "DJ": - return CountryEnumDj, nil - case "DM": - return CountryEnumDm, nil - case "DO": - return CountryEnumDo, nil - case "EC": - return CountryEnumEc, nil - case "EG": - return CountryEnumEg, nil - case "SV": - return CountryEnumSv, nil - case "GQ": - return CountryEnumGq, nil - case "ER": - return CountryEnumEr, nil - case "EE": - return CountryEnumEe, nil - case "SZ": - return CountryEnumSz, nil - case "ET": - return CountryEnumEt, nil - case "FK": - return CountryEnumFk, nil - case "FO": - return CountryEnumFo, nil - case "FJ": - return CountryEnumFj, nil - case "FI": - return CountryEnumFi, nil - case "FR": - return CountryEnumFr, nil - case "GF": - return CountryEnumGf, nil - case "PF": - return CountryEnumPf, nil - case "TF": - return CountryEnumTf, nil - case "GA": - return CountryEnumGa, nil - case "GM": - return CountryEnumGm, nil - case "GE": - return CountryEnumGe, nil - case "DE": - return CountryEnumDe, nil - case "GH": - return CountryEnumGh, nil - case "GI": - return CountryEnumGi, nil - case "GR": - return CountryEnumGr, nil - case "GL": - return CountryEnumGl, nil - case "GD": - return CountryEnumGd, nil - case "GP": - return CountryEnumGp, nil - case "GU": - return CountryEnumGu, nil - case "GT": - return CountryEnumGt, nil - case "GG": - return CountryEnumGg, nil - case "GN": - return CountryEnumGn, nil - case "GW": - return CountryEnumGw, nil - case "GY": - return CountryEnumGy, nil - case "HT": - return CountryEnumHt, nil - case "HM": - return CountryEnumHm, nil - case "VA": - return CountryEnumVa, nil - case "HN": - return CountryEnumHn, nil - case "HK": - return CountryEnumHk, nil - case "HU": - return CountryEnumHu, nil - case "IS": - return CountryEnumIs, nil - case "IN": - return CountryEnumIn, nil - case "ID": - return CountryEnumId, nil - case "IR": - return CountryEnumIr, nil - case "IQ": - return CountryEnumIq, nil - case "IE": - return CountryEnumIe, nil - case "IM": - return CountryEnumIm, nil - case "IL": - return CountryEnumIl, nil - case "IT": - return CountryEnumIt, nil - case "JM": - return CountryEnumJm, nil - case "JP": - return CountryEnumJp, nil - case "JE": - return CountryEnumJe, nil - case "JO": - return CountryEnumJo, nil - case "KZ": - return CountryEnumKz, nil - case "KE": - return CountryEnumKe, nil - case "KI": - return CountryEnumKi, nil - case "KW": - return CountryEnumKw, nil - case "KG": - return CountryEnumKg, nil - case "LA": - return CountryEnumLa, nil - case "LV": - return CountryEnumLv, nil - case "LB": - return CountryEnumLb, nil - case "LS": - return CountryEnumLs, nil - case "LR": - return CountryEnumLr, nil - case "LY": - return CountryEnumLy, nil - case "LI": - return CountryEnumLi, nil - case "LT": - return CountryEnumLt, nil - case "LU": - return CountryEnumLu, nil - case "MO": - return CountryEnumMo, nil - case "MG": - return CountryEnumMg, nil - case "MW": - return CountryEnumMw, nil - case "MY": - return CountryEnumMy, nil - case "MV": - return CountryEnumMv, nil - case "ML": - return CountryEnumMl, nil - case "MT": - return CountryEnumMt, nil - case "MH": - return CountryEnumMh, nil - case "MQ": - return CountryEnumMq, nil - case "MR": - return CountryEnumMr, nil - case "MU": - return CountryEnumMu, nil - case "YT": - return CountryEnumYt, nil - case "MX": - return CountryEnumMx, nil - case "FM": - return CountryEnumFm, nil - case "MD": - return CountryEnumMd, nil - case "MC": - return CountryEnumMc, nil - case "MN": - return CountryEnumMn, nil - case "ME": - return CountryEnumMe, nil - case "MS": - return CountryEnumMs, nil - case "MA": - return CountryEnumMa, nil - case "MZ": - return CountryEnumMz, nil - case "MM": - return CountryEnumMm, nil - case "NA": - return CountryEnumNa, nil - case "NR": - return CountryEnumNr, nil - case "NP": - return CountryEnumNp, nil - case "NL": - return CountryEnumNl, nil - case "NC": - return CountryEnumNc, nil - case "NZ": - return CountryEnumNz, nil - case "NI": - return CountryEnumNi, nil - case "NE": - return CountryEnumNe, nil - case "NG": - return CountryEnumNg, nil - case "NU": - return CountryEnumNu, nil - case "NF": - return CountryEnumNf, nil - case "KP": - return CountryEnumKp, nil - case "MK": - return CountryEnumMk, nil - case "MP": - return CountryEnumMp, nil - case "NO": - return CountryEnumNo, nil - case "OM": - return CountryEnumOm, nil - case "PK": - return CountryEnumPk, nil - case "PW": - return CountryEnumPw, nil - case "PS": - return CountryEnumPs, nil - case "PA": - return CountryEnumPa, nil - case "PG": - return CountryEnumPg, nil - case "PY": - return CountryEnumPy, nil - case "PE": - return CountryEnumPe, nil - case "PH": - return CountryEnumPh, nil - case "PN": - return CountryEnumPn, nil - case "PL": - return CountryEnumPl, nil - case "PT": - return CountryEnumPt, nil - case "PR": - return CountryEnumPr, nil - case "QA": - return CountryEnumQa, nil - case "RE": - return CountryEnumRe, nil - case "RO": - return CountryEnumRo, nil - case "RU": - return CountryEnumRu, nil - case "RW": - return CountryEnumRw, nil - case "BL": - return CountryEnumBl, nil - case "SH": - return CountryEnumSh, nil - case "KN": - return CountryEnumKn, nil - case "LC": - return CountryEnumLc, nil - case "MF": - return CountryEnumMf, nil - case "PM": - return CountryEnumPm, nil - case "VC": - return CountryEnumVc, nil - case "WS": - return CountryEnumWs, nil - case "SM": - return CountryEnumSm, nil - case "ST": - return CountryEnumSt, nil - case "SA": - return CountryEnumSa, nil - case "SN": - return CountryEnumSn, nil - case "RS": - return CountryEnumRs, nil - case "SC": - return CountryEnumSc, nil - case "SL": - return CountryEnumSl, nil - case "SG": - return CountryEnumSg, nil - case "SX": - return CountryEnumSx, nil - case "SK": - return CountryEnumSk, nil - case "SI": - return CountryEnumSi, nil - case "SB": - return CountryEnumSb, nil - case "SO": - return CountryEnumSo, nil - case "ZA": - return CountryEnumZa, nil - case "GS": - return CountryEnumGs, nil - case "KR": - return CountryEnumKr, nil - case "SS": - return CountryEnumSs, nil - case "ES": - return CountryEnumEs, nil - case "LK": - return CountryEnumLk, nil - case "SD": - return CountryEnumSd, nil - case "SR": - return CountryEnumSr, nil - case "SJ": - return CountryEnumSj, nil - case "SE": - return CountryEnumSe, nil - case "CH": - return CountryEnumCh, nil - case "SY": - return CountryEnumSy, nil - case "TW": - return CountryEnumTw, nil - case "TJ": - return CountryEnumTj, nil - case "TZ": - return CountryEnumTz, nil - case "TH": - return CountryEnumTh, nil - case "TL": - return CountryEnumTl, nil - case "TG": - return CountryEnumTg, nil - case "TK": - return CountryEnumTk, nil - case "TO": - return CountryEnumTo, nil - case "TT": - return CountryEnumTt, nil - case "TN": - return CountryEnumTn, nil - case "TR": - return CountryEnumTr, nil - case "TM": - return CountryEnumTm, nil - case "TC": - return CountryEnumTc, nil - case "TV": - return CountryEnumTv, nil - case "UG": - return CountryEnumUg, nil - case "UA": - return CountryEnumUa, nil - case "AE": - return CountryEnumAe, nil - case "GB": - return CountryEnumGb, nil - case "UM": - return CountryEnumUm, nil - case "US": - return CountryEnumUs, nil - case "UY": - return CountryEnumUy, nil - case "UZ": - return CountryEnumUz, nil - case "VU": - return CountryEnumVu, nil - case "VE": - return CountryEnumVe, nil - case "VN": - return CountryEnumVn, nil - case "VG": - return CountryEnumVg, nil - case "VI": - return CountryEnumVi, nil - case "WF": - return CountryEnumWf, nil - case "EH": - return CountryEnumEh, nil - case "YE": - return CountryEnumYe, nil - case "ZM": - return CountryEnumZm, nil - case "ZW": - return CountryEnumZw, nil +func (c *CreditNoteApplyLineForCreditNoteRequest) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteApplyLineForCreditNoteRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteApplyLineForCreditNoteRequest(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteApplyLineForCreditNoteRequest) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type CreditNoteApplyLineForCreditNoteRequestInvoice struct { + typeName string + String string + Invoice *Invoice +} + +func NewCreditNoteApplyLineForCreditNoteRequestInvoiceFromString(value string) *CreditNoteApplyLineForCreditNoteRequestInvoice { + return &CreditNoteApplyLineForCreditNoteRequestInvoice{typeName: "string", String: value} +} + +func NewCreditNoteApplyLineForCreditNoteRequestInvoiceFromInvoice(value *Invoice) *CreditNoteApplyLineForCreditNoteRequestInvoice { + return &CreditNoteApplyLineForCreditNoteRequestInvoice{typeName: "invoice", Invoice: value} +} + +func (c *CreditNoteApplyLineForCreditNoteRequestInvoice) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueInvoice := new(Invoice) + if err := json.Unmarshal(data, &valueInvoice); err == nil { + c.typeName = "invoice" + c.Invoice = valueInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteApplyLineForCreditNoteRequestInvoice) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "invoice": + return json.Marshal(c.Invoice) + } +} + +type CreditNoteApplyLineForCreditNoteRequestInvoiceVisitor interface { + VisitString(string) error + VisitInvoice(*Invoice) error +} + +func (c *CreditNoteApplyLineForCreditNoteRequestInvoice) Accept(visitor CreditNoteApplyLineForCreditNoteRequestInvoiceVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "invoice": + return visitor.VisitInvoice(c.Invoice) + } +} + +// # The CreditNoteApplyLine Object +// +// ### Description +// +// The `CreditNoteApplyLine` is attached to the CreditNote model. +// +// ### Usage Example +// +// Fetch from the `GET CreditNote` endpoint and view the invoice's applied to lines. +type CreditNoteApplyLineForInvoice struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + CreditNote *CreditNoteApplyLineForInvoiceCreditNote `json:"credit_note,omitempty"` + // Date that the credit note is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the Credit Note applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNoteApplyLineForInvoice) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteApplyLineForInvoice + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteApplyLineForInvoice(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteApplyLineForInvoice) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +type CreditNoteApplyLineForInvoiceCreditNote struct { + typeName string + String string + CreditNote *CreditNote +} + +func NewCreditNoteApplyLineForInvoiceCreditNoteFromString(value string) *CreditNoteApplyLineForInvoiceCreditNote { + return &CreditNoteApplyLineForInvoiceCreditNote{typeName: "string", String: value} +} + +func NewCreditNoteApplyLineForInvoiceCreditNoteFromCreditNote(value *CreditNote) *CreditNoteApplyLineForInvoiceCreditNote { + return &CreditNoteApplyLineForInvoiceCreditNote{typeName: "creditNote", CreditNote: value} +} + +func (c *CreditNoteApplyLineForInvoiceCreditNote) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCreditNote := new(CreditNote) + if err := json.Unmarshal(data, &valueCreditNote); err == nil { + c.typeName = "creditNote" + c.CreditNote = valueCreditNote + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteApplyLineForInvoiceCreditNote) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "creditNote": + return json.Marshal(c.CreditNote) + } +} + +type CreditNoteApplyLineForInvoiceCreditNoteVisitor interface { + VisitString(string) error + VisitCreditNote(*CreditNote) error +} + +func (c *CreditNoteApplyLineForInvoiceCreditNote) Accept(visitor CreditNoteApplyLineForInvoiceCreditNoteVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "creditNote": + return visitor.VisitCreditNote(c.CreditNote) + } +} + +// The company the credit note belongs to. +type CreditNoteCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewCreditNoteCompanyFromString(value string) *CreditNoteCompany { + return &CreditNoteCompany{typeName: "string", String: value} +} + +func NewCreditNoteCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteCompany { + return &CreditNoteCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (c *CreditNoteCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + c.typeName = "companyInfo" + c.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteCompany) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "companyInfo": + return json.Marshal(c.CompanyInfo) + } +} + +type CreditNoteCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (c *CreditNoteCompany) Accept(visitor CreditNoteCompanyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "companyInfo": + return visitor.VisitCompanyInfo(c.CompanyInfo) + } +} + +// The credit note's contact. +type CreditNoteContact struct { + typeName string + String string + Contact *Contact +} + +func NewCreditNoteContactFromString(value string) *CreditNoteContact { + return &CreditNoteContact{typeName: "string", String: value} +} + +func NewCreditNoteContactFromContact(value *Contact) *CreditNoteContact { + return &CreditNoteContact{typeName: "contact", Contact: value} +} + +func (c *CreditNoteContact) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + c.typeName = "contact" + c.Contact = valueContact + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteContact) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "contact": + return json.Marshal(c.Contact) + } +} + +type CreditNoteContactVisitor interface { + VisitString(string) error + VisitContact(*Contact) error +} + +func (c *CreditNoteContact) Accept(visitor CreditNoteContactVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "contact": + return visitor.VisitContact(c.Contact) + } +} + +// The credit note's currency. +// +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type CreditNoteCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewCreditNoteCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *CreditNoteCurrency { + return &CreditNoteCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewCreditNoteCurrencyFromString(value string) *CreditNoteCurrency { + return &CreditNoteCurrency{typeName: "string", String: value} +} + +func (c *CreditNoteCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + c.typeName = "transactionCurrencyEnum" + c.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil } - var t CountryEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) } -func (c CountryEnum) Ptr() *CountryEnum { - return &c +func (c CreditNoteCurrency) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return json.Marshal(c.TransactionCurrencyEnum) + case "string": + return json.Marshal(c.String) + } } -// # The CreditNote Object +type CreditNoteCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (c *CreditNoteCurrency) Accept(visitor CreditNoteCurrencyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(c.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +// # The CreditNoteLineItem Object // // ### Description // -// A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to _Accounts Receivable_ Invoices to decrease the overall amount of the Invoice. +// The `CreditNoteLineItem` object is used to represent a credit note's line items. // // ### Usage Example // -// Fetch from the `LIST CreditNotes` endpoint and view a company's credit notes. -type CreditNote struct { +// Fetch from the `GET CreditNote` endpoint and view the credit note's line items. +type CreditNoteLineItem struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` // The datetime that this object was created by Merge. CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` + ModifiedAt *time.Time `json:"modified_at,omitempty"` + Item *CreditNoteLineItemItem `json:"item,omitempty"` + // The credit note line item's name. + Name *string `json:"name,omitempty"` + // The description of the item that is owed. + Description *string `json:"description,omitempty"` + // The credit note line item's quantity. + Quantity *string `json:"quantity,omitempty"` + // The credit note line item's memo. + Memo *string `json:"memo,omitempty"` + // The credit note line item's unit price. + UnitPrice *string `json:"unit_price,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // The credit note line item's total. + TotalLineAmount *string `json:"total_line_amount,omitempty"` + // The credit note line item's associated tracking category. + TrackingCategory *string `json:"tracking_category,omitempty"` + // The credit note line item's associated tracking categories. + TrackingCategories []*string `json:"tracking_categories,omitempty"` + // The credit note line item's account. + Account *string `json:"account,omitempty"` + // The company the credit note belongs to. + Company *CreditNoteLineItemCompany `json:"company,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNoteLineItem) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteLineItem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteLineItem(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteLineItem) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The company the credit note belongs to. +type CreditNoteLineItemCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewCreditNoteLineItemCompanyFromString(value string) *CreditNoteLineItemCompany { + return &CreditNoteLineItemCompany{typeName: "string", String: value} +} + +func NewCreditNoteLineItemCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteLineItemCompany { + return &CreditNoteLineItemCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (c *CreditNoteLineItemCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + c.typeName = "companyInfo" + c.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteLineItemCompany) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "companyInfo": + return json.Marshal(c.CompanyInfo) + } +} + +type CreditNoteLineItemCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (c *CreditNoteLineItemCompany) Accept(visitor CreditNoteLineItemCompanyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "companyInfo": + return visitor.VisitCompanyInfo(c.CompanyInfo) + } +} + +type CreditNoteLineItemItem struct { + typeName string + String string + Item *Item +} + +func NewCreditNoteLineItemItemFromString(value string) *CreditNoteLineItemItem { + return &CreditNoteLineItemItem{typeName: "string", String: value} +} + +func NewCreditNoteLineItemItemFromItem(value *Item) *CreditNoteLineItemItem { + return &CreditNoteLineItemItem{typeName: "item", Item: value} +} + +func (c *CreditNoteLineItemItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueItem := new(Item) + if err := json.Unmarshal(data, &valueItem); err == nil { + c.typeName = "item" + c.Item = valueItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteLineItemItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "item": + return json.Marshal(c.Item) + } +} + +type CreditNoteLineItemItemVisitor interface { + VisitString(string) error + VisitItem(*Item) error +} + +func (c *CreditNoteLineItemItem) Accept(visitor CreditNoteLineItemItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "item": + return visitor.VisitItem(c.Item) + } +} + +// # The CreditNoteLineItem Object +// +// ### Description +// +// The `CreditNoteLineItem` object is used to represent a credit note's line items. +// +// ### Usage Example +// +// Fetch from the `GET CreditNote` endpoint and view the credit note's line items. +type CreditNoteLineItemRequest struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + Item *CreditNoteLineItemRequestItem `json:"item,omitempty"` + // The credit note line item's name. + Name *string `json:"name,omitempty"` + // The description of the item that is owed. + Description *string `json:"description,omitempty"` + // The credit note line item's quantity. + Quantity *string `json:"quantity,omitempty"` + // The credit note line item's memo. + Memo *string `json:"memo,omitempty"` + // The credit note line item's unit price. + UnitPrice *string `json:"unit_price,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // The credit note line item's total. + TotalLineAmount *string `json:"total_line_amount,omitempty"` + // The credit note line item's associated tracking category. + TrackingCategory *string `json:"tracking_category,omitempty"` + // The credit note line item's associated tracking categories. + TrackingCategories []*string `json:"tracking_categories,omitempty"` + // The credit note line item's account. + Account *string `json:"account,omitempty"` + // The company the credit note belongs to. + Company *CreditNoteLineItemRequestCompany `json:"company,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNoteLineItemRequest) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteLineItemRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteLineItemRequest(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteLineItemRequest) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The company the credit note belongs to. +type CreditNoteLineItemRequestCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewCreditNoteLineItemRequestCompanyFromString(value string) *CreditNoteLineItemRequestCompany { + return &CreditNoteLineItemRequestCompany{typeName: "string", String: value} +} + +func NewCreditNoteLineItemRequestCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteLineItemRequestCompany { + return &CreditNoteLineItemRequestCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (c *CreditNoteLineItemRequestCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + c.typeName = "companyInfo" + c.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteLineItemRequestCompany) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "companyInfo": + return json.Marshal(c.CompanyInfo) + } +} + +type CreditNoteLineItemRequestCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (c *CreditNoteLineItemRequestCompany) Accept(visitor CreditNoteLineItemRequestCompanyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "companyInfo": + return visitor.VisitCompanyInfo(c.CompanyInfo) + } +} + +type CreditNoteLineItemRequestItem struct { + typeName string + String string + Item *Item +} + +func NewCreditNoteLineItemRequestItemFromString(value string) *CreditNoteLineItemRequestItem { + return &CreditNoteLineItemRequestItem{typeName: "string", String: value} +} + +func NewCreditNoteLineItemRequestItemFromItem(value *Item) *CreditNoteLineItemRequestItem { + return &CreditNoteLineItemRequestItem{typeName: "item", Item: value} +} + +func (c *CreditNoteLineItemRequestItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueItem := new(Item) + if err := json.Unmarshal(data, &valueItem); err == nil { + c.typeName = "item" + c.Item = valueItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteLineItemRequestItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "item": + return json.Marshal(c.Item) + } +} + +type CreditNoteLineItemRequestItemVisitor interface { + VisitString(string) error + VisitItem(*Item) error +} + +func (c *CreditNoteLineItemRequestItem) Accept(visitor CreditNoteLineItemRequestItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "item": + return visitor.VisitItem(c.Item) + } +} + +type CreditNotePaymentsItem struct { + typeName string + String string + Payment *Payment +} + +func NewCreditNotePaymentsItemFromString(value string) *CreditNotePaymentsItem { + return &CreditNotePaymentsItem{typeName: "string", String: value} +} + +func NewCreditNotePaymentsItemFromPayment(value *Payment) *CreditNotePaymentsItem { + return &CreditNotePaymentsItem{typeName: "payment", Payment: value} +} + +func (c *CreditNotePaymentsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valuePayment := new(Payment) + if err := json.Unmarshal(data, &valuePayment); err == nil { + c.typeName = "payment" + c.Payment = valuePayment + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNotePaymentsItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "payment": + return json.Marshal(c.Payment) + } +} + +type CreditNotePaymentsItemVisitor interface { + VisitString(string) error + VisitPayment(*Payment) error +} + +func (c *CreditNotePaymentsItem) Accept(visitor CreditNotePaymentsItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "payment": + return visitor.VisitPayment(c.Payment) + } +} + +// # The CreditNote Object +// +// ### Description +// +// A `CreditNote` is transaction issued to a customer, indicating a reduction or cancellation of the amount owed by the customer. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a sales transaction. A `CreditNote` can be applied to _Accounts Receivable_ Invoices to decrease the overall amount of the Invoice. +// +// ### Usage Example +// +// Fetch from the `LIST CreditNotes` endpoint and view a company's credit notes. +type CreditNoteRequest struct { // The credit note's transaction date. TransactionDate *time.Time `json:"transaction_date,omitempty"` // The credit note's status. @@ -8115,21 +12432,23 @@ type CreditNote struct { // - `SUBMITTED` - SUBMITTED // - `AUTHORIZED` - AUTHORIZED // - `PAID` - PAID - Status *CreditNoteStatus `json:"status,omitempty"` + Status *CreditNoteRequestStatus `json:"status,omitempty"` // The credit note's number. Number *string `json:"number,omitempty"` // The credit note's contact. - Contact *CreditNoteContact `json:"contact,omitempty"` + Contact *CreditNoteRequestContact `json:"contact,omitempty"` // The company the credit note belongs to. - Company *CreditNoteCompany `json:"company,omitempty"` + Company *CreditNoteRequestCompany `json:"company,omitempty"` // The credit note's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` // The credit note's total amount. TotalAmount *float64 `json:"total_amount,omitempty"` // The amount of value remaining in the credit note that the customer can use. - RemainingCredit *float64 `json:"remaining_credit,omitempty"` - LineItems []*CreditNoteLineItem `json:"line_items,omitempty"` - TrackingCategories []*CreditNoteTrackingCategoriesItem `json:"tracking_categories,omitempty"` + RemainingCredit *float64 `json:"remaining_credit,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + LineItems []*CreditNoteRequestLineItemsItem `json:"line_items,omitempty"` + TrackingCategories []*CreditNoteRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` // The credit note's currency. // // - `XUA` - ADB Unit of Account @@ -8438,37 +12757,33 @@ type CreditNote struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *CreditNoteCurrency `json:"currency,omitempty"` - // When the third party's credit note was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` - // When the third party's credit note was updated. - RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + Currency *CreditNoteRequestCurrency `json:"currency,omitempty"` // Array of `Payment` object IDs - Payments []*CreditNotePaymentsItem `json:"payments,omitempty"` + Payments []*CreditNoteRequestPaymentsItem `json:"payments,omitempty"` // A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. - AppliedPayments []*CreditNoteAppliedPaymentsItem `json:"applied_payments,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + AppliedPayments []*CreditNoteRequestAppliedPaymentsItem `json:"applied_payments,omitempty"` // The accounting period that the CreditNote was generated in. - AccountingPeriod *CreditNoteAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + AccountingPeriod *CreditNoteRequestAccountingPeriod `json:"accounting_period,omitempty"` + // A list of the CreditNote Applied to Lines common models related to a given Credit Note + AppliedToLines []*CreditNoteApplyLineForCreditNoteRequest `json:"applied_to_lines,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` _rawJSON json.RawMessage } -func (c *CreditNote) UnmarshalJSON(data []byte) error { - type unmarshaler CreditNote +func (c *CreditNoteRequest) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = CreditNote(value) + *c = CreditNoteRequest(value) c._rawJSON = json.RawMessage(data) return nil } -func (c *CreditNote) String() string { +func (c *CreditNoteRequest) String() string { if len(c._rawJSON) > 0 { if value, err := core.StringifyJSON(c._rawJSON); err == nil { return value @@ -8481,21 +12796,21 @@ func (c *CreditNote) String() string { } // The accounting period that the CreditNote was generated in. -type CreditNoteAccountingPeriod struct { +type CreditNoteRequestAccountingPeriod struct { typeName string String string AccountingPeriod *AccountingPeriod } -func NewCreditNoteAccountingPeriodFromString(value string) *CreditNoteAccountingPeriod { - return &CreditNoteAccountingPeriod{typeName: "string", String: value} +func NewCreditNoteRequestAccountingPeriodFromString(value string) *CreditNoteRequestAccountingPeriod { + return &CreditNoteRequestAccountingPeriod{typeName: "string", String: value} } -func NewCreditNoteAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *CreditNoteAccountingPeriod { - return &CreditNoteAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +func NewCreditNoteRequestAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *CreditNoteRequestAccountingPeriod { + return &CreditNoteRequestAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} } -func (c *CreditNoteAccountingPeriod) UnmarshalJSON(data []byte) error { +func (c *CreditNoteRequestAccountingPeriod) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { c.typeName = "string" @@ -8511,7 +12826,7 @@ func (c *CreditNoteAccountingPeriod) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, c) } -func (c CreditNoteAccountingPeriod) MarshalJSON() ([]byte, error) { +func (c CreditNoteRequestAccountingPeriod) MarshalJSON() ([]byte, error) { switch c.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8522,12 +12837,12 @@ func (c CreditNoteAccountingPeriod) MarshalJSON() ([]byte, error) { } } -type CreditNoteAccountingPeriodVisitor interface { +type CreditNoteRequestAccountingPeriodVisitor interface { VisitString(string) error VisitAccountingPeriod(*AccountingPeriod) error } -func (c *CreditNoteAccountingPeriod) Accept(visitor CreditNoteAccountingPeriodVisitor) error { +func (c *CreditNoteRequestAccountingPeriod) Accept(visitor CreditNoteRequestAccountingPeriodVisitor) error { switch c.typeName { default: return fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8538,21 +12853,21 @@ func (c *CreditNoteAccountingPeriod) Accept(visitor CreditNoteAccountingPeriodVi } } -type CreditNoteAppliedPaymentsItem struct { +type CreditNoteRequestAppliedPaymentsItem struct { typeName string String string PaymentLineItem *PaymentLineItem } -func NewCreditNoteAppliedPaymentsItemFromString(value string) *CreditNoteAppliedPaymentsItem { - return &CreditNoteAppliedPaymentsItem{typeName: "string", String: value} +func NewCreditNoteRequestAppliedPaymentsItemFromString(value string) *CreditNoteRequestAppliedPaymentsItem { + return &CreditNoteRequestAppliedPaymentsItem{typeName: "string", String: value} } -func NewCreditNoteAppliedPaymentsItemFromPaymentLineItem(value *PaymentLineItem) *CreditNoteAppliedPaymentsItem { - return &CreditNoteAppliedPaymentsItem{typeName: "paymentLineItem", PaymentLineItem: value} +func NewCreditNoteRequestAppliedPaymentsItemFromPaymentLineItem(value *PaymentLineItem) *CreditNoteRequestAppliedPaymentsItem { + return &CreditNoteRequestAppliedPaymentsItem{typeName: "paymentLineItem", PaymentLineItem: value} } -func (c *CreditNoteAppliedPaymentsItem) UnmarshalJSON(data []byte) error { +func (c *CreditNoteRequestAppliedPaymentsItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { c.typeName = "string" @@ -8568,7 +12883,7 @@ func (c *CreditNoteAppliedPaymentsItem) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, c) } -func (c CreditNoteAppliedPaymentsItem) MarshalJSON() ([]byte, error) { +func (c CreditNoteRequestAppliedPaymentsItem) MarshalJSON() ([]byte, error) { switch c.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8579,12 +12894,12 @@ func (c CreditNoteAppliedPaymentsItem) MarshalJSON() ([]byte, error) { } } -type CreditNoteAppliedPaymentsItemVisitor interface { +type CreditNoteRequestAppliedPaymentsItemVisitor interface { VisitString(string) error VisitPaymentLineItem(*PaymentLineItem) error } -func (c *CreditNoteAppliedPaymentsItem) Accept(visitor CreditNoteAppliedPaymentsItemVisitor) error { +func (c *CreditNoteRequestAppliedPaymentsItem) Accept(visitor CreditNoteRequestAppliedPaymentsItemVisitor) error { switch c.typeName { default: return fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8596,21 +12911,21 @@ func (c *CreditNoteAppliedPaymentsItem) Accept(visitor CreditNoteAppliedPayments } // The company the credit note belongs to. -type CreditNoteCompany struct { +type CreditNoteRequestCompany struct { typeName string String string CompanyInfo *CompanyInfo } -func NewCreditNoteCompanyFromString(value string) *CreditNoteCompany { - return &CreditNoteCompany{typeName: "string", String: value} +func NewCreditNoteRequestCompanyFromString(value string) *CreditNoteRequestCompany { + return &CreditNoteRequestCompany{typeName: "string", String: value} } -func NewCreditNoteCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteCompany { - return &CreditNoteCompany{typeName: "companyInfo", CompanyInfo: value} +func NewCreditNoteRequestCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteRequestCompany { + return &CreditNoteRequestCompany{typeName: "companyInfo", CompanyInfo: value} } -func (c *CreditNoteCompany) UnmarshalJSON(data []byte) error { +func (c *CreditNoteRequestCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { c.typeName = "string" @@ -8626,7 +12941,7 @@ func (c *CreditNoteCompany) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, c) } -func (c CreditNoteCompany) MarshalJSON() ([]byte, error) { +func (c CreditNoteRequestCompany) MarshalJSON() ([]byte, error) { switch c.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8637,12 +12952,12 @@ func (c CreditNoteCompany) MarshalJSON() ([]byte, error) { } } -type CreditNoteCompanyVisitor interface { +type CreditNoteRequestCompanyVisitor interface { VisitString(string) error VisitCompanyInfo(*CompanyInfo) error } -func (c *CreditNoteCompany) Accept(visitor CreditNoteCompanyVisitor) error { +func (c *CreditNoteRequestCompany) Accept(visitor CreditNoteRequestCompanyVisitor) error { switch c.typeName { default: return fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8654,21 +12969,21 @@ func (c *CreditNoteCompany) Accept(visitor CreditNoteCompanyVisitor) error { } // The credit note's contact. -type CreditNoteContact struct { +type CreditNoteRequestContact struct { typeName string String string Contact *Contact } -func NewCreditNoteContactFromString(value string) *CreditNoteContact { - return &CreditNoteContact{typeName: "string", String: value} +func NewCreditNoteRequestContactFromString(value string) *CreditNoteRequestContact { + return &CreditNoteRequestContact{typeName: "string", String: value} } -func NewCreditNoteContactFromContact(value *Contact) *CreditNoteContact { - return &CreditNoteContact{typeName: "contact", Contact: value} +func NewCreditNoteRequestContactFromContact(value *Contact) *CreditNoteRequestContact { + return &CreditNoteRequestContact{typeName: "contact", Contact: value} } -func (c *CreditNoteContact) UnmarshalJSON(data []byte) error { +func (c *CreditNoteRequestContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { c.typeName = "string" @@ -8684,7 +12999,7 @@ func (c *CreditNoteContact) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, c) } -func (c CreditNoteContact) MarshalJSON() ([]byte, error) { +func (c CreditNoteRequestContact) MarshalJSON() ([]byte, error) { switch c.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -8695,12 +13010,12 @@ func (c CreditNoteContact) MarshalJSON() ([]byte, error) { } } -type CreditNoteContactVisitor interface { +type CreditNoteRequestContactVisitor interface { VisitString(string) error VisitContact(*Contact) error } -func (c *CreditNoteContact) Accept(visitor CreditNoteContactVisitor) error { +func (c *CreditNoteRequestContact) Accept(visitor CreditNoteRequestContactVisitor) error { switch c.typeName { default: return fmt.Errorf("invalid type %s in %T", c.typeName, c) @@ -9019,440 +13334,1685 @@ func (c *CreditNoteContact) Accept(visitor CreditNoteContactVisitor) error { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type CreditNoteCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type CreditNoteRequestCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewCreditNoteRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *CreditNoteRequestCurrency { + return &CreditNoteRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewCreditNoteRequestCurrencyFromString(value string) *CreditNoteRequestCurrency { + return &CreditNoteRequestCurrency{typeName: "string", String: value} +} + +func (c *CreditNoteRequestCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + c.typeName = "transactionCurrencyEnum" + c.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteRequestCurrency) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return json.Marshal(c.TransactionCurrencyEnum) + case "string": + return json.Marshal(c.String) + } +} + +type CreditNoteRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (c *CreditNoteRequestCurrency) Accept(visitor CreditNoteRequestCurrencyVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(c.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +type CreditNoteRequestLineItemsItem struct { + typeName string + String string + CreditNoteLineItemRequest *CreditNoteLineItemRequest +} + +func NewCreditNoteRequestLineItemsItemFromString(value string) *CreditNoteRequestLineItemsItem { + return &CreditNoteRequestLineItemsItem{typeName: "string", String: value} +} + +func NewCreditNoteRequestLineItemsItemFromCreditNoteLineItemRequest(value *CreditNoteLineItemRequest) *CreditNoteRequestLineItemsItem { + return &CreditNoteRequestLineItemsItem{typeName: "creditNoteLineItemRequest", CreditNoteLineItemRequest: value} +} + +func (c *CreditNoteRequestLineItemsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueCreditNoteLineItemRequest := new(CreditNoteLineItemRequest) + if err := json.Unmarshal(data, &valueCreditNoteLineItemRequest); err == nil { + c.typeName = "creditNoteLineItemRequest" + c.CreditNoteLineItemRequest = valueCreditNoteLineItemRequest + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteRequestLineItemsItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "creditNoteLineItemRequest": + return json.Marshal(c.CreditNoteLineItemRequest) + } +} + +type CreditNoteRequestLineItemsItemVisitor interface { + VisitString(string) error + VisitCreditNoteLineItemRequest(*CreditNoteLineItemRequest) error +} + +func (c *CreditNoteRequestLineItemsItem) Accept(visitor CreditNoteRequestLineItemsItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "creditNoteLineItemRequest": + return visitor.VisitCreditNoteLineItemRequest(c.CreditNoteLineItemRequest) + } +} + +type CreditNoteRequestPaymentsItem struct { + typeName string + String string + Payment *Payment +} + +func NewCreditNoteRequestPaymentsItemFromString(value string) *CreditNoteRequestPaymentsItem { + return &CreditNoteRequestPaymentsItem{typeName: "string", String: value} +} + +func NewCreditNoteRequestPaymentsItemFromPayment(value *Payment) *CreditNoteRequestPaymentsItem { + return &CreditNoteRequestPaymentsItem{typeName: "payment", Payment: value} +} + +func (c *CreditNoteRequestPaymentsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valuePayment := new(Payment) + if err := json.Unmarshal(data, &valuePayment); err == nil { + c.typeName = "payment" + c.Payment = valuePayment + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteRequestPaymentsItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "payment": + return json.Marshal(c.Payment) + } +} + +type CreditNoteRequestPaymentsItemVisitor interface { + VisitString(string) error + VisitPayment(*Payment) error +} + +func (c *CreditNoteRequestPaymentsItem) Accept(visitor CreditNoteRequestPaymentsItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "payment": + return visitor.VisitPayment(c.Payment) + } +} + +// The credit note's status. +// +// - `SUBMITTED` - SUBMITTED +// - `AUTHORIZED` - AUTHORIZED +// - `PAID` - PAID +type CreditNoteRequestStatus struct { + typeName string + CreditNoteStatusEnum CreditNoteStatusEnum + String string +} + +func NewCreditNoteRequestStatusFromCreditNoteStatusEnum(value CreditNoteStatusEnum) *CreditNoteRequestStatus { + return &CreditNoteRequestStatus{typeName: "creditNoteStatusEnum", CreditNoteStatusEnum: value} +} + +func NewCreditNoteRequestStatusFromString(value string) *CreditNoteRequestStatus { + return &CreditNoteRequestStatus{typeName: "string", String: value} +} + +func (c *CreditNoteRequestStatus) UnmarshalJSON(data []byte) error { + var valueCreditNoteStatusEnum CreditNoteStatusEnum + if err := json.Unmarshal(data, &valueCreditNoteStatusEnum); err == nil { + c.typeName = "creditNoteStatusEnum" + c.CreditNoteStatusEnum = valueCreditNoteStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteRequestStatus) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "creditNoteStatusEnum": + return json.Marshal(c.CreditNoteStatusEnum) + case "string": + return json.Marshal(c.String) + } +} + +type CreditNoteRequestStatusVisitor interface { + VisitCreditNoteStatusEnum(CreditNoteStatusEnum) error + VisitString(string) error +} + +func (c *CreditNoteRequestStatus) Accept(visitor CreditNoteRequestStatusVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "creditNoteStatusEnum": + return visitor.VisitCreditNoteStatusEnum(c.CreditNoteStatusEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +type CreditNoteRequestTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewCreditNoteRequestTrackingCategoriesItemFromString(value string) *CreditNoteRequestTrackingCategoriesItem { + return &CreditNoteRequestTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewCreditNoteRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *CreditNoteRequestTrackingCategoriesItem { + return &CreditNoteRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (c *CreditNoteRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + c.typeName = "trackingCategory" + c.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "trackingCategory": + return json.Marshal(c.TrackingCategory) + } +} + +type CreditNoteRequestTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (c *CreditNoteRequestTrackingCategoriesItem) Accept(visitor CreditNoteRequestTrackingCategoriesItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(c.TrackingCategory) + } +} + +type CreditNoteResponse struct { + Model *CreditNote `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (c *CreditNoteResponse) UnmarshalJSON(data []byte) error { + type unmarshaler CreditNoteResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *c = CreditNoteResponse(value) + c._rawJSON = json.RawMessage(data) + return nil +} + +func (c *CreditNoteResponse) String() string { + if len(c._rawJSON) > 0 { + if value, err := core.StringifyJSON(c._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(c); err == nil { + return value + } + return fmt.Sprintf("%#v", c) +} + +// The credit note's status. +// +// - `SUBMITTED` - SUBMITTED +// - `AUTHORIZED` - AUTHORIZED +// - `PAID` - PAID +type CreditNoteStatus struct { + typeName string + CreditNoteStatusEnum CreditNoteStatusEnum + String string +} + +func NewCreditNoteStatusFromCreditNoteStatusEnum(value CreditNoteStatusEnum) *CreditNoteStatus { + return &CreditNoteStatus{typeName: "creditNoteStatusEnum", CreditNoteStatusEnum: value} +} + +func NewCreditNoteStatusFromString(value string) *CreditNoteStatus { + return &CreditNoteStatus{typeName: "string", String: value} +} + +func (c *CreditNoteStatus) UnmarshalJSON(data []byte) error { + var valueCreditNoteStatusEnum CreditNoteStatusEnum + if err := json.Unmarshal(data, &valueCreditNoteStatusEnum); err == nil { + c.typeName = "creditNoteStatusEnum" + c.CreditNoteStatusEnum = valueCreditNoteStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteStatus) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "creditNoteStatusEnum": + return json.Marshal(c.CreditNoteStatusEnum) + case "string": + return json.Marshal(c.String) + } +} + +type CreditNoteStatusVisitor interface { + VisitCreditNoteStatusEnum(CreditNoteStatusEnum) error + VisitString(string) error +} + +func (c *CreditNoteStatus) Accept(visitor CreditNoteStatusVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "creditNoteStatusEnum": + return visitor.VisitCreditNoteStatusEnum(c.CreditNoteStatusEnum) + case "string": + return visitor.VisitString(c.String) + } +} + +// - `SUBMITTED` - SUBMITTED +// - `AUTHORIZED` - AUTHORIZED +// - `PAID` - PAID +type CreditNoteStatusEnum string + +const ( + CreditNoteStatusEnumSubmitted CreditNoteStatusEnum = "SUBMITTED" + CreditNoteStatusEnumAuthorized CreditNoteStatusEnum = "AUTHORIZED" + CreditNoteStatusEnumPaid CreditNoteStatusEnum = "PAID" +) + +func NewCreditNoteStatusEnumFromString(s string) (CreditNoteStatusEnum, error) { + switch s { + case "SUBMITTED": + return CreditNoteStatusEnumSubmitted, nil + case "AUTHORIZED": + return CreditNoteStatusEnumAuthorized, nil + case "PAID": + return CreditNoteStatusEnumPaid, nil + } + var t CreditNoteStatusEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CreditNoteStatusEnum) Ptr() *CreditNoteStatusEnum { + return &c +} + +type CreditNoteTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewCreditNoteTrackingCategoriesItemFromString(value string) *CreditNoteTrackingCategoriesItem { + return &CreditNoteTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewCreditNoteTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *CreditNoteTrackingCategoriesItem { + return &CreditNoteTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (c *CreditNoteTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + c.typeName = "trackingCategory" + c.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CreditNoteTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "trackingCategory": + return json.Marshal(c.TrackingCategory) + } +} + +type CreditNoteTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (c *CreditNoteTrackingCategoriesItem) Accept(visitor CreditNoteTrackingCategoriesItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(c.TrackingCategory) + } +} + +// - `CREDIT` - CREDIT +// - `DEBIT` - DEBIT +type CreditOrDebitEnum string + +const ( + CreditOrDebitEnumCredit CreditOrDebitEnum = "CREDIT" + CreditOrDebitEnumDebit CreditOrDebitEnum = "DEBIT" +) + +func NewCreditOrDebitEnumFromString(s string) (CreditOrDebitEnum, error) { + switch s { + case "CREDIT": + return CreditOrDebitEnumCredit, nil + case "DEBIT": + return CreditOrDebitEnumDebit, nil + } + var t CreditOrDebitEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CreditOrDebitEnum) Ptr() *CreditOrDebitEnum { + return &c +} + +// # The DataPassthrough Object +// +// ### Description +// +// The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. +// +// ### Usage Example +// +// Create a `DataPassthrough` to get team hierarchies from your Rippling integration. +type DataPassthroughRequest struct { + Method MethodEnum `json:"method,omitempty"` + // The path of the request in the third party's platform. + Path string `json:"path"` + // An optional override of the third party's base url for the request. + BaseUrlOverride *string `json:"base_url_override,omitempty"` + // The data with the request. You must include a `request_format` parameter matching the data's format + Data *string `json:"data,omitempty"` + // Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. + MultipartFormData []*MultipartFormFieldRequest `json:"multipart_form_data,omitempty"` + // The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. + Headers map[string]interface{} `json:"headers,omitempty"` + RequestFormat *RequestFormatEnum `json:"request_format,omitempty"` + // Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. + NormalizeResponse *bool `json:"normalize_response,omitempty"` + + _rawJSON json.RawMessage +} + +func (d *DataPassthroughRequest) UnmarshalJSON(data []byte) error { + type unmarshaler DataPassthroughRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DataPassthroughRequest(value) + d._rawJSON = json.RawMessage(data) + return nil +} + +func (d *DataPassthroughRequest) String() string { + if len(d._rawJSON) > 0 { + if value, err := core.StringifyJSON(d._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DebugModeLog struct { + LogId string `json:"log_id"` + DashboardView string `json:"dashboard_view"` + LogSummary *DebugModelLogSummary `json:"log_summary,omitempty"` + + _rawJSON json.RawMessage +} + +func (d *DebugModeLog) UnmarshalJSON(data []byte) error { + type unmarshaler DebugModeLog + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DebugModeLog(value) + d._rawJSON = json.RawMessage(data) + return nil +} + +func (d *DebugModeLog) String() string { + if len(d._rawJSON) > 0 { + if value, err := core.StringifyJSON(d._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) +} + +type DebugModelLogSummary struct { + Url string `json:"url"` + Method string `json:"method"` + StatusCode int `json:"status_code"` + + _rawJSON json.RawMessage +} + +func (d *DebugModelLogSummary) UnmarshalJSON(data []byte) error { + type unmarshaler DebugModelLogSummary + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *d = DebugModelLogSummary(value) + d._rawJSON = json.RawMessage(data) + return nil } -func NewCreditNoteCurrencyFromCurrencyEnum(value CurrencyEnum) *CreditNoteCurrency { - return &CreditNoteCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func (d *DebugModelLogSummary) String() string { + if len(d._rawJSON) > 0 { + if value, err := core.StringifyJSON(d._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(d); err == nil { + return value + } + return fmt.Sprintf("%#v", d) } -func NewCreditNoteCurrencyFromString(value string) *CreditNoteCurrency { - return &CreditNoteCurrency{typeName: "string", String: value} +// # The Employee Object +// +// ### Description +// +// An `Employee` is an individual who works for the company of the linked account. The `Employee` model contains both contractors and full time employees. +// +// - An `Employee` is a contractor if `is_contractor` property is `True` +// - An `Employee` is a full time employee if `is_contractor` property is `False` +// +// ### Usage Example +// +// Fetch from the `LIST Employees` endpoint and view a company's employees. +type Employee struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The employee's first name. + FirstName *string `json:"first_name,omitempty"` + // The employee's last name. + LastName *string `json:"last_name,omitempty"` + // `True` if the employee is a contractor, `False` if not. + IsContractor *bool `json:"is_contractor,omitempty"` + // The employee's internal identification number. + EmployeeNumber *string `json:"employee_number,omitempty"` + // The employee's email address. + EmailAddress *string `json:"email_address,omitempty"` + // The subsidiary that the employee belongs to. + Company *EmployeeCompany `json:"company,omitempty"` + // The employee's status in the accounting system. + // + // - `ACTIVE` - ACTIVE + // - `INACTIVE` - INACTIVE + Status *EmployeeStatus `json:"status,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + + _rawJSON json.RawMessage } -func (c *CreditNoteCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - c.typeName = "currencyEnum" - c.CurrencyEnum = valueCurrencyEnum +func (e *Employee) UnmarshalJSON(data []byte) error { + type unmarshaler Employee + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *e = Employee(value) + e._rawJSON = json.RawMessage(data) + return nil +} + +func (e *Employee) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(e); err == nil { + return value + } + return fmt.Sprintf("%#v", e) +} + +// The subsidiary that the employee belongs to. +type EmployeeCompany struct { + typeName string + String string + Unknown interface{} +} + +func NewEmployeeCompanyFromString(value string) *EmployeeCompany { + return &EmployeeCompany{typeName: "string", String: value} +} + +func NewEmployeeCompanyFromUnknown(value interface{}) *EmployeeCompany { + return &EmployeeCompany{typeName: "unknown", Unknown: value} +} + +func (e *EmployeeCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + var valueUnknown interface{} + if err := json.Unmarshal(data, &valueUnknown); err == nil { + e.typeName = "unknown" + e.Unknown = valueUnknown + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e EmployeeCompany) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "unknown": + return json.Marshal(e.Unknown) + } +} + +type EmployeeCompanyVisitor interface { + VisitString(string) error + VisitUnknown(interface{}) error +} + +func (e *EmployeeCompany) Accept(visitor EmployeeCompanyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "unknown": + return visitor.VisitUnknown(e.Unknown) + } +} + +// The employee's status in the accounting system. +// +// - `ACTIVE` - ACTIVE +// - `INACTIVE` - INACTIVE +type EmployeeStatus struct { + typeName string + Status895Enum Status895Enum + String string +} + +func NewEmployeeStatusFromStatus895Enum(value Status895Enum) *EmployeeStatus { + return &EmployeeStatus{typeName: "status895Enum", Status895Enum: value} +} + +func NewEmployeeStatusFromString(value string) *EmployeeStatus { + return &EmployeeStatus{typeName: "string", String: value} +} + +func (e *EmployeeStatus) UnmarshalJSON(data []byte) error { + var valueStatus895Enum Status895Enum + if err := json.Unmarshal(data, &valueStatus895Enum); err == nil { + e.typeName = "status895Enum" + e.Status895Enum = valueStatus895Enum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + e.typeName = "string" + e.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (c CreditNoteCurrency) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (e EmployeeStatus) MarshalJSON() ([]byte, error) { + switch e.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return json.Marshal(c.CurrencyEnum) + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "status895Enum": + return json.Marshal(e.Status895Enum) case "string": - return json.Marshal(c.String) + return json.Marshal(e.String) } } -type CreditNoteCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type EmployeeStatusVisitor interface { + VisitStatus895Enum(Status895Enum) error VisitString(string) error } -func (c *CreditNoteCurrency) Accept(visitor CreditNoteCurrencyVisitor) error { - switch c.typeName { +func (e *EmployeeStatus) Accept(visitor EmployeeStatusVisitor) error { + switch e.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "currencyEnum": - return visitor.VisitCurrencyEnum(c.CurrencyEnum) + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "status895Enum": + return visitor.VisitStatus895Enum(e.Status895Enum) case "string": - return visitor.VisitString(c.String) + return visitor.VisitString(e.String) } } -type CreditNoteLineItem struct { +// - `READ` - READ +// - `WRITE` - WRITE +type EnabledActionsEnum string + +const ( + EnabledActionsEnumRead EnabledActionsEnum = "READ" + EnabledActionsEnumWrite EnabledActionsEnum = "WRITE" +) + +func NewEnabledActionsEnumFromString(s string) (EnabledActionsEnum, error) { + switch s { + case "READ": + return EnabledActionsEnumRead, nil + case "WRITE": + return EnabledActionsEnumWrite, nil + } + var t EnabledActionsEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (e EnabledActionsEnum) Ptr() *EnabledActionsEnum { + return &e +} + +// - `RAW` - RAW +// - `BASE64` - BASE64 +// - `GZIP_BASE64` - GZIP_BASE64 +type EncodingEnum string + +const ( + EncodingEnumRaw EncodingEnum = "RAW" + EncodingEnumBase64 EncodingEnum = "BASE64" + EncodingEnumGzipBase64 EncodingEnum = "GZIP_BASE64" +) + +func NewEncodingEnumFromString(s string) (EncodingEnum, error) { + switch s { + case "RAW": + return EncodingEnumRaw, nil + case "BASE64": + return EncodingEnumBase64, nil + case "GZIP_BASE64": + return EncodingEnumGzipBase64, nil + } + var t EncodingEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (e EncodingEnum) Ptr() *EncodingEnum { + return &e +} + +type ErrorValidationProblem struct { + Source *ValidationProblemSource `json:"source,omitempty"` + Title string `json:"title"` + Detail string `json:"detail"` + ProblemType string `json:"problem_type"` + + _rawJSON json.RawMessage +} + +func (e *ErrorValidationProblem) UnmarshalJSON(data []byte) error { + type unmarshaler ErrorValidationProblem + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *e = ErrorValidationProblem(value) + e._rawJSON = json.RawMessage(data) + return nil +} + +func (e *ErrorValidationProblem) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(e); err == nil { + return value + } + return fmt.Sprintf("%#v", e) +} + +// - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY +// - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY +// - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY +// - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY +// - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY +// - `INVITED_USER` - INVITED_USER +// - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED +// - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED +// - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT +// - `CREATED_DESTINATION` - CREATED_DESTINATION +// - `DELETED_DESTINATION` - DELETED_DESTINATION +// - `CHANGED_DESTINATION` - CHANGED_DESTINATION +// - `CHANGED_SCOPES` - CHANGED_SCOPES +// - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION +// - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS +// - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION +// - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION +// - `ENABLED_CATEGORY` - ENABLED_CATEGORY +// - `DISABLED_CATEGORY` - DISABLED_CATEGORY +// - `CHANGED_PASSWORD` - CHANGED_PASSWORD +// - `RESET_PASSWORD` - RESET_PASSWORD +// - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION +// - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT +// - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION +// - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT +// - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING +// - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING +// - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING +// - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC +// - `MUTED_ISSUE` - MUTED_ISSUE +// - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK +// - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK +// - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK +// - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED +// - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED +type EventTypeEnum string + +const ( + EventTypeEnumCreatedRemoteProductionApiKey EventTypeEnum = "CREATED_REMOTE_PRODUCTION_API_KEY" + EventTypeEnumDeletedRemoteProductionApiKey EventTypeEnum = "DELETED_REMOTE_PRODUCTION_API_KEY" + EventTypeEnumCreatedTestApiKey EventTypeEnum = "CREATED_TEST_API_KEY" + EventTypeEnumDeletedTestApiKey EventTypeEnum = "DELETED_TEST_API_KEY" + EventTypeEnumRegeneratedProductionApiKey EventTypeEnum = "REGENERATED_PRODUCTION_API_KEY" + EventTypeEnumInvitedUser EventTypeEnum = "INVITED_USER" + EventTypeEnumTwoFactorAuthEnabled EventTypeEnum = "TWO_FACTOR_AUTH_ENABLED" + EventTypeEnumTwoFactorAuthDisabled EventTypeEnum = "TWO_FACTOR_AUTH_DISABLED" + EventTypeEnumDeletedLinkedAccount EventTypeEnum = "DELETED_LINKED_ACCOUNT" + EventTypeEnumCreatedDestination EventTypeEnum = "CREATED_DESTINATION" + EventTypeEnumDeletedDestination EventTypeEnum = "DELETED_DESTINATION" + EventTypeEnumChangedDestination EventTypeEnum = "CHANGED_DESTINATION" + EventTypeEnumChangedScopes EventTypeEnum = "CHANGED_SCOPES" + EventTypeEnumChangedPersonalInformation EventTypeEnum = "CHANGED_PERSONAL_INFORMATION" + EventTypeEnumChangedOrganizationSettings EventTypeEnum = "CHANGED_ORGANIZATION_SETTINGS" + EventTypeEnumEnabledIntegration EventTypeEnum = "ENABLED_INTEGRATION" + EventTypeEnumDisabledIntegration EventTypeEnum = "DISABLED_INTEGRATION" + EventTypeEnumEnabledCategory EventTypeEnum = "ENABLED_CATEGORY" + EventTypeEnumDisabledCategory EventTypeEnum = "DISABLED_CATEGORY" + EventTypeEnumChangedPassword EventTypeEnum = "CHANGED_PASSWORD" + EventTypeEnumResetPassword EventTypeEnum = "RESET_PASSWORD" + EventTypeEnumEnabledRedactUnmappedDataForOrganization EventTypeEnum = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" + EventTypeEnumEnabledRedactUnmappedDataForLinkedAccount EventTypeEnum = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" + EventTypeEnumDisabledRedactUnmappedDataForOrganization EventTypeEnum = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" + EventTypeEnumDisabledRedactUnmappedDataForLinkedAccount EventTypeEnum = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" + EventTypeEnumCreatedIntegrationWideFieldMapping EventTypeEnum = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountFieldMapping EventTypeEnum = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumChangedIntegrationWideFieldMapping EventTypeEnum = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" + EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" + EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" + EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" + EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" + EventTypeEnumEnabledMergeWebhook EventTypeEnum = "ENABLED_MERGE_WEBHOOK" + EventTypeEnumDisabledMergeWebhook EventTypeEnum = "DISABLED_MERGE_WEBHOOK" + EventTypeEnumMergeWebhookTargetChanged EventTypeEnum = "MERGE_WEBHOOK_TARGET_CHANGED" + EventTypeEnumEndUserCredentialsAccessed EventTypeEnum = "END_USER_CREDENTIALS_ACCESSED" +) + +func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { + switch s { + case "CREATED_REMOTE_PRODUCTION_API_KEY": + return EventTypeEnumCreatedRemoteProductionApiKey, nil + case "DELETED_REMOTE_PRODUCTION_API_KEY": + return EventTypeEnumDeletedRemoteProductionApiKey, nil + case "CREATED_TEST_API_KEY": + return EventTypeEnumCreatedTestApiKey, nil + case "DELETED_TEST_API_KEY": + return EventTypeEnumDeletedTestApiKey, nil + case "REGENERATED_PRODUCTION_API_KEY": + return EventTypeEnumRegeneratedProductionApiKey, nil + case "INVITED_USER": + return EventTypeEnumInvitedUser, nil + case "TWO_FACTOR_AUTH_ENABLED": + return EventTypeEnumTwoFactorAuthEnabled, nil + case "TWO_FACTOR_AUTH_DISABLED": + return EventTypeEnumTwoFactorAuthDisabled, nil + case "DELETED_LINKED_ACCOUNT": + return EventTypeEnumDeletedLinkedAccount, nil + case "CREATED_DESTINATION": + return EventTypeEnumCreatedDestination, nil + case "DELETED_DESTINATION": + return EventTypeEnumDeletedDestination, nil + case "CHANGED_DESTINATION": + return EventTypeEnumChangedDestination, nil + case "CHANGED_SCOPES": + return EventTypeEnumChangedScopes, nil + case "CHANGED_PERSONAL_INFORMATION": + return EventTypeEnumChangedPersonalInformation, nil + case "CHANGED_ORGANIZATION_SETTINGS": + return EventTypeEnumChangedOrganizationSettings, nil + case "ENABLED_INTEGRATION": + return EventTypeEnumEnabledIntegration, nil + case "DISABLED_INTEGRATION": + return EventTypeEnumDisabledIntegration, nil + case "ENABLED_CATEGORY": + return EventTypeEnumEnabledCategory, nil + case "DISABLED_CATEGORY": + return EventTypeEnumDisabledCategory, nil + case "CHANGED_PASSWORD": + return EventTypeEnumChangedPassword, nil + case "RESET_PASSWORD": + return EventTypeEnumResetPassword, nil + case "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION": + return EventTypeEnumEnabledRedactUnmappedDataForOrganization, nil + case "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT": + return EventTypeEnumEnabledRedactUnmappedDataForLinkedAccount, nil + case "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION": + return EventTypeEnumDisabledRedactUnmappedDataForOrganization, nil + case "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT": + return EventTypeEnumDisabledRedactUnmappedDataForLinkedAccount, nil + case "CREATED_INTEGRATION_WIDE_FIELD_MAPPING": + return EventTypeEnumCreatedIntegrationWideFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_FIELD_MAPPING": + return EventTypeEnumCreatedLinkedAccountFieldMapping, nil + case "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING": + return EventTypeEnumChangedIntegrationWideFieldMapping, nil + case "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING": + return EventTypeEnumChangedLinkedAccountFieldMapping, nil + case "DELETED_INTEGRATION_WIDE_FIELD_MAPPING": + return EventTypeEnumDeletedIntegrationWideFieldMapping, nil + case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": + return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil + case "FORCED_LINKED_ACCOUNT_RESYNC": + return EventTypeEnumForcedLinkedAccountResync, nil + case "MUTED_ISSUE": + return EventTypeEnumMutedIssue, nil + case "GENERATED_MAGIC_LINK": + return EventTypeEnumGeneratedMagicLink, nil + case "ENABLED_MERGE_WEBHOOK": + return EventTypeEnumEnabledMergeWebhook, nil + case "DISABLED_MERGE_WEBHOOK": + return EventTypeEnumDisabledMergeWebhook, nil + case "MERGE_WEBHOOK_TARGET_CHANGED": + return EventTypeEnumMergeWebhookTargetChanged, nil + case "END_USER_CREDENTIALS_ACCESSED": + return EventTypeEnumEndUserCredentialsAccessed, nil + } + var t EventTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (e EventTypeEnum) Ptr() *EventTypeEnum { + return &e +} + +// # The Expense Object +// +// ### Description +// +// The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. +// +// The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. +// +// ### Usage Example +// +// Fetch from the `GET Expense` endpoint and view a company's expense. +type Expense struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` // The datetime that this object was created by Merge. CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` - Item *CreditNoteLineItemItem `json:"item,omitempty"` - // The credit note line item's name. - Name *string `json:"name,omitempty"` - // The description of the item that is owed. - Description *string `json:"description,omitempty"` - // The credit note line item's quantity. - Quantity *string `json:"quantity,omitempty"` - // The credit note line item's memo. - Memo *string `json:"memo,omitempty"` - // The credit note line item's unit price. - UnitPrice *string `json:"unit_price,omitempty"` - // The credit note line item's total. - TotalLineAmount *string `json:"total_line_amount,omitempty"` - // The credit note line item's associated tracking category. - TrackingCategory *string `json:"tracking_category,omitempty"` - // The credit note line item's associated tracking categories. - TrackingCategories []string `json:"tracking_categories,omitempty"` - // The credit note line item's account. - Account *string `json:"account,omitempty"` - // The company the credit note belongs to. - Company *CreditNoteLineItemCompany `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // When the transaction occurred. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // When the expense was created. + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // The expense's payment account. + Account *ExpenseAccount `json:"account,omitempty"` + // The expense's contact. + Contact *ExpenseContact `json:"contact,omitempty"` + // The expense's total amount. + TotalAmount *float64 `json:"total_amount,omitempty"` + // The expense's total amount before tax. + SubTotal *float64 `json:"sub_total,omitempty"` + // The expense's total tax amount. + TotalTaxAmount *float64 `json:"total_tax_amount,omitempty"` + // The expense's currency. + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + Currency *ExpenseCurrency `json:"currency,omitempty"` + // The expense's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + // The company the expense belongs to. + Company *ExpenseCompany `json:"company,omitempty"` + // The employee this overall transaction relates to. + Employee *ExpenseEmployee `json:"employee,omitempty"` + // The expense's private note. + Memo *string `json:"memo,omitempty"` + Lines []*ExpenseLine `json:"lines,omitempty"` + TrackingCategories []*ExpenseTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // The accounting period that the Expense was generated in. + AccountingPeriod *ExpenseAccountingPeriod `json:"accounting_period,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } -func (c *CreditNoteLineItem) UnmarshalJSON(data []byte) error { - type unmarshaler CreditNoteLineItem +func (e *Expense) UnmarshalJSON(data []byte) error { + type unmarshaler Expense var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *c = CreditNoteLineItem(value) - c._rawJSON = json.RawMessage(data) + *e = Expense(value) + e._rawJSON = json.RawMessage(data) return nil } -func (c *CreditNoteLineItem) String() string { - if len(c._rawJSON) > 0 { - if value, err := core.StringifyJSON(c._rawJSON); err == nil { +func (e *Expense) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(c); err == nil { + if value, err := core.StringifyJSON(e); err == nil { return value } - return fmt.Sprintf("%#v", c) -} - -// The company the credit note belongs to. -type CreditNoteLineItemCompany struct { - typeName string - String string - CompanyInfo *CompanyInfo -} - -func NewCreditNoteLineItemCompanyFromString(value string) *CreditNoteLineItemCompany { - return &CreditNoteLineItemCompany{typeName: "string", String: value} -} - -func NewCreditNoteLineItemCompanyFromCompanyInfo(value *CompanyInfo) *CreditNoteLineItemCompany { - return &CreditNoteLineItemCompany{typeName: "companyInfo", CompanyInfo: value} -} - -func (c *CreditNoteLineItemCompany) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString - return nil - } - valueCompanyInfo := new(CompanyInfo) - if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - c.typeName = "companyInfo" - c.CompanyInfo = valueCompanyInfo - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) -} - -func (c CreditNoteLineItemCompany) MarshalJSON() ([]byte, error) { - switch c.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "string": - return json.Marshal(c.String) - case "companyInfo": - return json.Marshal(c.CompanyInfo) - } -} - -type CreditNoteLineItemCompanyVisitor interface { - VisitString(string) error - VisitCompanyInfo(*CompanyInfo) error -} - -func (c *CreditNoteLineItemCompany) Accept(visitor CreditNoteLineItemCompanyVisitor) error { - switch c.typeName { - default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "string": - return visitor.VisitString(c.String) - case "companyInfo": - return visitor.VisitCompanyInfo(c.CompanyInfo) - } + return fmt.Sprintf("%#v", e) } -type CreditNoteLineItemItem struct { +// The expense's payment account. +type ExpenseAccount struct { typeName string String string - Item *Item + Account *Account } -func NewCreditNoteLineItemItemFromString(value string) *CreditNoteLineItemItem { - return &CreditNoteLineItemItem{typeName: "string", String: value} +func NewExpenseAccountFromString(value string) *ExpenseAccount { + return &ExpenseAccount{typeName: "string", String: value} } -func NewCreditNoteLineItemItemFromItem(value *Item) *CreditNoteLineItemItem { - return &CreditNoteLineItemItem{typeName: "item", Item: value} +func NewExpenseAccountFromAccount(value *Account) *ExpenseAccount { + return &ExpenseAccount{typeName: "account", Account: value} } -func (c *CreditNoteLineItemItem) UnmarshalJSON(data []byte) error { +func (e *ExpenseAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + e.typeName = "string" + e.String = valueString return nil } - valueItem := new(Item) - if err := json.Unmarshal(data, &valueItem); err == nil { - c.typeName = "item" - c.Item = valueItem + valueAccount := new(Account) + if err := json.Unmarshal(data, &valueAccount); err == nil { + e.typeName = "account" + e.Account = valueAccount return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (c CreditNoteLineItemItem) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (e ExpenseAccount) MarshalJSON() ([]byte, error) { + switch e.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return json.Marshal(c.String) - case "item": - return json.Marshal(c.Item) + return json.Marshal(e.String) + case "account": + return json.Marshal(e.Account) } } -type CreditNoteLineItemItemVisitor interface { +type ExpenseAccountVisitor interface { VisitString(string) error - VisitItem(*Item) error + VisitAccount(*Account) error } -func (c *CreditNoteLineItemItem) Accept(visitor CreditNoteLineItemItemVisitor) error { - switch c.typeName { +func (e *ExpenseAccount) Accept(visitor ExpenseAccountVisitor) error { + switch e.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return visitor.VisitString(c.String) - case "item": - return visitor.VisitItem(c.Item) + return visitor.VisitString(e.String) + case "account": + return visitor.VisitAccount(e.Account) } } -type CreditNotePaymentsItem struct { - typeName string - String string - Payment *Payment +// The accounting period that the Expense was generated in. +type ExpenseAccountingPeriod struct { + typeName string + String string + AccountingPeriod *AccountingPeriod } -func NewCreditNotePaymentsItemFromString(value string) *CreditNotePaymentsItem { - return &CreditNotePaymentsItem{typeName: "string", String: value} +func NewExpenseAccountingPeriodFromString(value string) *ExpenseAccountingPeriod { + return &ExpenseAccountingPeriod{typeName: "string", String: value} } -func NewCreditNotePaymentsItemFromPayment(value *Payment) *CreditNotePaymentsItem { - return &CreditNotePaymentsItem{typeName: "payment", Payment: value} +func NewExpenseAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *ExpenseAccountingPeriod { + return &ExpenseAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} } -func (c *CreditNotePaymentsItem) UnmarshalJSON(data []byte) error { +func (e *ExpenseAccountingPeriod) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + e.typeName = "string" + e.String = valueString return nil } - valuePayment := new(Payment) - if err := json.Unmarshal(data, &valuePayment); err == nil { - c.typeName = "payment" - c.Payment = valuePayment + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + e.typeName = "accountingPeriod" + e.AccountingPeriod = valueAccountingPeriod return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (c CreditNotePaymentsItem) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (e ExpenseAccountingPeriod) MarshalJSON() ([]byte, error) { + switch e.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return json.Marshal(c.String) - case "payment": - return json.Marshal(c.Payment) + return json.Marshal(e.String) + case "accountingPeriod": + return json.Marshal(e.AccountingPeriod) } } -type CreditNotePaymentsItemVisitor interface { +type ExpenseAccountingPeriodVisitor interface { VisitString(string) error - VisitPayment(*Payment) error + VisitAccountingPeriod(*AccountingPeriod) error } -func (c *CreditNotePaymentsItem) Accept(visitor CreditNotePaymentsItemVisitor) error { - switch c.typeName { +func (e *ExpenseAccountingPeriod) Accept(visitor ExpenseAccountingPeriodVisitor) error { + switch e.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return visitor.VisitString(c.String) - case "payment": - return visitor.VisitPayment(c.Payment) + return visitor.VisitString(e.String) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(e.AccountingPeriod) } } -// The credit note's status. -// -// - `SUBMITTED` - SUBMITTED -// - `AUTHORIZED` - AUTHORIZED -// - `PAID` - PAID -type CreditNoteStatus struct { - typeName string - CreditNoteStatusEnum CreditNoteStatusEnum - String string +// The company the expense belongs to. +type ExpenseCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo } -func NewCreditNoteStatusFromCreditNoteStatusEnum(value CreditNoteStatusEnum) *CreditNoteStatus { - return &CreditNoteStatus{typeName: "creditNoteStatusEnum", CreditNoteStatusEnum: value} +func NewExpenseCompanyFromString(value string) *ExpenseCompany { + return &ExpenseCompany{typeName: "string", String: value} } -func NewCreditNoteStatusFromString(value string) *CreditNoteStatus { - return &CreditNoteStatus{typeName: "string", String: value} +func NewExpenseCompanyFromCompanyInfo(value *CompanyInfo) *ExpenseCompany { + return &ExpenseCompany{typeName: "companyInfo", CompanyInfo: value} } -func (c *CreditNoteStatus) UnmarshalJSON(data []byte) error { - var valueCreditNoteStatusEnum CreditNoteStatusEnum - if err := json.Unmarshal(data, &valueCreditNoteStatusEnum); err == nil { - c.typeName = "creditNoteStatusEnum" - c.CreditNoteStatusEnum = valueCreditNoteStatusEnum - return nil - } +func (e *ExpenseCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + e.typeName = "string" + e.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) -} - -func (c CreditNoteStatus) MarshalJSON() ([]byte, error) { - switch c.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "creditNoteStatusEnum": - return json.Marshal(c.CreditNoteStatusEnum) - case "string": - return json.Marshal(c.String) - } -} - -type CreditNoteStatusVisitor interface { - VisitCreditNoteStatusEnum(CreditNoteStatusEnum) error - VisitString(string) error -} - -func (c *CreditNoteStatus) Accept(visitor CreditNoteStatusVisitor) error { - switch c.typeName { - default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) - case "creditNoteStatusEnum": - return visitor.VisitCreditNoteStatusEnum(c.CreditNoteStatusEnum) - case "string": - return visitor.VisitString(c.String) + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + e.typeName = "companyInfo" + e.CompanyInfo = valueCompanyInfo + return nil } -} - -// - `SUBMITTED` - SUBMITTED -// - `AUTHORIZED` - AUTHORIZED -// - `PAID` - PAID -type CreditNoteStatusEnum string - -const ( - CreditNoteStatusEnumSubmitted CreditNoteStatusEnum = "SUBMITTED" - CreditNoteStatusEnumAuthorized CreditNoteStatusEnum = "AUTHORIZED" - CreditNoteStatusEnumPaid CreditNoteStatusEnum = "PAID" -) - -func NewCreditNoteStatusEnumFromString(s string) (CreditNoteStatusEnum, error) { - switch s { - case "SUBMITTED": - return CreditNoteStatusEnumSubmitted, nil - case "AUTHORIZED": - return CreditNoteStatusEnumAuthorized, nil - case "PAID": - return CreditNoteStatusEnumPaid, nil + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseCompany) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "companyInfo": + return json.Marshal(e.CompanyInfo) } - var t CreditNoteStatusEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (c CreditNoteStatusEnum) Ptr() *CreditNoteStatusEnum { - return &c +type ExpenseCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error } -type CreditNoteTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +func (e *ExpenseCompany) Accept(visitor ExpenseCompanyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "companyInfo": + return visitor.VisitCompanyInfo(e.CompanyInfo) + } } -func NewCreditNoteTrackingCategoriesItemFromString(value string) *CreditNoteTrackingCategoriesItem { - return &CreditNoteTrackingCategoriesItem{typeName: "string", String: value} +// The expense's contact. +type ExpenseContact struct { + typeName string + String string + Contact *Contact } -func NewCreditNoteTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *CreditNoteTrackingCategoriesItem { - return &CreditNoteTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewExpenseContactFromString(value string) *ExpenseContact { + return &ExpenseContact{typeName: "string", String: value} } -func (c *CreditNoteTrackingCategoriesItem) UnmarshalJSON(data []byte) error { +func NewExpenseContactFromContact(value *Contact) *ExpenseContact { + return &ExpenseContact{typeName: "contact", Contact: value} +} + +func (e *ExpenseContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - c.typeName = "string" - c.String = valueString + e.typeName = "string" + e.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - c.typeName = "trackingCategory" - c.TrackingCategory = valueTrackingCategory + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + e.typeName = "contact" + e.Contact = valueContact return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, c) + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (c CreditNoteTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch c.typeName { +func (e ExpenseContact) MarshalJSON() ([]byte, error) { + switch e.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return json.Marshal(c.String) - case "trackingCategory": - return json.Marshal(c.TrackingCategory) + return json.Marshal(e.String) + case "contact": + return json.Marshal(e.Contact) } } -type CreditNoteTrackingCategoriesItemVisitor interface { +type ExpenseContactVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitContact(*Contact) error } -func (c *CreditNoteTrackingCategoriesItem) Accept(visitor CreditNoteTrackingCategoriesItemVisitor) error { - switch c.typeName { +func (e *ExpenseContact) Accept(visitor ExpenseContactVisitor) error { + switch e.typeName { default: - return fmt.Errorf("invalid type %s in %T", c.typeName, c) + return fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": - return visitor.VisitString(c.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(c.TrackingCategory) + return visitor.VisitString(e.String) + case "contact": + return visitor.VisitContact(e.Contact) } } +// The expense's currency. +// // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani // - `AFA` - Afghan Afghani (1927–2002) @@ -9655,1417 +15215,235 @@ func (c *CreditNoteTrackingCategoriesItem) Accept(visitor CreditNoteTrackingCate // - `PYG` - Paraguayan Guarani // - `PEI` - Peruvian Inti // - `PEN` - Peruvian Sol -// - `PES` - Peruvian Sol (1863–1965) -// - `PHP` - Philippine Peso -// - `XPT` - Platinum -// - `PLN` - Polish Zloty -// - `PLZ` - Polish Zloty (1950–1995) -// - `PTE` - Portuguese Escudo -// - `GWE` - Portuguese Guinea Escudo -// - `QAR` - Qatari Rial -// - `XRE` - RINET Funds -// - `RHD` - Rhodesian Dollar -// - `RON` - Romanian Leu -// - `ROL` - Romanian Leu (1952–2006) -// - `RUB` - Russian Ruble -// - `RUR` - Russian Ruble (1991–1998) -// - `RWF` - Rwandan Franc -// - `SVC` - Salvadoran Colón -// - `WST` - Samoan Tala -// - `SAR` - Saudi Riyal -// - `RSD` - Serbian Dinar -// - `CSD` - Serbian Dinar (2002–2006) -// - `SCR` - Seychellois Rupee -// - `SLL` - Sierra Leonean Leone -// - `XAG` - Silver -// - `SGD` - Singapore Dollar -// - `SKK` - Slovak Koruna -// - `SIT` - Slovenian Tolar -// - `SBD` - Solomon Islands Dollar -// - `SOS` - Somali Shilling -// - `ZAR` - South African Rand -// - `ZAL` - South African Rand (financial) -// - `KRH` - South Korean Hwan (1953–1962) -// - `KRW` - South Korean Won -// - `KRO` - South Korean Won (1945–1953) -// - `SSP` - South Sudanese Pound -// - `SUR` - Soviet Rouble -// - `ESP` - Spanish Peseta -// - `ESA` - Spanish Peseta (A account) -// - `ESB` - Spanish Peseta (convertible account) -// - `XDR` - Special Drawing Rights -// - `LKR` - Sri Lankan Rupee -// - `SHP` - St. Helena Pound -// - `XSU` - Sucre -// - `SDD` - Sudanese Dinar (1992–2007) -// - `SDG` - Sudanese Pound -// - `SDP` - Sudanese Pound (1957–1998) -// - `SRD` - Surinamese Dollar -// - `SRG` - Surinamese Guilder -// - `SZL` - Swazi Lilangeni -// - `SEK` - Swedish Krona -// - `CHF` - Swiss Franc -// - `SYP` - Syrian Pound -// - `STN` - São Tomé & Príncipe Dobra -// - `STD` - São Tomé & Príncipe Dobra (1977–2017) -// - `TVD` - TVD -// - `TJR` - Tajikistani Ruble -// - `TJS` - Tajikistani Somoni -// - `TZS` - Tanzanian Shilling -// - `XTS` - Testing Currency Code -// - `THB` - Thai Baht -// - `XXX` - The codes assigned for transactions where no currency is involved -// - `TPE` - Timorese Escudo -// - `TOP` - Tongan Paʻanga -// - `TTD` - Trinidad & Tobago Dollar -// - `TND` - Tunisian Dinar -// - `TRY` - Turkish Lira -// - `TRL` - Turkish Lira (1922–2005) -// - `TMT` - Turkmenistani Manat -// - `TMM` - Turkmenistani Manat (1993–2009) -// - `USD` - US Dollar -// - `USN` - US Dollar (Next day) -// - `USS` - US Dollar (Same day) -// - `UGX` - Ugandan Shilling -// - `UGS` - Ugandan Shilling (1966–1987) -// - `UAH` - Ukrainian Hryvnia -// - `UAK` - Ukrainian Karbovanets -// - `AED` - United Arab Emirates Dirham -// - `UYW` - Uruguayan Nominal Wage Index Unit -// - `UYU` - Uruguayan Peso -// - `UYP` - Uruguayan Peso (1975–1993) -// - `UYI` - Uruguayan Peso (Indexed Units) -// - `UZS` - Uzbekistani Som -// - `VUV` - Vanuatu Vatu -// - `VES` - Venezuelan Bolívar -// - `VEB` - Venezuelan Bolívar (1871–2008) -// - `VEF` - Venezuelan Bolívar (2008–2018) -// - `VND` - Vietnamese Dong -// - `VNN` - Vietnamese Dong (1978–1985) -// - `CHE` - WIR Euro -// - `CHW` - WIR Franc -// - `XOF` - West African CFA Franc -// - `YDD` - Yemeni Dinar -// - `YER` - Yemeni Rial -// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) -// - `YUD` - Yugoslavian Hard Dinar (1966–1990) -// - `YUM` - Yugoslavian New Dinar (1994–2002) -// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) -// - `ZWN` - ZWN -// - `ZRN` - Zairean New Zaire (1993–1998) -// - `ZRZ` - Zairean Zaire (1971–1993) -// - `ZMW` - Zambian Kwacha -// - `ZMK` - Zambian Kwacha (1968–2012) -// - `ZWD` - Zimbabwean Dollar (1980–2008) -// - `ZWR` - Zimbabwean Dollar (2008) -// - `ZWL` - Zimbabwean Dollar (2009) -type CurrencyEnum string - -const ( - CurrencyEnumXua CurrencyEnum = "XUA" - CurrencyEnumAfn CurrencyEnum = "AFN" - CurrencyEnumAfa CurrencyEnum = "AFA" - CurrencyEnumAll CurrencyEnum = "ALL" - CurrencyEnumAlk CurrencyEnum = "ALK" - CurrencyEnumDzd CurrencyEnum = "DZD" - CurrencyEnumAdp CurrencyEnum = "ADP" - CurrencyEnumAoa CurrencyEnum = "AOA" - CurrencyEnumAok CurrencyEnum = "AOK" - CurrencyEnumAon CurrencyEnum = "AON" - CurrencyEnumAor CurrencyEnum = "AOR" - CurrencyEnumAra CurrencyEnum = "ARA" - CurrencyEnumArs CurrencyEnum = "ARS" - CurrencyEnumArm CurrencyEnum = "ARM" - CurrencyEnumArp CurrencyEnum = "ARP" - CurrencyEnumArl CurrencyEnum = "ARL" - CurrencyEnumAmd CurrencyEnum = "AMD" - CurrencyEnumAwg CurrencyEnum = "AWG" - CurrencyEnumAud CurrencyEnum = "AUD" - CurrencyEnumAts CurrencyEnum = "ATS" - CurrencyEnumAzn CurrencyEnum = "AZN" - CurrencyEnumAzm CurrencyEnum = "AZM" - CurrencyEnumBsd CurrencyEnum = "BSD" - CurrencyEnumBhd CurrencyEnum = "BHD" - CurrencyEnumBdt CurrencyEnum = "BDT" - CurrencyEnumBbd CurrencyEnum = "BBD" - CurrencyEnumByn CurrencyEnum = "BYN" - CurrencyEnumByb CurrencyEnum = "BYB" - CurrencyEnumByr CurrencyEnum = "BYR" - CurrencyEnumBef CurrencyEnum = "BEF" - CurrencyEnumBec CurrencyEnum = "BEC" - CurrencyEnumBel CurrencyEnum = "BEL" - CurrencyEnumBzd CurrencyEnum = "BZD" - CurrencyEnumBmd CurrencyEnum = "BMD" - CurrencyEnumBtn CurrencyEnum = "BTN" - CurrencyEnumBob CurrencyEnum = "BOB" - CurrencyEnumBol CurrencyEnum = "BOL" - CurrencyEnumBov CurrencyEnum = "BOV" - CurrencyEnumBop CurrencyEnum = "BOP" - CurrencyEnumBam CurrencyEnum = "BAM" - CurrencyEnumBad CurrencyEnum = "BAD" - CurrencyEnumBan CurrencyEnum = "BAN" - CurrencyEnumBwp CurrencyEnum = "BWP" - CurrencyEnumBrc CurrencyEnum = "BRC" - CurrencyEnumBrz CurrencyEnum = "BRZ" - CurrencyEnumBre CurrencyEnum = "BRE" - CurrencyEnumBrr CurrencyEnum = "BRR" - CurrencyEnumBrn CurrencyEnum = "BRN" - CurrencyEnumBrb CurrencyEnum = "BRB" - CurrencyEnumBrl CurrencyEnum = "BRL" - CurrencyEnumGbp CurrencyEnum = "GBP" - CurrencyEnumBnd CurrencyEnum = "BND" - CurrencyEnumBgl CurrencyEnum = "BGL" - CurrencyEnumBgn CurrencyEnum = "BGN" - CurrencyEnumBgo CurrencyEnum = "BGO" - CurrencyEnumBgm CurrencyEnum = "BGM" - CurrencyEnumBuk CurrencyEnum = "BUK" - CurrencyEnumBif CurrencyEnum = "BIF" - CurrencyEnumXpf CurrencyEnum = "XPF" - CurrencyEnumKhr CurrencyEnum = "KHR" - CurrencyEnumCad CurrencyEnum = "CAD" - CurrencyEnumCve CurrencyEnum = "CVE" - CurrencyEnumKyd CurrencyEnum = "KYD" - CurrencyEnumXaf CurrencyEnum = "XAF" - CurrencyEnumCle CurrencyEnum = "CLE" - CurrencyEnumClp CurrencyEnum = "CLP" - CurrencyEnumClf CurrencyEnum = "CLF" - CurrencyEnumCnx CurrencyEnum = "CNX" - CurrencyEnumCny CurrencyEnum = "CNY" - CurrencyEnumCnh CurrencyEnum = "CNH" - CurrencyEnumCop CurrencyEnum = "COP" - CurrencyEnumCou CurrencyEnum = "COU" - CurrencyEnumKmf CurrencyEnum = "KMF" - CurrencyEnumCdf CurrencyEnum = "CDF" - CurrencyEnumCrc CurrencyEnum = "CRC" - CurrencyEnumHrd CurrencyEnum = "HRD" - CurrencyEnumHrk CurrencyEnum = "HRK" - CurrencyEnumCuc CurrencyEnum = "CUC" - CurrencyEnumCup CurrencyEnum = "CUP" - CurrencyEnumCyp CurrencyEnum = "CYP" - CurrencyEnumCzk CurrencyEnum = "CZK" - CurrencyEnumCsk CurrencyEnum = "CSK" - CurrencyEnumDkk CurrencyEnum = "DKK" - CurrencyEnumDjf CurrencyEnum = "DJF" - CurrencyEnumDop CurrencyEnum = "DOP" - CurrencyEnumNlg CurrencyEnum = "NLG" - CurrencyEnumXcd CurrencyEnum = "XCD" - CurrencyEnumDdm CurrencyEnum = "DDM" - CurrencyEnumEcs CurrencyEnum = "ECS" - CurrencyEnumEcv CurrencyEnum = "ECV" - CurrencyEnumEgp CurrencyEnum = "EGP" - CurrencyEnumGqe CurrencyEnum = "GQE" - CurrencyEnumErn CurrencyEnum = "ERN" - CurrencyEnumEek CurrencyEnum = "EEK" - CurrencyEnumEtb CurrencyEnum = "ETB" - CurrencyEnumEur CurrencyEnum = "EUR" - CurrencyEnumXba CurrencyEnum = "XBA" - CurrencyEnumXeu CurrencyEnum = "XEU" - CurrencyEnumXbb CurrencyEnum = "XBB" - CurrencyEnumXbc CurrencyEnum = "XBC" - CurrencyEnumXbd CurrencyEnum = "XBD" - CurrencyEnumFkp CurrencyEnum = "FKP" - CurrencyEnumFjd CurrencyEnum = "FJD" - CurrencyEnumFim CurrencyEnum = "FIM" - CurrencyEnumFrf CurrencyEnum = "FRF" - CurrencyEnumXfo CurrencyEnum = "XFO" - CurrencyEnumXfu CurrencyEnum = "XFU" - CurrencyEnumGmd CurrencyEnum = "GMD" - CurrencyEnumGek CurrencyEnum = "GEK" - CurrencyEnumGel CurrencyEnum = "GEL" - CurrencyEnumDem CurrencyEnum = "DEM" - CurrencyEnumGhs CurrencyEnum = "GHS" - CurrencyEnumGhc CurrencyEnum = "GHC" - CurrencyEnumGip CurrencyEnum = "GIP" - CurrencyEnumXau CurrencyEnum = "XAU" - CurrencyEnumGrd CurrencyEnum = "GRD" - CurrencyEnumGtq CurrencyEnum = "GTQ" - CurrencyEnumGwp CurrencyEnum = "GWP" - CurrencyEnumGnf CurrencyEnum = "GNF" - CurrencyEnumGns CurrencyEnum = "GNS" - CurrencyEnumGyd CurrencyEnum = "GYD" - CurrencyEnumHtg CurrencyEnum = "HTG" - CurrencyEnumHnl CurrencyEnum = "HNL" - CurrencyEnumHkd CurrencyEnum = "HKD" - CurrencyEnumHuf CurrencyEnum = "HUF" - CurrencyEnumImp CurrencyEnum = "IMP" - CurrencyEnumIsk CurrencyEnum = "ISK" - CurrencyEnumIsj CurrencyEnum = "ISJ" - CurrencyEnumInr CurrencyEnum = "INR" - CurrencyEnumIdr CurrencyEnum = "IDR" - CurrencyEnumIrr CurrencyEnum = "IRR" - CurrencyEnumIqd CurrencyEnum = "IQD" - CurrencyEnumIep CurrencyEnum = "IEP" - CurrencyEnumIls CurrencyEnum = "ILS" - CurrencyEnumIlp CurrencyEnum = "ILP" - CurrencyEnumIlr CurrencyEnum = "ILR" - CurrencyEnumItl CurrencyEnum = "ITL" - CurrencyEnumJmd CurrencyEnum = "JMD" - CurrencyEnumJpy CurrencyEnum = "JPY" - CurrencyEnumJod CurrencyEnum = "JOD" - CurrencyEnumKzt CurrencyEnum = "KZT" - CurrencyEnumKes CurrencyEnum = "KES" - CurrencyEnumKwd CurrencyEnum = "KWD" - CurrencyEnumKgs CurrencyEnum = "KGS" - CurrencyEnumLak CurrencyEnum = "LAK" - CurrencyEnumLvl CurrencyEnum = "LVL" - CurrencyEnumLvr CurrencyEnum = "LVR" - CurrencyEnumLbp CurrencyEnum = "LBP" - CurrencyEnumLsl CurrencyEnum = "LSL" - CurrencyEnumLrd CurrencyEnum = "LRD" - CurrencyEnumLyd CurrencyEnum = "LYD" - CurrencyEnumLtl CurrencyEnum = "LTL" - CurrencyEnumLtt CurrencyEnum = "LTT" - CurrencyEnumLul CurrencyEnum = "LUL" - CurrencyEnumLuc CurrencyEnum = "LUC" - CurrencyEnumLuf CurrencyEnum = "LUF" - CurrencyEnumMop CurrencyEnum = "MOP" - CurrencyEnumMkd CurrencyEnum = "MKD" - CurrencyEnumMkn CurrencyEnum = "MKN" - CurrencyEnumMga CurrencyEnum = "MGA" - CurrencyEnumMgf CurrencyEnum = "MGF" - CurrencyEnumMwk CurrencyEnum = "MWK" - CurrencyEnumMyr CurrencyEnum = "MYR" - CurrencyEnumMvr CurrencyEnum = "MVR" - CurrencyEnumMvp CurrencyEnum = "MVP" - CurrencyEnumMlf CurrencyEnum = "MLF" - CurrencyEnumMtl CurrencyEnum = "MTL" - CurrencyEnumMtp CurrencyEnum = "MTP" - CurrencyEnumMru CurrencyEnum = "MRU" - CurrencyEnumMro CurrencyEnum = "MRO" - CurrencyEnumMur CurrencyEnum = "MUR" - CurrencyEnumMxv CurrencyEnum = "MXV" - CurrencyEnumMxn CurrencyEnum = "MXN" - CurrencyEnumMxp CurrencyEnum = "MXP" - CurrencyEnumMdc CurrencyEnum = "MDC" - CurrencyEnumMdl CurrencyEnum = "MDL" - CurrencyEnumMcf CurrencyEnum = "MCF" - CurrencyEnumMnt CurrencyEnum = "MNT" - CurrencyEnumMad CurrencyEnum = "MAD" - CurrencyEnumMaf CurrencyEnum = "MAF" - CurrencyEnumMze CurrencyEnum = "MZE" - CurrencyEnumMzn CurrencyEnum = "MZN" - CurrencyEnumMzm CurrencyEnum = "MZM" - CurrencyEnumMmk CurrencyEnum = "MMK" - CurrencyEnumNad CurrencyEnum = "NAD" - CurrencyEnumNpr CurrencyEnum = "NPR" - CurrencyEnumAng CurrencyEnum = "ANG" - CurrencyEnumTwd CurrencyEnum = "TWD" - CurrencyEnumNzd CurrencyEnum = "NZD" - CurrencyEnumNio CurrencyEnum = "NIO" - CurrencyEnumNic CurrencyEnum = "NIC" - CurrencyEnumNgn CurrencyEnum = "NGN" - CurrencyEnumKpw CurrencyEnum = "KPW" - CurrencyEnumNok CurrencyEnum = "NOK" - CurrencyEnumOmr CurrencyEnum = "OMR" - CurrencyEnumPkr CurrencyEnum = "PKR" - CurrencyEnumXpd CurrencyEnum = "XPD" - CurrencyEnumPab CurrencyEnum = "PAB" - CurrencyEnumPgk CurrencyEnum = "PGK" - CurrencyEnumPyg CurrencyEnum = "PYG" - CurrencyEnumPei CurrencyEnum = "PEI" - CurrencyEnumPen CurrencyEnum = "PEN" - CurrencyEnumPes CurrencyEnum = "PES" - CurrencyEnumPhp CurrencyEnum = "PHP" - CurrencyEnumXpt CurrencyEnum = "XPT" - CurrencyEnumPln CurrencyEnum = "PLN" - CurrencyEnumPlz CurrencyEnum = "PLZ" - CurrencyEnumPte CurrencyEnum = "PTE" - CurrencyEnumGwe CurrencyEnum = "GWE" - CurrencyEnumQar CurrencyEnum = "QAR" - CurrencyEnumXre CurrencyEnum = "XRE" - CurrencyEnumRhd CurrencyEnum = "RHD" - CurrencyEnumRon CurrencyEnum = "RON" - CurrencyEnumRol CurrencyEnum = "ROL" - CurrencyEnumRub CurrencyEnum = "RUB" - CurrencyEnumRur CurrencyEnum = "RUR" - CurrencyEnumRwf CurrencyEnum = "RWF" - CurrencyEnumSvc CurrencyEnum = "SVC" - CurrencyEnumWst CurrencyEnum = "WST" - CurrencyEnumSar CurrencyEnum = "SAR" - CurrencyEnumRsd CurrencyEnum = "RSD" - CurrencyEnumCsd CurrencyEnum = "CSD" - CurrencyEnumScr CurrencyEnum = "SCR" - CurrencyEnumSll CurrencyEnum = "SLL" - CurrencyEnumXag CurrencyEnum = "XAG" - CurrencyEnumSgd CurrencyEnum = "SGD" - CurrencyEnumSkk CurrencyEnum = "SKK" - CurrencyEnumSit CurrencyEnum = "SIT" - CurrencyEnumSbd CurrencyEnum = "SBD" - CurrencyEnumSos CurrencyEnum = "SOS" - CurrencyEnumZar CurrencyEnum = "ZAR" - CurrencyEnumZal CurrencyEnum = "ZAL" - CurrencyEnumKrh CurrencyEnum = "KRH" - CurrencyEnumKrw CurrencyEnum = "KRW" - CurrencyEnumKro CurrencyEnum = "KRO" - CurrencyEnumSsp CurrencyEnum = "SSP" - CurrencyEnumSur CurrencyEnum = "SUR" - CurrencyEnumEsp CurrencyEnum = "ESP" - CurrencyEnumEsa CurrencyEnum = "ESA" - CurrencyEnumEsb CurrencyEnum = "ESB" - CurrencyEnumXdr CurrencyEnum = "XDR" - CurrencyEnumLkr CurrencyEnum = "LKR" - CurrencyEnumShp CurrencyEnum = "SHP" - CurrencyEnumXsu CurrencyEnum = "XSU" - CurrencyEnumSdd CurrencyEnum = "SDD" - CurrencyEnumSdg CurrencyEnum = "SDG" - CurrencyEnumSdp CurrencyEnum = "SDP" - CurrencyEnumSrd CurrencyEnum = "SRD" - CurrencyEnumSrg CurrencyEnum = "SRG" - CurrencyEnumSzl CurrencyEnum = "SZL" - CurrencyEnumSek CurrencyEnum = "SEK" - CurrencyEnumChf CurrencyEnum = "CHF" - CurrencyEnumSyp CurrencyEnum = "SYP" - CurrencyEnumStn CurrencyEnum = "STN" - CurrencyEnumStd CurrencyEnum = "STD" - CurrencyEnumTvd CurrencyEnum = "TVD" - CurrencyEnumTjr CurrencyEnum = "TJR" - CurrencyEnumTjs CurrencyEnum = "TJS" - CurrencyEnumTzs CurrencyEnum = "TZS" - CurrencyEnumXts CurrencyEnum = "XTS" - CurrencyEnumThb CurrencyEnum = "THB" - CurrencyEnumXxx CurrencyEnum = "XXX" - CurrencyEnumTpe CurrencyEnum = "TPE" - CurrencyEnumTop CurrencyEnum = "TOP" - CurrencyEnumTtd CurrencyEnum = "TTD" - CurrencyEnumTnd CurrencyEnum = "TND" - CurrencyEnumTry CurrencyEnum = "TRY" - CurrencyEnumTrl CurrencyEnum = "TRL" - CurrencyEnumTmt CurrencyEnum = "TMT" - CurrencyEnumTmm CurrencyEnum = "TMM" - CurrencyEnumUsd CurrencyEnum = "USD" - CurrencyEnumUsn CurrencyEnum = "USN" - CurrencyEnumUss CurrencyEnum = "USS" - CurrencyEnumUgx CurrencyEnum = "UGX" - CurrencyEnumUgs CurrencyEnum = "UGS" - CurrencyEnumUah CurrencyEnum = "UAH" - CurrencyEnumUak CurrencyEnum = "UAK" - CurrencyEnumAed CurrencyEnum = "AED" - CurrencyEnumUyw CurrencyEnum = "UYW" - CurrencyEnumUyu CurrencyEnum = "UYU" - CurrencyEnumUyp CurrencyEnum = "UYP" - CurrencyEnumUyi CurrencyEnum = "UYI" - CurrencyEnumUzs CurrencyEnum = "UZS" - CurrencyEnumVuv CurrencyEnum = "VUV" - CurrencyEnumVes CurrencyEnum = "VES" - CurrencyEnumVeb CurrencyEnum = "VEB" - CurrencyEnumVef CurrencyEnum = "VEF" - CurrencyEnumVnd CurrencyEnum = "VND" - CurrencyEnumVnn CurrencyEnum = "VNN" - CurrencyEnumChe CurrencyEnum = "CHE" - CurrencyEnumChw CurrencyEnum = "CHW" - CurrencyEnumXof CurrencyEnum = "XOF" - CurrencyEnumYdd CurrencyEnum = "YDD" - CurrencyEnumYer CurrencyEnum = "YER" - CurrencyEnumYun CurrencyEnum = "YUN" - CurrencyEnumYud CurrencyEnum = "YUD" - CurrencyEnumYum CurrencyEnum = "YUM" - CurrencyEnumYur CurrencyEnum = "YUR" - CurrencyEnumZwn CurrencyEnum = "ZWN" - CurrencyEnumZrn CurrencyEnum = "ZRN" - CurrencyEnumZrz CurrencyEnum = "ZRZ" - CurrencyEnumZmw CurrencyEnum = "ZMW" - CurrencyEnumZmk CurrencyEnum = "ZMK" - CurrencyEnumZwd CurrencyEnum = "ZWD" - CurrencyEnumZwr CurrencyEnum = "ZWR" - CurrencyEnumZwl CurrencyEnum = "ZWL" -) - -func NewCurrencyEnumFromString(s string) (CurrencyEnum, error) { - switch s { - case "XUA": - return CurrencyEnumXua, nil - case "AFN": - return CurrencyEnumAfn, nil - case "AFA": - return CurrencyEnumAfa, nil - case "ALL": - return CurrencyEnumAll, nil - case "ALK": - return CurrencyEnumAlk, nil - case "DZD": - return CurrencyEnumDzd, nil - case "ADP": - return CurrencyEnumAdp, nil - case "AOA": - return CurrencyEnumAoa, nil - case "AOK": - return CurrencyEnumAok, nil - case "AON": - return CurrencyEnumAon, nil - case "AOR": - return CurrencyEnumAor, nil - case "ARA": - return CurrencyEnumAra, nil - case "ARS": - return CurrencyEnumArs, nil - case "ARM": - return CurrencyEnumArm, nil - case "ARP": - return CurrencyEnumArp, nil - case "ARL": - return CurrencyEnumArl, nil - case "AMD": - return CurrencyEnumAmd, nil - case "AWG": - return CurrencyEnumAwg, nil - case "AUD": - return CurrencyEnumAud, nil - case "ATS": - return CurrencyEnumAts, nil - case "AZN": - return CurrencyEnumAzn, nil - case "AZM": - return CurrencyEnumAzm, nil - case "BSD": - return CurrencyEnumBsd, nil - case "BHD": - return CurrencyEnumBhd, nil - case "BDT": - return CurrencyEnumBdt, nil - case "BBD": - return CurrencyEnumBbd, nil - case "BYN": - return CurrencyEnumByn, nil - case "BYB": - return CurrencyEnumByb, nil - case "BYR": - return CurrencyEnumByr, nil - case "BEF": - return CurrencyEnumBef, nil - case "BEC": - return CurrencyEnumBec, nil - case "BEL": - return CurrencyEnumBel, nil - case "BZD": - return CurrencyEnumBzd, nil - case "BMD": - return CurrencyEnumBmd, nil - case "BTN": - return CurrencyEnumBtn, nil - case "BOB": - return CurrencyEnumBob, nil - case "BOL": - return CurrencyEnumBol, nil - case "BOV": - return CurrencyEnumBov, nil - case "BOP": - return CurrencyEnumBop, nil - case "BAM": - return CurrencyEnumBam, nil - case "BAD": - return CurrencyEnumBad, nil - case "BAN": - return CurrencyEnumBan, nil - case "BWP": - return CurrencyEnumBwp, nil - case "BRC": - return CurrencyEnumBrc, nil - case "BRZ": - return CurrencyEnumBrz, nil - case "BRE": - return CurrencyEnumBre, nil - case "BRR": - return CurrencyEnumBrr, nil - case "BRN": - return CurrencyEnumBrn, nil - case "BRB": - return CurrencyEnumBrb, nil - case "BRL": - return CurrencyEnumBrl, nil - case "GBP": - return CurrencyEnumGbp, nil - case "BND": - return CurrencyEnumBnd, nil - case "BGL": - return CurrencyEnumBgl, nil - case "BGN": - return CurrencyEnumBgn, nil - case "BGO": - return CurrencyEnumBgo, nil - case "BGM": - return CurrencyEnumBgm, nil - case "BUK": - return CurrencyEnumBuk, nil - case "BIF": - return CurrencyEnumBif, nil - case "XPF": - return CurrencyEnumXpf, nil - case "KHR": - return CurrencyEnumKhr, nil - case "CAD": - return CurrencyEnumCad, nil - case "CVE": - return CurrencyEnumCve, nil - case "KYD": - return CurrencyEnumKyd, nil - case "XAF": - return CurrencyEnumXaf, nil - case "CLE": - return CurrencyEnumCle, nil - case "CLP": - return CurrencyEnumClp, nil - case "CLF": - return CurrencyEnumClf, nil - case "CNX": - return CurrencyEnumCnx, nil - case "CNY": - return CurrencyEnumCny, nil - case "CNH": - return CurrencyEnumCnh, nil - case "COP": - return CurrencyEnumCop, nil - case "COU": - return CurrencyEnumCou, nil - case "KMF": - return CurrencyEnumKmf, nil - case "CDF": - return CurrencyEnumCdf, nil - case "CRC": - return CurrencyEnumCrc, nil - case "HRD": - return CurrencyEnumHrd, nil - case "HRK": - return CurrencyEnumHrk, nil - case "CUC": - return CurrencyEnumCuc, nil - case "CUP": - return CurrencyEnumCup, nil - case "CYP": - return CurrencyEnumCyp, nil - case "CZK": - return CurrencyEnumCzk, nil - case "CSK": - return CurrencyEnumCsk, nil - case "DKK": - return CurrencyEnumDkk, nil - case "DJF": - return CurrencyEnumDjf, nil - case "DOP": - return CurrencyEnumDop, nil - case "NLG": - return CurrencyEnumNlg, nil - case "XCD": - return CurrencyEnumXcd, nil - case "DDM": - return CurrencyEnumDdm, nil - case "ECS": - return CurrencyEnumEcs, nil - case "ECV": - return CurrencyEnumEcv, nil - case "EGP": - return CurrencyEnumEgp, nil - case "GQE": - return CurrencyEnumGqe, nil - case "ERN": - return CurrencyEnumErn, nil - case "EEK": - return CurrencyEnumEek, nil - case "ETB": - return CurrencyEnumEtb, nil - case "EUR": - return CurrencyEnumEur, nil - case "XBA": - return CurrencyEnumXba, nil - case "XEU": - return CurrencyEnumXeu, nil - case "XBB": - return CurrencyEnumXbb, nil - case "XBC": - return CurrencyEnumXbc, nil - case "XBD": - return CurrencyEnumXbd, nil - case "FKP": - return CurrencyEnumFkp, nil - case "FJD": - return CurrencyEnumFjd, nil - case "FIM": - return CurrencyEnumFim, nil - case "FRF": - return CurrencyEnumFrf, nil - case "XFO": - return CurrencyEnumXfo, nil - case "XFU": - return CurrencyEnumXfu, nil - case "GMD": - return CurrencyEnumGmd, nil - case "GEK": - return CurrencyEnumGek, nil - case "GEL": - return CurrencyEnumGel, nil - case "DEM": - return CurrencyEnumDem, nil - case "GHS": - return CurrencyEnumGhs, nil - case "GHC": - return CurrencyEnumGhc, nil - case "GIP": - return CurrencyEnumGip, nil - case "XAU": - return CurrencyEnumXau, nil - case "GRD": - return CurrencyEnumGrd, nil - case "GTQ": - return CurrencyEnumGtq, nil - case "GWP": - return CurrencyEnumGwp, nil - case "GNF": - return CurrencyEnumGnf, nil - case "GNS": - return CurrencyEnumGns, nil - case "GYD": - return CurrencyEnumGyd, nil - case "HTG": - return CurrencyEnumHtg, nil - case "HNL": - return CurrencyEnumHnl, nil - case "HKD": - return CurrencyEnumHkd, nil - case "HUF": - return CurrencyEnumHuf, nil - case "IMP": - return CurrencyEnumImp, nil - case "ISK": - return CurrencyEnumIsk, nil - case "ISJ": - return CurrencyEnumIsj, nil - case "INR": - return CurrencyEnumInr, nil - case "IDR": - return CurrencyEnumIdr, nil - case "IRR": - return CurrencyEnumIrr, nil - case "IQD": - return CurrencyEnumIqd, nil - case "IEP": - return CurrencyEnumIep, nil - case "ILS": - return CurrencyEnumIls, nil - case "ILP": - return CurrencyEnumIlp, nil - case "ILR": - return CurrencyEnumIlr, nil - case "ITL": - return CurrencyEnumItl, nil - case "JMD": - return CurrencyEnumJmd, nil - case "JPY": - return CurrencyEnumJpy, nil - case "JOD": - return CurrencyEnumJod, nil - case "KZT": - return CurrencyEnumKzt, nil - case "KES": - return CurrencyEnumKes, nil - case "KWD": - return CurrencyEnumKwd, nil - case "KGS": - return CurrencyEnumKgs, nil - case "LAK": - return CurrencyEnumLak, nil - case "LVL": - return CurrencyEnumLvl, nil - case "LVR": - return CurrencyEnumLvr, nil - case "LBP": - return CurrencyEnumLbp, nil - case "LSL": - return CurrencyEnumLsl, nil - case "LRD": - return CurrencyEnumLrd, nil - case "LYD": - return CurrencyEnumLyd, nil - case "LTL": - return CurrencyEnumLtl, nil - case "LTT": - return CurrencyEnumLtt, nil - case "LUL": - return CurrencyEnumLul, nil - case "LUC": - return CurrencyEnumLuc, nil - case "LUF": - return CurrencyEnumLuf, nil - case "MOP": - return CurrencyEnumMop, nil - case "MKD": - return CurrencyEnumMkd, nil - case "MKN": - return CurrencyEnumMkn, nil - case "MGA": - return CurrencyEnumMga, nil - case "MGF": - return CurrencyEnumMgf, nil - case "MWK": - return CurrencyEnumMwk, nil - case "MYR": - return CurrencyEnumMyr, nil - case "MVR": - return CurrencyEnumMvr, nil - case "MVP": - return CurrencyEnumMvp, nil - case "MLF": - return CurrencyEnumMlf, nil - case "MTL": - return CurrencyEnumMtl, nil - case "MTP": - return CurrencyEnumMtp, nil - case "MRU": - return CurrencyEnumMru, nil - case "MRO": - return CurrencyEnumMro, nil - case "MUR": - return CurrencyEnumMur, nil - case "MXV": - return CurrencyEnumMxv, nil - case "MXN": - return CurrencyEnumMxn, nil - case "MXP": - return CurrencyEnumMxp, nil - case "MDC": - return CurrencyEnumMdc, nil - case "MDL": - return CurrencyEnumMdl, nil - case "MCF": - return CurrencyEnumMcf, nil - case "MNT": - return CurrencyEnumMnt, nil - case "MAD": - return CurrencyEnumMad, nil - case "MAF": - return CurrencyEnumMaf, nil - case "MZE": - return CurrencyEnumMze, nil - case "MZN": - return CurrencyEnumMzn, nil - case "MZM": - return CurrencyEnumMzm, nil - case "MMK": - return CurrencyEnumMmk, nil - case "NAD": - return CurrencyEnumNad, nil - case "NPR": - return CurrencyEnumNpr, nil - case "ANG": - return CurrencyEnumAng, nil - case "TWD": - return CurrencyEnumTwd, nil - case "NZD": - return CurrencyEnumNzd, nil - case "NIO": - return CurrencyEnumNio, nil - case "NIC": - return CurrencyEnumNic, nil - case "NGN": - return CurrencyEnumNgn, nil - case "KPW": - return CurrencyEnumKpw, nil - case "NOK": - return CurrencyEnumNok, nil - case "OMR": - return CurrencyEnumOmr, nil - case "PKR": - return CurrencyEnumPkr, nil - case "XPD": - return CurrencyEnumXpd, nil - case "PAB": - return CurrencyEnumPab, nil - case "PGK": - return CurrencyEnumPgk, nil - case "PYG": - return CurrencyEnumPyg, nil - case "PEI": - return CurrencyEnumPei, nil - case "PEN": - return CurrencyEnumPen, nil - case "PES": - return CurrencyEnumPes, nil - case "PHP": - return CurrencyEnumPhp, nil - case "XPT": - return CurrencyEnumXpt, nil - case "PLN": - return CurrencyEnumPln, nil - case "PLZ": - return CurrencyEnumPlz, nil - case "PTE": - return CurrencyEnumPte, nil - case "GWE": - return CurrencyEnumGwe, nil - case "QAR": - return CurrencyEnumQar, nil - case "XRE": - return CurrencyEnumXre, nil - case "RHD": - return CurrencyEnumRhd, nil - case "RON": - return CurrencyEnumRon, nil - case "ROL": - return CurrencyEnumRol, nil - case "RUB": - return CurrencyEnumRub, nil - case "RUR": - return CurrencyEnumRur, nil - case "RWF": - return CurrencyEnumRwf, nil - case "SVC": - return CurrencyEnumSvc, nil - case "WST": - return CurrencyEnumWst, nil - case "SAR": - return CurrencyEnumSar, nil - case "RSD": - return CurrencyEnumRsd, nil - case "CSD": - return CurrencyEnumCsd, nil - case "SCR": - return CurrencyEnumScr, nil - case "SLL": - return CurrencyEnumSll, nil - case "XAG": - return CurrencyEnumXag, nil - case "SGD": - return CurrencyEnumSgd, nil - case "SKK": - return CurrencyEnumSkk, nil - case "SIT": - return CurrencyEnumSit, nil - case "SBD": - return CurrencyEnumSbd, nil - case "SOS": - return CurrencyEnumSos, nil - case "ZAR": - return CurrencyEnumZar, nil - case "ZAL": - return CurrencyEnumZal, nil - case "KRH": - return CurrencyEnumKrh, nil - case "KRW": - return CurrencyEnumKrw, nil - case "KRO": - return CurrencyEnumKro, nil - case "SSP": - return CurrencyEnumSsp, nil - case "SUR": - return CurrencyEnumSur, nil - case "ESP": - return CurrencyEnumEsp, nil - case "ESA": - return CurrencyEnumEsa, nil - case "ESB": - return CurrencyEnumEsb, nil - case "XDR": - return CurrencyEnumXdr, nil - case "LKR": - return CurrencyEnumLkr, nil - case "SHP": - return CurrencyEnumShp, nil - case "XSU": - return CurrencyEnumXsu, nil - case "SDD": - return CurrencyEnumSdd, nil - case "SDG": - return CurrencyEnumSdg, nil - case "SDP": - return CurrencyEnumSdp, nil - case "SRD": - return CurrencyEnumSrd, nil - case "SRG": - return CurrencyEnumSrg, nil - case "SZL": - return CurrencyEnumSzl, nil - case "SEK": - return CurrencyEnumSek, nil - case "CHF": - return CurrencyEnumChf, nil - case "SYP": - return CurrencyEnumSyp, nil - case "STN": - return CurrencyEnumStn, nil - case "STD": - return CurrencyEnumStd, nil - case "TVD": - return CurrencyEnumTvd, nil - case "TJR": - return CurrencyEnumTjr, nil - case "TJS": - return CurrencyEnumTjs, nil - case "TZS": - return CurrencyEnumTzs, nil - case "XTS": - return CurrencyEnumXts, nil - case "THB": - return CurrencyEnumThb, nil - case "XXX": - return CurrencyEnumXxx, nil - case "TPE": - return CurrencyEnumTpe, nil - case "TOP": - return CurrencyEnumTop, nil - case "TTD": - return CurrencyEnumTtd, nil - case "TND": - return CurrencyEnumTnd, nil - case "TRY": - return CurrencyEnumTry, nil - case "TRL": - return CurrencyEnumTrl, nil - case "TMT": - return CurrencyEnumTmt, nil - case "TMM": - return CurrencyEnumTmm, nil - case "USD": - return CurrencyEnumUsd, nil - case "USN": - return CurrencyEnumUsn, nil - case "USS": - return CurrencyEnumUss, nil - case "UGX": - return CurrencyEnumUgx, nil - case "UGS": - return CurrencyEnumUgs, nil - case "UAH": - return CurrencyEnumUah, nil - case "UAK": - return CurrencyEnumUak, nil - case "AED": - return CurrencyEnumAed, nil - case "UYW": - return CurrencyEnumUyw, nil - case "UYU": - return CurrencyEnumUyu, nil - case "UYP": - return CurrencyEnumUyp, nil - case "UYI": - return CurrencyEnumUyi, nil - case "UZS": - return CurrencyEnumUzs, nil - case "VUV": - return CurrencyEnumVuv, nil - case "VES": - return CurrencyEnumVes, nil - case "VEB": - return CurrencyEnumVeb, nil - case "VEF": - return CurrencyEnumVef, nil - case "VND": - return CurrencyEnumVnd, nil - case "VNN": - return CurrencyEnumVnn, nil - case "CHE": - return CurrencyEnumChe, nil - case "CHW": - return CurrencyEnumChw, nil - case "XOF": - return CurrencyEnumXof, nil - case "YDD": - return CurrencyEnumYdd, nil - case "YER": - return CurrencyEnumYer, nil - case "YUN": - return CurrencyEnumYun, nil - case "YUD": - return CurrencyEnumYud, nil - case "YUM": - return CurrencyEnumYum, nil - case "YUR": - return CurrencyEnumYur, nil - case "ZWN": - return CurrencyEnumZwn, nil - case "ZRN": - return CurrencyEnumZrn, nil - case "ZRZ": - return CurrencyEnumZrz, nil - case "ZMW": - return CurrencyEnumZmw, nil - case "ZMK": - return CurrencyEnumZmk, nil - case "ZWD": - return CurrencyEnumZwd, nil - case "ZWR": - return CurrencyEnumZwr, nil - case "ZWL": - return CurrencyEnumZwl, nil - } - var t CurrencyEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (c CurrencyEnum) Ptr() *CurrencyEnum { - return &c +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type ExpenseCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -// # The DataPassthrough Object -// -// ### Description -// -// The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. -// -// ### Usage Example -// -// Create a `DataPassthrough` to get team hierarchies from your Rippling integration. -type DataPassthroughRequest struct { - Method MethodEnum `json:"method,omitempty"` - // The path of the request in the third party's platform. - Path string `json:"path"` - // An optional override of the third party's base url for the request. - BaseUrlOverride *string `json:"base_url_override,omitempty"` - // The data with the request. You must include a `request_format` parameter matching the data's format - Data *string `json:"data,omitempty"` - // Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - MultipartFormData []*MultipartFormFieldRequest `json:"multipart_form_data,omitempty"` - // The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - Headers map[string]interface{} `json:"headers,omitempty"` - RequestFormat *RequestFormatEnum `json:"request_format,omitempty"` - // Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - NormalizeResponse *bool `json:"normalize_response,omitempty"` - - _rawJSON json.RawMessage +func NewExpenseCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *ExpenseCurrency { + return &ExpenseCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func (d *DataPassthroughRequest) UnmarshalJSON(data []byte) error { - type unmarshaler DataPassthroughRequest - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *d = DataPassthroughRequest(value) - d._rawJSON = json.RawMessage(data) - return nil +func NewExpenseCurrencyFromString(value string) *ExpenseCurrency { + return &ExpenseCurrency{typeName: "string", String: value} } -func (d *DataPassthroughRequest) String() string { - if len(d._rawJSON) > 0 { - if value, err := core.StringifyJSON(d._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(d); err == nil { - return value +func (e *ExpenseCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + e.typeName = "transactionCurrencyEnum" + e.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil } - return fmt.Sprintf("%#v", d) -} - -type DebugModeLog struct { - LogId string `json:"log_id"` - DashboardView string `json:"dashboard_view"` - LogSummary *DebugModelLogSummary `json:"log_summary,omitempty"` - - _rawJSON json.RawMessage -} - -func (d *DebugModeLog) UnmarshalJSON(data []byte) error { - type unmarshaler DebugModeLog - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil } - *d = DebugModeLog(value) - d._rawJSON = json.RawMessage(data) - return nil + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (d *DebugModeLog) String() string { - if len(d._rawJSON) > 0 { - if value, err := core.StringifyJSON(d._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(d); err == nil { - return value +func (e ExpenseCurrency) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return json.Marshal(e.TransactionCurrencyEnum) + case "string": + return json.Marshal(e.String) } - return fmt.Sprintf("%#v", d) } -type DebugModelLogSummary struct { - Url string `json:"url"` - Method string `json:"method"` - StatusCode int `json:"status_code"` - - _rawJSON json.RawMessage +type ExpenseCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error } -func (d *DebugModelLogSummary) UnmarshalJSON(data []byte) error { - type unmarshaler DebugModelLogSummary - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (e *ExpenseCurrency) Accept(visitor ExpenseCurrencyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(e.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(e.String) } - *d = DebugModelLogSummary(value) - d._rawJSON = json.RawMessage(data) - return nil } -func (d *DebugModelLogSummary) String() string { - if len(d._rawJSON) > 0 { - if value, err := core.StringifyJSON(d._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(d); err == nil { - return value - } - return fmt.Sprintf("%#v", d) +// The employee this overall transaction relates to. +type ExpenseEmployee struct { + typeName string + String string + Employee *Employee } -// - `READ` - READ -// - `WRITE` - WRITE -type EnabledActionsEnum string - -const ( - EnabledActionsEnumRead EnabledActionsEnum = "READ" - EnabledActionsEnumWrite EnabledActionsEnum = "WRITE" -) - -func NewEnabledActionsEnumFromString(s string) (EnabledActionsEnum, error) { - switch s { - case "READ": - return EnabledActionsEnumRead, nil - case "WRITE": - return EnabledActionsEnumWrite, nil - } - var t EnabledActionsEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +func NewExpenseEmployeeFromString(value string) *ExpenseEmployee { + return &ExpenseEmployee{typeName: "string", String: value} } -func (e EnabledActionsEnum) Ptr() *EnabledActionsEnum { - return &e +func NewExpenseEmployeeFromEmployee(value *Employee) *ExpenseEmployee { + return &ExpenseEmployee{typeName: "employee", Employee: value} } -// - `RAW` - RAW -// - `BASE64` - BASE64 -// - `GZIP_BASE64` - GZIP_BASE64 -type EncodingEnum string - -const ( - EncodingEnumRaw EncodingEnum = "RAW" - EncodingEnumBase64 EncodingEnum = "BASE64" - EncodingEnumGzipBase64 EncodingEnum = "GZIP_BASE64" -) - -func NewEncodingEnumFromString(s string) (EncodingEnum, error) { - switch s { - case "RAW": - return EncodingEnumRaw, nil - case "BASE64": - return EncodingEnumBase64, nil - case "GZIP_BASE64": - return EncodingEnumGzipBase64, nil +func (e *ExpenseEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil } - var t EncodingEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (e EncodingEnum) Ptr() *EncodingEnum { - return &e -} - -type ErrorValidationProblem struct { - Source *ValidationProblemSource `json:"source,omitempty"` - Title string `json:"title"` - Detail string `json:"detail"` - ProblemType string `json:"problem_type"` - - _rawJSON json.RawMessage -} - -func (e *ErrorValidationProblem) UnmarshalJSON(data []byte) error { - type unmarshaler ErrorValidationProblem - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + e.typeName = "employee" + e.Employee = valueEmployee + return nil } - *e = ErrorValidationProblem(value) - e._rawJSON = json.RawMessage(data) - return nil + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e *ErrorValidationProblem) String() string { - if len(e._rawJSON) > 0 { - if value, err := core.StringifyJSON(e._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(e); err == nil { - return value +func (e ExpenseEmployee) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "employee": + return json.Marshal(e.Employee) } - return fmt.Sprintf("%#v", e) } -// - `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY -// - `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY -// - `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY -// - `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY -// - `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY -// - `INVITED_USER` - INVITED_USER -// - `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED -// - `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED -// - `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT -// - `CREATED_DESTINATION` - CREATED_DESTINATION -// - `DELETED_DESTINATION` - DELETED_DESTINATION -// - `CHANGED_DESTINATION` - CHANGED_DESTINATION -// - `CHANGED_SCOPES` - CHANGED_SCOPES -// - `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION -// - `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS -// - `ENABLED_INTEGRATION` - ENABLED_INTEGRATION -// - `DISABLED_INTEGRATION` - DISABLED_INTEGRATION -// - `ENABLED_CATEGORY` - ENABLED_CATEGORY -// - `DISABLED_CATEGORY` - DISABLED_CATEGORY -// - `CHANGED_PASSWORD` - CHANGED_PASSWORD -// - `RESET_PASSWORD` - RESET_PASSWORD -// - `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION -// - `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT -// - `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION -// - `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT -// - `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING -// - `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING -// - `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING -// - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING -// - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING -// - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING -// - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC -// - `MUTED_ISSUE` - MUTED_ISSUE -// - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK -// - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK -// - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK -// - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED -type EventTypeEnum string - -const ( - EventTypeEnumCreatedRemoteProductionApiKey EventTypeEnum = "CREATED_REMOTE_PRODUCTION_API_KEY" - EventTypeEnumDeletedRemoteProductionApiKey EventTypeEnum = "DELETED_REMOTE_PRODUCTION_API_KEY" - EventTypeEnumCreatedTestApiKey EventTypeEnum = "CREATED_TEST_API_KEY" - EventTypeEnumDeletedTestApiKey EventTypeEnum = "DELETED_TEST_API_KEY" - EventTypeEnumRegeneratedProductionApiKey EventTypeEnum = "REGENERATED_PRODUCTION_API_KEY" - EventTypeEnumInvitedUser EventTypeEnum = "INVITED_USER" - EventTypeEnumTwoFactorAuthEnabled EventTypeEnum = "TWO_FACTOR_AUTH_ENABLED" - EventTypeEnumTwoFactorAuthDisabled EventTypeEnum = "TWO_FACTOR_AUTH_DISABLED" - EventTypeEnumDeletedLinkedAccount EventTypeEnum = "DELETED_LINKED_ACCOUNT" - EventTypeEnumCreatedDestination EventTypeEnum = "CREATED_DESTINATION" - EventTypeEnumDeletedDestination EventTypeEnum = "DELETED_DESTINATION" - EventTypeEnumChangedDestination EventTypeEnum = "CHANGED_DESTINATION" - EventTypeEnumChangedScopes EventTypeEnum = "CHANGED_SCOPES" - EventTypeEnumChangedPersonalInformation EventTypeEnum = "CHANGED_PERSONAL_INFORMATION" - EventTypeEnumChangedOrganizationSettings EventTypeEnum = "CHANGED_ORGANIZATION_SETTINGS" - EventTypeEnumEnabledIntegration EventTypeEnum = "ENABLED_INTEGRATION" - EventTypeEnumDisabledIntegration EventTypeEnum = "DISABLED_INTEGRATION" - EventTypeEnumEnabledCategory EventTypeEnum = "ENABLED_CATEGORY" - EventTypeEnumDisabledCategory EventTypeEnum = "DISABLED_CATEGORY" - EventTypeEnumChangedPassword EventTypeEnum = "CHANGED_PASSWORD" - EventTypeEnumResetPassword EventTypeEnum = "RESET_PASSWORD" - EventTypeEnumEnabledRedactUnmappedDataForOrganization EventTypeEnum = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - EventTypeEnumEnabledRedactUnmappedDataForLinkedAccount EventTypeEnum = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - EventTypeEnumDisabledRedactUnmappedDataForOrganization EventTypeEnum = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - EventTypeEnumDisabledRedactUnmappedDataForLinkedAccount EventTypeEnum = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - EventTypeEnumCreatedIntegrationWideFieldMapping EventTypeEnum = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" - EventTypeEnumCreatedLinkedAccountFieldMapping EventTypeEnum = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" - EventTypeEnumChangedIntegrationWideFieldMapping EventTypeEnum = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" - EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" - EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" - EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" - EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" - EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" - EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" - EventTypeEnumEnabledMergeWebhook EventTypeEnum = "ENABLED_MERGE_WEBHOOK" - EventTypeEnumDisabledMergeWebhook EventTypeEnum = "DISABLED_MERGE_WEBHOOK" - EventTypeEnumMergeWebhookTargetChanged EventTypeEnum = "MERGE_WEBHOOK_TARGET_CHANGED" -) - -func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { - switch s { - case "CREATED_REMOTE_PRODUCTION_API_KEY": - return EventTypeEnumCreatedRemoteProductionApiKey, nil - case "DELETED_REMOTE_PRODUCTION_API_KEY": - return EventTypeEnumDeletedRemoteProductionApiKey, nil - case "CREATED_TEST_API_KEY": - return EventTypeEnumCreatedTestApiKey, nil - case "DELETED_TEST_API_KEY": - return EventTypeEnumDeletedTestApiKey, nil - case "REGENERATED_PRODUCTION_API_KEY": - return EventTypeEnumRegeneratedProductionApiKey, nil - case "INVITED_USER": - return EventTypeEnumInvitedUser, nil - case "TWO_FACTOR_AUTH_ENABLED": - return EventTypeEnumTwoFactorAuthEnabled, nil - case "TWO_FACTOR_AUTH_DISABLED": - return EventTypeEnumTwoFactorAuthDisabled, nil - case "DELETED_LINKED_ACCOUNT": - return EventTypeEnumDeletedLinkedAccount, nil - case "CREATED_DESTINATION": - return EventTypeEnumCreatedDestination, nil - case "DELETED_DESTINATION": - return EventTypeEnumDeletedDestination, nil - case "CHANGED_DESTINATION": - return EventTypeEnumChangedDestination, nil - case "CHANGED_SCOPES": - return EventTypeEnumChangedScopes, nil - case "CHANGED_PERSONAL_INFORMATION": - return EventTypeEnumChangedPersonalInformation, nil - case "CHANGED_ORGANIZATION_SETTINGS": - return EventTypeEnumChangedOrganizationSettings, nil - case "ENABLED_INTEGRATION": - return EventTypeEnumEnabledIntegration, nil - case "DISABLED_INTEGRATION": - return EventTypeEnumDisabledIntegration, nil - case "ENABLED_CATEGORY": - return EventTypeEnumEnabledCategory, nil - case "DISABLED_CATEGORY": - return EventTypeEnumDisabledCategory, nil - case "CHANGED_PASSWORD": - return EventTypeEnumChangedPassword, nil - case "RESET_PASSWORD": - return EventTypeEnumResetPassword, nil - case "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION": - return EventTypeEnumEnabledRedactUnmappedDataForOrganization, nil - case "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT": - return EventTypeEnumEnabledRedactUnmappedDataForLinkedAccount, nil - case "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION": - return EventTypeEnumDisabledRedactUnmappedDataForOrganization, nil - case "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT": - return EventTypeEnumDisabledRedactUnmappedDataForLinkedAccount, nil - case "CREATED_INTEGRATION_WIDE_FIELD_MAPPING": - return EventTypeEnumCreatedIntegrationWideFieldMapping, nil - case "CREATED_LINKED_ACCOUNT_FIELD_MAPPING": - return EventTypeEnumCreatedLinkedAccountFieldMapping, nil - case "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING": - return EventTypeEnumChangedIntegrationWideFieldMapping, nil - case "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING": - return EventTypeEnumChangedLinkedAccountFieldMapping, nil - case "DELETED_INTEGRATION_WIDE_FIELD_MAPPING": - return EventTypeEnumDeletedIntegrationWideFieldMapping, nil - case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": - return EventTypeEnumDeletedLinkedAccountFieldMapping, nil - case "FORCED_LINKED_ACCOUNT_RESYNC": - return EventTypeEnumForcedLinkedAccountResync, nil - case "MUTED_ISSUE": - return EventTypeEnumMutedIssue, nil - case "GENERATED_MAGIC_LINK": - return EventTypeEnumGeneratedMagicLink, nil - case "ENABLED_MERGE_WEBHOOK": - return EventTypeEnumEnabledMergeWebhook, nil - case "DISABLED_MERGE_WEBHOOK": - return EventTypeEnumDisabledMergeWebhook, nil - case "MERGE_WEBHOOK_TARGET_CHANGED": - return EventTypeEnumMergeWebhookTargetChanged, nil - } - var t EventTypeEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +type ExpenseEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error } -func (e EventTypeEnum) Ptr() *EventTypeEnum { - return &e +func (e *ExpenseEmployee) Accept(visitor ExpenseEmployeeVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "employee": + return visitor.VisitEmployee(e.Employee) + } } -// # The Expense Object +// # The ExpenseLine Object // // ### Description // -// The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. -// -// The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. +// The `ExpenseLine` object is used to represent an expense's line items. // // ### Usage Example // -// Fetch from the `GET Expense` endpoint and view a company's expense. -type Expense struct { +// Fetch from the `GET Expense` endpoint and view the expense's line items. +type ExpenseLine struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` @@ -11073,21 +15451,18 @@ type Expense struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // When the transaction occurred. - TransactionDate *time.Time `json:"transaction_date,omitempty"` - // When the expense was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` - // The expense's payment account. - Account *ExpenseAccount `json:"account,omitempty"` - // The expense's contact. - Contact *ExpenseContact `json:"contact,omitempty"` - // The expense's total amount. - TotalAmount *float64 `json:"total_amount,omitempty"` - // The expense's total amount before tax. - SubTotal *float64 `json:"sub_total,omitempty"` - // The expense's total tax amount. - TotalTaxAmount *float64 `json:"total_tax_amount,omitempty"` - // The expense's currency. + // The line's item. + Item *ExpenseLineItem `json:"item,omitempty"` + // The line's net amount. + NetAmount *float64 `json:"net_amount,omitempty"` + TrackingCategory *ExpenseLineTrackingCategory `json:"tracking_category,omitempty"` + // The expense line item's associated tracking categories. + TrackingCategories []*ExpenseLineTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The company the expense belongs to. + Company *string `json:"company,omitempty"` + // The employee this overall transaction relates to. + Employee *ExpenseLineEmployee `json:"employee,omitempty"` + // The expense line item's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -11395,37 +15770,35 @@ type Expense struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *ExpenseCurrency `json:"currency,omitempty"` - // The expense's exchange rate. + Currency *ExpenseLineCurrency `json:"currency,omitempty"` + // The expense's payment account. + Account *ExpenseLineAccount `json:"account,omitempty"` + // The expense's contact. + Contact *ExpenseLineContact `json:"contact,omitempty"` + // The description of the item that was purchased by the company. + Description *string `json:"description,omitempty"` + // The expense line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` - // The company the expense belongs to. - Company *ExpenseCompany `json:"company,omitempty"` - // The expense's private note. - Memo *string `json:"memo,omitempty"` - Lines []*ExpenseLine `json:"lines,omitempty"` - TrackingCategories []*ExpenseTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - // The accounting period that the Expense was generated in. - AccountingPeriod *ExpenseAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (e *Expense) UnmarshalJSON(data []byte) error { - type unmarshaler Expense +func (e *ExpenseLine) UnmarshalJSON(data []byte) error { + type unmarshaler ExpenseLine var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *e = Expense(value) + *e = ExpenseLine(value) e._rawJSON = json.RawMessage(data) return nil } -func (e *Expense) String() string { +func (e *ExpenseLine) String() string { if len(e._rawJSON) > 0 { if value, err := core.StringifyJSON(e._rawJSON); err == nil { return value @@ -11438,21 +15811,21 @@ func (e *Expense) String() string { } // The expense's payment account. -type ExpenseAccount struct { +type ExpenseLineAccount struct { typeName string String string Account *Account } -func NewExpenseAccountFromString(value string) *ExpenseAccount { - return &ExpenseAccount{typeName: "string", String: value} +func NewExpenseLineAccountFromString(value string) *ExpenseLineAccount { + return &ExpenseLineAccount{typeName: "string", String: value} } -func NewExpenseAccountFromAccount(value *Account) *ExpenseAccount { - return &ExpenseAccount{typeName: "account", Account: value} +func NewExpenseLineAccountFromAccount(value *Account) *ExpenseLineAccount { + return &ExpenseLineAccount{typeName: "account", Account: value} } -func (e *ExpenseAccount) UnmarshalJSON(data []byte) error { +func (e *ExpenseLineAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -11468,7 +15841,7 @@ func (e *ExpenseAccount) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseAccount) MarshalJSON() ([]byte, error) { +func (e ExpenseLineAccount) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -11479,12 +15852,12 @@ func (e ExpenseAccount) MarshalJSON() ([]byte, error) { } } -type ExpenseAccountVisitor interface { +type ExpenseLineAccountVisitor interface { VisitString(string) error VisitAccount(*Account) error } -func (e *ExpenseAccount) Accept(visitor ExpenseAccountVisitor) error { +func (e *ExpenseLineAccount) Accept(visitor ExpenseLineAccountVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -11495,138 +15868,22 @@ func (e *ExpenseAccount) Accept(visitor ExpenseAccountVisitor) error { } } -// The accounting period that the Expense was generated in. -type ExpenseAccountingPeriod struct { - typeName string - String string - AccountingPeriod *AccountingPeriod -} - -func NewExpenseAccountingPeriodFromString(value string) *ExpenseAccountingPeriod { - return &ExpenseAccountingPeriod{typeName: "string", String: value} -} - -func NewExpenseAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *ExpenseAccountingPeriod { - return &ExpenseAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} -} - -func (e *ExpenseAccountingPeriod) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString - return nil - } - valueAccountingPeriod := new(AccountingPeriod) - if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { - e.typeName = "accountingPeriod" - e.AccountingPeriod = valueAccountingPeriod - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) -} - -func (e ExpenseAccountingPeriod) MarshalJSON() ([]byte, error) { - switch e.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return json.Marshal(e.String) - case "accountingPeriod": - return json.Marshal(e.AccountingPeriod) - } -} - -type ExpenseAccountingPeriodVisitor interface { - VisitString(string) error - VisitAccountingPeriod(*AccountingPeriod) error -} - -func (e *ExpenseAccountingPeriod) Accept(visitor ExpenseAccountingPeriodVisitor) error { - switch e.typeName { - default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return visitor.VisitString(e.String) - case "accountingPeriod": - return visitor.VisitAccountingPeriod(e.AccountingPeriod) - } -} - -// The company the expense belongs to. -type ExpenseCompany struct { - typeName string - String string - CompanyInfo *CompanyInfo -} - -func NewExpenseCompanyFromString(value string) *ExpenseCompany { - return &ExpenseCompany{typeName: "string", String: value} -} - -func NewExpenseCompanyFromCompanyInfo(value *CompanyInfo) *ExpenseCompany { - return &ExpenseCompany{typeName: "companyInfo", CompanyInfo: value} -} - -func (e *ExpenseCompany) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString - return nil - } - valueCompanyInfo := new(CompanyInfo) - if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - e.typeName = "companyInfo" - e.CompanyInfo = valueCompanyInfo - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) -} - -func (e ExpenseCompany) MarshalJSON() ([]byte, error) { - switch e.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return json.Marshal(e.String) - case "companyInfo": - return json.Marshal(e.CompanyInfo) - } -} - -type ExpenseCompanyVisitor interface { - VisitString(string) error - VisitCompanyInfo(*CompanyInfo) error -} - -func (e *ExpenseCompany) Accept(visitor ExpenseCompanyVisitor) error { - switch e.typeName { - default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return visitor.VisitString(e.String) - case "companyInfo": - return visitor.VisitCompanyInfo(e.CompanyInfo) - } -} - // The expense's contact. -type ExpenseContact struct { +type ExpenseLineContact struct { typeName string String string Contact *Contact } -func NewExpenseContactFromString(value string) *ExpenseContact { - return &ExpenseContact{typeName: "string", String: value} +func NewExpenseLineContactFromString(value string) *ExpenseLineContact { + return &ExpenseLineContact{typeName: "string", String: value} } -func NewExpenseContactFromContact(value *Contact) *ExpenseContact { - return &ExpenseContact{typeName: "contact", Contact: value} +func NewExpenseLineContactFromContact(value *Contact) *ExpenseLineContact { + return &ExpenseLineContact{typeName: "contact", Contact: value} } -func (e *ExpenseContact) UnmarshalJSON(data []byte) error { +func (e *ExpenseLineContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -11642,7 +15899,7 @@ func (e *ExpenseContact) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseContact) MarshalJSON() ([]byte, error) { +func (e ExpenseLineContact) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -11653,12 +15910,12 @@ func (e ExpenseContact) MarshalJSON() ([]byte, error) { } } -type ExpenseContactVisitor interface { +type ExpenseLineContactVisitor interface { VisitString(string) error VisitContact(*Contact) error } -func (e *ExpenseContact) Accept(visitor ExpenseContactVisitor) error { +func (e *ExpenseLineContact) Accept(visitor ExpenseLineContactVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -11669,7 +15926,7 @@ func (e *ExpenseContact) Accept(visitor ExpenseContactVisitor) error { } } -// The expense's currency. +// The expense line item's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -11977,25 +16234,25 @@ func (e *ExpenseContact) Accept(visitor ExpenseContactVisitor) error { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type ExpenseCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type ExpenseLineCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewExpenseCurrencyFromCurrencyEnum(value CurrencyEnum) *ExpenseCurrency { - return &ExpenseCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewExpenseLineCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *ExpenseLineCurrency { + return &ExpenseLineCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewExpenseCurrencyFromString(value string) *ExpenseCurrency { - return &ExpenseCurrency{typeName: "string", String: value} +func NewExpenseLineCurrencyFromString(value string) *ExpenseLineCurrency { + return &ExpenseLineCurrency{typeName: "string", String: value} } -func (e *ExpenseCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - e.typeName = "currencyEnum" - e.CurrencyEnum = valueCurrencyEnum +func (e *ExpenseLineCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + e.typeName = "transactionCurrencyEnum" + e.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -12007,30 +16264,146 @@ func (e *ExpenseCurrency) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseCurrency) MarshalJSON() ([]byte, error) { +func (e ExpenseLineCurrency) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return json.Marshal(e.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(e.TransactionCurrencyEnum) case "string": return json.Marshal(e.String) } } -type ExpenseCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type ExpenseLineCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (e *ExpenseCurrency) Accept(visitor ExpenseCurrencyVisitor) error { +func (e *ExpenseLineCurrency) Accept(visitor ExpenseLineCurrencyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(e.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(e.String) + } +} + +// The employee this overall transaction relates to. +type ExpenseLineEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewExpenseLineEmployeeFromString(value string) *ExpenseLineEmployee { + return &ExpenseLineEmployee{typeName: "string", String: value} +} + +func NewExpenseLineEmployeeFromEmployee(value *Employee) *ExpenseLineEmployee { + return &ExpenseLineEmployee{typeName: "employee", Employee: value} +} + +func (e *ExpenseLineEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + e.typeName = "employee" + e.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineEmployee) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "employee": + return json.Marshal(e.Employee) + } +} + +type ExpenseLineEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (e *ExpenseLineEmployee) Accept(visitor ExpenseLineEmployeeVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "employee": + return visitor.VisitEmployee(e.Employee) + } +} + +// The line's item. +type ExpenseLineItem struct { + typeName string + String string + Item *Item +} + +func NewExpenseLineItemFromString(value string) *ExpenseLineItem { + return &ExpenseLineItem{typeName: "string", String: value} +} + +func NewExpenseLineItemFromItem(value *Item) *ExpenseLineItem { + return &ExpenseLineItem{typeName: "item", Item: value} +} + +func (e *ExpenseLineItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueItem := new(Item) + if err := json.Unmarshal(data, &valueItem); err == nil { + e.typeName = "item" + e.Item = valueItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineItem) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "item": + return json.Marshal(e.Item) + } +} + +type ExpenseLineItemVisitor interface { + VisitString(string) error + VisitItem(*Item) error +} + +func (e *ExpenseLineItem) Accept(visitor ExpenseLineItemVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return visitor.VisitCurrencyEnum(e.CurrencyEnum) case "string": return visitor.VisitString(e.String) + case "item": + return visitor.VisitItem(e.Item) } } @@ -12043,22 +16416,20 @@ func (e *ExpenseCurrency) Accept(visitor ExpenseCurrencyVisitor) error { // ### Usage Example // // Fetch from the `GET Expense` endpoint and view the expense's line items. -type ExpenseLine struct { - Id *string `json:"id,omitempty"` +type ExpenseLineRequest struct { // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` // The line's item. - Item *ExpenseLineItem `json:"item,omitempty"` + Item *ExpenseLineRequestItem `json:"item,omitempty"` // The line's net amount. - NetAmount *float64 `json:"net_amount,omitempty"` - TrackingCategory *ExpenseLineTrackingCategory `json:"tracking_category,omitempty"` - TrackingCategories []*ExpenseLineTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // The company the line belongs to. + NetAmount *float64 `json:"net_amount,omitempty"` + TrackingCategory *ExpenseLineRequestTrackingCategory `json:"tracking_category,omitempty"` + // The expense line item's associated tracking categories. + TrackingCategories []*ExpenseLineRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The company the expense belongs to. Company *string `json:"company,omitempty"` + // The employee this overall transaction relates to. + Employee *ExpenseLineRequestEmployee `json:"employee,omitempty"` // The expense line item's currency. // // - `XUA` - ADB Unit of Account @@ -12367,33 +16738,36 @@ type ExpenseLine struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *ExpenseLineCurrency `json:"currency,omitempty"` + Currency *ExpenseLineRequestCurrency `json:"currency,omitempty"` // The expense's payment account. - Account *ExpenseLineAccount `json:"account,omitempty"` + Account *ExpenseLineRequestAccount `json:"account,omitempty"` // The expense's contact. - Contact *ExpenseLineContact `json:"contact,omitempty"` + Contact *ExpenseLineRequestContact `json:"contact,omitempty"` // The description of the item that was purchased by the company. Description *string `json:"description,omitempty"` // The expense line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } -func (e *ExpenseLine) UnmarshalJSON(data []byte) error { - type unmarshaler ExpenseLine +func (e *ExpenseLineRequest) UnmarshalJSON(data []byte) error { + type unmarshaler ExpenseLineRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *e = ExpenseLine(value) + *e = ExpenseLineRequest(value) e._rawJSON = json.RawMessage(data) return nil } -func (e *ExpenseLine) String() string { +func (e *ExpenseLineRequest) String() string { if len(e._rawJSON) > 0 { if value, err := core.StringifyJSON(e._rawJSON); err == nil { return value @@ -12406,21 +16780,21 @@ func (e *ExpenseLine) String() string { } // The expense's payment account. -type ExpenseLineAccount struct { +type ExpenseLineRequestAccount struct { typeName string String string Account *Account } -func NewExpenseLineAccountFromString(value string) *ExpenseLineAccount { - return &ExpenseLineAccount{typeName: "string", String: value} +func NewExpenseLineRequestAccountFromString(value string) *ExpenseLineRequestAccount { + return &ExpenseLineRequestAccount{typeName: "string", String: value} } -func NewExpenseLineAccountFromAccount(value *Account) *ExpenseLineAccount { - return &ExpenseLineAccount{typeName: "account", Account: value} +func NewExpenseLineRequestAccountFromAccount(value *Account) *ExpenseLineRequestAccount { + return &ExpenseLineRequestAccount{typeName: "account", Account: value} } -func (e *ExpenseLineAccount) UnmarshalJSON(data []byte) error { +func (e *ExpenseLineRequestAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -12436,7 +16810,7 @@ func (e *ExpenseLineAccount) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineAccount) MarshalJSON() ([]byte, error) { +func (e ExpenseLineRequestAccount) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12447,12 +16821,12 @@ func (e ExpenseLineAccount) MarshalJSON() ([]byte, error) { } } -type ExpenseLineAccountVisitor interface { +type ExpenseLineRequestAccountVisitor interface { VisitString(string) error VisitAccount(*Account) error } -func (e *ExpenseLineAccount) Accept(visitor ExpenseLineAccountVisitor) error { +func (e *ExpenseLineRequestAccount) Accept(visitor ExpenseLineRequestAccountVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12464,21 +16838,21 @@ func (e *ExpenseLineAccount) Accept(visitor ExpenseLineAccountVisitor) error { } // The expense's contact. -type ExpenseLineContact struct { +type ExpenseLineRequestContact struct { typeName string String string Contact *Contact } -func NewExpenseLineContactFromString(value string) *ExpenseLineContact { - return &ExpenseLineContact{typeName: "string", String: value} +func NewExpenseLineRequestContactFromString(value string) *ExpenseLineRequestContact { + return &ExpenseLineRequestContact{typeName: "string", String: value} } -func NewExpenseLineContactFromContact(value *Contact) *ExpenseLineContact { - return &ExpenseLineContact{typeName: "contact", Contact: value} +func NewExpenseLineRequestContactFromContact(value *Contact) *ExpenseLineRequestContact { + return &ExpenseLineRequestContact{typeName: "contact", Contact: value} } -func (e *ExpenseLineContact) UnmarshalJSON(data []byte) error { +func (e *ExpenseLineRequestContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -12494,7 +16868,7 @@ func (e *ExpenseLineContact) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineContact) MarshalJSON() ([]byte, error) { +func (e ExpenseLineRequestContact) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12505,12 +16879,12 @@ func (e ExpenseLineContact) MarshalJSON() ([]byte, error) { } } -type ExpenseLineContactVisitor interface { +type ExpenseLineRequestContactVisitor interface { VisitString(string) error VisitContact(*Contact) error } -func (e *ExpenseLineContact) Accept(visitor ExpenseLineContactVisitor) error { +func (e *ExpenseLineRequestContact) Accept(visitor ExpenseLineRequestContactVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12829,25 +17203,25 @@ func (e *ExpenseLineContact) Accept(visitor ExpenseLineContactVisitor) error { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type ExpenseLineCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type ExpenseLineRequestCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewExpenseLineCurrencyFromCurrencyEnum(value CurrencyEnum) *ExpenseLineCurrency { - return &ExpenseLineCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewExpenseLineRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *ExpenseLineRequestCurrency { + return &ExpenseLineRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewExpenseLineCurrencyFromString(value string) *ExpenseLineCurrency { - return &ExpenseLineCurrency{typeName: "string", String: value} +func NewExpenseLineRequestCurrencyFromString(value string) *ExpenseLineRequestCurrency { + return &ExpenseLineRequestCurrency{typeName: "string", String: value} } -func (e *ExpenseLineCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - e.typeName = "currencyEnum" - e.CurrencyEnum = valueCurrencyEnum +func (e *ExpenseLineRequestCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + e.typeName = "transactionCurrencyEnum" + e.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -12859,49 +17233,107 @@ func (e *ExpenseLineCurrency) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineCurrency) MarshalJSON() ([]byte, error) { +func (e ExpenseLineRequestCurrency) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return json.Marshal(e.TransactionCurrencyEnum) + case "string": + return json.Marshal(e.String) + } +} + +type ExpenseLineRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (e *ExpenseLineRequestCurrency) Accept(visitor ExpenseLineRequestCurrencyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(e.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(e.String) + } +} + +// The employee this overall transaction relates to. +type ExpenseLineRequestEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewExpenseLineRequestEmployeeFromString(value string) *ExpenseLineRequestEmployee { + return &ExpenseLineRequestEmployee{typeName: "string", String: value} +} + +func NewExpenseLineRequestEmployeeFromEmployee(value *Employee) *ExpenseLineRequestEmployee { + return &ExpenseLineRequestEmployee{typeName: "employee", Employee: value} +} + +func (e *ExpenseLineRequestEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + e.typeName = "employee" + e.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineRequestEmployee) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return json.Marshal(e.CurrencyEnum) case "string": return json.Marshal(e.String) + case "employee": + return json.Marshal(e.Employee) } } -type ExpenseLineCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type ExpenseLineRequestEmployeeVisitor interface { VisitString(string) error + VisitEmployee(*Employee) error } -func (e *ExpenseLineCurrency) Accept(visitor ExpenseLineCurrencyVisitor) error { +func (e *ExpenseLineRequestEmployee) Accept(visitor ExpenseLineRequestEmployeeVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return visitor.VisitCurrencyEnum(e.CurrencyEnum) case "string": return visitor.VisitString(e.String) + case "employee": + return visitor.VisitEmployee(e.Employee) } } // The line's item. -type ExpenseLineItem struct { +type ExpenseLineRequestItem struct { typeName string String string Item *Item } -func NewExpenseLineItemFromString(value string) *ExpenseLineItem { - return &ExpenseLineItem{typeName: "string", String: value} +func NewExpenseLineRequestItemFromString(value string) *ExpenseLineRequestItem { + return &ExpenseLineRequestItem{typeName: "string", String: value} } -func NewExpenseLineItemFromItem(value *Item) *ExpenseLineItem { - return &ExpenseLineItem{typeName: "item", Item: value} +func NewExpenseLineRequestItemFromItem(value *Item) *ExpenseLineRequestItem { + return &ExpenseLineRequestItem{typeName: "item", Item: value} } -func (e *ExpenseLineItem) UnmarshalJSON(data []byte) error { +func (e *ExpenseLineRequestItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -12917,7 +17349,7 @@ func (e *ExpenseLineItem) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineItem) MarshalJSON() ([]byte, error) { +func (e ExpenseLineRequestItem) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12928,12 +17360,12 @@ func (e ExpenseLineItem) MarshalJSON() ([]byte, error) { } } -type ExpenseLineItemVisitor interface { +type ExpenseLineRequestItemVisitor interface { VisitString(string) error VisitItem(*Item) error } -func (e *ExpenseLineItem) Accept(visitor ExpenseLineItemVisitor) error { +func (e *ExpenseLineRequestItem) Accept(visitor ExpenseLineRequestItemVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -12944,27 +17376,259 @@ func (e *ExpenseLineItem) Accept(visitor ExpenseLineItemVisitor) error { } } -// # The ExpenseLine Object +type ExpenseLineRequestTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseLineRequestTrackingCategoriesItemFromString(value string) *ExpenseLineRequestTrackingCategoriesItem { + return &ExpenseLineRequestTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewExpenseLineRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseLineRequestTrackingCategoriesItem { + return &ExpenseLineRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseLineRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) + } +} + +type ExpenseLineRequestTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (e *ExpenseLineRequestTrackingCategoriesItem) Accept(visitor ExpenseLineRequestTrackingCategoriesItemVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) + } +} + +type ExpenseLineRequestTrackingCategory struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseLineRequestTrackingCategoryFromString(value string) *ExpenseLineRequestTrackingCategory { + return &ExpenseLineRequestTrackingCategory{typeName: "string", String: value} +} + +func NewExpenseLineRequestTrackingCategoryFromTrackingCategory(value *TrackingCategory) *ExpenseLineRequestTrackingCategory { + return &ExpenseLineRequestTrackingCategory{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseLineRequestTrackingCategory) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineRequestTrackingCategory) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) + } +} + +type ExpenseLineRequestTrackingCategoryVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (e *ExpenseLineRequestTrackingCategory) Accept(visitor ExpenseLineRequestTrackingCategoryVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) + } +} + +type ExpenseLineTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseLineTrackingCategoriesItemFromString(value string) *ExpenseLineTrackingCategoriesItem { + return &ExpenseLineTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewExpenseLineTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseLineTrackingCategoriesItem { + return &ExpenseLineTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseLineTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) + } +} + +type ExpenseLineTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (e *ExpenseLineTrackingCategoriesItem) Accept(visitor ExpenseLineTrackingCategoriesItemVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) + } +} + +type ExpenseLineTrackingCategory struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseLineTrackingCategoryFromString(value string) *ExpenseLineTrackingCategory { + return &ExpenseLineTrackingCategory{typeName: "string", String: value} +} + +func NewExpenseLineTrackingCategoryFromTrackingCategory(value *TrackingCategory) *ExpenseLineTrackingCategory { + return &ExpenseLineTrackingCategory{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseLineTrackingCategory) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseLineTrackingCategory) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) + } +} + +type ExpenseLineTrackingCategoryVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (e *ExpenseLineTrackingCategory) Accept(visitor ExpenseLineTrackingCategoryVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) + } +} + +// # The Expense Object // // ### Description // -// The `ExpenseLine` object is used to represent an expense's line items. +// The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. +// +// The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. // // ### Usage Example // -// Fetch from the `GET Expense` endpoint and view the expense's line items. -type ExpenseLineRequest struct { - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The line's item. - Item *ExpenseLineRequestItem `json:"item,omitempty"` - // The line's net amount. - NetAmount *float64 `json:"net_amount,omitempty"` - TrackingCategory *ExpenseLineRequestTrackingCategory `json:"tracking_category,omitempty"` - TrackingCategories []*ExpenseLineRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // The company the line belongs to. - Company *string `json:"company,omitempty"` - // The expense line item's currency. +// Fetch from the `GET Expense` endpoint and view a company's expense. +type ExpenseRequest struct { + // When the transaction occurred. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The expense's payment account. + Account *ExpenseRequestAccount `json:"account,omitempty"` + // The expense's contact. + Contact *ExpenseRequestContact `json:"contact,omitempty"` + // The expense's total amount. + TotalAmount *float64 `json:"total_amount,omitempty"` + // The expense's total amount before tax. + SubTotal *float64 `json:"sub_total,omitempty"` + // The expense's total tax amount. + TotalTaxAmount *float64 `json:"total_tax_amount,omitempty"` + // The expense's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -13272,33 +17936,40 @@ type ExpenseLineRequest struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *ExpenseLineRequestCurrency `json:"currency,omitempty"` - // The expense's payment account. - Account *ExpenseLineRequestAccount `json:"account,omitempty"` - // The expense's contact. - Contact *ExpenseLineRequestContact `json:"contact,omitempty"` - // The description of the item that was purchased by the company. - Description *string `json:"description,omitempty"` - // The expense line item's exchange rate. - ExchangeRate *string `json:"exchange_rate,omitempty"` - IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` - LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + Currency *ExpenseRequestCurrency `json:"currency,omitempty"` + // The expense's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + // The company the expense belongs to. + Company *ExpenseRequestCompany `json:"company,omitempty"` + // The employee this overall transaction relates to. + Employee *ExpenseRequestEmployee `json:"employee,omitempty"` + // The expense's private note. + Memo *string `json:"memo,omitempty"` + Lines []*ExpenseLineRequest `json:"lines,omitempty"` + TrackingCategories []*ExpenseRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The accounting period that the Expense was generated in. + AccountingPeriod *ExpenseRequestAccountingPeriod `json:"accounting_period,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } -func (e *ExpenseLineRequest) UnmarshalJSON(data []byte) error { - type unmarshaler ExpenseLineRequest +func (e *ExpenseRequest) UnmarshalJSON(data []byte) error { + type unmarshaler ExpenseRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *e = ExpenseLineRequest(value) + *e = ExpenseRequest(value) e._rawJSON = json.RawMessage(data) return nil } -func (e *ExpenseLineRequest) String() string { +func (e *ExpenseRequest) String() string { if len(e._rawJSON) > 0 { if value, err := core.StringifyJSON(e._rawJSON); err == nil { return value @@ -13311,21 +17982,21 @@ func (e *ExpenseLineRequest) String() string { } // The expense's payment account. -type ExpenseLineRequestAccount struct { +type ExpenseRequestAccount struct { typeName string String string Account *Account } -func NewExpenseLineRequestAccountFromString(value string) *ExpenseLineRequestAccount { - return &ExpenseLineRequestAccount{typeName: "string", String: value} +func NewExpenseRequestAccountFromString(value string) *ExpenseRequestAccount { + return &ExpenseRequestAccount{typeName: "string", String: value} } -func NewExpenseLineRequestAccountFromAccount(value *Account) *ExpenseLineRequestAccount { - return &ExpenseLineRequestAccount{typeName: "account", Account: value} +func NewExpenseRequestAccountFromAccount(value *Account) *ExpenseRequestAccount { + return &ExpenseRequestAccount{typeName: "account", Account: value} } -func (e *ExpenseLineRequestAccount) UnmarshalJSON(data []byte) error { +func (e *ExpenseRequestAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -13341,7 +18012,7 @@ func (e *ExpenseLineRequestAccount) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineRequestAccount) MarshalJSON() ([]byte, error) { +func (e ExpenseRequestAccount) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -13352,12 +18023,12 @@ func (e ExpenseLineRequestAccount) MarshalJSON() ([]byte, error) { } } -type ExpenseLineRequestAccountVisitor interface { +type ExpenseRequestAccountVisitor interface { VisitString(string) error VisitAccount(*Account) error } -func (e *ExpenseLineRequestAccount) Accept(visitor ExpenseLineRequestAccountVisitor) error { +func (e *ExpenseRequestAccount) Accept(visitor ExpenseRequestAccountVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -13368,22 +18039,138 @@ func (e *ExpenseLineRequestAccount) Accept(visitor ExpenseLineRequestAccountVisi } } +// The accounting period that the Expense was generated in. +type ExpenseRequestAccountingPeriod struct { + typeName string + String string + AccountingPeriod *AccountingPeriod +} + +func NewExpenseRequestAccountingPeriodFromString(value string) *ExpenseRequestAccountingPeriod { + return &ExpenseRequestAccountingPeriod{typeName: "string", String: value} +} + +func NewExpenseRequestAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *ExpenseRequestAccountingPeriod { + return &ExpenseRequestAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +} + +func (e *ExpenseRequestAccountingPeriod) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + e.typeName = "accountingPeriod" + e.AccountingPeriod = valueAccountingPeriod + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseRequestAccountingPeriod) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "accountingPeriod": + return json.Marshal(e.AccountingPeriod) + } +} + +type ExpenseRequestAccountingPeriodVisitor interface { + VisitString(string) error + VisitAccountingPeriod(*AccountingPeriod) error +} + +func (e *ExpenseRequestAccountingPeriod) Accept(visitor ExpenseRequestAccountingPeriodVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(e.AccountingPeriod) + } +} + +// The company the expense belongs to. +type ExpenseRequestCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewExpenseRequestCompanyFromString(value string) *ExpenseRequestCompany { + return &ExpenseRequestCompany{typeName: "string", String: value} +} + +func NewExpenseRequestCompanyFromCompanyInfo(value *CompanyInfo) *ExpenseRequestCompany { + return &ExpenseRequestCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (e *ExpenseRequestCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + e.typeName = "companyInfo" + e.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseRequestCompany) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "companyInfo": + return json.Marshal(e.CompanyInfo) + } +} + +type ExpenseRequestCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (e *ExpenseRequestCompany) Accept(visitor ExpenseRequestCompanyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "companyInfo": + return visitor.VisitCompanyInfo(e.CompanyInfo) + } +} + // The expense's contact. -type ExpenseLineRequestContact struct { +type ExpenseRequestContact struct { typeName string String string Contact *Contact } -func NewExpenseLineRequestContactFromString(value string) *ExpenseLineRequestContact { - return &ExpenseLineRequestContact{typeName: "string", String: value} +func NewExpenseRequestContactFromString(value string) *ExpenseRequestContact { + return &ExpenseRequestContact{typeName: "string", String: value} } -func NewExpenseLineRequestContactFromContact(value *Contact) *ExpenseLineRequestContact { - return &ExpenseLineRequestContact{typeName: "contact", Contact: value} +func NewExpenseRequestContactFromContact(value *Contact) *ExpenseRequestContact { + return &ExpenseRequestContact{typeName: "contact", Contact: value} } -func (e *ExpenseLineRequestContact) UnmarshalJSON(data []byte) error { +func (e *ExpenseRequestContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" @@ -13399,7 +18186,7 @@ func (e *ExpenseLineRequestContact) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineRequestContact) MarshalJSON() ([]byte, error) { +func (e ExpenseRequestContact) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -13410,12 +18197,12 @@ func (e ExpenseLineRequestContact) MarshalJSON() ([]byte, error) { } } -type ExpenseLineRequestContactVisitor interface { +type ExpenseRequestContactVisitor interface { VisitString(string) error VisitContact(*Contact) error } -func (e *ExpenseLineRequestContact) Accept(visitor ExpenseLineRequestContactVisitor) error { +func (e *ExpenseRequestContact) Accept(visitor ExpenseRequestContactVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) @@ -13426,7 +18213,7 @@ func (e *ExpenseLineRequestContact) Accept(visitor ExpenseLineRequestContactVisi } } -// The expense line item's currency. +// The expense's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -13734,374 +18521,1301 @@ func (e *ExpenseLineRequestContact) Accept(visitor ExpenseLineRequestContactVisi // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type ExpenseLineRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type ExpenseRequestCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewExpenseRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *ExpenseRequestCurrency { + return &ExpenseRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewExpenseRequestCurrencyFromString(value string) *ExpenseRequestCurrency { + return &ExpenseRequestCurrency{typeName: "string", String: value} +} + +func (e *ExpenseRequestCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + e.typeName = "transactionCurrencyEnum" + e.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseRequestCurrency) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return json.Marshal(e.TransactionCurrencyEnum) + case "string": + return json.Marshal(e.String) + } +} + +type ExpenseRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (e *ExpenseRequestCurrency) Accept(visitor ExpenseRequestCurrencyVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(e.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(e.String) + } } -func NewExpenseLineRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *ExpenseLineRequestCurrency { - return &ExpenseLineRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +// The employee this overall transaction relates to. +type ExpenseRequestEmployee struct { + typeName string + String string + Employee *Employee } -func NewExpenseLineRequestCurrencyFromString(value string) *ExpenseLineRequestCurrency { - return &ExpenseLineRequestCurrency{typeName: "string", String: value} +func NewExpenseRequestEmployeeFromString(value string) *ExpenseRequestEmployee { + return &ExpenseRequestEmployee{typeName: "string", String: value} } -func (e *ExpenseLineRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - e.typeName = "currencyEnum" - e.CurrencyEnum = valueCurrencyEnum +func NewExpenseRequestEmployeeFromEmployee(value *Employee) *ExpenseRequestEmployee { + return &ExpenseRequestEmployee{typeName: "employee", Employee: value} +} + +func (e *ExpenseRequestEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + e.typeName = "string" + e.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + e.typeName = "employee" + e.Employee = valueEmployee return nil } + return fmt.Errorf("%s cannot be deserialized as a %T", data, e) +} + +func (e ExpenseRequestEmployee) MarshalJSON() ([]byte, error) { + switch e.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return json.Marshal(e.String) + case "employee": + return json.Marshal(e.Employee) + } +} + +type ExpenseRequestEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (e *ExpenseRequestEmployee) Accept(visitor ExpenseRequestEmployeeVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "employee": + return visitor.VisitEmployee(e.Employee) + } +} + +type ExpenseRequestTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseRequestTrackingCategoriesItemFromString(value string) *ExpenseRequestTrackingCategoriesItem { + return &ExpenseRequestTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewExpenseRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseRequestTrackingCategoriesItem { + return &ExpenseRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" e.String = valueString return nil } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory + return nil + } return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineRequestCurrency) MarshalJSON() ([]byte, error) { +func (e ExpenseRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return json.Marshal(e.CurrencyEnum) case "string": return json.Marshal(e.String) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) } } -type ExpenseLineRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type ExpenseRequestTrackingCategoriesItemVisitor interface { VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error } -func (e *ExpenseLineRequestCurrency) Accept(visitor ExpenseLineRequestCurrencyVisitor) error { +func (e *ExpenseRequestTrackingCategoriesItem) Accept(visitor ExpenseRequestTrackingCategoriesItemVisitor) error { switch e.typeName { default: return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return visitor.VisitCurrencyEnum(e.CurrencyEnum) case "string": return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) } } -// The line's item. -type ExpenseLineRequestItem struct { - typeName string - String string - Item *Item +type ExpenseResponse struct { + Model *Expense `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage } -func NewExpenseLineRequestItemFromString(value string) *ExpenseLineRequestItem { - return &ExpenseLineRequestItem{typeName: "string", String: value} +func (e *ExpenseResponse) UnmarshalJSON(data []byte) error { + type unmarshaler ExpenseResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *e = ExpenseResponse(value) + e._rawJSON = json.RawMessage(data) + return nil } -func NewExpenseLineRequestItemFromItem(value *Item) *ExpenseLineRequestItem { - return &ExpenseLineRequestItem{typeName: "item", Item: value} +func (e *ExpenseResponse) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(e); err == nil { + return value + } + return fmt.Sprintf("%#v", e) } -func (e *ExpenseLineRequestItem) UnmarshalJSON(data []byte) error { +type ExpenseTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewExpenseTrackingCategoriesItemFromString(value string) *ExpenseTrackingCategoriesItem { + return &ExpenseTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewExpenseTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseTrackingCategoriesItem { + return &ExpenseTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (e *ExpenseTrackingCategoriesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { e.typeName = "string" e.String = valueString return nil } - valueItem := new(Item) - if err := json.Unmarshal(data, &valueItem); err == nil { - e.typeName = "item" - e.Item = valueItem + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + e.typeName = "trackingCategory" + e.TrackingCategory = valueTrackingCategory return nil } return fmt.Errorf("%s cannot be deserialized as a %T", data, e) } -func (e ExpenseLineRequestItem) MarshalJSON() ([]byte, error) { +func (e ExpenseTrackingCategoriesItem) MarshalJSON() ([]byte, error) { switch e.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) case "string": return json.Marshal(e.String) - case "item": - return json.Marshal(e.Item) + case "trackingCategory": + return json.Marshal(e.TrackingCategory) } } -type ExpenseLineRequestItemVisitor interface { +type ExpenseTrackingCategoriesItemVisitor interface { VisitString(string) error - VisitItem(*Item) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (e *ExpenseTrackingCategoriesItem) Accept(visitor ExpenseTrackingCategoriesItemVisitor) error { + switch e.typeName { + default: + return fmt.Errorf("invalid type %s in %T", e.typeName, e) + case "string": + return visitor.VisitString(e.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(e.TrackingCategory) + } +} + +type ExternalTargetFieldApi struct { + Name *string `json:"name,omitempty"` + Description *string `json:"description,omitempty"` + IsMapped *string `json:"is_mapped,omitempty"` + + _rawJSON json.RawMessage +} + +func (e *ExternalTargetFieldApi) UnmarshalJSON(data []byte) error { + type unmarshaler ExternalTargetFieldApi + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *e = ExternalTargetFieldApi(value) + e._rawJSON = json.RawMessage(data) + return nil +} + +func (e *ExternalTargetFieldApi) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(e); err == nil { + return value + } + return fmt.Sprintf("%#v", e) +} + +type ExternalTargetFieldApiResponse struct { + Account []*ExternalTargetFieldApi `json:"Account,omitempty"` + AccountingAttachment []*ExternalTargetFieldApi `json:"AccountingAttachment,omitempty"` + BalanceSheet []*ExternalTargetFieldApi `json:"BalanceSheet,omitempty"` + CashFlowStatement []*ExternalTargetFieldApi `json:"CashFlowStatement,omitempty"` + CompanyInfo []*ExternalTargetFieldApi `json:"CompanyInfo,omitempty"` + Contact []*ExternalTargetFieldApi `json:"Contact,omitempty"` + IncomeStatement []*ExternalTargetFieldApi `json:"IncomeStatement,omitempty"` + CreditNote []*ExternalTargetFieldApi `json:"CreditNote,omitempty"` + Item []*ExternalTargetFieldApi `json:"Item,omitempty"` + PurchaseOrder []*ExternalTargetFieldApi `json:"PurchaseOrder,omitempty"` + TrackingCategory []*ExternalTargetFieldApi `json:"TrackingCategory,omitempty"` + JournalEntry []*ExternalTargetFieldApi `json:"JournalEntry,omitempty"` + TaxRate []*ExternalTargetFieldApi `json:"TaxRate,omitempty"` + Invoice []*ExternalTargetFieldApi `json:"Invoice,omitempty"` + Payment []*ExternalTargetFieldApi `json:"Payment,omitempty"` + Expense []*ExternalTargetFieldApi `json:"Expense,omitempty"` + VendorCredit []*ExternalTargetFieldApi `json:"VendorCredit,omitempty"` + Transaction []*ExternalTargetFieldApi `json:"Transaction,omitempty"` + AccountingPeriod []*ExternalTargetFieldApi `json:"AccountingPeriod,omitempty"` + GeneralLedgerTransaction []*ExternalTargetFieldApi `json:"GeneralLedgerTransaction,omitempty"` + BankFeedAccount []*ExternalTargetFieldApi `json:"BankFeedAccount,omitempty"` + Employee []*ExternalTargetFieldApi `json:"Employee,omitempty"` + + _rawJSON json.RawMessage +} + +func (e *ExternalTargetFieldApiResponse) UnmarshalJSON(data []byte) error { + type unmarshaler ExternalTargetFieldApiResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *e = ExternalTargetFieldApiResponse(value) + e._rawJSON = json.RawMessage(data) + return nil +} + +func (e *ExternalTargetFieldApiResponse) String() string { + if len(e._rawJSON) > 0 { + if value, err := core.StringifyJSON(e._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(e); err == nil { + return value + } + return fmt.Sprintf("%#v", e) +} + +// - `ACTIVE` - ACTIVE +// - `INACTIVE` - INACTIVE +type FeedStatusEnum string + +const ( + FeedStatusEnumActive FeedStatusEnum = "ACTIVE" + FeedStatusEnumInactive FeedStatusEnum = "INACTIVE" +) + +func NewFeedStatusEnumFromString(s string) (FeedStatusEnum, error) { + switch s { + case "ACTIVE": + return FeedStatusEnumActive, nil + case "INACTIVE": + return FeedStatusEnumInactive, nil + } + var t FeedStatusEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (f FeedStatusEnum) Ptr() *FeedStatusEnum { + return &f +} + +// - `string` - string +// - `number` - number +// - `date` - date +// - `datetime` - datetime +// - `bool` - bool +// - `list` - list +type FieldFormatEnum string + +const ( + FieldFormatEnumString FieldFormatEnum = "string" + FieldFormatEnumNumber FieldFormatEnum = "number" + FieldFormatEnumDate FieldFormatEnum = "date" + FieldFormatEnumDatetime FieldFormatEnum = "datetime" + FieldFormatEnumBool FieldFormatEnum = "bool" + FieldFormatEnumList FieldFormatEnum = "list" +) + +func NewFieldFormatEnumFromString(s string) (FieldFormatEnum, error) { + switch s { + case "string": + return FieldFormatEnumString, nil + case "number": + return FieldFormatEnumNumber, nil + case "date": + return FieldFormatEnumDate, nil + case "datetime": + return FieldFormatEnumDatetime, nil + case "bool": + return FieldFormatEnumBool, nil + case "list": + return FieldFormatEnumList, nil + } + var t FieldFormatEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (f FieldFormatEnum) Ptr() *FieldFormatEnum { + return &f +} + +type FieldMappingApiInstance struct { + Id *string `json:"id,omitempty"` + IsIntegrationWide *bool `json:"is_integration_wide,omitempty"` + TargetField *FieldMappingApiInstanceTargetField `json:"target_field,omitempty"` + RemoteField *FieldMappingApiInstanceRemoteField `json:"remote_field,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingApiInstance) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingApiInstance + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingApiInstance(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingApiInstance) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldMappingApiInstanceRemoteField struct { + RemoteKeyName *string `json:"remote_key_name,omitempty"` + Schema map[string]interface{} `json:"schema,omitempty"` + RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingApiInstanceRemoteField) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingApiInstanceRemoteField + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingApiInstanceRemoteField(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingApiInstanceRemoteField) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo struct { + Method *string `json:"method,omitempty"` + UrlPath *string `json:"url_path,omitempty"` + FieldTraversalPath []string `json:"field_traversal_path,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldMappingApiInstanceResponse struct { + Account []*FieldMappingApiInstance `json:"Account,omitempty"` + AccountingAttachment []*FieldMappingApiInstance `json:"AccountingAttachment,omitempty"` + BalanceSheet []*FieldMappingApiInstance `json:"BalanceSheet,omitempty"` + CashFlowStatement []*FieldMappingApiInstance `json:"CashFlowStatement,omitempty"` + CompanyInfo []*FieldMappingApiInstance `json:"CompanyInfo,omitempty"` + Contact []*FieldMappingApiInstance `json:"Contact,omitempty"` + IncomeStatement []*FieldMappingApiInstance `json:"IncomeStatement,omitempty"` + CreditNote []*FieldMappingApiInstance `json:"CreditNote,omitempty"` + Item []*FieldMappingApiInstance `json:"Item,omitempty"` + PurchaseOrder []*FieldMappingApiInstance `json:"PurchaseOrder,omitempty"` + TrackingCategory []*FieldMappingApiInstance `json:"TrackingCategory,omitempty"` + JournalEntry []*FieldMappingApiInstance `json:"JournalEntry,omitempty"` + TaxRate []*FieldMappingApiInstance `json:"TaxRate,omitempty"` + Invoice []*FieldMappingApiInstance `json:"Invoice,omitempty"` + Payment []*FieldMappingApiInstance `json:"Payment,omitempty"` + Expense []*FieldMappingApiInstance `json:"Expense,omitempty"` + VendorCredit []*FieldMappingApiInstance `json:"VendorCredit,omitempty"` + Transaction []*FieldMappingApiInstance `json:"Transaction,omitempty"` + AccountingPeriod []*FieldMappingApiInstance `json:"AccountingPeriod,omitempty"` + GeneralLedgerTransaction []*FieldMappingApiInstance `json:"GeneralLedgerTransaction,omitempty"` + BankFeedAccount []*FieldMappingApiInstance `json:"BankFeedAccount,omitempty"` + Employee []*FieldMappingApiInstance `json:"Employee,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingApiInstanceResponse) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingApiInstanceResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingApiInstanceResponse(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingApiInstanceResponse) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldMappingApiInstanceTargetField struct { + Name string `json:"name"` + Description string `json:"description"` + IsOrganizationWide bool `json:"is_organization_wide"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingApiInstanceTargetField) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingApiInstanceTargetField + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingApiInstanceTargetField(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingApiInstanceTargetField) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldMappingInstanceResponse struct { + Model *FieldMappingApiInstance `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldMappingInstanceResponse) UnmarshalJSON(data []byte) error { + type unmarshaler FieldMappingInstanceResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldMappingInstanceResponse(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldMappingInstanceResponse) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldPermissionDeserializer struct { + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldPermissionDeserializer) UnmarshalJSON(data []byte) error { + type unmarshaler FieldPermissionDeserializer + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldPermissionDeserializer(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldPermissionDeserializer) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) +} + +type FieldPermissionDeserializerRequest struct { + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` + + _rawJSON json.RawMessage +} + +func (f *FieldPermissionDeserializerRequest) UnmarshalJSON(data []byte) error { + type unmarshaler FieldPermissionDeserializerRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *f = FieldPermissionDeserializerRequest(value) + f._rawJSON = json.RawMessage(data) + return nil +} + +func (f *FieldPermissionDeserializerRequest) String() string { + if len(f._rawJSON) > 0 { + if value, err := core.StringifyJSON(f._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(f); err == nil { + return value + } + return fmt.Sprintf("%#v", f) } -func (e *ExpenseLineRequestItem) Accept(visitor ExpenseLineRequestItemVisitor) error { - switch e.typeName { - default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) +// - `string` - string +// - `number` - number +// - `date` - date +// - `datetime` - datetime +// - `bool` - bool +// - `list` - list +type FieldTypeEnum string + +const ( + FieldTypeEnumString FieldTypeEnum = "string" + FieldTypeEnumNumber FieldTypeEnum = "number" + FieldTypeEnumDate FieldTypeEnum = "date" + FieldTypeEnumDatetime FieldTypeEnum = "datetime" + FieldTypeEnumBool FieldTypeEnum = "bool" + FieldTypeEnumList FieldTypeEnum = "list" +) + +func NewFieldTypeEnumFromString(s string) (FieldTypeEnum, error) { + switch s { case "string": - return visitor.VisitString(e.String) - case "item": - return visitor.VisitItem(e.Item) - } + return FieldTypeEnumString, nil + case "number": + return FieldTypeEnumNumber, nil + case "date": + return FieldTypeEnumDate, nil + case "datetime": + return FieldTypeEnumDatetime, nil + case "bool": + return FieldTypeEnumBool, nil + case "list": + return FieldTypeEnumList, nil + } + var t FieldTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -type ExpenseLineRequestTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +func (f FieldTypeEnum) Ptr() *FieldTypeEnum { + return &f } -func NewExpenseLineRequestTrackingCategoriesItemFromString(value string) *ExpenseLineRequestTrackingCategoriesItem { - return &ExpenseLineRequestTrackingCategoriesItem{typeName: "string", String: value} -} +// # The GeneralLedgerTransaction Object +// +// ### Description +// +// A General Ledger Entry is a record of a financial transaction that is posted to the general ledger, the central repository of a company’s financial data. +// +// The `GeneralLedgerTransaction` object is a singular endpoint to pull all transactions posted to a company’s general ledger. The transaction that generated the `GeneralLedgerTransaction` can be found by referencing the `underlying_transaction_type` and `underlying_transaction_remote_id` fields. +// +// The lines of a `GeneralLedgerTransaction` object will always have equal amounts of debits and credits. +// +// ### Usage Example +// +// Fetch from the `GET GeneralLedgerTransaction` endpoint and view a general ledger transaction. +type GeneralLedgerTransaction struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The third party remote ID of the underlying transaction. + UnderlyingTransactionRemoteId *string `json:"underlying_transaction_remote_id,omitempty"` + // The type of the underlying transaction. + // + // - `INVOICE` - INVOICE + // - `EXPENSE` - EXPENSE + // - `TRANSACTION` - TRANSACTION + // - `JOURNAL_ENTRY` - JOURNAL_ENTRY + // - `PAYMENT` - PAYMENT + // - `VENDOR_CREDIT` - VENDOR_CREDIT + // - `CREDIT_NOTE` - CREDIT_NOTE + UnderlyingTransactionType *GeneralLedgerTransactionUnderlyingTransactionType `json:"underlying_transaction_type,omitempty"` + // The accounting period that the GeneralLedgerTransaction was generated in. + AccountingPeriod *GeneralLedgerTransactionAccountingPeriod `json:"accounting_period,omitempty"` + // The company the GeneralLedgerTransaction belongs to. + Company *GeneralLedgerTransactionCompany `json:"company,omitempty"` + // When the third party's GeneralLedgerTransaction entry was updated. + RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + // When the third party's GeneralLedgerTransaction entry was created. + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + TrackingCategories []*GeneralLedgerTransactionTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The date that the transaction was posted to the general ledger. + PostingDate *time.Time `json:"posting_date,omitempty"` + // A list of “General Ledger Transaction Applied to Lines” objects. + GeneralLedgerTransactionLines []*GeneralLedgerTransactionGeneralLedgerTransactionLinesItem `json:"general_ledger_transaction_lines,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` -func NewExpenseLineRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseLineRequestTrackingCategoriesItem { - return &ExpenseLineRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} + _rawJSON json.RawMessage } -func (e *ExpenseLineRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString - return nil - } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory - return nil +func (g *GeneralLedgerTransaction) UnmarshalJSON(data []byte) error { + type unmarshaler GeneralLedgerTransaction + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + *g = GeneralLedgerTransaction(value) + g._rawJSON = json.RawMessage(data) + return nil } -func (e ExpenseLineRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch e.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return json.Marshal(e.String) - case "trackingCategory": - return json.Marshal(e.TrackingCategory) +func (g *GeneralLedgerTransaction) String() string { + if len(g._rawJSON) > 0 { + if value, err := core.StringifyJSON(g._rawJSON); err == nil { + return value + } } -} - -type ExpenseLineRequestTrackingCategoriesItemVisitor interface { - VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error -} - -func (e *ExpenseLineRequestTrackingCategoriesItem) Accept(visitor ExpenseLineRequestTrackingCategoriesItemVisitor) error { - switch e.typeName { - default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "string": - return visitor.VisitString(e.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) + if value, err := core.StringifyJSON(g); err == nil { + return value } + return fmt.Sprintf("%#v", g) } -type ExpenseLineRequestTrackingCategory struct { +// The accounting period that the GeneralLedgerTransaction was generated in. +type GeneralLedgerTransactionAccountingPeriod struct { typeName string String string - TrackingCategory *TrackingCategory + AccountingPeriod *AccountingPeriod } -func NewExpenseLineRequestTrackingCategoryFromString(value string) *ExpenseLineRequestTrackingCategory { - return &ExpenseLineRequestTrackingCategory{typeName: "string", String: value} +func NewGeneralLedgerTransactionAccountingPeriodFromString(value string) *GeneralLedgerTransactionAccountingPeriod { + return &GeneralLedgerTransactionAccountingPeriod{typeName: "string", String: value} } -func NewExpenseLineRequestTrackingCategoryFromTrackingCategory(value *TrackingCategory) *ExpenseLineRequestTrackingCategory { - return &ExpenseLineRequestTrackingCategory{typeName: "trackingCategory", TrackingCategory: value} +func NewGeneralLedgerTransactionAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *GeneralLedgerTransactionAccountingPeriod { + return &GeneralLedgerTransactionAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} } -func (e *ExpenseLineRequestTrackingCategory) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionAccountingPeriod) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + g.typeName = "accountingPeriod" + g.AccountingPeriod = valueAccountingPeriod return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseLineRequestTrackingCategory) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionAccountingPeriod) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) - case "trackingCategory": - return json.Marshal(e.TrackingCategory) + return json.Marshal(g.String) + case "accountingPeriod": + return json.Marshal(g.AccountingPeriod) } } -type ExpenseLineRequestTrackingCategoryVisitor interface { +type GeneralLedgerTransactionAccountingPeriodVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitAccountingPeriod(*AccountingPeriod) error } -func (e *ExpenseLineRequestTrackingCategory) Accept(visitor ExpenseLineRequestTrackingCategoryVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionAccountingPeriod) Accept(visitor GeneralLedgerTransactionAccountingPeriodVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) + return visitor.VisitString(g.String) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(g.AccountingPeriod) } } -type ExpenseLineTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +// The company the GeneralLedgerTransaction belongs to. +type GeneralLedgerTransactionCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo } -func NewExpenseLineTrackingCategoriesItemFromString(value string) *ExpenseLineTrackingCategoriesItem { - return &ExpenseLineTrackingCategoriesItem{typeName: "string", String: value} +func NewGeneralLedgerTransactionCompanyFromString(value string) *GeneralLedgerTransactionCompany { + return &GeneralLedgerTransactionCompany{typeName: "string", String: value} } -func NewExpenseLineTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseLineTrackingCategoriesItem { - return &ExpenseLineTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewGeneralLedgerTransactionCompanyFromCompanyInfo(value *CompanyInfo) *GeneralLedgerTransactionCompany { + return &GeneralLedgerTransactionCompany{typeName: "companyInfo", CompanyInfo: value} } -func (e *ExpenseLineTrackingCategoriesItem) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + g.typeName = "companyInfo" + g.CompanyInfo = valueCompanyInfo return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseLineTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionCompany) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) - case "trackingCategory": - return json.Marshal(e.TrackingCategory) + return json.Marshal(g.String) + case "companyInfo": + return json.Marshal(g.CompanyInfo) } } -type ExpenseLineTrackingCategoriesItemVisitor interface { +type GeneralLedgerTransactionCompanyVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitCompanyInfo(*CompanyInfo) error } -func (e *ExpenseLineTrackingCategoriesItem) Accept(visitor ExpenseLineTrackingCategoriesItemVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionCompany) Accept(visitor GeneralLedgerTransactionCompanyVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) + return visitor.VisitString(g.String) + case "companyInfo": + return visitor.VisitCompanyInfo(g.CompanyInfo) } } -type ExpenseLineTrackingCategory struct { - typeName string - String string - TrackingCategory *TrackingCategory +type GeneralLedgerTransactionGeneralLedgerTransactionLinesItem struct { + typeName string + String string + GeneralLedgerTransactionLine *GeneralLedgerTransactionLine } -func NewExpenseLineTrackingCategoryFromString(value string) *ExpenseLineTrackingCategory { - return &ExpenseLineTrackingCategory{typeName: "string", String: value} +func NewGeneralLedgerTransactionGeneralLedgerTransactionLinesItemFromString(value string) *GeneralLedgerTransactionGeneralLedgerTransactionLinesItem { + return &GeneralLedgerTransactionGeneralLedgerTransactionLinesItem{typeName: "string", String: value} } -func NewExpenseLineTrackingCategoryFromTrackingCategory(value *TrackingCategory) *ExpenseLineTrackingCategory { - return &ExpenseLineTrackingCategory{typeName: "trackingCategory", TrackingCategory: value} +func NewGeneralLedgerTransactionGeneralLedgerTransactionLinesItemFromGeneralLedgerTransactionLine(value *GeneralLedgerTransactionLine) *GeneralLedgerTransactionGeneralLedgerTransactionLinesItem { + return &GeneralLedgerTransactionGeneralLedgerTransactionLinesItem{typeName: "generalLedgerTransactionLine", GeneralLedgerTransactionLine: value} } -func (e *ExpenseLineTrackingCategory) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionGeneralLedgerTransactionLinesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory + valueGeneralLedgerTransactionLine := new(GeneralLedgerTransactionLine) + if err := json.Unmarshal(data, &valueGeneralLedgerTransactionLine); err == nil { + g.typeName = "generalLedgerTransactionLine" + g.GeneralLedgerTransactionLine = valueGeneralLedgerTransactionLine return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseLineTrackingCategory) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionGeneralLedgerTransactionLinesItem) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) - case "trackingCategory": - return json.Marshal(e.TrackingCategory) + return json.Marshal(g.String) + case "generalLedgerTransactionLine": + return json.Marshal(g.GeneralLedgerTransactionLine) } } -type ExpenseLineTrackingCategoryVisitor interface { +type GeneralLedgerTransactionGeneralLedgerTransactionLinesItemVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitGeneralLedgerTransactionLine(*GeneralLedgerTransactionLine) error } -func (e *ExpenseLineTrackingCategory) Accept(visitor ExpenseLineTrackingCategoryVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionGeneralLedgerTransactionLinesItem) Accept(visitor GeneralLedgerTransactionGeneralLedgerTransactionLinesItemVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) + return visitor.VisitString(g.String) + case "generalLedgerTransactionLine": + return visitor.VisitGeneralLedgerTransactionLine(g.GeneralLedgerTransactionLine) } } -// # The Expense Object +// # The GeneralLedgerTransactionLineSerializer Object // // ### Description // -// The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. -// -// The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. +// The `GeneralLedgerTransactionLineSerializer` object represents general ledger transaction line item. // -// ### Usage Example +// ### Usage Example Fetch from the `GET GeneralLedgerTransactionLineSerializer` endpoint and view an // -// Fetch from the `GET Expense` endpoint and view a company's expense. -type ExpenseRequest struct { - // When the transaction occurred. - TransactionDate *time.Time `json:"transaction_date,omitempty"` - // The expense's payment account. - Account *ExpenseRequestAccount `json:"account,omitempty"` - // The expense's contact. - Contact *ExpenseRequestContact `json:"contact,omitempty"` - // The expense's total amount. - TotalAmount *float64 `json:"total_amount,omitempty"` - // The expense's total amount before tax. - SubTotal *float64 `json:"sub_total,omitempty"` - // The expense's total tax amount. - TotalTaxAmount *float64 `json:"total_tax_amount,omitempty"` - // The expense's currency. +// `GeneralLedgerTransaction` line item. +type GeneralLedgerTransactionLine struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + Account *GeneralLedgerTransactionLineAccount `json:"account,omitempty"` + // The company the GeneralLedgerTransaction belongs to. + Company *GeneralLedgerTransactionLineCompany `json:"company,omitempty"` + Employee *GeneralLedgerTransactionLineEmployee `json:"employee,omitempty"` + Contact *GeneralLedgerTransactionLineContact `json:"contact,omitempty"` + // The base currency of the transaction + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + BaseCurrency *GeneralLedgerTransactionLineBaseCurrency `json:"base_currency,omitempty"` + // The transaction currency that the transaction is made in. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -14409,279 +20123,699 @@ type ExpenseRequest struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *ExpenseRequestCurrency `json:"currency,omitempty"` - // The expense's exchange rate. + TransactionCurrency *GeneralLedgerTransactionLineTransactionCurrency `json:"transaction_currency,omitempty"` + // The exchange rate between the base currency and the transaction currency. ExchangeRate *string `json:"exchange_rate,omitempty"` - // The company the expense belongs to. - Company *ExpenseRequestCompany `json:"company,omitempty"` - // The expense's private note. - Memo *string `json:"memo,omitempty"` - Lines []*ExpenseLineRequest `json:"lines,omitempty"` - TrackingCategories []*ExpenseRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // The accounting period that the Expense was generated in. - AccountingPeriod *ExpenseRequestAccountingPeriod `json:"accounting_period,omitempty"` - IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` - LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + // A description of the line item. + Description *string `json:"description,omitempty"` + TrackingCategories []*TrackingCategory `json:"tracking_categories,omitempty"` + DebitAmount string `json:"debit_amount"` + CreditAmount string `json:"credit_amount"` + Item *GeneralLedgerTransactionLineItem `json:"item,omitempty"` + ForeignDebitAmount string `json:"foreign_debit_amount"` + ForeignCreditAmount string `json:"foreign_credit_amount"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` _rawJSON json.RawMessage } -func (e *ExpenseRequest) UnmarshalJSON(data []byte) error { - type unmarshaler ExpenseRequest +func (g *GeneralLedgerTransactionLine) UnmarshalJSON(data []byte) error { + type unmarshaler GeneralLedgerTransactionLine var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *e = ExpenseRequest(value) - e._rawJSON = json.RawMessage(data) + *g = GeneralLedgerTransactionLine(value) + g._rawJSON = json.RawMessage(data) return nil } -func (e *ExpenseRequest) String() string { - if len(e._rawJSON) > 0 { - if value, err := core.StringifyJSON(e._rawJSON); err == nil { +func (g *GeneralLedgerTransactionLine) String() string { + if len(g._rawJSON) > 0 { + if value, err := core.StringifyJSON(g._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(e); err == nil { + if value, err := core.StringifyJSON(g); err == nil { return value } - return fmt.Sprintf("%#v", e) + return fmt.Sprintf("%#v", g) } -// The expense's payment account. -type ExpenseRequestAccount struct { +type GeneralLedgerTransactionLineAccount struct { typeName string String string Account *Account } -func NewExpenseRequestAccountFromString(value string) *ExpenseRequestAccount { - return &ExpenseRequestAccount{typeName: "string", String: value} +func NewGeneralLedgerTransactionLineAccountFromString(value string) *GeneralLedgerTransactionLineAccount { + return &GeneralLedgerTransactionLineAccount{typeName: "string", String: value} } -func NewExpenseRequestAccountFromAccount(value *Account) *ExpenseRequestAccount { - return &ExpenseRequestAccount{typeName: "account", Account: value} +func NewGeneralLedgerTransactionLineAccountFromAccount(value *Account) *GeneralLedgerTransactionLineAccount { + return &GeneralLedgerTransactionLineAccount{typeName: "account", Account: value} } -func (e *ExpenseRequestAccount) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionLineAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } valueAccount := new(Account) if err := json.Unmarshal(data, &valueAccount); err == nil { - e.typeName = "account" - e.Account = valueAccount + g.typeName = "account" + g.Account = valueAccount return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestAccount) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionLineAccount) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) + return json.Marshal(g.String) case "account": - return json.Marshal(e.Account) + return json.Marshal(g.Account) } } -type ExpenseRequestAccountVisitor interface { +type GeneralLedgerTransactionLineAccountVisitor interface { VisitString(string) error VisitAccount(*Account) error } -func (e *ExpenseRequestAccount) Accept(visitor ExpenseRequestAccountVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionLineAccount) Accept(visitor GeneralLedgerTransactionLineAccountVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) + return visitor.VisitString(g.String) case "account": - return visitor.VisitAccount(e.Account) + return visitor.VisitAccount(g.Account) } } -// The accounting period that the Expense was generated in. -type ExpenseRequestAccountingPeriod struct { - typeName string - String string - AccountingPeriod *AccountingPeriod +// The base currency of the transaction +// +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type GeneralLedgerTransactionLineBaseCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewExpenseRequestAccountingPeriodFromString(value string) *ExpenseRequestAccountingPeriod { - return &ExpenseRequestAccountingPeriod{typeName: "string", String: value} +func NewGeneralLedgerTransactionLineBaseCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *GeneralLedgerTransactionLineBaseCurrency { + return &GeneralLedgerTransactionLineBaseCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewExpenseRequestAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *ExpenseRequestAccountingPeriod { - return &ExpenseRequestAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +func NewGeneralLedgerTransactionLineBaseCurrencyFromString(value string) *GeneralLedgerTransactionLineBaseCurrency { + return &GeneralLedgerTransactionLineBaseCurrency{typeName: "string", String: value} } -func (e *ExpenseRequestAccountingPeriod) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString +func (g *GeneralLedgerTransactionLineBaseCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + g.typeName = "transactionCurrencyEnum" + g.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } - valueAccountingPeriod := new(AccountingPeriod) - if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { - e.typeName = "accountingPeriod" - e.AccountingPeriod = valueAccountingPeriod + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + g.typeName = "string" + g.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestAccountingPeriod) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionLineBaseCurrency) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "transactionCurrencyEnum": + return json.Marshal(g.TransactionCurrencyEnum) case "string": - return json.Marshal(e.String) - case "accountingPeriod": - return json.Marshal(e.AccountingPeriod) + return json.Marshal(g.String) } } -type ExpenseRequestAccountingPeriodVisitor interface { +type GeneralLedgerTransactionLineBaseCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error - VisitAccountingPeriod(*AccountingPeriod) error } -func (e *ExpenseRequestAccountingPeriod) Accept(visitor ExpenseRequestAccountingPeriodVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionLineBaseCurrency) Accept(visitor GeneralLedgerTransactionLineBaseCurrencyVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(g.TransactionCurrencyEnum) case "string": - return visitor.VisitString(e.String) - case "accountingPeriod": - return visitor.VisitAccountingPeriod(e.AccountingPeriod) + return visitor.VisitString(g.String) } } -// The company the expense belongs to. -type ExpenseRequestCompany struct { +// The company the GeneralLedgerTransaction belongs to. +type GeneralLedgerTransactionLineCompany struct { typeName string String string CompanyInfo *CompanyInfo } -func NewExpenseRequestCompanyFromString(value string) *ExpenseRequestCompany { - return &ExpenseRequestCompany{typeName: "string", String: value} +func NewGeneralLedgerTransactionLineCompanyFromString(value string) *GeneralLedgerTransactionLineCompany { + return &GeneralLedgerTransactionLineCompany{typeName: "string", String: value} } -func NewExpenseRequestCompanyFromCompanyInfo(value *CompanyInfo) *ExpenseRequestCompany { - return &ExpenseRequestCompany{typeName: "companyInfo", CompanyInfo: value} +func NewGeneralLedgerTransactionLineCompanyFromCompanyInfo(value *CompanyInfo) *GeneralLedgerTransactionLineCompany { + return &GeneralLedgerTransactionLineCompany{typeName: "companyInfo", CompanyInfo: value} } -func (e *ExpenseRequestCompany) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionLineCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } valueCompanyInfo := new(CompanyInfo) if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - e.typeName = "companyInfo" - e.CompanyInfo = valueCompanyInfo + g.typeName = "companyInfo" + g.CompanyInfo = valueCompanyInfo return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestCompany) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionLineCompany) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) + return json.Marshal(g.String) case "companyInfo": - return json.Marshal(e.CompanyInfo) + return json.Marshal(g.CompanyInfo) } } -type ExpenseRequestCompanyVisitor interface { +type GeneralLedgerTransactionLineCompanyVisitor interface { VisitString(string) error VisitCompanyInfo(*CompanyInfo) error } -func (e *ExpenseRequestCompany) Accept(visitor ExpenseRequestCompanyVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionLineCompany) Accept(visitor GeneralLedgerTransactionLineCompanyVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) + return visitor.VisitString(g.String) case "companyInfo": - return visitor.VisitCompanyInfo(e.CompanyInfo) + return visitor.VisitCompanyInfo(g.CompanyInfo) } } -// The expense's contact. -type ExpenseRequestContact struct { +type GeneralLedgerTransactionLineContact struct { typeName string String string Contact *Contact } -func NewExpenseRequestContactFromString(value string) *ExpenseRequestContact { - return &ExpenseRequestContact{typeName: "string", String: value} +func NewGeneralLedgerTransactionLineContactFromString(value string) *GeneralLedgerTransactionLineContact { + return &GeneralLedgerTransactionLineContact{typeName: "string", String: value} } -func NewExpenseRequestContactFromContact(value *Contact) *ExpenseRequestContact { - return &ExpenseRequestContact{typeName: "contact", Contact: value} +func NewGeneralLedgerTransactionLineContactFromContact(value *Contact) *GeneralLedgerTransactionLineContact { + return &GeneralLedgerTransactionLineContact{typeName: "contact", Contact: value} } -func (e *ExpenseRequestContact) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionLineContact) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } valueContact := new(Contact) if err := json.Unmarshal(data, &valueContact); err == nil { - e.typeName = "contact" - e.Contact = valueContact + g.typeName = "contact" + g.Contact = valueContact return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestContact) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionLineContact) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) + return json.Marshal(g.String) case "contact": - return json.Marshal(e.Contact) + return json.Marshal(g.Contact) } } -type ExpenseRequestContactVisitor interface { +type GeneralLedgerTransactionLineContactVisitor interface { VisitString(string) error VisitContact(*Contact) error } -func (e *ExpenseRequestContact) Accept(visitor ExpenseRequestContactVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionLineContact) Accept(visitor GeneralLedgerTransactionLineContactVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) + return visitor.VisitString(g.String) case "contact": - return visitor.VisitContact(e.Contact) + return visitor.VisitContact(g.Contact) } } -// The expense's currency. +type GeneralLedgerTransactionLineEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewGeneralLedgerTransactionLineEmployeeFromString(value string) *GeneralLedgerTransactionLineEmployee { + return &GeneralLedgerTransactionLineEmployee{typeName: "string", String: value} +} + +func NewGeneralLedgerTransactionLineEmployeeFromEmployee(value *Employee) *GeneralLedgerTransactionLineEmployee { + return &GeneralLedgerTransactionLineEmployee{typeName: "employee", Employee: value} +} + +func (g *GeneralLedgerTransactionLineEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + g.typeName = "string" + g.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + g.typeName = "employee" + g.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) +} + +func (g GeneralLedgerTransactionLineEmployee) MarshalJSON() ([]byte, error) { + switch g.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return json.Marshal(g.String) + case "employee": + return json.Marshal(g.Employee) + } +} + +type GeneralLedgerTransactionLineEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (g *GeneralLedgerTransactionLineEmployee) Accept(visitor GeneralLedgerTransactionLineEmployeeVisitor) error { + switch g.typeName { + default: + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return visitor.VisitString(g.String) + case "employee": + return visitor.VisitEmployee(g.Employee) + } +} + +type GeneralLedgerTransactionLineItem struct { + typeName string + String string + Item *Item +} + +func NewGeneralLedgerTransactionLineItemFromString(value string) *GeneralLedgerTransactionLineItem { + return &GeneralLedgerTransactionLineItem{typeName: "string", String: value} +} + +func NewGeneralLedgerTransactionLineItemFromItem(value *Item) *GeneralLedgerTransactionLineItem { + return &GeneralLedgerTransactionLineItem{typeName: "item", Item: value} +} + +func (g *GeneralLedgerTransactionLineItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + g.typeName = "string" + g.String = valueString + return nil + } + valueItem := new(Item) + if err := json.Unmarshal(data, &valueItem); err == nil { + g.typeName = "item" + g.Item = valueItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) +} + +func (g GeneralLedgerTransactionLineItem) MarshalJSON() ([]byte, error) { + switch g.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return json.Marshal(g.String) + case "item": + return json.Marshal(g.Item) + } +} + +type GeneralLedgerTransactionLineItemVisitor interface { + VisitString(string) error + VisitItem(*Item) error +} + +func (g *GeneralLedgerTransactionLineItem) Accept(visitor GeneralLedgerTransactionLineItemVisitor) error { + switch g.typeName { + default: + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return visitor.VisitString(g.String) + case "item": + return visitor.VisitItem(g.Item) + } +} + +// The transaction currency that the transaction is made in. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -14989,549 +21123,184 @@ func (e *ExpenseRequestContact) Accept(visitor ExpenseRequestContactVisitor) err // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type ExpenseRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type GeneralLedgerTransactionLineTransactionCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewExpenseRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *ExpenseRequestCurrency { - return &ExpenseRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewGeneralLedgerTransactionLineTransactionCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *GeneralLedgerTransactionLineTransactionCurrency { + return &GeneralLedgerTransactionLineTransactionCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewExpenseRequestCurrencyFromString(value string) *ExpenseRequestCurrency { - return &ExpenseRequestCurrency{typeName: "string", String: value} +func NewGeneralLedgerTransactionLineTransactionCurrencyFromString(value string) *GeneralLedgerTransactionLineTransactionCurrency { + return &GeneralLedgerTransactionLineTransactionCurrency{typeName: "string", String: value} } -func (e *ExpenseRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - e.typeName = "currencyEnum" - e.CurrencyEnum = valueCurrencyEnum +func (g *GeneralLedgerTransactionLineTransactionCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + g.typeName = "transactionCurrencyEnum" + g.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestCurrency) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionLineTransactionCurrency) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return json.Marshal(e.CurrencyEnum) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "transactionCurrencyEnum": + return json.Marshal(g.TransactionCurrencyEnum) case "string": - return json.Marshal(e.String) + return json.Marshal(g.String) } } -type ExpenseRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type GeneralLedgerTransactionLineTransactionCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (e *ExpenseRequestCurrency) Accept(visitor ExpenseRequestCurrencyVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionLineTransactionCurrency) Accept(visitor GeneralLedgerTransactionLineTransactionCurrencyVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) - case "currencyEnum": - return visitor.VisitCurrencyEnum(e.CurrencyEnum) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(g.TransactionCurrencyEnum) case "string": - return visitor.VisitString(e.String) + return visitor.VisitString(g.String) } } -type ExpenseRequestTrackingCategoriesItem struct { +type GeneralLedgerTransactionTrackingCategoriesItem struct { typeName string String string TrackingCategory *TrackingCategory } -func NewExpenseRequestTrackingCategoriesItemFromString(value string) *ExpenseRequestTrackingCategoriesItem { - return &ExpenseRequestTrackingCategoriesItem{typeName: "string", String: value} +func NewGeneralLedgerTransactionTrackingCategoriesItemFromString(value string) *GeneralLedgerTransactionTrackingCategoriesItem { + return &GeneralLedgerTransactionTrackingCategoriesItem{typeName: "string", String: value} } -func NewExpenseRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseRequestTrackingCategoriesItem { - return &ExpenseRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewGeneralLedgerTransactionTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *GeneralLedgerTransactionTrackingCategoriesItem { + return &GeneralLedgerTransactionTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} } -func (e *ExpenseRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { +func (g *GeneralLedgerTransactionTrackingCategoriesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString + g.typeName = "string" + g.String = valueString return nil } valueTrackingCategory := new(TrackingCategory) if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory + g.typeName = "trackingCategory" + g.TrackingCategory = valueTrackingCategory return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return json.Marshal(e.String) + return json.Marshal(g.String) case "trackingCategory": - return json.Marshal(e.TrackingCategory) + return json.Marshal(g.TrackingCategory) } } -type ExpenseRequestTrackingCategoriesItemVisitor interface { +type GeneralLedgerTransactionTrackingCategoriesItemVisitor interface { VisitString(string) error VisitTrackingCategory(*TrackingCategory) error } -func (e *ExpenseRequestTrackingCategoriesItem) Accept(visitor ExpenseRequestTrackingCategoriesItemVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionTrackingCategoriesItem) Accept(visitor GeneralLedgerTransactionTrackingCategoriesItemVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) case "string": - return visitor.VisitString(e.String) + return visitor.VisitString(g.String) case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) + return visitor.VisitTrackingCategory(g.TrackingCategory) } } -type ExpenseResponse struct { - Model *Expense `json:"model,omitempty"` - Warnings []*WarningValidationProblem `json:"warnings,omitempty"` - Errors []*ErrorValidationProblem `json:"errors,omitempty"` - Logs []*DebugModeLog `json:"logs,omitempty"` - - _rawJSON json.RawMessage -} - -func (e *ExpenseResponse) UnmarshalJSON(data []byte) error { - type unmarshaler ExpenseResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *e = ExpenseResponse(value) - e._rawJSON = json.RawMessage(data) - return nil -} - -func (e *ExpenseResponse) String() string { - if len(e._rawJSON) > 0 { - if value, err := core.StringifyJSON(e._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(e); err == nil { - return value - } - return fmt.Sprintf("%#v", e) -} - -type ExpenseTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +// The type of the underlying transaction. +// +// - `INVOICE` - INVOICE +// - `EXPENSE` - EXPENSE +// - `TRANSACTION` - TRANSACTION +// - `JOURNAL_ENTRY` - JOURNAL_ENTRY +// - `PAYMENT` - PAYMENT +// - `VENDOR_CREDIT` - VENDOR_CREDIT +// - `CREDIT_NOTE` - CREDIT_NOTE +type GeneralLedgerTransactionUnderlyingTransactionType struct { + typeName string + UnderlyingTransactionTypeEnum UnderlyingTransactionTypeEnum + String string } -func NewExpenseTrackingCategoriesItemFromString(value string) *ExpenseTrackingCategoriesItem { - return &ExpenseTrackingCategoriesItem{typeName: "string", String: value} +func NewGeneralLedgerTransactionUnderlyingTransactionTypeFromUnderlyingTransactionTypeEnum(value UnderlyingTransactionTypeEnum) *GeneralLedgerTransactionUnderlyingTransactionType { + return &GeneralLedgerTransactionUnderlyingTransactionType{typeName: "underlyingTransactionTypeEnum", UnderlyingTransactionTypeEnum: value} } -func NewExpenseTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *ExpenseTrackingCategoriesItem { - return &ExpenseTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewGeneralLedgerTransactionUnderlyingTransactionTypeFromString(value string) *GeneralLedgerTransactionUnderlyingTransactionType { + return &GeneralLedgerTransactionUnderlyingTransactionType{typeName: "string", String: value} } -func (e *ExpenseTrackingCategoriesItem) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - e.typeName = "string" - e.String = valueString +func (g *GeneralLedgerTransactionUnderlyingTransactionType) UnmarshalJSON(data []byte) error { + var valueUnderlyingTransactionTypeEnum UnderlyingTransactionTypeEnum + if err := json.Unmarshal(data, &valueUnderlyingTransactionTypeEnum); err == nil { + g.typeName = "underlyingTransactionTypeEnum" + g.UnderlyingTransactionTypeEnum = valueUnderlyingTransactionTypeEnum return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - e.typeName = "trackingCategory" - e.TrackingCategory = valueTrackingCategory + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + g.typeName = "string" + g.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, e) + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) } -func (e ExpenseTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch e.typeName { +func (g GeneralLedgerTransactionUnderlyingTransactionType) MarshalJSON() ([]byte, error) { + switch g.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", e.typeName, e) + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "underlyingTransactionTypeEnum": + return json.Marshal(g.UnderlyingTransactionTypeEnum) case "string": - return json.Marshal(e.String) - case "trackingCategory": - return json.Marshal(e.TrackingCategory) + return json.Marshal(g.String) } } -type ExpenseTrackingCategoriesItemVisitor interface { +type GeneralLedgerTransactionUnderlyingTransactionTypeVisitor interface { + VisitUnderlyingTransactionTypeEnum(UnderlyingTransactionTypeEnum) error VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error } -func (e *ExpenseTrackingCategoriesItem) Accept(visitor ExpenseTrackingCategoriesItemVisitor) error { - switch e.typeName { +func (g *GeneralLedgerTransactionUnderlyingTransactionType) Accept(visitor GeneralLedgerTransactionUnderlyingTransactionTypeVisitor) error { + switch g.typeName { default: - return fmt.Errorf("invalid type %s in %T", e.typeName, e) + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "underlyingTransactionTypeEnum": + return visitor.VisitUnderlyingTransactionTypeEnum(g.UnderlyingTransactionTypeEnum) case "string": - return visitor.VisitString(e.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(e.TrackingCategory) - } -} - -type ExternalTargetFieldApi struct { - Name *string `json:"name,omitempty"` - Description *string `json:"description,omitempty"` - IsMapped *string `json:"is_mapped,omitempty"` - - _rawJSON json.RawMessage -} - -func (e *ExternalTargetFieldApi) UnmarshalJSON(data []byte) error { - type unmarshaler ExternalTargetFieldApi - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *e = ExternalTargetFieldApi(value) - e._rawJSON = json.RawMessage(data) - return nil -} - -func (e *ExternalTargetFieldApi) String() string { - if len(e._rawJSON) > 0 { - if value, err := core.StringifyJSON(e._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(e); err == nil { - return value - } - return fmt.Sprintf("%#v", e) -} - -type ExternalTargetFieldApiResponse struct { - Account []*ExternalTargetFieldApi `json:"Account,omitempty"` - AccountingAttachment []*ExternalTargetFieldApi `json:"AccountingAttachment,omitempty"` - BalanceSheet []*ExternalTargetFieldApi `json:"BalanceSheet,omitempty"` - CashFlowStatement []*ExternalTargetFieldApi `json:"CashFlowStatement,omitempty"` - CompanyInfo []*ExternalTargetFieldApi `json:"CompanyInfo,omitempty"` - Contact []*ExternalTargetFieldApi `json:"Contact,omitempty"` - IncomeStatement []*ExternalTargetFieldApi `json:"IncomeStatement,omitempty"` - CreditNote []*ExternalTargetFieldApi `json:"CreditNote,omitempty"` - Item []*ExternalTargetFieldApi `json:"Item,omitempty"` - PurchaseOrder []*ExternalTargetFieldApi `json:"PurchaseOrder,omitempty"` - TrackingCategory []*ExternalTargetFieldApi `json:"TrackingCategory,omitempty"` - JournalEntry []*ExternalTargetFieldApi `json:"JournalEntry,omitempty"` - TaxRate []*ExternalTargetFieldApi `json:"TaxRate,omitempty"` - Invoice []*ExternalTargetFieldApi `json:"Invoice,omitempty"` - Payment []*ExternalTargetFieldApi `json:"Payment,omitempty"` - Expense []*ExternalTargetFieldApi `json:"Expense,omitempty"` - VendorCredit []*ExternalTargetFieldApi `json:"VendorCredit,omitempty"` - Transaction []*ExternalTargetFieldApi `json:"Transaction,omitempty"` - GeneralLedgerTransaction []*ExternalTargetFieldApi `json:"GeneralLedgerTransaction,omitempty"` - - _rawJSON json.RawMessage -} - -func (e *ExternalTargetFieldApiResponse) UnmarshalJSON(data []byte) error { - type unmarshaler ExternalTargetFieldApiResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *e = ExternalTargetFieldApiResponse(value) - e._rawJSON = json.RawMessage(data) - return nil -} - -func (e *ExternalTargetFieldApiResponse) String() string { - if len(e._rawJSON) > 0 { - if value, err := core.StringifyJSON(e._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(e); err == nil { - return value - } - return fmt.Sprintf("%#v", e) -} - -type FieldMappingApiInstance struct { - Id *string `json:"id,omitempty"` - IsIntegrationWide *bool `json:"is_integration_wide,omitempty"` - TargetField *FieldMappingApiInstanceTargetField `json:"target_field,omitempty"` - RemoteField *FieldMappingApiInstanceRemoteField `json:"remote_field,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingApiInstance) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingApiInstance - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldMappingApiInstance(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingApiInstance) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` - Schema map[string]interface{} `json:"schema,omitempty"` - RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingApiInstanceRemoteField) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingApiInstanceRemoteField - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldMappingApiInstanceRemoteField(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingApiInstanceRemoteField) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo struct { - Method *string `json:"method,omitempty"` - UrlPath *string `json:"url_path,omitempty"` - FieldTraversalPath []string `json:"field_traversal_path,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldMappingApiInstanceResponse struct { - Account []*FieldMappingApiInstance `json:"Account,omitempty"` - AccountingAttachment []*FieldMappingApiInstance `json:"AccountingAttachment,omitempty"` - BalanceSheet []*FieldMappingApiInstance `json:"BalanceSheet,omitempty"` - CashFlowStatement []*FieldMappingApiInstance `json:"CashFlowStatement,omitempty"` - CompanyInfo []*FieldMappingApiInstance `json:"CompanyInfo,omitempty"` - Contact []*FieldMappingApiInstance `json:"Contact,omitempty"` - IncomeStatement []*FieldMappingApiInstance `json:"IncomeStatement,omitempty"` - CreditNote []*FieldMappingApiInstance `json:"CreditNote,omitempty"` - Item []*FieldMappingApiInstance `json:"Item,omitempty"` - PurchaseOrder []*FieldMappingApiInstance `json:"PurchaseOrder,omitempty"` - TrackingCategory []*FieldMappingApiInstance `json:"TrackingCategory,omitempty"` - JournalEntry []*FieldMappingApiInstance `json:"JournalEntry,omitempty"` - TaxRate []*FieldMappingApiInstance `json:"TaxRate,omitempty"` - Invoice []*FieldMappingApiInstance `json:"Invoice,omitempty"` - Payment []*FieldMappingApiInstance `json:"Payment,omitempty"` - Expense []*FieldMappingApiInstance `json:"Expense,omitempty"` - VendorCredit []*FieldMappingApiInstance `json:"VendorCredit,omitempty"` - Transaction []*FieldMappingApiInstance `json:"Transaction,omitempty"` - GeneralLedgerTransaction []*FieldMappingApiInstance `json:"GeneralLedgerTransaction,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingApiInstanceResponse) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingApiInstanceResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldMappingApiInstanceResponse(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingApiInstanceResponse) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldMappingApiInstanceTargetField struct { - Name string `json:"name"` - Description string `json:"description"` - IsOrganizationWide bool `json:"is_organization_wide"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingApiInstanceTargetField) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingApiInstanceTargetField - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err + return visitor.VisitString(g.String) } - *f = FieldMappingApiInstanceTargetField(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingApiInstanceTargetField) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldMappingInstanceResponse struct { - Model *FieldMappingApiInstance `json:"model,omitempty"` - Warnings []*WarningValidationProblem `json:"warnings,omitempty"` - Errors []*ErrorValidationProblem `json:"errors,omitempty"` - Logs []*DebugModeLog `json:"logs,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldMappingInstanceResponse) UnmarshalJSON(data []byte) error { - type unmarshaler FieldMappingInstanceResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldMappingInstanceResponse(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldMappingInstanceResponse) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldPermissionDeserializer) UnmarshalJSON(data []byte) error { - type unmarshaler FieldPermissionDeserializer - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldPermissionDeserializer(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldPermissionDeserializer) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) -} - -type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` - - _rawJSON json.RawMessage -} - -func (f *FieldPermissionDeserializerRequest) UnmarshalJSON(data []byte) error { - type unmarshaler FieldPermissionDeserializerRequest - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *f = FieldPermissionDeserializerRequest(value) - f._rawJSON = json.RawMessage(data) - return nil -} - -func (f *FieldPermissionDeserializerRequest) String() string { - if len(f._rawJSON) > 0 { - if value, err := core.StringifyJSON(f._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(f); err == nil { - return value - } - return fmt.Sprintf("%#v", f) } // # The IncomeStatement Object @@ -15878,7 +21647,7 @@ type IncomeStatement struct { NonOperatingExpenses []*ReportItem `json:"non_operating_expenses,omitempty"` // The gross profit minus the total expenses. NetIncome *float64 `json:"net_income,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -16276,13 +22045,13 @@ func (i *IncomeStatementCompany) Accept(visitor IncomeStatementCompanyVisitor) e // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type IncomeStatementCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewIncomeStatementCurrencyFromCurrencyEnum(value CurrencyEnum) *IncomeStatementCurrency { - return &IncomeStatementCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewIncomeStatementCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *IncomeStatementCurrency { + return &IncomeStatementCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewIncomeStatementCurrencyFromString(value string) *IncomeStatementCurrency { @@ -16290,10 +22059,10 @@ func NewIncomeStatementCurrencyFromString(value string) *IncomeStatementCurrency } func (i *IncomeStatementCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - i.typeName = "currencyEnum" - i.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + i.typeName = "transactionCurrencyEnum" + i.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -16309,15 +22078,15 @@ func (i IncomeStatementCurrency) MarshalJSON() ([]byte, error) { switch i.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return json.Marshal(i.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(i.TransactionCurrencyEnum) case "string": return json.Marshal(i.String) } } type IncomeStatementCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -16325,8 +22094,8 @@ func (i *IncomeStatementCurrency) Accept(visitor IncomeStatementCurrencyVisitor) switch i.typeName { default: return fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return visitor.VisitCurrencyEnum(i.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(i.TransactionCurrencyEnum) case "string": return visitor.VisitString(i.String) } @@ -16398,7 +22167,9 @@ func (i *IndividualCommonModelScopeDeserializerRequest) String() string { // // ### Description // -// The `Invoice` object represents an itemized record of goods and/or services sold to a customer. +// The `Invoice` object represents an itemized record of goods and/or services sold to a customer or bought from a vendor. +// +// Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. // // ### Usage Example // @@ -16430,6 +22201,8 @@ type Invoice struct { Memo *string `json:"memo,omitempty"` // The company the invoice belongs to. Company *InvoiceCompany `json:"company,omitempty"` + // The employee this overall transaction relates to. + Employee *InvoiceEmployee `json:"employee,omitempty"` // The invoice's currency. // // - `XUA` - ADB Unit of Account @@ -16763,17 +22536,25 @@ type Invoice struct { // When the third party's invoice entry was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` TrackingCategories []*InvoiceTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // Array of `Payment` object IDs. - Payments []*InvoicePaymentsItem `json:"payments,omitempty"` - // A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. - AppliedPayments []*InvoiceAppliedPaymentsItem `json:"applied_payments,omitempty"` - LineItems []*InvoiceLineItem `json:"line_items,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The accounting period that the Invoice was generated in. AccountingPeriod *InvoiceAccountingPeriod `json:"accounting_period,omitempty"` PurchaseOrders []*InvoicePurchaseOrdersItem `json:"purchase_orders,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + // Array of `Payment` object IDs. + Payments []*InvoicePaymentsItem `json:"payments,omitempty"` + // A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. + AppliedPayments []*InvoiceAppliedPaymentsItem `json:"applied_payments,omitempty"` + LineItems []*InvoiceLineItem `json:"line_items,omitempty"` + // `CreditNoteApplyLines` applied to the Invoice. + AppliedCreditNotes []*InvoiceAppliedCreditNotesItem `json:"applied_credit_notes,omitempty"` + // `VendorCreditApplyLines` applied to the Invoice. + AppliedVendorCredits []*InvoiceAppliedVendorCreditsItem `json:"applied_vendor_credits,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -16859,6 +22640,63 @@ func (i *InvoiceAccountingPeriod) Accept(visitor InvoiceAccountingPeriodVisitor) } } +type InvoiceAppliedCreditNotesItem struct { + typeName string + String string + CreditNoteApplyLineForInvoice *CreditNoteApplyLineForInvoice +} + +func NewInvoiceAppliedCreditNotesItemFromString(value string) *InvoiceAppliedCreditNotesItem { + return &InvoiceAppliedCreditNotesItem{typeName: "string", String: value} +} + +func NewInvoiceAppliedCreditNotesItemFromCreditNoteApplyLineForInvoice(value *CreditNoteApplyLineForInvoice) *InvoiceAppliedCreditNotesItem { + return &InvoiceAppliedCreditNotesItem{typeName: "creditNoteApplyLineForInvoice", CreditNoteApplyLineForInvoice: value} +} + +func (i *InvoiceAppliedCreditNotesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueCreditNoteApplyLineForInvoice := new(CreditNoteApplyLineForInvoice) + if err := json.Unmarshal(data, &valueCreditNoteApplyLineForInvoice); err == nil { + i.typeName = "creditNoteApplyLineForInvoice" + i.CreditNoteApplyLineForInvoice = valueCreditNoteApplyLineForInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceAppliedCreditNotesItem) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "creditNoteApplyLineForInvoice": + return json.Marshal(i.CreditNoteApplyLineForInvoice) + } +} + +type InvoiceAppliedCreditNotesItemVisitor interface { + VisitString(string) error + VisitCreditNoteApplyLineForInvoice(*CreditNoteApplyLineForInvoice) error +} + +func (i *InvoiceAppliedCreditNotesItem) Accept(visitor InvoiceAppliedCreditNotesItemVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "creditNoteApplyLineForInvoice": + return visitor.VisitCreditNoteApplyLineForInvoice(i.CreditNoteApplyLineForInvoice) + } +} + type InvoiceAppliedPaymentsItem struct { typeName string String string @@ -16916,6 +22754,63 @@ func (i *InvoiceAppliedPaymentsItem) Accept(visitor InvoiceAppliedPaymentsItemVi } } +type InvoiceAppliedVendorCreditsItem struct { + typeName string + String string + VendorCreditApplyLineForInvoice *VendorCreditApplyLineForInvoice +} + +func NewInvoiceAppliedVendorCreditsItemFromString(value string) *InvoiceAppliedVendorCreditsItem { + return &InvoiceAppliedVendorCreditsItem{typeName: "string", String: value} +} + +func NewInvoiceAppliedVendorCreditsItemFromVendorCreditApplyLineForInvoice(value *VendorCreditApplyLineForInvoice) *InvoiceAppliedVendorCreditsItem { + return &InvoiceAppliedVendorCreditsItem{typeName: "vendorCreditApplyLineForInvoice", VendorCreditApplyLineForInvoice: value} +} + +func (i *InvoiceAppliedVendorCreditsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueVendorCreditApplyLineForInvoice := new(VendorCreditApplyLineForInvoice) + if err := json.Unmarshal(data, &valueVendorCreditApplyLineForInvoice); err == nil { + i.typeName = "vendorCreditApplyLineForInvoice" + i.VendorCreditApplyLineForInvoice = valueVendorCreditApplyLineForInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceAppliedVendorCreditsItem) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "vendorCreditApplyLineForInvoice": + return json.Marshal(i.VendorCreditApplyLineForInvoice) + } +} + +type InvoiceAppliedVendorCreditsItemVisitor interface { + VisitString(string) error + VisitVendorCreditApplyLineForInvoice(*VendorCreditApplyLineForInvoice) error +} + +func (i *InvoiceAppliedVendorCreditsItem) Accept(visitor InvoiceAppliedVendorCreditsItemVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "vendorCreditApplyLineForInvoice": + return visitor.VisitVendorCreditApplyLineForInvoice(i.VendorCreditApplyLineForInvoice) + } +} + // The company the invoice belongs to. type InvoiceCompany struct { typeName string @@ -17341,13 +23236,13 @@ func (i *InvoiceContact) Accept(visitor InvoiceContactVisitor) error { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type InvoiceCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewInvoiceCurrencyFromCurrencyEnum(value CurrencyEnum) *InvoiceCurrency { - return &InvoiceCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewInvoiceCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *InvoiceCurrency { + return &InvoiceCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewInvoiceCurrencyFromString(value string) *InvoiceCurrency { @@ -17355,10 +23250,10 @@ func NewInvoiceCurrencyFromString(value string) *InvoiceCurrency { } func (i *InvoiceCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - i.typeName = "currencyEnum" - i.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + i.typeName = "transactionCurrencyEnum" + i.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -17374,15 +23269,15 @@ func (i InvoiceCurrency) MarshalJSON() ([]byte, error) { switch i.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return json.Marshal(i.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(i.TransactionCurrencyEnum) case "string": return json.Marshal(i.String) } } type InvoiceCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -17390,10 +23285,68 @@ func (i *InvoiceCurrency) Accept(visitor InvoiceCurrencyVisitor) error { switch i.typeName { default: return fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return visitor.VisitCurrencyEnum(i.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(i.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(i.String) + } +} + +// The employee this overall transaction relates to. +type InvoiceEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewInvoiceEmployeeFromString(value string) *InvoiceEmployee { + return &InvoiceEmployee{typeName: "string", String: value} +} + +func NewInvoiceEmployeeFromEmployee(value *Employee) *InvoiceEmployee { + return &InvoiceEmployee{typeName: "employee", Employee: value} +} + +func (i *InvoiceEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + i.typeName = "employee" + i.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceEmployee) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "employee": + return json.Marshal(i.Employee) + } +} + +type InvoiceEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (i *InvoiceEmployee) Accept(visitor InvoiceEmployeeVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) case "string": return visitor.VisitString(i.String) + case "employee": + return visitor.VisitEmployee(i.Employee) } } @@ -17422,6 +23375,8 @@ type InvoiceLineItem struct { Quantity *float64 `json:"quantity,omitempty"` // The line item's total amount. TotalAmount *float64 `json:"total_amount,omitempty"` + // The employee this overall transaction relates to. + Employee *InvoiceLineItemEmployee `json:"employee,omitempty"` // The line item's currency. // // - `XUA` - ADB Unit of Account @@ -17732,16 +23687,20 @@ type InvoiceLineItem struct { // - `ZWL` - Zimbabwean Dollar (2009) Currency *InvoiceLineItemCurrency `json:"currency,omitempty"` // The line item's exchange rate. - ExchangeRate *string `json:"exchange_rate,omitempty"` - Item *InvoiceLineItemItem `json:"item,omitempty"` - Account *InvoiceLineItemAccount `json:"account,omitempty"` - TrackingCategory *InvoiceLineItemTrackingCategory `json:"tracking_category,omitempty"` + ExchangeRate *string `json:"exchange_rate,omitempty"` + Item *InvoiceLineItemItem `json:"item,omitempty"` + Account *InvoiceLineItemAccount `json:"account,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + TrackingCategory *InvoiceLineItemTrackingCategory `json:"tracking_category,omitempty"` + // The invoice line item's associated tracking categories. TrackingCategories []*InvoiceLineItemTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // The company the line item belongs to. + // The company the invoice belongs to. Company *string `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -18135,13 +24094,13 @@ func (i *InvoiceLineItemAccount) Accept(visitor InvoiceLineItemAccountVisitor) e // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type InvoiceLineItemCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewInvoiceLineItemCurrencyFromCurrencyEnum(value CurrencyEnum) *InvoiceLineItemCurrency { - return &InvoiceLineItemCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewInvoiceLineItemCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *InvoiceLineItemCurrency { + return &InvoiceLineItemCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewInvoiceLineItemCurrencyFromString(value string) *InvoiceLineItemCurrency { @@ -18149,10 +24108,10 @@ func NewInvoiceLineItemCurrencyFromString(value string) *InvoiceLineItemCurrency } func (i *InvoiceLineItemCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - i.typeName = "currencyEnum" - i.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + i.typeName = "transactionCurrencyEnum" + i.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -18168,15 +24127,15 @@ func (i InvoiceLineItemCurrency) MarshalJSON() ([]byte, error) { switch i.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return json.Marshal(i.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(i.TransactionCurrencyEnum) case "string": return json.Marshal(i.String) } } type InvoiceLineItemCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -18184,13 +24143,71 @@ func (i *InvoiceLineItemCurrency) Accept(visitor InvoiceLineItemCurrencyVisitor) switch i.typeName { default: return fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return visitor.VisitCurrencyEnum(i.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(i.TransactionCurrencyEnum) case "string": return visitor.VisitString(i.String) } } +// The employee this overall transaction relates to. +type InvoiceLineItemEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewInvoiceLineItemEmployeeFromString(value string) *InvoiceLineItemEmployee { + return &InvoiceLineItemEmployee{typeName: "string", String: value} +} + +func NewInvoiceLineItemEmployeeFromEmployee(value *Employee) *InvoiceLineItemEmployee { + return &InvoiceLineItemEmployee{typeName: "employee", Employee: value} +} + +func (i *InvoiceLineItemEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + i.typeName = "employee" + i.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceLineItemEmployee) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "employee": + return json.Marshal(i.Employee) + } +} + +type InvoiceLineItemEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (i *InvoiceLineItemEmployee) Accept(visitor InvoiceLineItemEmployeeVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "employee": + return visitor.VisitEmployee(i.Employee) + } +} + type InvoiceLineItemItem struct { typeName string String string @@ -18268,6 +24285,8 @@ type InvoiceLineItemRequest struct { Quantity *float64 `json:"quantity,omitempty"` // The line item's total amount. TotalAmount *float64 `json:"total_amount,omitempty"` + // The employee this overall transaction relates to. + Employee *InvoiceLineItemRequestEmployee `json:"employee,omitempty"` // The line item's currency. // // - `XUA` - ADB Unit of Account @@ -18578,15 +24597,19 @@ type InvoiceLineItemRequest struct { // - `ZWL` - Zimbabwean Dollar (2009) Currency *InvoiceLineItemRequestCurrency `json:"currency,omitempty"` // The line item's exchange rate. - ExchangeRate *string `json:"exchange_rate,omitempty"` - Item *InvoiceLineItemRequestItem `json:"item,omitempty"` - Account *InvoiceLineItemRequestAccount `json:"account,omitempty"` - TrackingCategory *InvoiceLineItemRequestTrackingCategory `json:"tracking_category,omitempty"` + ExchangeRate *string `json:"exchange_rate,omitempty"` + Item *InvoiceLineItemRequestItem `json:"item,omitempty"` + Account *InvoiceLineItemRequestAccount `json:"account,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + TrackingCategory *InvoiceLineItemRequestTrackingCategory `json:"tracking_category,omitempty"` + // The invoice line item's associated tracking categories. TrackingCategories []*InvoiceLineItemRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // The company the line item belongs to. + // The company the invoice belongs to. Company *string `json:"company,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -18980,13 +25003,13 @@ func (i *InvoiceLineItemRequestAccount) Accept(visitor InvoiceLineItemRequestAcc // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type InvoiceLineItemRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewInvoiceLineItemRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *InvoiceLineItemRequestCurrency { - return &InvoiceLineItemRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewInvoiceLineItemRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *InvoiceLineItemRequestCurrency { + return &InvoiceLineItemRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewInvoiceLineItemRequestCurrencyFromString(value string) *InvoiceLineItemRequestCurrency { @@ -18994,10 +25017,10 @@ func NewInvoiceLineItemRequestCurrencyFromString(value string) *InvoiceLineItemR } func (i *InvoiceLineItemRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - i.typeName = "currencyEnum" - i.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + i.typeName = "transactionCurrencyEnum" + i.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -19013,15 +25036,15 @@ func (i InvoiceLineItemRequestCurrency) MarshalJSON() ([]byte, error) { switch i.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return json.Marshal(i.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(i.TransactionCurrencyEnum) case "string": return json.Marshal(i.String) } } type InvoiceLineItemRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -19029,13 +25052,71 @@ func (i *InvoiceLineItemRequestCurrency) Accept(visitor InvoiceLineItemRequestCu switch i.typeName { default: return fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return visitor.VisitCurrencyEnum(i.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(i.TransactionCurrencyEnum) case "string": return visitor.VisitString(i.String) } } +// The employee this overall transaction relates to. +type InvoiceLineItemRequestEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewInvoiceLineItemRequestEmployeeFromString(value string) *InvoiceLineItemRequestEmployee { + return &InvoiceLineItemRequestEmployee{typeName: "string", String: value} +} + +func NewInvoiceLineItemRequestEmployeeFromEmployee(value *Employee) *InvoiceLineItemRequestEmployee { + return &InvoiceLineItemRequestEmployee{typeName: "employee", Employee: value} +} + +func (i *InvoiceLineItemRequestEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + i.typeName = "employee" + i.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceLineItemRequestEmployee) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "employee": + return json.Marshal(i.Employee) + } +} + +type InvoiceLineItemRequestEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (i *InvoiceLineItemRequestEmployee) Accept(visitor InvoiceLineItemRequestEmployeeVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "employee": + return visitor.VisitEmployee(i.Employee) + } +} + type InvoiceLineItemRequestItem struct { typeName string String string @@ -19437,13 +25518,15 @@ func (i *InvoicePurchaseOrdersItem) Accept(visitor InvoicePurchaseOrdersItemVisi // # The Invoice Object // -// ### Description -// The `Invoice` object represents an itemized record of goods and/or services sold to a customer. +// ### Description +// +// The `Invoice` object represents an itemized record of goods and/or services sold to a customer or bought from a vendor. +// +// Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. // -// If type = accounts_payable `Invoice` is a bill, if type = accounts_receivable it's an invoice. +// ### Usage Example // -// ### Usage Example -// Fetch from the `LIST Invoices` endpoint and view a company's invoices. +// Fetch from the `LIST Invoices` endpoint and view a company's invoices. type InvoiceRequest struct { // Whether the invoice is an accounts receivable or accounts payable. If `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is `ACCOUNTS_RECEIVABLE`, it is an invoice. // @@ -19460,6 +25543,8 @@ type InvoiceRequest struct { DueDate *time.Time `json:"due_date,omitempty"` // The invoice's paid date. PaidOnDate *time.Time `json:"paid_on_date,omitempty"` + // The employee this overall transaction relates to. + Employee *InvoiceRequestEmployee `json:"employee,omitempty"` // The invoice's private note. Memo *string `json:"memo,omitempty"` // The status of the invoice. @@ -19790,6 +25875,8 @@ type InvoiceRequest struct { SubTotal *float64 `json:"sub_total,omitempty"` // The total amount being paid in taxes. TotalTaxAmount *float64 `json:"total_tax_amount,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` // The invoice's total amount. TotalAmount *float64 `json:"total_amount,omitempty"` // The invoice's remaining balance. @@ -19801,6 +25888,7 @@ type InvoiceRequest struct { PurchaseOrders []*InvoiceRequestPurchaseOrdersItem `json:"purchase_orders,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -20253,13 +26341,13 @@ func (i *InvoiceRequestContact) Accept(visitor InvoiceRequestContactVisitor) err // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type InvoiceRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewInvoiceRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *InvoiceRequestCurrency { - return &InvoiceRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewInvoiceRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *InvoiceRequestCurrency { + return &InvoiceRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewInvoiceRequestCurrencyFromString(value string) *InvoiceRequestCurrency { @@ -20267,10 +26355,10 @@ func NewInvoiceRequestCurrencyFromString(value string) *InvoiceRequestCurrency { } func (i *InvoiceRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - i.typeName = "currencyEnum" - i.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + i.typeName = "transactionCurrencyEnum" + i.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -20286,15 +26374,15 @@ func (i InvoiceRequestCurrency) MarshalJSON() ([]byte, error) { switch i.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return json.Marshal(i.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(i.TransactionCurrencyEnum) case "string": return json.Marshal(i.String) } } type InvoiceRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -20302,10 +26390,68 @@ func (i *InvoiceRequestCurrency) Accept(visitor InvoiceRequestCurrencyVisitor) e switch i.typeName { default: return fmt.Errorf("invalid type %s in %T", i.typeName, i) - case "currencyEnum": - return visitor.VisitCurrencyEnum(i.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(i.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(i.String) + } +} + +// The employee this overall transaction relates to. +type InvoiceRequestEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewInvoiceRequestEmployeeFromString(value string) *InvoiceRequestEmployee { + return &InvoiceRequestEmployee{typeName: "string", String: value} +} + +func NewInvoiceRequestEmployeeFromEmployee(value *Employee) *InvoiceRequestEmployee { + return &InvoiceRequestEmployee{typeName: "employee", Employee: value} +} + +func (i *InvoiceRequestEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + i.typeName = "employee" + i.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i InvoiceRequestEmployee) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "employee": + return json.Marshal(i.Employee) + } +} + +type InvoiceRequestEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (i *InvoiceRequestEmployee) Accept(visitor InvoiceRequestEmployeeVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) case "string": return visitor.VisitString(i.String) + case "employee": + return visitor.VisitEmployee(i.Employee) } } @@ -21044,9 +27190,13 @@ type Item struct { SalesAccount *ItemSalesAccount `json:"sales_account,omitempty"` // The company the item belongs to. Company *ItemCompany `json:"company,omitempty"` + // The default purchase tax rate for this item. + PurchaseTaxRate *ItemPurchaseTaxRate `json:"purchase_tax_rate,omitempty"` + // The default sales tax rate for this item. + SalesTaxRate *ItemSalesTaxRate `json:"sales_tax_rate,omitempty"` // When the third party's item note was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -21135,6 +27285,46 @@ func (i *ItemCompany) Accept(visitor ItemCompanyVisitor) error { } } +// - `string` - uuid +// - `number` - url +// - `date` - email +// - `datetime` - phone +// - `bool` - currency +// - `list` - decimal +type ItemFormatEnum string + +const ( + ItemFormatEnumString ItemFormatEnum = "string" + ItemFormatEnumNumber ItemFormatEnum = "number" + ItemFormatEnumDate ItemFormatEnum = "date" + ItemFormatEnumDatetime ItemFormatEnum = "datetime" + ItemFormatEnumBool ItemFormatEnum = "bool" + ItemFormatEnumList ItemFormatEnum = "list" +) + +func NewItemFormatEnumFromString(s string) (ItemFormatEnum, error) { + switch s { + case "string": + return ItemFormatEnumString, nil + case "number": + return ItemFormatEnumNumber, nil + case "date": + return ItemFormatEnumDate, nil + case "datetime": + return ItemFormatEnumDatetime, nil + case "bool": + return ItemFormatEnumBool, nil + case "list": + return ItemFormatEnumList, nil + } + var t ItemFormatEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (i ItemFormatEnum) Ptr() *ItemFormatEnum { + return &i +} + // References the default account used to record a purchase of the item. type ItemPurchaseAccount struct { typeName string @@ -21193,6 +27383,64 @@ func (i *ItemPurchaseAccount) Accept(visitor ItemPurchaseAccountVisitor) error { } } +// The default purchase tax rate for this item. +type ItemPurchaseTaxRate struct { + typeName string + String string + TaxRate *TaxRate +} + +func NewItemPurchaseTaxRateFromString(value string) *ItemPurchaseTaxRate { + return &ItemPurchaseTaxRate{typeName: "string", String: value} +} + +func NewItemPurchaseTaxRateFromTaxRate(value *TaxRate) *ItemPurchaseTaxRate { + return &ItemPurchaseTaxRate{typeName: "taxRate", TaxRate: value} +} + +func (i *ItemPurchaseTaxRate) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueTaxRate := new(TaxRate) + if err := json.Unmarshal(data, &valueTaxRate); err == nil { + i.typeName = "taxRate" + i.TaxRate = valueTaxRate + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i ItemPurchaseTaxRate) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "taxRate": + return json.Marshal(i.TaxRate) + } +} + +type ItemPurchaseTaxRateVisitor interface { + VisitString(string) error + VisitTaxRate(*TaxRate) error +} + +func (i *ItemPurchaseTaxRate) Accept(visitor ItemPurchaseTaxRateVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "taxRate": + return visitor.VisitTaxRate(i.TaxRate) + } +} + // References the default account used to record a sale. type ItemSalesAccount struct { typeName string @@ -21251,6 +27499,95 @@ func (i *ItemSalesAccount) Accept(visitor ItemSalesAccountVisitor) error { } } +// The default sales tax rate for this item. +type ItemSalesTaxRate struct { + typeName string + String string + TaxRate *TaxRate +} + +func NewItemSalesTaxRateFromString(value string) *ItemSalesTaxRate { + return &ItemSalesTaxRate{typeName: "string", String: value} +} + +func NewItemSalesTaxRateFromTaxRate(value *TaxRate) *ItemSalesTaxRate { + return &ItemSalesTaxRate{typeName: "taxRate", TaxRate: value} +} + +func (i *ItemSalesTaxRate) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + i.typeName = "string" + i.String = valueString + return nil + } + valueTaxRate := new(TaxRate) + if err := json.Unmarshal(data, &valueTaxRate); err == nil { + i.typeName = "taxRate" + i.TaxRate = valueTaxRate + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, i) +} + +func (i ItemSalesTaxRate) MarshalJSON() ([]byte, error) { + switch i.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return json.Marshal(i.String) + case "taxRate": + return json.Marshal(i.TaxRate) + } +} + +type ItemSalesTaxRateVisitor interface { + VisitString(string) error + VisitTaxRate(*TaxRate) error +} + +func (i *ItemSalesTaxRate) Accept(visitor ItemSalesTaxRateVisitor) error { + switch i.typeName { + default: + return fmt.Errorf("invalid type %s in %T", i.typeName, i) + case "string": + return visitor.VisitString(i.String) + case "taxRate": + return visitor.VisitTaxRate(i.TaxRate) + } +} + +type ItemSchema struct { + ItemType *ItemTypeEnum `json:"item_type,omitempty"` + ItemFormat *ItemFormatEnum `json:"item_format,omitempty"` + ItemChoices []string `json:"item_choices,omitempty"` + + _rawJSON json.RawMessage +} + +func (i *ItemSchema) UnmarshalJSON(data []byte) error { + type unmarshaler ItemSchema + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *i = ItemSchema(value) + i._rawJSON = json.RawMessage(data) + return nil +} + +func (i *ItemSchema) String() string { + if len(i._rawJSON) > 0 { + if value, err := core.StringifyJSON(i._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(i); err == nil { + return value + } + return fmt.Sprintf("%#v", i) +} + // The item's status. // // - `ACTIVE` - ACTIVE @@ -21312,6 +27649,46 @@ func (i *ItemStatus) Accept(visitor ItemStatusVisitor) error { } } +// - `string` - string +// - `number` - number +// - `date` - date +// - `datetime` - datetime +// - `bool` - bool +// - `list` - list +type ItemTypeEnum string + +const ( + ItemTypeEnumString ItemTypeEnum = "string" + ItemTypeEnumNumber ItemTypeEnum = "number" + ItemTypeEnumDate ItemTypeEnum = "date" + ItemTypeEnumDatetime ItemTypeEnum = "datetime" + ItemTypeEnumBool ItemTypeEnum = "bool" + ItemTypeEnumList ItemTypeEnum = "list" +) + +func NewItemTypeEnumFromString(s string) (ItemTypeEnum, error) { + switch s { + case "string": + return ItemTypeEnumString, nil + case "number": + return ItemTypeEnumNumber, nil + case "date": + return ItemTypeEnumDate, nil + case "datetime": + return ItemTypeEnumDatetime, nil + case "bool": + return ItemTypeEnumBool, nil + case "list": + return ItemTypeEnumList, nil + } + var t ItemTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (i ItemTypeEnum) Ptr() *ItemTypeEnum { + return &i +} + // # The JournalEntry Object // // ### Description @@ -21335,10 +27712,6 @@ type JournalEntry struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The journal entry's transaction date. TransactionDate *time.Time `json:"transaction_date,omitempty"` - // When the third party's journal entry was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` - // When the third party's journal entry was updated. - RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` // Array of `Payment` object IDs. Payments []*JournalEntryPaymentsItem `json:"payments,omitempty"` // A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. @@ -21658,11 +28031,14 @@ type JournalEntry struct { ExchangeRate *string `json:"exchange_rate,omitempty"` // The company the journal entry belongs to. Company *JournalEntryCompany `json:"company,omitempty"` - Lines []*JournalLine `json:"lines,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + Lines []*JournalLine `json:"lines,omitempty"` // Reference number for identifying journal entries. JournalNumber *string `json:"journal_number,omitempty"` TrackingCategories []*JournalEntryTrackingCategoriesItem `json:"tracking_categories,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The journal's posting status. // // - `UNPOSTED` - UNPOSTED @@ -21670,8 +28046,13 @@ type JournalEntry struct { PostingStatus *JournalEntryPostingStatus `json:"posting_status,omitempty"` // The accounting period that the JournalEntry was generated in. AccountingPeriod *JournalEntryAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + // When the third party's journal entry was created. + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // When the third party's journal entry was updated. + RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -22181,13 +28562,13 @@ func (j *JournalEntryCompany) Accept(visitor JournalEntryCompanyVisitor) error { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type JournalEntryCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewJournalEntryCurrencyFromCurrencyEnum(value CurrencyEnum) *JournalEntryCurrency { - return &JournalEntryCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewJournalEntryCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *JournalEntryCurrency { + return &JournalEntryCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewJournalEntryCurrencyFromString(value string) *JournalEntryCurrency { @@ -22195,10 +28576,10 @@ func NewJournalEntryCurrencyFromString(value string) *JournalEntryCurrency { } func (j *JournalEntryCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - j.typeName = "currencyEnum" - j.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + j.typeName = "transactionCurrencyEnum" + j.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -22214,15 +28595,15 @@ func (j JournalEntryCurrency) MarshalJSON() ([]byte, error) { switch j.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return json.Marshal(j.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(j.TransactionCurrencyEnum) case "string": return json.Marshal(j.String) } } type JournalEntryCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -22230,8 +28611,8 @@ func (j *JournalEntryCurrency) Accept(visitor JournalEntryCurrencyVisitor) error switch j.typeName { default: return fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return visitor.VisitCurrencyEnum(j.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(j.TransactionCurrencyEnum) case "string": return visitor.VisitString(j.String) } @@ -22685,7 +29066,9 @@ type JournalEntryRequest struct { // The company the journal entry belongs to. Company *JournalEntryRequestCompany `json:"company,omitempty"` TrackingCategories []*JournalEntryRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` - Lines []*JournalLineRequest `json:"lines,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + Lines []*JournalLineRequest `json:"lines,omitempty"` // Reference number for identifying journal entries. JournalNumber *string `json:"journal_number,omitempty"` // The journal's posting status. @@ -22695,6 +29078,7 @@ type JournalEntryRequest struct { PostingStatus *JournalEntryRequestPostingStatus `json:"posting_status,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -23089,13 +29473,13 @@ func (j *JournalEntryRequestCompany) Accept(visitor JournalEntryRequestCompanyVi // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type JournalEntryRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewJournalEntryRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *JournalEntryRequestCurrency { - return &JournalEntryRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewJournalEntryRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *JournalEntryRequestCurrency { + return &JournalEntryRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewJournalEntryRequestCurrencyFromString(value string) *JournalEntryRequestCurrency { @@ -23103,10 +29487,10 @@ func NewJournalEntryRequestCurrencyFromString(value string) *JournalEntryRequest } func (j *JournalEntryRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - j.typeName = "currencyEnum" - j.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + j.typeName = "transactionCurrencyEnum" + j.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -23122,15 +29506,15 @@ func (j JournalEntryRequestCurrency) MarshalJSON() ([]byte, error) { switch j.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return json.Marshal(j.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(j.TransactionCurrencyEnum) case "string": return json.Marshal(j.String) } } type JournalEntryRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -23138,8 +29522,8 @@ func (j *JournalEntryRequestCurrency) Accept(visitor JournalEntryRequestCurrency switch j.typeName { default: return fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return visitor.VisitCurrencyEnum(j.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(j.TransactionCurrencyEnum) case "string": return visitor.VisitString(j.String) } @@ -23428,8 +29812,9 @@ type JournalLine struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` Account *JournalLineAccount `json:"account,omitempty"` // The value of the line item including taxes and other fees. - NetAmount *float64 `json:"net_amount,omitempty"` - TrackingCategory *JournalLineTrackingCategory `json:"tracking_category,omitempty"` + NetAmount *float64 `json:"net_amount,omitempty"` + TrackingCategory *JournalLineTrackingCategory `json:"tracking_category,omitempty"` + // The journal line item's associated tracking categories. TrackingCategories []*JournalLineTrackingCategoriesItem `json:"tracking_categories,omitempty"` // The journal line item's currency. // @@ -23741,14 +30126,18 @@ type JournalLine struct { // - `ZWL` - Zimbabwean Dollar (2009) Currency *JournalLineCurrency `json:"currency,omitempty"` // The company the journal entry belongs to. - Company *string `json:"company,omitempty"` - Contact *string `json:"contact,omitempty"` + Company *string `json:"company,omitempty"` + Employee *string `json:"employee,omitempty"` + Contact *string `json:"contact,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` // The line's description. Description *string `json:"description,omitempty"` // The journal line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -24142,13 +30531,13 @@ func (j *JournalLineAccount) Accept(visitor JournalLineAccountVisitor) error { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type JournalLineCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewJournalLineCurrencyFromCurrencyEnum(value CurrencyEnum) *JournalLineCurrency { - return &JournalLineCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewJournalLineCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *JournalLineCurrency { + return &JournalLineCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewJournalLineCurrencyFromString(value string) *JournalLineCurrency { @@ -24156,10 +30545,10 @@ func NewJournalLineCurrencyFromString(value string) *JournalLineCurrency { } func (j *JournalLineCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - j.typeName = "currencyEnum" - j.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + j.typeName = "transactionCurrencyEnum" + j.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -24175,15 +30564,15 @@ func (j JournalLineCurrency) MarshalJSON() ([]byte, error) { switch j.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return json.Marshal(j.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(j.TransactionCurrencyEnum) case "string": return json.Marshal(j.String) } } type JournalLineCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -24191,8 +30580,8 @@ func (j *JournalLineCurrency) Accept(visitor JournalLineCurrencyVisitor) error { switch j.typeName { default: return fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return visitor.VisitCurrencyEnum(j.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(j.TransactionCurrencyEnum) case "string": return visitor.VisitString(j.String) } @@ -24212,8 +30601,9 @@ type JournalLineRequest struct { RemoteId *string `json:"remote_id,omitempty"` Account *JournalLineRequestAccount `json:"account,omitempty"` // The value of the line item including taxes and other fees. - NetAmount *float64 `json:"net_amount,omitempty"` - TrackingCategory *JournalLineRequestTrackingCategory `json:"tracking_category,omitempty"` + NetAmount *float64 `json:"net_amount,omitempty"` + TrackingCategory *JournalLineRequestTrackingCategory `json:"tracking_category,omitempty"` + // The journal line item's associated tracking categories. TrackingCategories []*JournalLineRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` // The journal line item's currency. // @@ -24525,14 +30915,18 @@ type JournalLineRequest struct { // - `ZWL` - Zimbabwean Dollar (2009) Currency *JournalLineRequestCurrency `json:"currency,omitempty"` // The company the journal entry belongs to. - Company *string `json:"company,omitempty"` - Contact *string `json:"contact,omitempty"` + Company *string `json:"company,omitempty"` + Employee *string `json:"employee,omitempty"` + Contact *string `json:"contact,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` // The line's description. Description *string `json:"description,omitempty"` // The journal line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -24926,13 +31320,13 @@ func (j *JournalLineRequestAccount) Accept(visitor JournalLineRequestAccountVisi // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type JournalLineRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewJournalLineRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *JournalLineRequestCurrency { - return &JournalLineRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewJournalLineRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *JournalLineRequestCurrency { + return &JournalLineRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewJournalLineRequestCurrencyFromString(value string) *JournalLineRequestCurrency { @@ -24940,10 +31334,10 @@ func NewJournalLineRequestCurrencyFromString(value string) *JournalLineRequestCu } func (j *JournalLineRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - j.typeName = "currencyEnum" - j.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + j.typeName = "transactionCurrencyEnum" + j.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -24959,15 +31353,15 @@ func (j JournalLineRequestCurrency) MarshalJSON() ([]byte, error) { switch j.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return json.Marshal(j.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(j.TransactionCurrencyEnum) case "string": return json.Marshal(j.String) } } type JournalLineRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -24975,8 +31369,8 @@ func (j *JournalLineRequestCurrency) Accept(visitor JournalLineRequestCurrencyVi switch j.typeName { default: return fmt.Errorf("invalid type %s in %T", j.typeName, j) - case "currencyEnum": - return visitor.VisitCurrencyEnum(j.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(j.TransactionCurrencyEnum) case "string": return visitor.VisitString(j.String) } @@ -25210,6 +31604,30 @@ func (j *JournalLineTrackingCategory) Accept(visitor JournalLineTrackingCategory } } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + type LinkToken struct { LinkToken string `json:"link_token"` IntegrationName *string `json:"integration_name,omitempty"` @@ -25746,6 +32164,68 @@ func (p *PaginatedBalanceSheetList) String() string { return fmt.Sprintf("%#v", p) } +type PaginatedBankFeedAccountList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*BankFeedAccount `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedBankFeedAccountList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedBankFeedAccountList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedBankFeedAccountList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedBankFeedAccountList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + +type PaginatedBankFeedTransactionList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*BankFeedTransaction `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedBankFeedTransactionList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedBankFeedTransactionList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedBankFeedTransactionList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedBankFeedTransactionList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + type PaginatedCashFlowStatementList struct { Next *string `json:"next,omitempty"` Previous *string `json:"previous,omitempty"` @@ -25870,6 +32350,37 @@ func (p *PaginatedCreditNoteList) String() string { return fmt.Sprintf("%#v", p) } +type PaginatedEmployeeList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*Employee `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedEmployeeList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedEmployeeList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedEmployeeList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedEmployeeList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + type PaginatedExpenseList struct { Next *string `json:"next,omitempty"` Previous *string `json:"previous,omitempty"` @@ -25901,6 +32412,37 @@ func (p *PaginatedExpenseList) String() string { return fmt.Sprintf("%#v", p) } +type PaginatedGeneralLedgerTransactionList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*GeneralLedgerTransaction `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedGeneralLedgerTransactionList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedGeneralLedgerTransactionList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedGeneralLedgerTransactionList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedGeneralLedgerTransactionList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + type PaginatedIncomeStatementList struct { Next *string `json:"next,omitempty"` Previous *string `json:"previous,omitempty"` @@ -26118,6 +32660,37 @@ func (p *PaginatedPurchaseOrderList) String() string { return fmt.Sprintf("%#v", p) } +type PaginatedRemoteFieldClassList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*RemoteFieldClass `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedRemoteFieldClassList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedRemoteFieldClassList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedRemoteFieldClassList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedRemoteFieldClassList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + type PaginatedSyncStatusList struct { Next *string `json:"next,omitempty"` Previous *string `json:"previous,omitempty"` @@ -26616,6 +33189,7 @@ type PatchedPaymentRequest struct { AppliedToLines []*PatchedPaymentRequestAppliedToLinesItem `json:"applied_to_lines,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -26760,17 +33334,17 @@ func (p *PatchedPaymentRequestAccountingPeriod) Accept(visitor PatchedPaymentReq } type PatchedPaymentRequestAppliedToLinesItem struct { - typeName string - String string - PaymentLineItem *PaymentLineItem + typeName string + String string + PaymentLineItemRequest *PaymentLineItemRequest } func NewPatchedPaymentRequestAppliedToLinesItemFromString(value string) *PatchedPaymentRequestAppliedToLinesItem { return &PatchedPaymentRequestAppliedToLinesItem{typeName: "string", String: value} } -func NewPatchedPaymentRequestAppliedToLinesItemFromPaymentLineItem(value *PaymentLineItem) *PatchedPaymentRequestAppliedToLinesItem { - return &PatchedPaymentRequestAppliedToLinesItem{typeName: "paymentLineItem", PaymentLineItem: value} +func NewPatchedPaymentRequestAppliedToLinesItemFromPaymentLineItemRequest(value *PaymentLineItemRequest) *PatchedPaymentRequestAppliedToLinesItem { + return &PatchedPaymentRequestAppliedToLinesItem{typeName: "paymentLineItemRequest", PaymentLineItemRequest: value} } func (p *PatchedPaymentRequestAppliedToLinesItem) UnmarshalJSON(data []byte) error { @@ -26780,10 +33354,10 @@ func (p *PatchedPaymentRequestAppliedToLinesItem) UnmarshalJSON(data []byte) err p.String = valueString return nil } - valuePaymentLineItem := new(PaymentLineItem) - if err := json.Unmarshal(data, &valuePaymentLineItem); err == nil { - p.typeName = "paymentLineItem" - p.PaymentLineItem = valuePaymentLineItem + valuePaymentLineItemRequest := new(PaymentLineItemRequest) + if err := json.Unmarshal(data, &valuePaymentLineItemRequest); err == nil { + p.typeName = "paymentLineItemRequest" + p.PaymentLineItemRequest = valuePaymentLineItemRequest return nil } return fmt.Errorf("%s cannot be deserialized as a %T", data, p) @@ -26795,14 +33369,14 @@ func (p PatchedPaymentRequestAppliedToLinesItem) MarshalJSON() ([]byte, error) { return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) case "string": return json.Marshal(p.String) - case "paymentLineItem": - return json.Marshal(p.PaymentLineItem) + case "paymentLineItemRequest": + return json.Marshal(p.PaymentLineItemRequest) } } type PatchedPaymentRequestAppliedToLinesItemVisitor interface { VisitString(string) error - VisitPaymentLineItem(*PaymentLineItem) error + VisitPaymentLineItemRequest(*PaymentLineItemRequest) error } func (p *PatchedPaymentRequestAppliedToLinesItem) Accept(visitor PatchedPaymentRequestAppliedToLinesItemVisitor) error { @@ -26811,8 +33385,8 @@ func (p *PatchedPaymentRequestAppliedToLinesItem) Accept(visitor PatchedPaymentR return fmt.Errorf("invalid type %s in %T", p.typeName, p) case "string": return visitor.VisitString(p.String) - case "paymentLineItem": - return visitor.VisitPaymentLineItem(p.PaymentLineItem) + case "paymentLineItemRequest": + return visitor.VisitPaymentLineItemRequest(p.PaymentLineItemRequest) } } @@ -27241,13 +33815,13 @@ func (p *PatchedPaymentRequestContact) Accept(visitor PatchedPaymentRequestConta // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PatchedPaymentRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPatchedPaymentRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *PatchedPaymentRequestCurrency { - return &PatchedPaymentRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPatchedPaymentRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PatchedPaymentRequestCurrency { + return &PatchedPaymentRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPatchedPaymentRequestCurrencyFromString(value string) *PatchedPaymentRequestCurrency { @@ -27255,10 +33829,10 @@ func NewPatchedPaymentRequestCurrencyFromString(value string) *PatchedPaymentReq } func (p *PatchedPaymentRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -27274,15 +33848,15 @@ func (p PatchedPaymentRequestCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PatchedPaymentRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -27290,8 +33864,8 @@ func (p *PatchedPaymentRequestCurrency) Accept(visitor PatchedPaymentRequestCurr switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -27759,16 +34333,17 @@ type Payment struct { // - `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE Type *PaymentType `json:"type,omitempty"` TrackingCategories []*PaymentTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // When the third party's payment entry was updated. - RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The accounting period that the Payment was generated in. AccountingPeriod *PaymentAccountingPeriod `json:"accounting_period,omitempty"` // A list of “Payment Applied to Lines” objects. AppliedToLines []*PaymentAppliedToLinesItem `json:"applied_to_lines,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + // When the third party's payment entry was updated. + RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -28394,13 +34969,13 @@ func (p *PaymentContact) Accept(visitor PaymentContactVisitor) error { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PaymentCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPaymentCurrencyFromCurrencyEnum(value CurrencyEnum) *PaymentCurrency { - return &PaymentCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPaymentCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PaymentCurrency { + return &PaymentCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPaymentCurrencyFromString(value string) *PaymentCurrency { @@ -28408,10 +34983,10 @@ func NewPaymentCurrencyFromString(value string) *PaymentCurrency { } func (p *PaymentCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -28427,15 +35002,15 @@ func (p PaymentCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PaymentCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -28443,8 +35018,8 @@ func (p *PaymentCurrency) Accept(visitor PaymentCurrencyVisitor) error { switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -28524,6 +35099,7 @@ type PaymentLineItemRequest struct { RelatedObjectType *string `json:"related_object_type,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -28894,6 +35470,7 @@ type PaymentRequest struct { AppliedToLines []*PaymentRequestAppliedToLinesItem `json:"applied_to_lines,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -29519,13 +36096,13 @@ func (p *PaymentRequestContact) Accept(visitor PaymentRequestContactVisitor) err // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PaymentRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPaymentRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *PaymentRequestCurrency { - return &PaymentRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPaymentRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PaymentRequestCurrency { + return &PaymentRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPaymentRequestCurrencyFromString(value string) *PaymentRequestCurrency { @@ -29533,10 +36110,10 @@ func NewPaymentRequestCurrencyFromString(value string) *PaymentRequestCurrency { } func (p *PaymentRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -29552,15 +36129,15 @@ func (p PaymentRequestCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PaymentRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -29568,8 +36145,8 @@ func (p *PaymentRequestCurrency) Accept(visitor PaymentRequestCurrencyVisitor) e switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -29897,7 +36474,7 @@ func (p PostingStatusEnum) Ptr() *PostingStatusEnum { // // A `PurchaseOrder` represents a request to purchase goods or services from a vendor. It outlines the details of the purchase, such as the items or services requested, quantities, prices, and delivery details. // -// A `PurchaseOrder` is a crucial component of the procurement process, but does not typically result in any impact on the company’s general ledger. The general ledger is typically only affected when the `PurchaseOrder` is fulfilled as an _Accounts Payable_ Invoice object. +// A `PurchaseOrder` is a crucial component of the procurement process, but does not typically result in any impact on the company’s general ledger. The general ledger is typically only affected when the `PurchaseOrder` is fulfilled as an _Accounts Payable_ `Invoice` object (also known as a Bill). // // ### Usage Example // @@ -30246,19 +36823,22 @@ type PurchaseOrder struct { // - `ZWL` - Zimbabwean Dollar (2009) Currency *PurchaseOrderCurrency `json:"currency,omitempty"` // The purchase order's exchange rate. - ExchangeRate *string `json:"exchange_rate,omitempty"` - LineItems []*PurchaseOrderLineItem `json:"line_items,omitempty"` + ExchangeRate *string `json:"exchange_rate,omitempty"` + LineItems []*PurchaseOrderLineItem `json:"line_items,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` TrackingCategories []*PurchaseOrderTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // The accounting period that the PurchaseOrder was generated in. + AccountingPeriod *PurchaseOrderAccountingPeriod `json:"accounting_period,omitempty"` // When the third party's purchase order note was created. RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` // When the third party's purchase order note was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - // The accounting period that the PurchaseOrder was generated in. - AccountingPeriod *PurchaseOrderAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -30711,13 +37291,13 @@ func (p *PurchaseOrderCompany) Accept(visitor PurchaseOrderCompanyVisitor) error // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PurchaseOrderCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPurchaseOrderCurrencyFromCurrencyEnum(value CurrencyEnum) *PurchaseOrderCurrency { - return &PurchaseOrderCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPurchaseOrderCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PurchaseOrderCurrency { + return &PurchaseOrderCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPurchaseOrderCurrencyFromString(value string) *PurchaseOrderCurrency { @@ -30725,10 +37305,10 @@ func NewPurchaseOrderCurrencyFromString(value string) *PurchaseOrderCurrency { } func (p *PurchaseOrderCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -30744,15 +37324,15 @@ func (p PurchaseOrderCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PurchaseOrderCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -30760,8 +37340,8 @@ func (p *PurchaseOrderCurrency) Accept(visitor PurchaseOrderCurrencyVisitor) err switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -30854,7 +37434,7 @@ type PurchaseOrderLineItem struct { // The purchase order line item's associated tracking category. TrackingCategory *string `json:"tracking_category,omitempty"` // The purchase order line item's associated tracking categories. - TrackingCategories []string `json:"tracking_categories,omitempty"` + TrackingCategories []*string `json:"tracking_categories,omitempty"` // The purchase order line item's tax amount. TaxAmount *string `json:"tax_amount,omitempty"` // The purchase order line item's total amount. @@ -31168,12 +37748,15 @@ type PurchaseOrderLineItem struct { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) Currency *PurchaseOrderLineItemCurrency `json:"currency,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` // The purchase order line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` // The company the purchase order line item belongs to. Company *string `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + RemoteFields []*RemoteField `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -31510,13 +38093,13 @@ func (p *PurchaseOrderLineItem) String() string { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PurchaseOrderLineItemCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPurchaseOrderLineItemCurrencyFromCurrencyEnum(value CurrencyEnum) *PurchaseOrderLineItemCurrency { - return &PurchaseOrderLineItemCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPurchaseOrderLineItemCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PurchaseOrderLineItemCurrency { + return &PurchaseOrderLineItemCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPurchaseOrderLineItemCurrencyFromString(value string) *PurchaseOrderLineItemCurrency { @@ -31524,10 +38107,10 @@ func NewPurchaseOrderLineItemCurrencyFromString(value string) *PurchaseOrderLine } func (p *PurchaseOrderLineItemCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -31543,15 +38126,15 @@ func (p PurchaseOrderLineItemCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PurchaseOrderLineItemCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -31559,8 +38142,8 @@ func (p *PurchaseOrderLineItemCurrency) Accept(visitor PurchaseOrderLineItemCurr switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -31647,7 +38230,7 @@ type PurchaseOrderLineItemRequest struct { // The purchase order line item's associated tracking category. TrackingCategory *string `json:"tracking_category,omitempty"` // The purchase order line item's associated tracking categories. - TrackingCategories []string `json:"tracking_categories,omitempty"` + TrackingCategories []*string `json:"tracking_categories,omitempty"` // The purchase order line item's tax amount. TaxAmount *string `json:"tax_amount,omitempty"` // The purchase order line item's total amount. @@ -31961,12 +38544,15 @@ type PurchaseOrderLineItemRequest struct { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) Currency *PurchaseOrderLineItemRequestCurrency `json:"currency,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` // The purchase order line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` // The company the purchase order line item belongs to. Company *string `json:"company,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -32303,13 +38889,13 @@ func (p *PurchaseOrderLineItemRequest) String() string { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PurchaseOrderLineItemRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPurchaseOrderLineItemRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *PurchaseOrderLineItemRequestCurrency { - return &PurchaseOrderLineItemRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPurchaseOrderLineItemRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PurchaseOrderLineItemRequestCurrency { + return &PurchaseOrderLineItemRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPurchaseOrderLineItemRequestCurrencyFromString(value string) *PurchaseOrderLineItemRequestCurrency { @@ -32317,10 +38903,10 @@ func NewPurchaseOrderLineItemRequestCurrencyFromString(value string) *PurchaseOr } func (p *PurchaseOrderLineItemRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -32336,15 +38922,15 @@ func (p PurchaseOrderLineItemRequestCurrency) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) case "string": return json.Marshal(p.String) } } type PurchaseOrderLineItemRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } @@ -32352,8 +38938,8 @@ func (p *PurchaseOrderLineItemRequestCurrency) Accept(visitor PurchaseOrderLineI switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) case "string": return visitor.VisitString(p.String) } @@ -32759,12 +39345,15 @@ type PurchaseOrderRequest struct { // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) Currency *PurchaseOrderRequestCurrency `json:"currency,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` // The purchase order's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` TrackingCategories []*PurchaseOrderRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` LineItems []*PurchaseOrderLineItemRequest `json:"line_items,omitempty"` IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + RemoteFields []*RemoteFieldRequest `json:"remote_fields,omitempty"` _rawJSON json.RawMessage } @@ -33159,13 +39748,13 @@ func (p *PurchaseOrderRequestCompany) Accept(visitor PurchaseOrderRequestCompany // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) type PurchaseOrderRequestCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewPurchaseOrderRequestCurrencyFromCurrencyEnum(value CurrencyEnum) *PurchaseOrderRequestCurrency { - return &PurchaseOrderRequestCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewPurchaseOrderRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *PurchaseOrderRequestCurrency { + return &PurchaseOrderRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } func NewPurchaseOrderRequestCurrencyFromString(value string) *PurchaseOrderRequestCurrency { @@ -33173,104 +39762,315 @@ func NewPurchaseOrderRequestCurrencyFromString(value string) *PurchaseOrderReque } func (p *PurchaseOrderRequestCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - p.typeName = "currencyEnum" - p.CurrencyEnum = valueCurrencyEnum + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + p.typeName = "transactionCurrencyEnum" + p.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderRequestCurrency) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "transactionCurrencyEnum": + return json.Marshal(p.TransactionCurrencyEnum) + case "string": + return json.Marshal(p.String) + } +} + +type PurchaseOrderRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (p *PurchaseOrderRequestCurrency) Accept(visitor PurchaseOrderRequestCurrencyVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(p.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(p.String) + } +} + +// The purchase order's delivery address. +type PurchaseOrderRequestDeliveryAddress struct { + typeName string + String string + Address *Address +} + +func NewPurchaseOrderRequestDeliveryAddressFromString(value string) *PurchaseOrderRequestDeliveryAddress { + return &PurchaseOrderRequestDeliveryAddress{typeName: "string", String: value} +} + +func NewPurchaseOrderRequestDeliveryAddressFromAddress(value *Address) *PurchaseOrderRequestDeliveryAddress { + return &PurchaseOrderRequestDeliveryAddress{typeName: "address", Address: value} +} + +func (p *PurchaseOrderRequestDeliveryAddress) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString return nil } + valueAddress := new(Address) + if err := json.Unmarshal(data, &valueAddress); err == nil { + p.typeName = "address" + p.Address = valueAddress + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderRequestDeliveryAddress) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return json.Marshal(p.String) + case "address": + return json.Marshal(p.Address) + } +} + +type PurchaseOrderRequestDeliveryAddressVisitor interface { + VisitString(string) error + VisitAddress(*Address) error +} + +func (p *PurchaseOrderRequestDeliveryAddress) Accept(visitor PurchaseOrderRequestDeliveryAddressVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return visitor.VisitString(p.String) + case "address": + return visitor.VisitAddress(p.Address) + } +} + +// The purchase order's status. +// +// - `DRAFT` - DRAFT +// - `SUBMITTED` - SUBMITTED +// - `AUTHORIZED` - AUTHORIZED +// - `BILLED` - BILLED +// - `DELETED` - DELETED +type PurchaseOrderRequestStatus struct { + typeName string + PurchaseOrderStatusEnum PurchaseOrderStatusEnum + String string +} + +func NewPurchaseOrderRequestStatusFromPurchaseOrderStatusEnum(value PurchaseOrderStatusEnum) *PurchaseOrderRequestStatus { + return &PurchaseOrderRequestStatus{typeName: "purchaseOrderStatusEnum", PurchaseOrderStatusEnum: value} +} + +func NewPurchaseOrderRequestStatusFromString(value string) *PurchaseOrderRequestStatus { + return &PurchaseOrderRequestStatus{typeName: "string", String: value} +} + +func (p *PurchaseOrderRequestStatus) UnmarshalJSON(data []byte) error { + var valuePurchaseOrderStatusEnum PurchaseOrderStatusEnum + if err := json.Unmarshal(data, &valuePurchaseOrderStatusEnum); err == nil { + p.typeName = "purchaseOrderStatusEnum" + p.PurchaseOrderStatusEnum = valuePurchaseOrderStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderRequestStatus) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "purchaseOrderStatusEnum": + return json.Marshal(p.PurchaseOrderStatusEnum) + case "string": + return json.Marshal(p.String) + } +} + +type PurchaseOrderRequestStatusVisitor interface { + VisitPurchaseOrderStatusEnum(PurchaseOrderStatusEnum) error + VisitString(string) error +} + +func (p *PurchaseOrderRequestStatus) Accept(visitor PurchaseOrderRequestStatusVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "purchaseOrderStatusEnum": + return visitor.VisitPurchaseOrderStatusEnum(p.PurchaseOrderStatusEnum) + case "string": + return visitor.VisitString(p.String) + } +} + +type PurchaseOrderRequestTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewPurchaseOrderRequestTrackingCategoriesItemFromString(value string) *PurchaseOrderRequestTrackingCategoriesItem { + return &PurchaseOrderRequestTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewPurchaseOrderRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *PurchaseOrderRequestTrackingCategoriesItem { + return &PurchaseOrderRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (p *PurchaseOrderRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { p.typeName = "string" p.String = valueString return nil } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + p.typeName = "trackingCategory" + p.TrackingCategory = valueTrackingCategory + return nil + } return fmt.Errorf("%s cannot be deserialized as a %T", data, p) } -func (p PurchaseOrderRequestCurrency) MarshalJSON() ([]byte, error) { +func (p PurchaseOrderRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return json.Marshal(p.CurrencyEnum) case "string": return json.Marshal(p.String) + case "trackingCategory": + return json.Marshal(p.TrackingCategory) } } -type PurchaseOrderRequestCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type PurchaseOrderRequestTrackingCategoriesItemVisitor interface { VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error } -func (p *PurchaseOrderRequestCurrency) Accept(visitor PurchaseOrderRequestCurrencyVisitor) error { +func (p *PurchaseOrderRequestTrackingCategoriesItem) Accept(visitor PurchaseOrderRequestTrackingCategoriesItemVisitor) error { switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "currencyEnum": - return visitor.VisitCurrencyEnum(p.CurrencyEnum) case "string": return visitor.VisitString(p.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(p.TrackingCategory) } } -// The purchase order's delivery address. -type PurchaseOrderRequestDeliveryAddress struct { +// The party fulfilling the purchase order. +type PurchaseOrderRequestVendor struct { typeName string String string - Address *Address + Contact *Contact } -func NewPurchaseOrderRequestDeliveryAddressFromString(value string) *PurchaseOrderRequestDeliveryAddress { - return &PurchaseOrderRequestDeliveryAddress{typeName: "string", String: value} +func NewPurchaseOrderRequestVendorFromString(value string) *PurchaseOrderRequestVendor { + return &PurchaseOrderRequestVendor{typeName: "string", String: value} } -func NewPurchaseOrderRequestDeliveryAddressFromAddress(value *Address) *PurchaseOrderRequestDeliveryAddress { - return &PurchaseOrderRequestDeliveryAddress{typeName: "address", Address: value} +func NewPurchaseOrderRequestVendorFromContact(value *Contact) *PurchaseOrderRequestVendor { + return &PurchaseOrderRequestVendor{typeName: "contact", Contact: value} } -func (p *PurchaseOrderRequestDeliveryAddress) UnmarshalJSON(data []byte) error { +func (p *PurchaseOrderRequestVendor) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { p.typeName = "string" p.String = valueString return nil } - valueAddress := new(Address) - if err := json.Unmarshal(data, &valueAddress); err == nil { - p.typeName = "address" - p.Address = valueAddress + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + p.typeName = "contact" + p.Contact = valueContact return nil } return fmt.Errorf("%s cannot be deserialized as a %T", data, p) } -func (p PurchaseOrderRequestDeliveryAddress) MarshalJSON() ([]byte, error) { +func (p PurchaseOrderRequestVendor) MarshalJSON() ([]byte, error) { switch p.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) case "string": return json.Marshal(p.String) - case "address": - return json.Marshal(p.Address) + case "contact": + return json.Marshal(p.Contact) } } -type PurchaseOrderRequestDeliveryAddressVisitor interface { +type PurchaseOrderRequestVendorVisitor interface { VisitString(string) error - VisitAddress(*Address) error + VisitContact(*Contact) error } -func (p *PurchaseOrderRequestDeliveryAddress) Accept(visitor PurchaseOrderRequestDeliveryAddressVisitor) error { +func (p *PurchaseOrderRequestVendor) Accept(visitor PurchaseOrderRequestVendorVisitor) error { switch p.typeName { default: return fmt.Errorf("invalid type %s in %T", p.typeName, p) case "string": return visitor.VisitString(p.String) - case "address": - return visitor.VisitAddress(p.Address) + case "contact": + return visitor.VisitContact(p.Contact) + } +} + +type PurchaseOrderResponse struct { + Model *PurchaseOrder `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PurchaseOrderResponse) UnmarshalJSON(data []byte) error { + type unmarshaler PurchaseOrderResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PurchaseOrderResponse(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PurchaseOrderResponse) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value } + return fmt.Sprintf("%#v", p) } // The purchase order's status. @@ -33280,1357 +40080,3745 @@ func (p *PurchaseOrderRequestDeliveryAddress) Accept(visitor PurchaseOrderReques // - `AUTHORIZED` - AUTHORIZED // - `BILLED` - BILLED // - `DELETED` - DELETED -type PurchaseOrderRequestStatus struct { +type PurchaseOrderStatus struct { typeName string PurchaseOrderStatusEnum PurchaseOrderStatusEnum String string } -func NewPurchaseOrderRequestStatusFromPurchaseOrderStatusEnum(value PurchaseOrderStatusEnum) *PurchaseOrderRequestStatus { - return &PurchaseOrderRequestStatus{typeName: "purchaseOrderStatusEnum", PurchaseOrderStatusEnum: value} +func NewPurchaseOrderStatusFromPurchaseOrderStatusEnum(value PurchaseOrderStatusEnum) *PurchaseOrderStatus { + return &PurchaseOrderStatus{typeName: "purchaseOrderStatusEnum", PurchaseOrderStatusEnum: value} +} + +func NewPurchaseOrderStatusFromString(value string) *PurchaseOrderStatus { + return &PurchaseOrderStatus{typeName: "string", String: value} +} + +func (p *PurchaseOrderStatus) UnmarshalJSON(data []byte) error { + var valuePurchaseOrderStatusEnum PurchaseOrderStatusEnum + if err := json.Unmarshal(data, &valuePurchaseOrderStatusEnum); err == nil { + p.typeName = "purchaseOrderStatusEnum" + p.PurchaseOrderStatusEnum = valuePurchaseOrderStatusEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderStatus) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "purchaseOrderStatusEnum": + return json.Marshal(p.PurchaseOrderStatusEnum) + case "string": + return json.Marshal(p.String) + } +} + +type PurchaseOrderStatusVisitor interface { + VisitPurchaseOrderStatusEnum(PurchaseOrderStatusEnum) error + VisitString(string) error +} + +func (p *PurchaseOrderStatus) Accept(visitor PurchaseOrderStatusVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "purchaseOrderStatusEnum": + return visitor.VisitPurchaseOrderStatusEnum(p.PurchaseOrderStatusEnum) + case "string": + return visitor.VisitString(p.String) + } +} + +// - `DRAFT` - DRAFT +// - `SUBMITTED` - SUBMITTED +// - `AUTHORIZED` - AUTHORIZED +// - `BILLED` - BILLED +// - `DELETED` - DELETED +type PurchaseOrderStatusEnum string + +const ( + PurchaseOrderStatusEnumDraft PurchaseOrderStatusEnum = "DRAFT" + PurchaseOrderStatusEnumSubmitted PurchaseOrderStatusEnum = "SUBMITTED" + PurchaseOrderStatusEnumAuthorized PurchaseOrderStatusEnum = "AUTHORIZED" + PurchaseOrderStatusEnumBilled PurchaseOrderStatusEnum = "BILLED" + PurchaseOrderStatusEnumDeleted PurchaseOrderStatusEnum = "DELETED" +) + +func NewPurchaseOrderStatusEnumFromString(s string) (PurchaseOrderStatusEnum, error) { + switch s { + case "DRAFT": + return PurchaseOrderStatusEnumDraft, nil + case "SUBMITTED": + return PurchaseOrderStatusEnumSubmitted, nil + case "AUTHORIZED": + return PurchaseOrderStatusEnumAuthorized, nil + case "BILLED": + return PurchaseOrderStatusEnumBilled, nil + case "DELETED": + return PurchaseOrderStatusEnumDeleted, nil + } + var t PurchaseOrderStatusEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (p PurchaseOrderStatusEnum) Ptr() *PurchaseOrderStatusEnum { + return &p +} + +type PurchaseOrderTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewPurchaseOrderTrackingCategoriesItemFromString(value string) *PurchaseOrderTrackingCategoriesItem { + return &PurchaseOrderTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewPurchaseOrderTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *PurchaseOrderTrackingCategoriesItem { + return &PurchaseOrderTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (p *PurchaseOrderTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString + return nil + } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + p.typeName = "trackingCategory" + p.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return json.Marshal(p.String) + case "trackingCategory": + return json.Marshal(p.TrackingCategory) + } +} + +type PurchaseOrderTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (p *PurchaseOrderTrackingCategoriesItem) Accept(visitor PurchaseOrderTrackingCategoriesItemVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return visitor.VisitString(p.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(p.TrackingCategory) + } +} + +// The party fulfilling the purchase order. +type PurchaseOrderVendor struct { + typeName string + String string + Contact *Contact +} + +func NewPurchaseOrderVendorFromString(value string) *PurchaseOrderVendor { + return &PurchaseOrderVendor{typeName: "string", String: value} +} + +func NewPurchaseOrderVendorFromContact(value *Contact) *PurchaseOrderVendor { + return &PurchaseOrderVendor{typeName: "contact", Contact: value} +} + +func (p *PurchaseOrderVendor) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + p.typeName = "string" + p.String = valueString + return nil + } + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + p.typeName = "contact" + p.Contact = valueContact + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, p) +} + +func (p PurchaseOrderVendor) MarshalJSON() ([]byte, error) { + switch p.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return json.Marshal(p.String) + case "contact": + return json.Marshal(p.Contact) + } +} + +type PurchaseOrderVendorVisitor interface { + VisitString(string) error + VisitContact(*Contact) error +} + +func (p *PurchaseOrderVendor) Accept(visitor PurchaseOrderVendorVisitor) error { + switch p.typeName { + default: + return fmt.Errorf("invalid type %s in %T", p.typeName, p) + case "string": + return visitor.VisitString(p.String) + case "contact": + return visitor.VisitContact(p.Contact) + } +} + +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO +type RemoteData struct { + // The third-party API path that is being called. + Path string `json:"path"` + Data interface{} `json:"data,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteData) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteData + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteData(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteData) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + +type RemoteEndpointInfo struct { + Method string `json:"method"` + UrlPath string `json:"url_path"` + FieldTraversalPath []interface{} `json:"field_traversal_path,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteEndpointInfo) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteEndpointInfo + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteEndpointInfo(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteEndpointInfo) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + +type RemoteField struct { + RemoteFieldClass *RemoteFieldClass `json:"remote_field_class,omitempty"` + Value map[string]interface{} `json:"value,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteField) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteField + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteField(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteField) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + +type RemoteFieldApi struct { + Schema map[string]interface{} `json:"schema,omitempty"` + RemoteKeyName string `json:"remote_key_name"` + RemoteEndpointInfo *RemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` + ExampleValues []interface{} `json:"example_values,omitempty"` + AdvancedMetadata *AdvancedMetadata `json:"advanced_metadata,omitempty"` + Coverage *RemoteFieldApiCoverage `json:"coverage,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteFieldApi) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteFieldApi + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteFieldApi(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteFieldApi) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + +type RemoteFieldApiCoverage struct { + typeName string + Integer int + Double float64 +} + +func NewRemoteFieldApiCoverageFromInteger(value int) *RemoteFieldApiCoverage { + return &RemoteFieldApiCoverage{typeName: "integer", Integer: value} +} + +func NewRemoteFieldApiCoverageFromDouble(value float64) *RemoteFieldApiCoverage { + return &RemoteFieldApiCoverage{typeName: "double", Double: value} +} + +func (r *RemoteFieldApiCoverage) UnmarshalJSON(data []byte) error { + var valueInteger int + if err := json.Unmarshal(data, &valueInteger); err == nil { + r.typeName = "integer" + r.Integer = valueInteger + return nil + } + var valueDouble float64 + if err := json.Unmarshal(data, &valueDouble); err == nil { + r.typeName = "double" + r.Double = valueDouble + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, r) +} + +func (r RemoteFieldApiCoverage) MarshalJSON() ([]byte, error) { + switch r.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", r.typeName, r) + case "integer": + return json.Marshal(r.Integer) + case "double": + return json.Marshal(r.Double) + } +} + +type RemoteFieldApiCoverageVisitor interface { + VisitInteger(int) error + VisitDouble(float64) error +} + +func (r *RemoteFieldApiCoverage) Accept(visitor RemoteFieldApiCoverageVisitor) error { + switch r.typeName { + default: + return fmt.Errorf("invalid type %s in %T", r.typeName, r) + case "integer": + return visitor.VisitInteger(r.Integer) + case "double": + return visitor.VisitDouble(r.Double) + } +} + +type RemoteFieldApiResponse struct { + Account []*RemoteFieldApi `json:"Account,omitempty"` + AccountingAttachment []*RemoteFieldApi `json:"AccountingAttachment,omitempty"` + BalanceSheet []*RemoteFieldApi `json:"BalanceSheet,omitempty"` + CashFlowStatement []*RemoteFieldApi `json:"CashFlowStatement,omitempty"` + CompanyInfo []*RemoteFieldApi `json:"CompanyInfo,omitempty"` + Contact []*RemoteFieldApi `json:"Contact,omitempty"` + IncomeStatement []*RemoteFieldApi `json:"IncomeStatement,omitempty"` + CreditNote []*RemoteFieldApi `json:"CreditNote,omitempty"` + Item []*RemoteFieldApi `json:"Item,omitempty"` + PurchaseOrder []*RemoteFieldApi `json:"PurchaseOrder,omitempty"` + TrackingCategory []*RemoteFieldApi `json:"TrackingCategory,omitempty"` + JournalEntry []*RemoteFieldApi `json:"JournalEntry,omitempty"` + TaxRate []*RemoteFieldApi `json:"TaxRate,omitempty"` + Invoice []*RemoteFieldApi `json:"Invoice,omitempty"` + Payment []*RemoteFieldApi `json:"Payment,omitempty"` + Expense []*RemoteFieldApi `json:"Expense,omitempty"` + VendorCredit []*RemoteFieldApi `json:"VendorCredit,omitempty"` + Transaction []*RemoteFieldApi `json:"Transaction,omitempty"` + AccountingPeriod []*RemoteFieldApi `json:"AccountingPeriod,omitempty"` + GeneralLedgerTransaction []*RemoteFieldApi `json:"GeneralLedgerTransaction,omitempty"` + BankFeedAccount []*RemoteFieldApi `json:"BankFeedAccount,omitempty"` + Employee []*RemoteFieldApi `json:"Employee,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteFieldApiResponse) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteFieldApiResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteFieldApiResponse(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteFieldApiResponse) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + +type RemoteFieldClass struct { + Id *string `json:"id,omitempty"` + DisplayName *string `json:"display_name,omitempty"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` + Description *string `json:"description,omitempty"` + IsCustom *bool `json:"is_custom,omitempty"` + IsRequired *bool `json:"is_required,omitempty"` + FieldType *FieldTypeEnum `json:"field_type,omitempty"` + FieldFormat *FieldFormatEnum `json:"field_format,omitempty"` + FieldChoices []string `json:"field_choices,omitempty"` + ItemSchema *ItemSchema `json:"item_schema,omitempty"` + + _rawJSON json.RawMessage } -func NewPurchaseOrderRequestStatusFromString(value string) *PurchaseOrderRequestStatus { - return &PurchaseOrderRequestStatus{typeName: "string", String: value} +func (r *RemoteFieldClass) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteFieldClass + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteFieldClass(value) + r._rawJSON = json.RawMessage(data) + return nil } -func (p *PurchaseOrderRequestStatus) UnmarshalJSON(data []byte) error { - var valuePurchaseOrderStatusEnum PurchaseOrderStatusEnum - if err := json.Unmarshal(data, &valuePurchaseOrderStatusEnum); err == nil { - p.typeName = "purchaseOrderStatusEnum" - p.PurchaseOrderStatusEnum = valuePurchaseOrderStatusEnum - return nil +func (r *RemoteFieldClass) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } } - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString - return nil + if value, err := core.StringifyJSON(r); err == nil { + return value } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + return fmt.Sprintf("%#v", r) } -func (p PurchaseOrderRequestStatus) MarshalJSON() ([]byte, error) { - switch p.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "purchaseOrderStatusEnum": - return json.Marshal(p.PurchaseOrderStatusEnum) - case "string": - return json.Marshal(p.String) - } +type RemoteFieldRequest struct { + RemoteFieldClass *RemoteFieldRequestRemoteFieldClass `json:"remote_field_class,omitempty"` + Value interface{} `json:"value,omitempty"` + + _rawJSON json.RawMessage } -type PurchaseOrderRequestStatusVisitor interface { - VisitPurchaseOrderStatusEnum(PurchaseOrderStatusEnum) error - VisitString(string) error +func (r *RemoteFieldRequest) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteFieldRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteFieldRequest(value) + r._rawJSON = json.RawMessage(data) + return nil } -func (p *PurchaseOrderRequestStatus) Accept(visitor PurchaseOrderRequestStatusVisitor) error { - switch p.typeName { - default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "purchaseOrderStatusEnum": - return visitor.VisitPurchaseOrderStatusEnum(p.PurchaseOrderStatusEnum) - case "string": - return visitor.VisitString(p.String) +func (r *RemoteFieldRequest) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) } -type PurchaseOrderRequestTrackingCategoriesItem struct { +type RemoteFieldRequestRemoteFieldClass struct { typeName string String string - TrackingCategory *TrackingCategory + RemoteFieldClass *RemoteFieldClass } -func NewPurchaseOrderRequestTrackingCategoriesItemFromString(value string) *PurchaseOrderRequestTrackingCategoriesItem { - return &PurchaseOrderRequestTrackingCategoriesItem{typeName: "string", String: value} +func NewRemoteFieldRequestRemoteFieldClassFromString(value string) *RemoteFieldRequestRemoteFieldClass { + return &RemoteFieldRequestRemoteFieldClass{typeName: "string", String: value} } -func NewPurchaseOrderRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *PurchaseOrderRequestTrackingCategoriesItem { - return &PurchaseOrderRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewRemoteFieldRequestRemoteFieldClassFromRemoteFieldClass(value *RemoteFieldClass) *RemoteFieldRequestRemoteFieldClass { + return &RemoteFieldRequestRemoteFieldClass{typeName: "remoteFieldClass", RemoteFieldClass: value} } -func (p *PurchaseOrderRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { +func (r *RemoteFieldRequestRemoteFieldClass) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString + r.typeName = "string" + r.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - p.typeName = "trackingCategory" - p.TrackingCategory = valueTrackingCategory + valueRemoteFieldClass := new(RemoteFieldClass) + if err := json.Unmarshal(data, &valueRemoteFieldClass); err == nil { + r.typeName = "remoteFieldClass" + r.RemoteFieldClass = valueRemoteFieldClass return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + return fmt.Errorf("%s cannot be deserialized as a %T", data, r) } -func (p PurchaseOrderRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch p.typeName { +func (r RemoteFieldRequestRemoteFieldClass) MarshalJSON() ([]byte, error) { + switch r.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + return nil, fmt.Errorf("invalid type %s in %T", r.typeName, r) case "string": - return json.Marshal(p.String) - case "trackingCategory": - return json.Marshal(p.TrackingCategory) + return json.Marshal(r.String) + case "remoteFieldClass": + return json.Marshal(r.RemoteFieldClass) } } -type PurchaseOrderRequestTrackingCategoriesItemVisitor interface { +type RemoteFieldRequestRemoteFieldClassVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitRemoteFieldClass(*RemoteFieldClass) error } -func (p *PurchaseOrderRequestTrackingCategoriesItem) Accept(visitor PurchaseOrderRequestTrackingCategoriesItemVisitor) error { - switch p.typeName { +func (r *RemoteFieldRequestRemoteFieldClass) Accept(visitor RemoteFieldRequestRemoteFieldClassVisitor) error { + switch r.typeName { default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) + return fmt.Errorf("invalid type %s in %T", r.typeName, r) case "string": - return visitor.VisitString(p.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(p.TrackingCategory) + return visitor.VisitString(r.String) + case "remoteFieldClass": + return visitor.VisitRemoteFieldClass(r.RemoteFieldClass) } } -// The party fulfilling the purchase order. -type PurchaseOrderRequestVendor struct { - typeName string - String string - Contact *Contact -} +// # The RemoteKey Object +// +// ### Description +// +// The `RemoteKey` object is used to represent a request for a new remote key. +// +// ### Usage Example +// +// Post a `GenerateRemoteKey` to receive a new `RemoteKey`. +type RemoteKey struct { + Name string `json:"name"` + Key string `json:"key"` -func NewPurchaseOrderRequestVendorFromString(value string) *PurchaseOrderRequestVendor { - return &PurchaseOrderRequestVendor{typeName: "string", String: value} + _rawJSON json.RawMessage } -func NewPurchaseOrderRequestVendorFromContact(value *Contact) *PurchaseOrderRequestVendor { - return &PurchaseOrderRequestVendor{typeName: "contact", Contact: value} +func (r *RemoteKey) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteKey + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteKey(value) + r._rawJSON = json.RawMessage(data) + return nil } -func (p *PurchaseOrderRequestVendor) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString - return nil +func (r *RemoteKey) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } } - valueContact := new(Contact) - if err := json.Unmarshal(data, &valueContact); err == nil { - p.typeName = "contact" - p.Contact = valueContact - return nil + if value, err := core.StringifyJSON(r); err == nil { + return value } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + return fmt.Sprintf("%#v", r) } -func (p PurchaseOrderRequestVendor) MarshalJSON() ([]byte, error) { - switch p.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "string": - return json.Marshal(p.String) - case "contact": - return json.Marshal(p.Contact) - } +// # The RemoteResponse Object +// +// ### Description +// +// The `RemoteResponse` object is used to represent information returned from a third-party endpoint. +// +// ### Usage Example +// +// View the `RemoteResponse` returned from your `DataPassthrough`. +type RemoteResponse struct { + Method string `json:"method"` + Path string `json:"path"` + Status int `json:"status"` + Response interface{} `json:"response,omitempty"` + ResponseHeaders map[string]interface{} `json:"response_headers,omitempty"` + ResponseType *ResponseTypeEnum `json:"response_type,omitempty"` + Headers map[string]interface{} `json:"headers,omitempty"` + + _rawJSON json.RawMessage } -type PurchaseOrderRequestVendorVisitor interface { - VisitString(string) error - VisitContact(*Contact) error +func (r *RemoteResponse) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteResponse(value) + r._rawJSON = json.RawMessage(data) + return nil } -func (p *PurchaseOrderRequestVendor) Accept(visitor PurchaseOrderRequestVendorVisitor) error { - switch p.typeName { - default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "string": - return visitor.VisitString(p.String) - case "contact": - return visitor.VisitContact(p.Contact) +func (r *RemoteResponse) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value } + return fmt.Sprintf("%#v", r) } -type PurchaseOrderResponse struct { - Model *PurchaseOrder `json:"model,omitempty"` - Warnings []*WarningValidationProblem `json:"warnings,omitempty"` - Errors []*ErrorValidationProblem `json:"errors,omitempty"` - Logs []*DebugModeLog `json:"logs,omitempty"` +// # The ReportItem Object +// +// ### Description +// +// The `ReportItem` object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report. +// +// ### Usage Example +// +// Fetch from the `GET BalanceSheet` endpoint and view the balance sheet's report items. +type ReportItem struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The report item's name. + Name *string `json:"name,omitempty"` + // The report item's value. + Value *float64 `json:"value,omitempty"` + SubItems []map[string]interface{} `json:"sub_items,omitempty"` + // The company the report item belongs to. + Company *string `json:"company,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage } -func (p *PurchaseOrderResponse) UnmarshalJSON(data []byte) error { - type unmarshaler PurchaseOrderResponse +func (r *ReportItem) UnmarshalJSON(data []byte) error { + type unmarshaler ReportItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *p = PurchaseOrderResponse(value) - p._rawJSON = json.RawMessage(data) + *r = ReportItem(value) + r._rawJSON = json.RawMessage(data) return nil } -func (p *PurchaseOrderResponse) String() string { - if len(p._rawJSON) > 0 { - if value, err := core.StringifyJSON(p._rawJSON); err == nil { +func (r *ReportItem) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(p); err == nil { + if value, err := core.StringifyJSON(r); err == nil { return value } - return fmt.Sprintf("%#v", p) + return fmt.Sprintf("%#v", r) } -// The purchase order's status. -// -// - `DRAFT` - DRAFT -// - `SUBMITTED` - SUBMITTED -// - `AUTHORIZED` - AUTHORIZED -// - `BILLED` - BILLED -// - `DELETED` - DELETED -type PurchaseOrderStatus struct { - typeName string - PurchaseOrderStatusEnum PurchaseOrderStatusEnum - String string -} +// - `JSON` - JSON +// - `XML` - XML +// - `MULTIPART` - MULTIPART +type RequestFormatEnum string -func NewPurchaseOrderStatusFromPurchaseOrderStatusEnum(value PurchaseOrderStatusEnum) *PurchaseOrderStatus { - return &PurchaseOrderStatus{typeName: "purchaseOrderStatusEnum", PurchaseOrderStatusEnum: value} +const ( + RequestFormatEnumJson RequestFormatEnum = "JSON" + RequestFormatEnumXml RequestFormatEnum = "XML" + RequestFormatEnumMultipart RequestFormatEnum = "MULTIPART" +) + +func NewRequestFormatEnumFromString(s string) (RequestFormatEnum, error) { + switch s { + case "JSON": + return RequestFormatEnumJson, nil + case "XML": + return RequestFormatEnumXml, nil + case "MULTIPART": + return RequestFormatEnumMultipart, nil + } + var t RequestFormatEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func NewPurchaseOrderStatusFromString(value string) *PurchaseOrderStatus { - return &PurchaseOrderStatus{typeName: "string", String: value} +func (r RequestFormatEnum) Ptr() *RequestFormatEnum { + return &r } -func (p *PurchaseOrderStatus) UnmarshalJSON(data []byte) error { - var valuePurchaseOrderStatusEnum PurchaseOrderStatusEnum - if err := json.Unmarshal(data, &valuePurchaseOrderStatusEnum); err == nil { - p.typeName = "purchaseOrderStatusEnum" - p.PurchaseOrderStatusEnum = valuePurchaseOrderStatusEnum - return nil +// - `JSON` - JSON +// - `BASE64_GZIP` - BASE64_GZIP +type ResponseTypeEnum string + +const ( + ResponseTypeEnumJson ResponseTypeEnum = "JSON" + ResponseTypeEnumBase64Gzip ResponseTypeEnum = "BASE64_GZIP" +) + +func NewResponseTypeEnumFromString(s string) (ResponseTypeEnum, error) { + switch s { + case "JSON": + return ResponseTypeEnumJson, nil + case "BASE64_GZIP": + return ResponseTypeEnumBase64Gzip, nil } - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString - return nil + var t ResponseTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (r ResponseTypeEnum) Ptr() *ResponseTypeEnum { + return &r +} + +// - `ADMIN` - ADMIN +// - `DEVELOPER` - DEVELOPER +// - `MEMBER` - MEMBER +// - `API` - API +// - `SYSTEM` - SYSTEM +// - `MERGE_TEAM` - MERGE_TEAM +type RoleEnum string + +const ( + RoleEnumAdmin RoleEnum = "ADMIN" + RoleEnumDeveloper RoleEnum = "DEVELOPER" + RoleEnumMember RoleEnum = "MEMBER" + RoleEnumApi RoleEnum = "API" + RoleEnumSystem RoleEnum = "SYSTEM" + RoleEnumMergeTeam RoleEnum = "MERGE_TEAM" +) + +func NewRoleEnumFromString(s string) (RoleEnum, error) { + switch s { + case "ADMIN": + return RoleEnumAdmin, nil + case "DEVELOPER": + return RoleEnumDeveloper, nil + case "MEMBER": + return RoleEnumMember, nil + case "API": + return RoleEnumApi, nil + case "SYSTEM": + return RoleEnumSystem, nil + case "MERGE_TEAM": + return RoleEnumMergeTeam, nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + var t RoleEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (p PurchaseOrderStatus) MarshalJSON() ([]byte, error) { - switch p.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "purchaseOrderStatusEnum": - return json.Marshal(p.PurchaseOrderStatusEnum) - case "string": - return json.Marshal(p.String) +func (r RoleEnum) Ptr() *RoleEnum { + return &r +} + +// - `IN_NEXT_SYNC` - IN_NEXT_SYNC +// - `IN_LAST_SYNC` - IN_LAST_SYNC +type SelectiveSyncConfigurationsUsageEnum string + +const ( + SelectiveSyncConfigurationsUsageEnumInNextSync SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" + SelectiveSyncConfigurationsUsageEnumInLastSync SelectiveSyncConfigurationsUsageEnum = "IN_LAST_SYNC" +) + +func NewSelectiveSyncConfigurationsUsageEnumFromString(s string) (SelectiveSyncConfigurationsUsageEnum, error) { + switch s { + case "IN_NEXT_SYNC": + return SelectiveSyncConfigurationsUsageEnumInNextSync, nil + case "IN_LAST_SYNC": + return SelectiveSyncConfigurationsUsageEnumInLastSync, nil } + var t SelectiveSyncConfigurationsUsageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -type PurchaseOrderStatusVisitor interface { - VisitPurchaseOrderStatusEnum(PurchaseOrderStatusEnum) error - VisitString(string) error +func (s SelectiveSyncConfigurationsUsageEnum) Ptr() *SelectiveSyncConfigurationsUsageEnum { + return &s } -func (p *PurchaseOrderStatus) Accept(visitor PurchaseOrderStatusVisitor) error { - switch p.typeName { - default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "purchaseOrderStatusEnum": - return visitor.VisitPurchaseOrderStatusEnum(p.PurchaseOrderStatusEnum) - case "string": - return visitor.VisitString(p.String) +// - `ACTIVE` - ACTIVE +// - `ARCHIVED` - ARCHIVED +type Status7D1Enum string + +const ( + Status7D1EnumActive Status7D1Enum = "ACTIVE" + Status7D1EnumArchived Status7D1Enum = "ARCHIVED" +) + +func NewStatus7D1EnumFromString(s string) (Status7D1Enum, error) { + switch s { + case "ACTIVE": + return Status7D1EnumActive, nil + case "ARCHIVED": + return Status7D1EnumArchived, nil } + var t Status7D1Enum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -// - `DRAFT` - DRAFT -// - `SUBMITTED` - SUBMITTED -// - `AUTHORIZED` - AUTHORIZED -// - `BILLED` - BILLED -// - `DELETED` - DELETED -type PurchaseOrderStatusEnum string +func (s Status7D1Enum) Ptr() *Status7D1Enum { + return &s +} + +// - `ACTIVE` - ACTIVE +// - `INACTIVE` - INACTIVE +type Status895Enum string const ( - PurchaseOrderStatusEnumDraft PurchaseOrderStatusEnum = "DRAFT" - PurchaseOrderStatusEnumSubmitted PurchaseOrderStatusEnum = "SUBMITTED" - PurchaseOrderStatusEnumAuthorized PurchaseOrderStatusEnum = "AUTHORIZED" - PurchaseOrderStatusEnumBilled PurchaseOrderStatusEnum = "BILLED" - PurchaseOrderStatusEnumDeleted PurchaseOrderStatusEnum = "DELETED" + Status895EnumActive Status895Enum = "ACTIVE" + Status895EnumInactive Status895Enum = "INACTIVE" +) + +func NewStatus895EnumFromString(s string) (Status895Enum, error) { + switch s { + case "ACTIVE": + return Status895EnumActive, nil + case "INACTIVE": + return Status895EnumInactive, nil + } + var t Status895Enum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (s Status895Enum) Ptr() *Status895Enum { + return &s +} + +// # The SyncStatus Object +// +// ### Description +// +// # The `SyncStatus` object is used to represent the syncing state of an account +// +// ### Usage Example +// +// View the `SyncStatus` for an account to see how recently its models were synced. +type SyncStatus struct { + ModelName string `json:"model_name"` + ModelId string `json:"model_id"` + LastSyncStart *time.Time `json:"last_sync_start,omitempty"` + NextSyncStart *time.Time `json:"next_sync_start,omitempty"` + Status SyncStatusStatusEnum `json:"status,omitempty"` + IsInitialSync bool `json:"is_initial_sync"` + SelectiveSyncConfigurationsUsage *SelectiveSyncConfigurationsUsageEnum `json:"selective_sync_configurations_usage,omitempty"` + + _rawJSON json.RawMessage +} + +func (s *SyncStatus) UnmarshalJSON(data []byte) error { + type unmarshaler SyncStatus + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *s = SyncStatus(value) + s._rawJSON = json.RawMessage(data) + return nil +} + +func (s *SyncStatus) String() string { + if len(s._rawJSON) > 0 { + if value, err := core.StringifyJSON(s._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(s); err == nil { + return value + } + return fmt.Sprintf("%#v", s) +} + +// - `SYNCING` - SYNCING +// - `DONE` - DONE +// - `FAILED` - FAILED +// - `DISABLED` - DISABLED +// - `PAUSED` - PAUSED +// - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED +type SyncStatusStatusEnum string + +const ( + SyncStatusStatusEnumSyncing SyncStatusStatusEnum = "SYNCING" + SyncStatusStatusEnumDone SyncStatusStatusEnum = "DONE" + SyncStatusStatusEnumFailed SyncStatusStatusEnum = "FAILED" + SyncStatusStatusEnumDisabled SyncStatusStatusEnum = "DISABLED" + SyncStatusStatusEnumPaused SyncStatusStatusEnum = "PAUSED" + SyncStatusStatusEnumPartiallySynced SyncStatusStatusEnum = "PARTIALLY_SYNCED" ) -func NewPurchaseOrderStatusEnumFromString(s string) (PurchaseOrderStatusEnum, error) { +func NewSyncStatusStatusEnumFromString(s string) (SyncStatusStatusEnum, error) { switch s { - case "DRAFT": - return PurchaseOrderStatusEnumDraft, nil - case "SUBMITTED": - return PurchaseOrderStatusEnumSubmitted, nil - case "AUTHORIZED": - return PurchaseOrderStatusEnumAuthorized, nil - case "BILLED": - return PurchaseOrderStatusEnumBilled, nil - case "DELETED": - return PurchaseOrderStatusEnumDeleted, nil + case "SYNCING": + return SyncStatusStatusEnumSyncing, nil + case "DONE": + return SyncStatusStatusEnumDone, nil + case "FAILED": + return SyncStatusStatusEnumFailed, nil + case "DISABLED": + return SyncStatusStatusEnumDisabled, nil + case "PAUSED": + return SyncStatusStatusEnumPaused, nil + case "PARTIALLY_SYNCED": + return SyncStatusStatusEnumPartiallySynced, nil } - var t PurchaseOrderStatusEnum + var t SyncStatusStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (p PurchaseOrderStatusEnum) Ptr() *PurchaseOrderStatusEnum { - return &p -} - -type PurchaseOrderTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +func (s SyncStatusStatusEnum) Ptr() *SyncStatusStatusEnum { + return &s } -func NewPurchaseOrderTrackingCategoriesItemFromString(value string) *PurchaseOrderTrackingCategoriesItem { - return &PurchaseOrderTrackingCategoriesItem{typeName: "string", String: value} -} +// # The TaxRate Object +// +// ### Description +// +// The `TaxComponent` object is used to represent any sub-taxes that make up the `TaxRate`. +// +// ### Usage Example +// +// Fetch from the `LIST TaxRates` endpoint and view tax components relevant to a tax rate. +type TaxComponent struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The tax rate’s name. + Name *string `json:"name,omitempty"` + // The tax component’s rate. + Rate *string `json:"rate,omitempty"` + // Returns True if the tax component is compound, False if not. + IsCompound *bool `json:"is_compound,omitempty"` + // Returns PURCHASE if the tax component corresponds to a purchase tax or SALES if the tax component corresponds to a sales tax. + // + // - `SALES` - SALES + // - `PURCHASE` - PURCHASE + ComponentType *TaxComponentComponentType `json:"component_type,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` -func NewPurchaseOrderTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *PurchaseOrderTrackingCategoriesItem { - return &PurchaseOrderTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} + _rawJSON json.RawMessage } -func (p *PurchaseOrderTrackingCategoriesItem) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString - return nil - } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - p.typeName = "trackingCategory" - p.TrackingCategory = valueTrackingCategory - return nil +func (t *TaxComponent) UnmarshalJSON(data []byte) error { + type unmarshaler TaxComponent + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + *t = TaxComponent(value) + t._rawJSON = json.RawMessage(data) + return nil } -func (p PurchaseOrderTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch p.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "string": - return json.Marshal(p.String) - case "trackingCategory": - return json.Marshal(p.TrackingCategory) +func (t *TaxComponent) String() string { + if len(t._rawJSON) > 0 { + if value, err := core.StringifyJSON(t._rawJSON); err == nil { + return value + } } -} - -type PurchaseOrderTrackingCategoriesItemVisitor interface { - VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error -} - -func (p *PurchaseOrderTrackingCategoriesItem) Accept(visitor PurchaseOrderTrackingCategoriesItemVisitor) error { - switch p.typeName { - default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) - case "string": - return visitor.VisitString(p.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(p.TrackingCategory) + if value, err := core.StringifyJSON(t); err == nil { + return value } + return fmt.Sprintf("%#v", t) } -// The party fulfilling the purchase order. -type PurchaseOrderVendor struct { - typeName string - String string - Contact *Contact +// Returns PURCHASE if the tax component corresponds to a purchase tax or SALES if the tax component corresponds to a sales tax. +// +// - `SALES` - SALES +// - `PURCHASE` - PURCHASE +type TaxComponentComponentType struct { + typeName string + ComponentTypeEnum ComponentTypeEnum + String string } -func NewPurchaseOrderVendorFromString(value string) *PurchaseOrderVendor { - return &PurchaseOrderVendor{typeName: "string", String: value} +func NewTaxComponentComponentTypeFromComponentTypeEnum(value ComponentTypeEnum) *TaxComponentComponentType { + return &TaxComponentComponentType{typeName: "componentTypeEnum", ComponentTypeEnum: value} } -func NewPurchaseOrderVendorFromContact(value *Contact) *PurchaseOrderVendor { - return &PurchaseOrderVendor{typeName: "contact", Contact: value} +func NewTaxComponentComponentTypeFromString(value string) *TaxComponentComponentType { + return &TaxComponentComponentType{typeName: "string", String: value} } -func (p *PurchaseOrderVendor) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - p.typeName = "string" - p.String = valueString +func (t *TaxComponentComponentType) UnmarshalJSON(data []byte) error { + var valueComponentTypeEnum ComponentTypeEnum + if err := json.Unmarshal(data, &valueComponentTypeEnum); err == nil { + t.typeName = "componentTypeEnum" + t.ComponentTypeEnum = valueComponentTypeEnum return nil } - valueContact := new(Contact) - if err := json.Unmarshal(data, &valueContact); err == nil { - p.typeName = "contact" - p.Contact = valueContact + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, p) + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (p PurchaseOrderVendor) MarshalJSON() ([]byte, error) { - switch p.typeName { +func (t TaxComponentComponentType) MarshalJSON() ([]byte, error) { + switch t.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", p.typeName, p) + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "componentTypeEnum": + return json.Marshal(t.ComponentTypeEnum) case "string": - return json.Marshal(p.String) - case "contact": - return json.Marshal(p.Contact) + return json.Marshal(t.String) } } -type PurchaseOrderVendorVisitor interface { +type TaxComponentComponentTypeVisitor interface { + VisitComponentTypeEnum(ComponentTypeEnum) error VisitString(string) error - VisitContact(*Contact) error } -func (p *PurchaseOrderVendor) Accept(visitor PurchaseOrderVendorVisitor) error { - switch p.typeName { +func (t *TaxComponentComponentType) Accept(visitor TaxComponentComponentTypeVisitor) error { + switch t.typeName { default: - return fmt.Errorf("invalid type %s in %T", p.typeName, p) + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "componentTypeEnum": + return visitor.VisitComponentTypeEnum(t.ComponentTypeEnum) case "string": - return visitor.VisitString(p.String) - case "contact": - return visitor.VisitContact(p.Contact) + return visitor.VisitString(t.String) } } -type RemoteData struct { - Path string `json:"path"` - Data interface{} `json:"data,omitempty"` +// # The TaxRate Object +// +// ### Description +// +// The `TaxRate` object is used to represent a tax rate. +// +// ### Usage Example +// +// Fetch from the `LIST TaxRates` endpoint and view tax rates relevant to a company. +type TaxRate struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The subsidiary that the tax rate belongs to (in the case of multi-entity systems). + Company *TaxRateCompany `json:"company,omitempty"` + // The tax code associated with this tax rate or group of tax rates from the third-party platform. + Code *string `json:"code,omitempty"` + // The tax rate’s name. + Name *string `json:"name,omitempty"` + // The tax rate's description. + Description *string `json:"description,omitempty"` + // The tax rate’s status - `ACTIVE` if an active tax rate, `ARCHIVED` if not active. + // + // - `ACTIVE` - ACTIVE + // - `ARCHIVED` - ARCHIVED + Status *TaxRateStatus `json:"status,omitempty"` + // The country the tax rate is associated with. + Country *string `json:"country,omitempty"` + // The tax’s total tax rate - sum of the tax components (not compounded). + TotalTaxRate *float64 `json:"total_tax_rate,omitempty"` + // The tax rate’s effective tax rate - total amount of tax with compounding. + EffectiveTaxRate *float64 `json:"effective_tax_rate,omitempty"` + // The related tax components of the tax rate. + TaxComponents []*TaxRateTaxComponentsItem `json:"tax_components,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (r *RemoteData) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteData +func (t *TaxRate) UnmarshalJSON(data []byte) error { + type unmarshaler TaxRate var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *r = RemoteData(value) - r._rawJSON = json.RawMessage(data) + *t = TaxRate(value) + t._rawJSON = json.RawMessage(data) return nil } -func (r *RemoteData) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { +func (t *TaxRate) String() string { + if len(t._rawJSON) > 0 { + if value, err := core.StringifyJSON(t._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(r); err == nil { + if value, err := core.StringifyJSON(t); err == nil { return value } - return fmt.Sprintf("%#v", r) + return fmt.Sprintf("%#v", t) } -type RemoteEndpointInfo struct { - Method string `json:"method"` - UrlPath string `json:"url_path"` - FieldTraversalPath []interface{} `json:"field_traversal_path,omitempty"` +// The subsidiary that the tax rate belongs to (in the case of multi-entity systems). +type TaxRateCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} - _rawJSON json.RawMessage +func NewTaxRateCompanyFromString(value string) *TaxRateCompany { + return &TaxRateCompany{typeName: "string", String: value} } -func (r *RemoteEndpointInfo) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteEndpointInfo - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *r = RemoteEndpointInfo(value) - r._rawJSON = json.RawMessage(data) - return nil +func NewTaxRateCompanyFromCompanyInfo(value *CompanyInfo) *TaxRateCompany { + return &TaxRateCompany{typeName: "companyInfo", CompanyInfo: value} } -func (r *RemoteEndpointInfo) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { - return value - } +func (t *TaxRateCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil } - if value, err := core.StringifyJSON(r); err == nil { - return value + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + t.typeName = "companyInfo" + t.CompanyInfo = valueCompanyInfo + return nil } - return fmt.Sprintf("%#v", r) + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -type RemoteFieldApi struct { - Schema map[string]interface{} `json:"schema,omitempty"` - RemoteKeyName string `json:"remote_key_name"` - RemoteEndpointInfo *RemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` - ExampleValues []interface{} `json:"example_values,omitempty"` - AdvancedMetadata *AdvancedMetadata `json:"advanced_metadata,omitempty"` - Coverage *RemoteFieldApiCoverage `json:"coverage,omitempty"` - - _rawJSON json.RawMessage +func (t TaxRateCompany) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "companyInfo": + return json.Marshal(t.CompanyInfo) + } } -func (r *RemoteFieldApi) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteFieldApi - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *r = RemoteFieldApi(value) - r._rawJSON = json.RawMessage(data) - return nil +type TaxRateCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error } -func (r *RemoteFieldApi) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(r); err == nil { - return value +func (t *TaxRateCompany) Accept(visitor TaxRateCompanyVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "companyInfo": + return visitor.VisitCompanyInfo(t.CompanyInfo) } - return fmt.Sprintf("%#v", r) } -type RemoteFieldApiCoverage struct { - typeName string - Integer int - Double float64 +// The tax rate’s status - `ACTIVE` if an active tax rate, `ARCHIVED` if not active. +// +// - `ACTIVE` - ACTIVE +// - `ARCHIVED` - ARCHIVED +type TaxRateStatus struct { + typeName string + Status7D1Enum Status7D1Enum + String string } -func NewRemoteFieldApiCoverageFromInteger(value int) *RemoteFieldApiCoverage { - return &RemoteFieldApiCoverage{typeName: "integer", Integer: value} +func NewTaxRateStatusFromStatus7D1Enum(value Status7D1Enum) *TaxRateStatus { + return &TaxRateStatus{typeName: "status7D1Enum", Status7D1Enum: value} } -func NewRemoteFieldApiCoverageFromDouble(value float64) *RemoteFieldApiCoverage { - return &RemoteFieldApiCoverage{typeName: "double", Double: value} +func NewTaxRateStatusFromString(value string) *TaxRateStatus { + return &TaxRateStatus{typeName: "string", String: value} } -func (r *RemoteFieldApiCoverage) UnmarshalJSON(data []byte) error { - var valueInteger int - if err := json.Unmarshal(data, &valueInteger); err == nil { - r.typeName = "integer" - r.Integer = valueInteger +func (t *TaxRateStatus) UnmarshalJSON(data []byte) error { + var valueStatus7D1Enum Status7D1Enum + if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { + t.typeName = "status7D1Enum" + t.Status7D1Enum = valueStatus7D1Enum return nil } - var valueDouble float64 - if err := json.Unmarshal(data, &valueDouble); err == nil { - r.typeName = "double" - r.Double = valueDouble + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, r) + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (r RemoteFieldApiCoverage) MarshalJSON() ([]byte, error) { - switch r.typeName { +func (t TaxRateStatus) MarshalJSON() ([]byte, error) { + switch t.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", r.typeName, r) - case "integer": - return json.Marshal(r.Integer) - case "double": - return json.Marshal(r.Double) + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "status7D1Enum": + return json.Marshal(t.Status7D1Enum) + case "string": + return json.Marshal(t.String) } } -type RemoteFieldApiCoverageVisitor interface { - VisitInteger(int) error - VisitDouble(float64) error +type TaxRateStatusVisitor interface { + VisitStatus7D1Enum(Status7D1Enum) error + VisitString(string) error } -func (r *RemoteFieldApiCoverage) Accept(visitor RemoteFieldApiCoverageVisitor) error { - switch r.typeName { +func (t *TaxRateStatus) Accept(visitor TaxRateStatusVisitor) error { + switch t.typeName { default: - return fmt.Errorf("invalid type %s in %T", r.typeName, r) - case "integer": - return visitor.VisitInteger(r.Integer) - case "double": - return visitor.VisitDouble(r.Double) - } -} - -type RemoteFieldApiResponse struct { - Account []*RemoteFieldApi `json:"Account,omitempty"` - AccountingAttachment []*RemoteFieldApi `json:"AccountingAttachment,omitempty"` - BalanceSheet []*RemoteFieldApi `json:"BalanceSheet,omitempty"` - CashFlowStatement []*RemoteFieldApi `json:"CashFlowStatement,omitempty"` - CompanyInfo []*RemoteFieldApi `json:"CompanyInfo,omitempty"` - Contact []*RemoteFieldApi `json:"Contact,omitempty"` - IncomeStatement []*RemoteFieldApi `json:"IncomeStatement,omitempty"` - CreditNote []*RemoteFieldApi `json:"CreditNote,omitempty"` - Item []*RemoteFieldApi `json:"Item,omitempty"` - PurchaseOrder []*RemoteFieldApi `json:"PurchaseOrder,omitempty"` - TrackingCategory []*RemoteFieldApi `json:"TrackingCategory,omitempty"` - JournalEntry []*RemoteFieldApi `json:"JournalEntry,omitempty"` - TaxRate []*RemoteFieldApi `json:"TaxRate,omitempty"` - Invoice []*RemoteFieldApi `json:"Invoice,omitempty"` - Payment []*RemoteFieldApi `json:"Payment,omitempty"` - Expense []*RemoteFieldApi `json:"Expense,omitempty"` - VendorCredit []*RemoteFieldApi `json:"VendorCredit,omitempty"` - Transaction []*RemoteFieldApi `json:"Transaction,omitempty"` - GeneralLedgerTransaction []*RemoteFieldApi `json:"GeneralLedgerTransaction,omitempty"` - - _rawJSON json.RawMessage -} - -func (r *RemoteFieldApiResponse) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteFieldApiResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "status7D1Enum": + return visitor.VisitStatus7D1Enum(t.Status7D1Enum) + case "string": + return visitor.VisitString(t.String) } - *r = RemoteFieldApiResponse(value) - r._rawJSON = json.RawMessage(data) - return nil } -func (r *RemoteFieldApiResponse) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(r); err == nil { - return value - } - return fmt.Sprintf("%#v", r) +type TaxRateTaxComponentsItem struct { + typeName string + String string + TaxComponent *TaxComponent } -// # The RemoteKey Object -// -// ### Description -// -// The `RemoteKey` object is used to represent a request for a new remote key. -// -// ### Usage Example -// -// Post a `GenerateRemoteKey` to receive a new `RemoteKey`. -type RemoteKey struct { - Name string `json:"name"` - Key string `json:"key"` - - _rawJSON json.RawMessage +func NewTaxRateTaxComponentsItemFromString(value string) *TaxRateTaxComponentsItem { + return &TaxRateTaxComponentsItem{typeName: "string", String: value} } -func (r *RemoteKey) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteKey - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *r = RemoteKey(value) - r._rawJSON = json.RawMessage(data) - return nil +func NewTaxRateTaxComponentsItemFromTaxComponent(value *TaxComponent) *TaxRateTaxComponentsItem { + return &TaxRateTaxComponentsItem{typeName: "taxComponent", TaxComponent: value} } -func (r *RemoteKey) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { - return value - } +func (t *TaxRateTaxComponentsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil } - if value, err := core.StringifyJSON(r); err == nil { - return value + valueTaxComponent := new(TaxComponent) + if err := json.Unmarshal(data, &valueTaxComponent); err == nil { + t.typeName = "taxComponent" + t.TaxComponent = valueTaxComponent + return nil } - return fmt.Sprintf("%#v", r) + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -// # The RemoteResponse Object -// -// ### Description -// -// The `RemoteResponse` object is used to represent information returned from a third-party endpoint. -// -// ### Usage Example -// -// View the `RemoteResponse` returned from your `DataPassthrough`. -type RemoteResponse struct { - Method string `json:"method"` - Path string `json:"path"` - Status int `json:"status"` - Response interface{} `json:"response,omitempty"` - ResponseHeaders map[string]interface{} `json:"response_headers,omitempty"` - ResponseType *ResponseTypeEnum `json:"response_type,omitempty"` - Headers map[string]interface{} `json:"headers,omitempty"` - - _rawJSON json.RawMessage +func (t TaxRateTaxComponentsItem) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "taxComponent": + return json.Marshal(t.TaxComponent) + } } -func (r *RemoteResponse) UnmarshalJSON(data []byte) error { - type unmarshaler RemoteResponse - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err - } - *r = RemoteResponse(value) - r._rawJSON = json.RawMessage(data) - return nil +type TaxRateTaxComponentsItemVisitor interface { + VisitString(string) error + VisitTaxComponent(*TaxComponent) error } -func (r *RemoteResponse) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { - return value - } - } - if value, err := core.StringifyJSON(r); err == nil { - return value +func (t *TaxRateTaxComponentsItem) Accept(visitor TaxRateTaxComponentsItemVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "taxComponent": + return visitor.VisitTaxComponent(t.TaxComponent) } - return fmt.Sprintf("%#v", r) } -// # The ReportItem Object +// # The TrackingCategory Object // // ### Description // -// The `ReportItem` object is used to represent a report item for a Balance Sheet, Cash Flow Statement or Profit and Loss Report. +// A `TrackingCategory` object represents a categorization method used to classify transactions within an accounting platform. They are often used to group records for reporting and analysis purposes. The most common types of `TrackingCategories` are Classes and Departments. // // ### Usage Example // -// Fetch from the `GET BalanceSheet` endpoint and view the balance sheet's report items. -type ReportItem struct { +// Fetch from the `GET TrackingCategory` endpoint and view a company's tracking category. +type TrackingCategory struct { + Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` // The datetime that this object was created by Merge. CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The report item's name. + // The tracking category's name. Name *string `json:"name,omitempty"` - // The report item's value. - Value *float64 `json:"value,omitempty"` - SubItems []map[string]interface{} `json:"sub_items,omitempty"` - // The company the report item belongs to. - Company *string `json:"company,omitempty"` + // The tracking category's status. + // + // - `ACTIVE` - ACTIVE + // - `ARCHIVED` - ARCHIVED + Status *TrackingCategoryStatus `json:"status,omitempty"` + // The tracking category’s type. + // + // - `CLASS` - CLASS + // - `DEPARTMENT` - DEPARTMENT + CategoryType *TrackingCategoryCategoryType `json:"category_type,omitempty"` + ParentCategory *string `json:"parent_category,omitempty"` + // The company the GeneralLedgerTransaction belongs to. + Company *TrackingCategoryCompany `json:"company,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` _rawJSON json.RawMessage } -func (r *ReportItem) UnmarshalJSON(data []byte) error { - type unmarshaler ReportItem +func (t *TrackingCategory) UnmarshalJSON(data []byte) error { + type unmarshaler TrackingCategory var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *r = ReportItem(value) - r._rawJSON = json.RawMessage(data) + *t = TrackingCategory(value) + t._rawJSON = json.RawMessage(data) return nil } -func (r *ReportItem) String() string { - if len(r._rawJSON) > 0 { - if value, err := core.StringifyJSON(r._rawJSON); err == nil { +func (t *TrackingCategory) String() string { + if len(t._rawJSON) > 0 { + if value, err := core.StringifyJSON(t._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(r); err == nil { + if value, err := core.StringifyJSON(t); err == nil { return value } - return fmt.Sprintf("%#v", r) + return fmt.Sprintf("%#v", t) } -// - `JSON` - JSON -// - `XML` - XML -// - `MULTIPART` - MULTIPART -type RequestFormatEnum string +// The tracking category’s type. +// +// - `CLASS` - CLASS +// - `DEPARTMENT` - DEPARTMENT +type TrackingCategoryCategoryType struct { + typeName string + CategoryTypeEnum CategoryTypeEnum + String string +} -const ( - RequestFormatEnumJson RequestFormatEnum = "JSON" - RequestFormatEnumXml RequestFormatEnum = "XML" - RequestFormatEnumMultipart RequestFormatEnum = "MULTIPART" -) +func NewTrackingCategoryCategoryTypeFromCategoryTypeEnum(value CategoryTypeEnum) *TrackingCategoryCategoryType { + return &TrackingCategoryCategoryType{typeName: "categoryTypeEnum", CategoryTypeEnum: value} +} -func NewRequestFormatEnumFromString(s string) (RequestFormatEnum, error) { - switch s { - case "JSON": - return RequestFormatEnumJson, nil - case "XML": - return RequestFormatEnumXml, nil - case "MULTIPART": - return RequestFormatEnumMultipart, nil - } - var t RequestFormatEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +func NewTrackingCategoryCategoryTypeFromString(value string) *TrackingCategoryCategoryType { + return &TrackingCategoryCategoryType{typeName: "string", String: value} } -func (r RequestFormatEnum) Ptr() *RequestFormatEnum { - return &r +func (t *TrackingCategoryCategoryType) UnmarshalJSON(data []byte) error { + var valueCategoryTypeEnum CategoryTypeEnum + if err := json.Unmarshal(data, &valueCategoryTypeEnum); err == nil { + t.typeName = "categoryTypeEnum" + t.CategoryTypeEnum = valueCategoryTypeEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -// - `JSON` - JSON -// - `BASE64_GZIP` - BASE64_GZIP -type ResponseTypeEnum string +func (t TrackingCategoryCategoryType) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "categoryTypeEnum": + return json.Marshal(t.CategoryTypeEnum) + case "string": + return json.Marshal(t.String) + } +} -const ( - ResponseTypeEnumJson ResponseTypeEnum = "JSON" - ResponseTypeEnumBase64Gzip ResponseTypeEnum = "BASE64_GZIP" -) +type TrackingCategoryCategoryTypeVisitor interface { + VisitCategoryTypeEnum(CategoryTypeEnum) error + VisitString(string) error +} -func NewResponseTypeEnumFromString(s string) (ResponseTypeEnum, error) { - switch s { - case "JSON": - return ResponseTypeEnumJson, nil - case "BASE64_GZIP": - return ResponseTypeEnumBase64Gzip, nil +func (t *TrackingCategoryCategoryType) Accept(visitor TrackingCategoryCategoryTypeVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "categoryTypeEnum": + return visitor.VisitCategoryTypeEnum(t.CategoryTypeEnum) + case "string": + return visitor.VisitString(t.String) } - var t ResponseTypeEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (r ResponseTypeEnum) Ptr() *ResponseTypeEnum { - return &r +// The company the GeneralLedgerTransaction belongs to. +type TrackingCategoryCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo } -// - `ADMIN` - ADMIN -// - `DEVELOPER` - DEVELOPER -// - `MEMBER` - MEMBER -// - `API` - API -// - `SYSTEM` - SYSTEM -// - `MERGE_TEAM` - MERGE_TEAM -type RoleEnum string +func NewTrackingCategoryCompanyFromString(value string) *TrackingCategoryCompany { + return &TrackingCategoryCompany{typeName: "string", String: value} +} -const ( - RoleEnumAdmin RoleEnum = "ADMIN" - RoleEnumDeveloper RoleEnum = "DEVELOPER" - RoleEnumMember RoleEnum = "MEMBER" - RoleEnumApi RoleEnum = "API" - RoleEnumSystem RoleEnum = "SYSTEM" - RoleEnumMergeTeam RoleEnum = "MERGE_TEAM" -) +func NewTrackingCategoryCompanyFromCompanyInfo(value *CompanyInfo) *TrackingCategoryCompany { + return &TrackingCategoryCompany{typeName: "companyInfo", CompanyInfo: value} +} -func NewRoleEnumFromString(s string) (RoleEnum, error) { - switch s { - case "ADMIN": - return RoleEnumAdmin, nil - case "DEVELOPER": - return RoleEnumDeveloper, nil - case "MEMBER": - return RoleEnumMember, nil - case "API": - return RoleEnumApi, nil - case "SYSTEM": - return RoleEnumSystem, nil - case "MERGE_TEAM": - return RoleEnumMergeTeam, nil +func (t *TrackingCategoryCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil } - var t RoleEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + t.typeName = "companyInfo" + t.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (r RoleEnum) Ptr() *RoleEnum { - return &r +func (t TrackingCategoryCompany) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "companyInfo": + return json.Marshal(t.CompanyInfo) + } } -// - `IN_NEXT_SYNC` - IN_NEXT_SYNC -// - `IN_LAST_SYNC` - IN_LAST_SYNC -type SelectiveSyncConfigurationsUsageEnum string - -const ( - SelectiveSyncConfigurationsUsageEnumInNextSync SelectiveSyncConfigurationsUsageEnum = "IN_NEXT_SYNC" - SelectiveSyncConfigurationsUsageEnumInLastSync SelectiveSyncConfigurationsUsageEnum = "IN_LAST_SYNC" -) - -func NewSelectiveSyncConfigurationsUsageEnumFromString(s string) (SelectiveSyncConfigurationsUsageEnum, error) { - switch s { - case "IN_NEXT_SYNC": - return SelectiveSyncConfigurationsUsageEnumInNextSync, nil - case "IN_LAST_SYNC": - return SelectiveSyncConfigurationsUsageEnumInLastSync, nil - } - var t SelectiveSyncConfigurationsUsageEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +type TrackingCategoryCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error } -func (s SelectiveSyncConfigurationsUsageEnum) Ptr() *SelectiveSyncConfigurationsUsageEnum { - return &s +func (t *TrackingCategoryCompany) Accept(visitor TrackingCategoryCompanyVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "companyInfo": + return visitor.VisitCompanyInfo(t.CompanyInfo) + } } +// The tracking category's status. +// // - `ACTIVE` - ACTIVE // - `ARCHIVED` - ARCHIVED -type Status7D1Enum string +type TrackingCategoryStatus struct { + typeName string + Status7D1Enum Status7D1Enum + String string +} -const ( - Status7D1EnumActive Status7D1Enum = "ACTIVE" - Status7D1EnumArchived Status7D1Enum = "ARCHIVED" -) +func NewTrackingCategoryStatusFromStatus7D1Enum(value Status7D1Enum) *TrackingCategoryStatus { + return &TrackingCategoryStatus{typeName: "status7D1Enum", Status7D1Enum: value} +} -func NewStatus7D1EnumFromString(s string) (Status7D1Enum, error) { - switch s { - case "ACTIVE": - return Status7D1EnumActive, nil - case "ARCHIVED": - return Status7D1EnumArchived, nil +func NewTrackingCategoryStatusFromString(value string) *TrackingCategoryStatus { + return &TrackingCategoryStatus{typeName: "string", String: value} +} + +func (t *TrackingCategoryStatus) UnmarshalJSON(data []byte) error { + var valueStatus7D1Enum Status7D1Enum + if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { + t.typeName = "status7D1Enum" + t.Status7D1Enum = valueStatus7D1Enum + return nil } - var t Status7D1Enum - return "", fmt.Errorf("%s is not a valid %T", s, t) + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (s Status7D1Enum) Ptr() *Status7D1Enum { - return &s +func (t TrackingCategoryStatus) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "status7D1Enum": + return json.Marshal(t.Status7D1Enum) + case "string": + return json.Marshal(t.String) + } } -// # The SyncStatus Object +type TrackingCategoryStatusVisitor interface { + VisitStatus7D1Enum(Status7D1Enum) error + VisitString(string) error +} + +func (t *TrackingCategoryStatus) Accept(visitor TrackingCategoryStatusVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "status7D1Enum": + return visitor.VisitStatus7D1Enum(t.Status7D1Enum) + case "string": + return visitor.VisitString(t.String) + } +} + +// # The Transaction Object // // ### Description // -// # The `SyncStatus` object is used to represent the syncing state of an account +// The `Transaction` common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of: +// +// - **Credit Notes** +// - **Expenses** +// - **Invoices** +// - **Journal Entries** +// - **Payments** +// - **Purchase Orders** +// - **Vendor Credits** // // ### Usage Example // -// View the `SyncStatus` for an account to see how recently its models were synced. -type SyncStatus struct { - ModelName string `json:"model_name"` - ModelId string `json:"model_id"` - LastSyncStart *time.Time `json:"last_sync_start,omitempty"` - NextSyncStart *time.Time `json:"next_sync_start,omitempty"` - Status SyncStatusStatusEnum `json:"status,omitempty"` - IsInitialSync bool `json:"is_initial_sync"` - SelectiveSyncConfigurationsUsage *SelectiveSyncConfigurationsUsageEnum `json:"selective_sync_configurations_usage,omitempty"` +// Fetch from the `GET Transaction` endpoint and view a company's transactions. +type Transaction struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The type of transaction, which can by any transaction object not already included in Merge’s common model. + TransactionType *string `json:"transaction_type,omitempty"` + // The transaction's number used for identifying purposes. + Number *string `json:"number,omitempty"` + // The date upon which the transaction occurred. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The transaction's account. + Account *TransactionAccount `json:"account,omitempty"` + // The contact to whom the transaction relates to. + Contact *TransactionContact `json:"contact,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + // The total amount being paid after taxes. + TotalAmount *string `json:"total_amount,omitempty"` + // The transaction's currency. + // + // - `XUA` - ADB Unit of Account + // - `AFN` - Afghan Afghani + // - `AFA` - Afghan Afghani (1927–2002) + // - `ALL` - Albanian Lek + // - `ALK` - Albanian Lek (1946–1965) + // - `DZD` - Algerian Dinar + // - `ADP` - Andorran Peseta + // - `AOA` - Angolan Kwanza + // - `AOK` - Angolan Kwanza (1977–1991) + // - `AON` - Angolan New Kwanza (1990–2000) + // - `AOR` - Angolan Readjusted Kwanza (1995–1999) + // - `ARA` - Argentine Austral + // - `ARS` - Argentine Peso + // - `ARM` - Argentine Peso (1881–1970) + // - `ARP` - Argentine Peso (1983–1985) + // - `ARL` - Argentine Peso Ley (1970–1983) + // - `AMD` - Armenian Dram + // - `AWG` - Aruban Florin + // - `AUD` - Australian Dollar + // - `ATS` - Austrian Schilling + // - `AZN` - Azerbaijani Manat + // - `AZM` - Azerbaijani Manat (1993–2006) + // - `BSD` - Bahamian Dollar + // - `BHD` - Bahraini Dinar + // - `BDT` - Bangladeshi Taka + // - `BBD` - Barbadian Dollar + // - `BYN` - Belarusian Ruble + // - `BYB` - Belarusian Ruble (1994–1999) + // - `BYR` - Belarusian Ruble (2000–2016) + // - `BEF` - Belgian Franc + // - `BEC` - Belgian Franc (convertible) + // - `BEL` - Belgian Franc (financial) + // - `BZD` - Belize Dollar + // - `BMD` - Bermudan Dollar + // - `BTN` - Bhutanese Ngultrum + // - `BOB` - Bolivian Boliviano + // - `BOL` - Bolivian Boliviano (1863–1963) + // - `BOV` - Bolivian Mvdol + // - `BOP` - Bolivian Peso + // - `BAM` - Bosnia-Herzegovina Convertible Mark + // - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + // - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + // - `BWP` - Botswanan Pula + // - `BRC` - Brazilian Cruzado (1986–1989) + // - `BRZ` - Brazilian Cruzeiro (1942–1967) + // - `BRE` - Brazilian Cruzeiro (1990–1993) + // - `BRR` - Brazilian Cruzeiro (1993–1994) + // - `BRN` - Brazilian New Cruzado (1989–1990) + // - `BRB` - Brazilian New Cruzeiro (1967–1986) + // - `BRL` - Brazilian Real + // - `GBP` - British Pound + // - `BND` - Brunei Dollar + // - `BGL` - Bulgarian Hard Lev + // - `BGN` - Bulgarian Lev + // - `BGO` - Bulgarian Lev (1879–1952) + // - `BGM` - Bulgarian Socialist Lev + // - `BUK` - Burmese Kyat + // - `BIF` - Burundian Franc + // - `XPF` - CFP Franc + // - `KHR` - Cambodian Riel + // - `CAD` - Canadian Dollar + // - `CVE` - Cape Verdean Escudo + // - `KYD` - Cayman Islands Dollar + // - `XAF` - Central African CFA Franc + // - `CLE` - Chilean Escudo + // - `CLP` - Chilean Peso + // - `CLF` - Chilean Unit of Account (UF) + // - `CNX` - Chinese People’s Bank Dollar + // - `CNY` - Chinese Yuan + // - `CNH` - Chinese Yuan (offshore) + // - `COP` - Colombian Peso + // - `COU` - Colombian Real Value Unit + // - `KMF` - Comorian Franc + // - `CDF` - Congolese Franc + // - `CRC` - Costa Rican Colón + // - `HRD` - Croatian Dinar + // - `HRK` - Croatian Kuna + // - `CUC` - Cuban Convertible Peso + // - `CUP` - Cuban Peso + // - `CYP` - Cypriot Pound + // - `CZK` - Czech Koruna + // - `CSK` - Czechoslovak Hard Koruna + // - `DKK` - Danish Krone + // - `DJF` - Djiboutian Franc + // - `DOP` - Dominican Peso + // - `NLG` - Dutch Guilder + // - `XCD` - East Caribbean Dollar + // - `DDM` - East German Mark + // - `ECS` - Ecuadorian Sucre + // - `ECV` - Ecuadorian Unit of Constant Value + // - `EGP` - Egyptian Pound + // - `GQE` - Equatorial Guinean Ekwele + // - `ERN` - Eritrean Nakfa + // - `EEK` - Estonian Kroon + // - `ETB` - Ethiopian Birr + // - `EUR` - Euro + // - `XBA` - European Composite Unit + // - `XEU` - European Currency Unit + // - `XBB` - European Monetary Unit + // - `XBC` - European Unit of Account (XBC) + // - `XBD` - European Unit of Account (XBD) + // - `FKP` - Falkland Islands Pound + // - `FJD` - Fijian Dollar + // - `FIM` - Finnish Markka + // - `FRF` - French Franc + // - `XFO` - French Gold Franc + // - `XFU` - French UIC-Franc + // - `GMD` - Gambian Dalasi + // - `GEK` - Georgian Kupon Larit + // - `GEL` - Georgian Lari + // - `DEM` - German Mark + // - `GHS` - Ghanaian Cedi + // - `GHC` - Ghanaian Cedi (1979–2007) + // - `GIP` - Gibraltar Pound + // - `XAU` - Gold + // - `GRD` - Greek Drachma + // - `GTQ` - Guatemalan Quetzal + // - `GWP` - Guinea-Bissau Peso + // - `GNF` - Guinean Franc + // - `GNS` - Guinean Syli + // - `GYD` - Guyanaese Dollar + // - `HTG` - Haitian Gourde + // - `HNL` - Honduran Lempira + // - `HKD` - Hong Kong Dollar + // - `HUF` - Hungarian Forint + // - `IMP` - IMP + // - `ISK` - Icelandic Króna + // - `ISJ` - Icelandic Króna (1918–1981) + // - `INR` - Indian Rupee + // - `IDR` - Indonesian Rupiah + // - `IRR` - Iranian Rial + // - `IQD` - Iraqi Dinar + // - `IEP` - Irish Pound + // - `ILS` - Israeli New Shekel + // - `ILP` - Israeli Pound + // - `ILR` - Israeli Shekel (1980–1985) + // - `ITL` - Italian Lira + // - `JMD` - Jamaican Dollar + // - `JPY` - Japanese Yen + // - `JOD` - Jordanian Dinar + // - `KZT` - Kazakhstani Tenge + // - `KES` - Kenyan Shilling + // - `KWD` - Kuwaiti Dinar + // - `KGS` - Kyrgystani Som + // - `LAK` - Laotian Kip + // - `LVL` - Latvian Lats + // - `LVR` - Latvian Ruble + // - `LBP` - Lebanese Pound + // - `LSL` - Lesotho Loti + // - `LRD` - Liberian Dollar + // - `LYD` - Libyan Dinar + // - `LTL` - Lithuanian Litas + // - `LTT` - Lithuanian Talonas + // - `LUL` - Luxembourg Financial Franc + // - `LUC` - Luxembourgian Convertible Franc + // - `LUF` - Luxembourgian Franc + // - `MOP` - Macanese Pataca + // - `MKD` - Macedonian Denar + // - `MKN` - Macedonian Denar (1992–1993) + // - `MGA` - Malagasy Ariary + // - `MGF` - Malagasy Franc + // - `MWK` - Malawian Kwacha + // - `MYR` - Malaysian Ringgit + // - `MVR` - Maldivian Rufiyaa + // - `MVP` - Maldivian Rupee (1947–1981) + // - `MLF` - Malian Franc + // - `MTL` - Maltese Lira + // - `MTP` - Maltese Pound + // - `MRU` - Mauritanian Ouguiya + // - `MRO` - Mauritanian Ouguiya (1973–2017) + // - `MUR` - Mauritian Rupee + // - `MXV` - Mexican Investment Unit + // - `MXN` - Mexican Peso + // - `MXP` - Mexican Silver Peso (1861–1992) + // - `MDC` - Moldovan Cupon + // - `MDL` - Moldovan Leu + // - `MCF` - Monegasque Franc + // - `MNT` - Mongolian Tugrik + // - `MAD` - Moroccan Dirham + // - `MAF` - Moroccan Franc + // - `MZE` - Mozambican Escudo + // - `MZN` - Mozambican Metical + // - `MZM` - Mozambican Metical (1980–2006) + // - `MMK` - Myanmar Kyat + // - `NAD` - Namibian Dollar + // - `NPR` - Nepalese Rupee + // - `ANG` - Netherlands Antillean Guilder + // - `TWD` - New Taiwan Dollar + // - `NZD` - New Zealand Dollar + // - `NIO` - Nicaraguan Córdoba + // - `NIC` - Nicaraguan Córdoba (1988–1991) + // - `NGN` - Nigerian Naira + // - `KPW` - North Korean Won + // - `NOK` - Norwegian Krone + // - `OMR` - Omani Rial + // - `PKR` - Pakistani Rupee + // - `XPD` - Palladium + // - `PAB` - Panamanian Balboa + // - `PGK` - Papua New Guinean Kina + // - `PYG` - Paraguayan Guarani + // - `PEI` - Peruvian Inti + // - `PEN` - Peruvian Sol + // - `PES` - Peruvian Sol (1863–1965) + // - `PHP` - Philippine Peso + // - `XPT` - Platinum + // - `PLN` - Polish Zloty + // - `PLZ` - Polish Zloty (1950–1995) + // - `PTE` - Portuguese Escudo + // - `GWE` - Portuguese Guinea Escudo + // - `QAR` - Qatari Rial + // - `XRE` - RINET Funds + // - `RHD` - Rhodesian Dollar + // - `RON` - Romanian Leu + // - `ROL` - Romanian Leu (1952–2006) + // - `RUB` - Russian Ruble + // - `RUR` - Russian Ruble (1991–1998) + // - `RWF` - Rwandan Franc + // - `SVC` - Salvadoran Colón + // - `WST` - Samoan Tala + // - `SAR` - Saudi Riyal + // - `RSD` - Serbian Dinar + // - `CSD` - Serbian Dinar (2002–2006) + // - `SCR` - Seychellois Rupee + // - `SLL` - Sierra Leonean Leone + // - `XAG` - Silver + // - `SGD` - Singapore Dollar + // - `SKK` - Slovak Koruna + // - `SIT` - Slovenian Tolar + // - `SBD` - Solomon Islands Dollar + // - `SOS` - Somali Shilling + // - `ZAR` - South African Rand + // - `ZAL` - South African Rand (financial) + // - `KRH` - South Korean Hwan (1953–1962) + // - `KRW` - South Korean Won + // - `KRO` - South Korean Won (1945–1953) + // - `SSP` - South Sudanese Pound + // - `SUR` - Soviet Rouble + // - `ESP` - Spanish Peseta + // - `ESA` - Spanish Peseta (A account) + // - `ESB` - Spanish Peseta (convertible account) + // - `XDR` - Special Drawing Rights + // - `LKR` - Sri Lankan Rupee + // - `SHP` - St. Helena Pound + // - `XSU` - Sucre + // - `SDD` - Sudanese Dinar (1992–2007) + // - `SDG` - Sudanese Pound + // - `SDP` - Sudanese Pound (1957–1998) + // - `SRD` - Surinamese Dollar + // - `SRG` - Surinamese Guilder + // - `SZL` - Swazi Lilangeni + // - `SEK` - Swedish Krona + // - `CHF` - Swiss Franc + // - `SYP` - Syrian Pound + // - `STN` - São Tomé & Príncipe Dobra + // - `STD` - São Tomé & Príncipe Dobra (1977–2017) + // - `TVD` - TVD + // - `TJR` - Tajikistani Ruble + // - `TJS` - Tajikistani Somoni + // - `TZS` - Tanzanian Shilling + // - `XTS` - Testing Currency Code + // - `THB` - Thai Baht + // - `XXX` - The codes assigned for transactions where no currency is involved + // - `TPE` - Timorese Escudo + // - `TOP` - Tongan Paʻanga + // - `TTD` - Trinidad & Tobago Dollar + // - `TND` - Tunisian Dinar + // - `TRY` - Turkish Lira + // - `TRL` - Turkish Lira (1922–2005) + // - `TMT` - Turkmenistani Manat + // - `TMM` - Turkmenistani Manat (1993–2009) + // - `USD` - US Dollar + // - `USN` - US Dollar (Next day) + // - `USS` - US Dollar (Same day) + // - `UGX` - Ugandan Shilling + // - `UGS` - Ugandan Shilling (1966–1987) + // - `UAH` - Ukrainian Hryvnia + // - `UAK` - Ukrainian Karbovanets + // - `AED` - United Arab Emirates Dirham + // - `UYW` - Uruguayan Nominal Wage Index Unit + // - `UYU` - Uruguayan Peso + // - `UYP` - Uruguayan Peso (1975–1993) + // - `UYI` - Uruguayan Peso (Indexed Units) + // - `UZS` - Uzbekistani Som + // - `VUV` - Vanuatu Vatu + // - `VES` - Venezuelan Bolívar + // - `VEB` - Venezuelan Bolívar (1871–2008) + // - `VEF` - Venezuelan Bolívar (2008–2018) + // - `VND` - Vietnamese Dong + // - `VNN` - Vietnamese Dong (1978–1985) + // - `CHE` - WIR Euro + // - `CHW` - WIR Franc + // - `XOF` - West African CFA Franc + // - `YDD` - Yemeni Dinar + // - `YER` - Yemeni Rial + // - `YUN` - Yugoslavian Convertible Dinar (1990–1992) + // - `YUD` - Yugoslavian Hard Dinar (1966–1990) + // - `YUM` - Yugoslavian New Dinar (1994–2002) + // - `YUR` - Yugoslavian Reformed Dinar (1992–1993) + // - `ZWN` - ZWN + // - `ZRN` - Zairean New Zaire (1993–1998) + // - `ZRZ` - Zairean Zaire (1971–1993) + // - `ZMW` - Zambian Kwacha + // - `ZMK` - Zambian Kwacha (1968–2012) + // - `ZWD` - Zimbabwean Dollar (1980–2008) + // - `ZWR` - Zimbabwean Dollar (2008) + // - `ZWL` - Zimbabwean Dollar (2009) + Currency *TransactionCurrency `json:"currency,omitempty"` + // The transaction's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + // The company the transaction belongs to. + Company *string `json:"company,omitempty"` + TrackingCategories []*TransactionTrackingCategoriesItem `json:"tracking_categories,omitempty"` + LineItems []*TransactionLineItem `json:"line_items,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // The accounting period that the Transaction was generated in. + AccountingPeriod *TransactionAccountingPeriod `json:"accounting_period,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (s *SyncStatus) UnmarshalJSON(data []byte) error { - type unmarshaler SyncStatus +func (t *Transaction) UnmarshalJSON(data []byte) error { + type unmarshaler Transaction var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *s = SyncStatus(value) - s._rawJSON = json.RawMessage(data) + *t = Transaction(value) + t._rawJSON = json.RawMessage(data) return nil } -func (s *SyncStatus) String() string { - if len(s._rawJSON) > 0 { - if value, err := core.StringifyJSON(s._rawJSON); err == nil { +func (t *Transaction) String() string { + if len(t._rawJSON) > 0 { + if value, err := core.StringifyJSON(t._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(s); err == nil { + if value, err := core.StringifyJSON(t); err == nil { return value } - return fmt.Sprintf("%#v", s) + return fmt.Sprintf("%#v", t) } -// - `SYNCING` - SYNCING -// - `DONE` - DONE -// - `FAILED` - FAILED -// - `DISABLED` - DISABLED -// - `PAUSED` - PAUSED -// - `PARTIALLY_SYNCED` - PARTIALLY_SYNCED -type SyncStatusStatusEnum string - -const ( - SyncStatusStatusEnumSyncing SyncStatusStatusEnum = "SYNCING" - SyncStatusStatusEnumDone SyncStatusStatusEnum = "DONE" - SyncStatusStatusEnumFailed SyncStatusStatusEnum = "FAILED" - SyncStatusStatusEnumDisabled SyncStatusStatusEnum = "DISABLED" - SyncStatusStatusEnumPaused SyncStatusStatusEnum = "PAUSED" - SyncStatusStatusEnumPartiallySynced SyncStatusStatusEnum = "PARTIALLY_SYNCED" -) - -func NewSyncStatusStatusEnumFromString(s string) (SyncStatusStatusEnum, error) { - switch s { - case "SYNCING": - return SyncStatusStatusEnumSyncing, nil - case "DONE": - return SyncStatusStatusEnumDone, nil - case "FAILED": - return SyncStatusStatusEnumFailed, nil - case "DISABLED": - return SyncStatusStatusEnumDisabled, nil - case "PAUSED": - return SyncStatusStatusEnumPaused, nil - case "PARTIALLY_SYNCED": - return SyncStatusStatusEnumPartiallySynced, nil - } - var t SyncStatusStatusEnum - return "", fmt.Errorf("%s is not a valid %T", s, t) +// The transaction's account. +type TransactionAccount struct { + typeName string + String string + Account *Account } -func (s SyncStatusStatusEnum) Ptr() *SyncStatusStatusEnum { - return &s +func NewTransactionAccountFromString(value string) *TransactionAccount { + return &TransactionAccount{typeName: "string", String: value} } -// # The TaxRate Object -// -// ### Description -// -// The `TaxRate` object is used to represent a tax rate. -// -// ### Usage Example -// -// Fetch from the `LIST TaxRates` endpoint and view tax rates relevant to a company. -type TaxRate struct { - Id *string `json:"id,omitempty"` - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The tax rate's description. - Description *string `json:"description,omitempty"` - // The tax’s total tax rate - sum of the tax components (not compounded). - TotalTaxRate *float64 `json:"total_tax_rate,omitempty"` - // The tax rate’s effective tax rate - total amount of tax with compounding. - EffectiveTaxRate *float64 `json:"effective_tax_rate,omitempty"` - // The subsidiary that the tax rate belongs to (in the case of multi-entity systems). - Company *TaxRateCompany `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` - - _rawJSON json.RawMessage +func NewTransactionAccountFromAccount(value *Account) *TransactionAccount { + return &TransactionAccount{typeName: "account", Account: value} } -func (t *TaxRate) UnmarshalJSON(data []byte) error { - type unmarshaler TaxRate - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func (t *TransactionAccount) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil } - *t = TaxRate(value) - t._rawJSON = json.RawMessage(data) - return nil + valueAccount := new(Account) + if err := json.Unmarshal(data, &valueAccount); err == nil { + t.typeName = "account" + t.Account = valueAccount + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (t *TaxRate) String() string { - if len(t._rawJSON) > 0 { - if value, err := core.StringifyJSON(t._rawJSON); err == nil { - return value - } +func (t TransactionAccount) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "account": + return json.Marshal(t.Account) } - if value, err := core.StringifyJSON(t); err == nil { - return value +} + +type TransactionAccountVisitor interface { + VisitString(string) error + VisitAccount(*Account) error +} + +func (t *TransactionAccount) Accept(visitor TransactionAccountVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "account": + return visitor.VisitAccount(t.Account) } - return fmt.Sprintf("%#v", t) } -// The subsidiary that the tax rate belongs to (in the case of multi-entity systems). -type TaxRateCompany struct { - typeName string - String string - CompanyInfo *CompanyInfo +// The accounting period that the Transaction was generated in. +type TransactionAccountingPeriod struct { + typeName string + String string + AccountingPeriod *AccountingPeriod } -func NewTaxRateCompanyFromString(value string) *TaxRateCompany { - return &TaxRateCompany{typeName: "string", String: value} +func NewTransactionAccountingPeriodFromString(value string) *TransactionAccountingPeriod { + return &TransactionAccountingPeriod{typeName: "string", String: value} } -func NewTaxRateCompanyFromCompanyInfo(value *CompanyInfo) *TaxRateCompany { - return &TaxRateCompany{typeName: "companyInfo", CompanyInfo: value} +func NewTransactionAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *TransactionAccountingPeriod { + return &TransactionAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} } -func (t *TaxRateCompany) UnmarshalJSON(data []byte) error { +func (t *TransactionAccountingPeriod) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { t.typeName = "string" t.String = valueString return nil } - valueCompanyInfo := new(CompanyInfo) - if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - t.typeName = "companyInfo" - t.CompanyInfo = valueCompanyInfo + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + t.typeName = "accountingPeriod" + t.AccountingPeriod = valueAccountingPeriod return nil } return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (t TaxRateCompany) MarshalJSON() ([]byte, error) { +func (t TransactionAccountingPeriod) MarshalJSON() ([]byte, error) { switch t.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) case "string": return json.Marshal(t.String) - case "companyInfo": - return json.Marshal(t.CompanyInfo) + case "accountingPeriod": + return json.Marshal(t.AccountingPeriod) } } -type TaxRateCompanyVisitor interface { +type TransactionAccountingPeriodVisitor interface { VisitString(string) error - VisitCompanyInfo(*CompanyInfo) error + VisitAccountingPeriod(*AccountingPeriod) error } -func (t *TaxRateCompany) Accept(visitor TaxRateCompanyVisitor) error { +func (t *TransactionAccountingPeriod) Accept(visitor TransactionAccountingPeriodVisitor) error { switch t.typeName { default: return fmt.Errorf("invalid type %s in %T", t.typeName, t) case "string": return visitor.VisitString(t.String) - case "companyInfo": - return visitor.VisitCompanyInfo(t.CompanyInfo) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(t.AccountingPeriod) } } -// # The TrackingCategory Object -// -// ### Description -// -// A `TrackingCategory` object represents a categorization method used to classify transactions within an accounting platform. They are often used to group records for reporting and analysis purposes. The most common types of `TrackingCategories` are Classes and Departments. -// -// ### Usage Example -// -// Fetch from the `GET TrackingCategory` endpoint and view a company's tracking category. -type TrackingCategory struct { - Id *string `json:"id,omitempty"` - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The tracking category's name. - Name *string `json:"name,omitempty"` - // The tracking category's status. - // - // - `ACTIVE` - ACTIVE - // - `ARCHIVED` - ARCHIVED - Status *TrackingCategoryStatus `json:"status,omitempty"` - // The tracking category’s type. - // - // - `CLASS` - CLASS - // - `DEPARTMENT` - DEPARTMENT - CategoryType *TrackingCategoryCategoryType `json:"category_type,omitempty"` - // ID of the parent tracking category. - ParentCategory *string `json:"parent_category,omitempty"` - // The company the tracking category belongs to. - Company *TrackingCategoryCompany `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` +// The contact to whom the transaction relates to. +type TransactionContact struct { + typeName string + String string + Contact *Contact +} - _rawJSON json.RawMessage +func NewTransactionContactFromString(value string) *TransactionContact { + return &TransactionContact{typeName: "string", String: value} } -func (t *TrackingCategory) UnmarshalJSON(data []byte) error { - type unmarshaler TrackingCategory - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func NewTransactionContactFromContact(value *Contact) *TransactionContact { + return &TransactionContact{typeName: "contact", Contact: value} +} + +func (t *TransactionContact) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil } - *t = TrackingCategory(value) - t._rawJSON = json.RawMessage(data) - return nil + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + t.typeName = "contact" + t.Contact = valueContact + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (t *TrackingCategory) String() string { - if len(t._rawJSON) > 0 { - if value, err := core.StringifyJSON(t._rawJSON); err == nil { - return value - } +func (t TransactionContact) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "contact": + return json.Marshal(t.Contact) } - if value, err := core.StringifyJSON(t); err == nil { - return value +} + +type TransactionContactVisitor interface { + VisitString(string) error + VisitContact(*Contact) error +} + +func (t *TransactionContact) Accept(visitor TransactionContactVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "contact": + return visitor.VisitContact(t.Contact) } - return fmt.Sprintf("%#v", t) } -// The tracking category’s type. +// The transaction's currency. // -// - `CLASS` - CLASS -// - `DEPARTMENT` - DEPARTMENT -type TrackingCategoryCategoryType struct { - typeName string - CategoryTypeEnum CategoryTypeEnum - String string +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type TransactionCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewTrackingCategoryCategoryTypeFromCategoryTypeEnum(value CategoryTypeEnum) *TrackingCategoryCategoryType { - return &TrackingCategoryCategoryType{typeName: "categoryTypeEnum", CategoryTypeEnum: value} +func NewTransactionCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *TransactionCurrency { + return &TransactionCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewTrackingCategoryCategoryTypeFromString(value string) *TrackingCategoryCategoryType { - return &TrackingCategoryCategoryType{typeName: "string", String: value} +func NewTransactionCurrencyFromString(value string) *TransactionCurrency { + return &TransactionCurrency{typeName: "string", String: value} } -func (t *TrackingCategoryCategoryType) UnmarshalJSON(data []byte) error { - var valueCategoryTypeEnum CategoryTypeEnum - if err := json.Unmarshal(data, &valueCategoryTypeEnum); err == nil { - t.typeName = "categoryTypeEnum" - t.CategoryTypeEnum = valueCategoryTypeEnum - return nil - } - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString +func (t *TransactionCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + t.typeName = "transactionCurrencyEnum" + t.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) -} - -func (t TrackingCategoryCategoryType) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "categoryTypeEnum": - return json.Marshal(t.CategoryTypeEnum) - case "string": - return json.Marshal(t.String) - } -} - -type TrackingCategoryCategoryTypeVisitor interface { - VisitCategoryTypeEnum(CategoryTypeEnum) error - VisitString(string) error -} - -func (t *TrackingCategoryCategoryType) Accept(visitor TrackingCategoryCategoryTypeVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "categoryTypeEnum": - return visitor.VisitCategoryTypeEnum(t.CategoryTypeEnum) - case "string": - return visitor.VisitString(t.String) - } -} - -// The company the tracking category belongs to. -type TrackingCategoryCompany struct { - typeName string - String string - CompanyInfo *CompanyInfo -} - -func NewTrackingCategoryCompanyFromString(value string) *TrackingCategoryCompany { - return &TrackingCategoryCompany{typeName: "string", String: value} -} - -func NewTrackingCategoryCompanyFromCompanyInfo(value *CompanyInfo) *TrackingCategoryCompany { - return &TrackingCategoryCompany{typeName: "companyInfo", CompanyInfo: value} -} - -func (t *TrackingCategoryCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { t.typeName = "string" t.String = valueString return nil } - valueCompanyInfo := new(CompanyInfo) - if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { - t.typeName = "companyInfo" - t.CompanyInfo = valueCompanyInfo - return nil - } return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (t TrackingCategoryCompany) MarshalJSON() ([]byte, error) { +func (t TransactionCurrency) MarshalJSON() ([]byte, error) { switch t.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "transactionCurrencyEnum": + return json.Marshal(t.TransactionCurrencyEnum) case "string": return json.Marshal(t.String) - case "companyInfo": - return json.Marshal(t.CompanyInfo) } } -type TrackingCategoryCompanyVisitor interface { +type TransactionCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error - VisitCompanyInfo(*CompanyInfo) error } -func (t *TrackingCategoryCompany) Accept(visitor TrackingCategoryCompanyVisitor) error { +func (t *TransactionCurrency) Accept(visitor TransactionCurrencyVisitor) error { switch t.typeName { default: return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(t.TransactionCurrencyEnum) case "string": return visitor.VisitString(t.String) - case "companyInfo": - return visitor.VisitCompanyInfo(t.CompanyInfo) } } -// The tracking category's status. -// -// - `ACTIVE` - ACTIVE -// - `ARCHIVED` - ARCHIVED -type TrackingCategoryStatus struct { - typeName string - Status7D1Enum Status7D1Enum - String string -} - -func NewTrackingCategoryStatusFromStatus7D1Enum(value Status7D1Enum) *TrackingCategoryStatus { - return &TrackingCategoryStatus{typeName: "status7D1Enum", Status7D1Enum: value} -} - -func NewTrackingCategoryStatusFromString(value string) *TrackingCategoryStatus { - return &TrackingCategoryStatus{typeName: "string", String: value} -} +// - `XUA` - ADB Unit of Account +// - `AFN` - Afghan Afghani +// - `AFA` - Afghan Afghani (1927–2002) +// - `ALL` - Albanian Lek +// - `ALK` - Albanian Lek (1946–1965) +// - `DZD` - Algerian Dinar +// - `ADP` - Andorran Peseta +// - `AOA` - Angolan Kwanza +// - `AOK` - Angolan Kwanza (1977–1991) +// - `AON` - Angolan New Kwanza (1990–2000) +// - `AOR` - Angolan Readjusted Kwanza (1995–1999) +// - `ARA` - Argentine Austral +// - `ARS` - Argentine Peso +// - `ARM` - Argentine Peso (1881–1970) +// - `ARP` - Argentine Peso (1983–1985) +// - `ARL` - Argentine Peso Ley (1970–1983) +// - `AMD` - Armenian Dram +// - `AWG` - Aruban Florin +// - `AUD` - Australian Dollar +// - `ATS` - Austrian Schilling +// - `AZN` - Azerbaijani Manat +// - `AZM` - Azerbaijani Manat (1993–2006) +// - `BSD` - Bahamian Dollar +// - `BHD` - Bahraini Dinar +// - `BDT` - Bangladeshi Taka +// - `BBD` - Barbadian Dollar +// - `BYN` - Belarusian Ruble +// - `BYB` - Belarusian Ruble (1994–1999) +// - `BYR` - Belarusian Ruble (2000–2016) +// - `BEF` - Belgian Franc +// - `BEC` - Belgian Franc (convertible) +// - `BEL` - Belgian Franc (financial) +// - `BZD` - Belize Dollar +// - `BMD` - Bermudan Dollar +// - `BTN` - Bhutanese Ngultrum +// - `BOB` - Bolivian Boliviano +// - `BOL` - Bolivian Boliviano (1863–1963) +// - `BOV` - Bolivian Mvdol +// - `BOP` - Bolivian Peso +// - `BAM` - Bosnia-Herzegovina Convertible Mark +// - `BAD` - Bosnia-Herzegovina Dinar (1992–1994) +// - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) +// - `BWP` - Botswanan Pula +// - `BRC` - Brazilian Cruzado (1986–1989) +// - `BRZ` - Brazilian Cruzeiro (1942–1967) +// - `BRE` - Brazilian Cruzeiro (1990–1993) +// - `BRR` - Brazilian Cruzeiro (1993–1994) +// - `BRN` - Brazilian New Cruzado (1989–1990) +// - `BRB` - Brazilian New Cruzeiro (1967–1986) +// - `BRL` - Brazilian Real +// - `GBP` - British Pound +// - `BND` - Brunei Dollar +// - `BGL` - Bulgarian Hard Lev +// - `BGN` - Bulgarian Lev +// - `BGO` - Bulgarian Lev (1879–1952) +// - `BGM` - Bulgarian Socialist Lev +// - `BUK` - Burmese Kyat +// - `BIF` - Burundian Franc +// - `XPF` - CFP Franc +// - `KHR` - Cambodian Riel +// - `CAD` - Canadian Dollar +// - `CVE` - Cape Verdean Escudo +// - `KYD` - Cayman Islands Dollar +// - `XAF` - Central African CFA Franc +// - `CLE` - Chilean Escudo +// - `CLP` - Chilean Peso +// - `CLF` - Chilean Unit of Account (UF) +// - `CNX` - Chinese People’s Bank Dollar +// - `CNY` - Chinese Yuan +// - `CNH` - Chinese Yuan (offshore) +// - `COP` - Colombian Peso +// - `COU` - Colombian Real Value Unit +// - `KMF` - Comorian Franc +// - `CDF` - Congolese Franc +// - `CRC` - Costa Rican Colón +// - `HRD` - Croatian Dinar +// - `HRK` - Croatian Kuna +// - `CUC` - Cuban Convertible Peso +// - `CUP` - Cuban Peso +// - `CYP` - Cypriot Pound +// - `CZK` - Czech Koruna +// - `CSK` - Czechoslovak Hard Koruna +// - `DKK` - Danish Krone +// - `DJF` - Djiboutian Franc +// - `DOP` - Dominican Peso +// - `NLG` - Dutch Guilder +// - `XCD` - East Caribbean Dollar +// - `DDM` - East German Mark +// - `ECS` - Ecuadorian Sucre +// - `ECV` - Ecuadorian Unit of Constant Value +// - `EGP` - Egyptian Pound +// - `GQE` - Equatorial Guinean Ekwele +// - `ERN` - Eritrean Nakfa +// - `EEK` - Estonian Kroon +// - `ETB` - Ethiopian Birr +// - `EUR` - Euro +// - `XBA` - European Composite Unit +// - `XEU` - European Currency Unit +// - `XBB` - European Monetary Unit +// - `XBC` - European Unit of Account (XBC) +// - `XBD` - European Unit of Account (XBD) +// - `FKP` - Falkland Islands Pound +// - `FJD` - Fijian Dollar +// - `FIM` - Finnish Markka +// - `FRF` - French Franc +// - `XFO` - French Gold Franc +// - `XFU` - French UIC-Franc +// - `GMD` - Gambian Dalasi +// - `GEK` - Georgian Kupon Larit +// - `GEL` - Georgian Lari +// - `DEM` - German Mark +// - `GHS` - Ghanaian Cedi +// - `GHC` - Ghanaian Cedi (1979–2007) +// - `GIP` - Gibraltar Pound +// - `XAU` - Gold +// - `GRD` - Greek Drachma +// - `GTQ` - Guatemalan Quetzal +// - `GWP` - Guinea-Bissau Peso +// - `GNF` - Guinean Franc +// - `GNS` - Guinean Syli +// - `GYD` - Guyanaese Dollar +// - `HTG` - Haitian Gourde +// - `HNL` - Honduran Lempira +// - `HKD` - Hong Kong Dollar +// - `HUF` - Hungarian Forint +// - `IMP` - IMP +// - `ISK` - Icelandic Króna +// - `ISJ` - Icelandic Króna (1918–1981) +// - `INR` - Indian Rupee +// - `IDR` - Indonesian Rupiah +// - `IRR` - Iranian Rial +// - `IQD` - Iraqi Dinar +// - `IEP` - Irish Pound +// - `ILS` - Israeli New Shekel +// - `ILP` - Israeli Pound +// - `ILR` - Israeli Shekel (1980–1985) +// - `ITL` - Italian Lira +// - `JMD` - Jamaican Dollar +// - `JPY` - Japanese Yen +// - `JOD` - Jordanian Dinar +// - `KZT` - Kazakhstani Tenge +// - `KES` - Kenyan Shilling +// - `KWD` - Kuwaiti Dinar +// - `KGS` - Kyrgystani Som +// - `LAK` - Laotian Kip +// - `LVL` - Latvian Lats +// - `LVR` - Latvian Ruble +// - `LBP` - Lebanese Pound +// - `LSL` - Lesotho Loti +// - `LRD` - Liberian Dollar +// - `LYD` - Libyan Dinar +// - `LTL` - Lithuanian Litas +// - `LTT` - Lithuanian Talonas +// - `LUL` - Luxembourg Financial Franc +// - `LUC` - Luxembourgian Convertible Franc +// - `LUF` - Luxembourgian Franc +// - `MOP` - Macanese Pataca +// - `MKD` - Macedonian Denar +// - `MKN` - Macedonian Denar (1992–1993) +// - `MGA` - Malagasy Ariary +// - `MGF` - Malagasy Franc +// - `MWK` - Malawian Kwacha +// - `MYR` - Malaysian Ringgit +// - `MVR` - Maldivian Rufiyaa +// - `MVP` - Maldivian Rupee (1947–1981) +// - `MLF` - Malian Franc +// - `MTL` - Maltese Lira +// - `MTP` - Maltese Pound +// - `MRU` - Mauritanian Ouguiya +// - `MRO` - Mauritanian Ouguiya (1973–2017) +// - `MUR` - Mauritian Rupee +// - `MXV` - Mexican Investment Unit +// - `MXN` - Mexican Peso +// - `MXP` - Mexican Silver Peso (1861–1992) +// - `MDC` - Moldovan Cupon +// - `MDL` - Moldovan Leu +// - `MCF` - Monegasque Franc +// - `MNT` - Mongolian Tugrik +// - `MAD` - Moroccan Dirham +// - `MAF` - Moroccan Franc +// - `MZE` - Mozambican Escudo +// - `MZN` - Mozambican Metical +// - `MZM` - Mozambican Metical (1980–2006) +// - `MMK` - Myanmar Kyat +// - `NAD` - Namibian Dollar +// - `NPR` - Nepalese Rupee +// - `ANG` - Netherlands Antillean Guilder +// - `TWD` - New Taiwan Dollar +// - `NZD` - New Zealand Dollar +// - `NIO` - Nicaraguan Córdoba +// - `NIC` - Nicaraguan Córdoba (1988–1991) +// - `NGN` - Nigerian Naira +// - `KPW` - North Korean Won +// - `NOK` - Norwegian Krone +// - `OMR` - Omani Rial +// - `PKR` - Pakistani Rupee +// - `XPD` - Palladium +// - `PAB` - Panamanian Balboa +// - `PGK` - Papua New Guinean Kina +// - `PYG` - Paraguayan Guarani +// - `PEI` - Peruvian Inti +// - `PEN` - Peruvian Sol +// - `PES` - Peruvian Sol (1863–1965) +// - `PHP` - Philippine Peso +// - `XPT` - Platinum +// - `PLN` - Polish Zloty +// - `PLZ` - Polish Zloty (1950–1995) +// - `PTE` - Portuguese Escudo +// - `GWE` - Portuguese Guinea Escudo +// - `QAR` - Qatari Rial +// - `XRE` - RINET Funds +// - `RHD` - Rhodesian Dollar +// - `RON` - Romanian Leu +// - `ROL` - Romanian Leu (1952–2006) +// - `RUB` - Russian Ruble +// - `RUR` - Russian Ruble (1991–1998) +// - `RWF` - Rwandan Franc +// - `SVC` - Salvadoran Colón +// - `WST` - Samoan Tala +// - `SAR` - Saudi Riyal +// - `RSD` - Serbian Dinar +// - `CSD` - Serbian Dinar (2002–2006) +// - `SCR` - Seychellois Rupee +// - `SLL` - Sierra Leonean Leone +// - `XAG` - Silver +// - `SGD` - Singapore Dollar +// - `SKK` - Slovak Koruna +// - `SIT` - Slovenian Tolar +// - `SBD` - Solomon Islands Dollar +// - `SOS` - Somali Shilling +// - `ZAR` - South African Rand +// - `ZAL` - South African Rand (financial) +// - `KRH` - South Korean Hwan (1953–1962) +// - `KRW` - South Korean Won +// - `KRO` - South Korean Won (1945–1953) +// - `SSP` - South Sudanese Pound +// - `SUR` - Soviet Rouble +// - `ESP` - Spanish Peseta +// - `ESA` - Spanish Peseta (A account) +// - `ESB` - Spanish Peseta (convertible account) +// - `XDR` - Special Drawing Rights +// - `LKR` - Sri Lankan Rupee +// - `SHP` - St. Helena Pound +// - `XSU` - Sucre +// - `SDD` - Sudanese Dinar (1992–2007) +// - `SDG` - Sudanese Pound +// - `SDP` - Sudanese Pound (1957–1998) +// - `SRD` - Surinamese Dollar +// - `SRG` - Surinamese Guilder +// - `SZL` - Swazi Lilangeni +// - `SEK` - Swedish Krona +// - `CHF` - Swiss Franc +// - `SYP` - Syrian Pound +// - `STN` - São Tomé & Príncipe Dobra +// - `STD` - São Tomé & Príncipe Dobra (1977–2017) +// - `TVD` - TVD +// - `TJR` - Tajikistani Ruble +// - `TJS` - Tajikistani Somoni +// - `TZS` - Tanzanian Shilling +// - `XTS` - Testing Currency Code +// - `THB` - Thai Baht +// - `XXX` - The codes assigned for transactions where no currency is involved +// - `TPE` - Timorese Escudo +// - `TOP` - Tongan Paʻanga +// - `TTD` - Trinidad & Tobago Dollar +// - `TND` - Tunisian Dinar +// - `TRY` - Turkish Lira +// - `TRL` - Turkish Lira (1922–2005) +// - `TMT` - Turkmenistani Manat +// - `TMM` - Turkmenistani Manat (1993–2009) +// - `USD` - US Dollar +// - `USN` - US Dollar (Next day) +// - `USS` - US Dollar (Same day) +// - `UGX` - Ugandan Shilling +// - `UGS` - Ugandan Shilling (1966–1987) +// - `UAH` - Ukrainian Hryvnia +// - `UAK` - Ukrainian Karbovanets +// - `AED` - United Arab Emirates Dirham +// - `UYW` - Uruguayan Nominal Wage Index Unit +// - `UYU` - Uruguayan Peso +// - `UYP` - Uruguayan Peso (1975–1993) +// - `UYI` - Uruguayan Peso (Indexed Units) +// - `UZS` - Uzbekistani Som +// - `VUV` - Vanuatu Vatu +// - `VES` - Venezuelan Bolívar +// - `VEB` - Venezuelan Bolívar (1871–2008) +// - `VEF` - Venezuelan Bolívar (2008–2018) +// - `VND` - Vietnamese Dong +// - `VNN` - Vietnamese Dong (1978–1985) +// - `CHE` - WIR Euro +// - `CHW` - WIR Franc +// - `XOF` - West African CFA Franc +// - `YDD` - Yemeni Dinar +// - `YER` - Yemeni Rial +// - `YUN` - Yugoslavian Convertible Dinar (1990–1992) +// - `YUD` - Yugoslavian Hard Dinar (1966–1990) +// - `YUM` - Yugoslavian New Dinar (1994–2002) +// - `YUR` - Yugoslavian Reformed Dinar (1992–1993) +// - `ZWN` - ZWN +// - `ZRN` - Zairean New Zaire (1993–1998) +// - `ZRZ` - Zairean Zaire (1971–1993) +// - `ZMW` - Zambian Kwacha +// - `ZMK` - Zambian Kwacha (1968–2012) +// - `ZWD` - Zimbabwean Dollar (1980–2008) +// - `ZWR` - Zimbabwean Dollar (2008) +// - `ZWL` - Zimbabwean Dollar (2009) +type TransactionCurrencyEnum string -func (t *TrackingCategoryStatus) UnmarshalJSON(data []byte) error { - var valueStatus7D1Enum Status7D1Enum - if err := json.Unmarshal(data, &valueStatus7D1Enum); err == nil { - t.typeName = "status7D1Enum" - t.Status7D1Enum = valueStatus7D1Enum - return nil - } - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) -} +const ( + TransactionCurrencyEnumXua TransactionCurrencyEnum = "XUA" + TransactionCurrencyEnumAfn TransactionCurrencyEnum = "AFN" + TransactionCurrencyEnumAfa TransactionCurrencyEnum = "AFA" + TransactionCurrencyEnumAll TransactionCurrencyEnum = "ALL" + TransactionCurrencyEnumAlk TransactionCurrencyEnum = "ALK" + TransactionCurrencyEnumDzd TransactionCurrencyEnum = "DZD" + TransactionCurrencyEnumAdp TransactionCurrencyEnum = "ADP" + TransactionCurrencyEnumAoa TransactionCurrencyEnum = "AOA" + TransactionCurrencyEnumAok TransactionCurrencyEnum = "AOK" + TransactionCurrencyEnumAon TransactionCurrencyEnum = "AON" + TransactionCurrencyEnumAor TransactionCurrencyEnum = "AOR" + TransactionCurrencyEnumAra TransactionCurrencyEnum = "ARA" + TransactionCurrencyEnumArs TransactionCurrencyEnum = "ARS" + TransactionCurrencyEnumArm TransactionCurrencyEnum = "ARM" + TransactionCurrencyEnumArp TransactionCurrencyEnum = "ARP" + TransactionCurrencyEnumArl TransactionCurrencyEnum = "ARL" + TransactionCurrencyEnumAmd TransactionCurrencyEnum = "AMD" + TransactionCurrencyEnumAwg TransactionCurrencyEnum = "AWG" + TransactionCurrencyEnumAud TransactionCurrencyEnum = "AUD" + TransactionCurrencyEnumAts TransactionCurrencyEnum = "ATS" + TransactionCurrencyEnumAzn TransactionCurrencyEnum = "AZN" + TransactionCurrencyEnumAzm TransactionCurrencyEnum = "AZM" + TransactionCurrencyEnumBsd TransactionCurrencyEnum = "BSD" + TransactionCurrencyEnumBhd TransactionCurrencyEnum = "BHD" + TransactionCurrencyEnumBdt TransactionCurrencyEnum = "BDT" + TransactionCurrencyEnumBbd TransactionCurrencyEnum = "BBD" + TransactionCurrencyEnumByn TransactionCurrencyEnum = "BYN" + TransactionCurrencyEnumByb TransactionCurrencyEnum = "BYB" + TransactionCurrencyEnumByr TransactionCurrencyEnum = "BYR" + TransactionCurrencyEnumBef TransactionCurrencyEnum = "BEF" + TransactionCurrencyEnumBec TransactionCurrencyEnum = "BEC" + TransactionCurrencyEnumBel TransactionCurrencyEnum = "BEL" + TransactionCurrencyEnumBzd TransactionCurrencyEnum = "BZD" + TransactionCurrencyEnumBmd TransactionCurrencyEnum = "BMD" + TransactionCurrencyEnumBtn TransactionCurrencyEnum = "BTN" + TransactionCurrencyEnumBob TransactionCurrencyEnum = "BOB" + TransactionCurrencyEnumBol TransactionCurrencyEnum = "BOL" + TransactionCurrencyEnumBov TransactionCurrencyEnum = "BOV" + TransactionCurrencyEnumBop TransactionCurrencyEnum = "BOP" + TransactionCurrencyEnumBam TransactionCurrencyEnum = "BAM" + TransactionCurrencyEnumBad TransactionCurrencyEnum = "BAD" + TransactionCurrencyEnumBan TransactionCurrencyEnum = "BAN" + TransactionCurrencyEnumBwp TransactionCurrencyEnum = "BWP" + TransactionCurrencyEnumBrc TransactionCurrencyEnum = "BRC" + TransactionCurrencyEnumBrz TransactionCurrencyEnum = "BRZ" + TransactionCurrencyEnumBre TransactionCurrencyEnum = "BRE" + TransactionCurrencyEnumBrr TransactionCurrencyEnum = "BRR" + TransactionCurrencyEnumBrn TransactionCurrencyEnum = "BRN" + TransactionCurrencyEnumBrb TransactionCurrencyEnum = "BRB" + TransactionCurrencyEnumBrl TransactionCurrencyEnum = "BRL" + TransactionCurrencyEnumGbp TransactionCurrencyEnum = "GBP" + TransactionCurrencyEnumBnd TransactionCurrencyEnum = "BND" + TransactionCurrencyEnumBgl TransactionCurrencyEnum = "BGL" + TransactionCurrencyEnumBgn TransactionCurrencyEnum = "BGN" + TransactionCurrencyEnumBgo TransactionCurrencyEnum = "BGO" + TransactionCurrencyEnumBgm TransactionCurrencyEnum = "BGM" + TransactionCurrencyEnumBuk TransactionCurrencyEnum = "BUK" + TransactionCurrencyEnumBif TransactionCurrencyEnum = "BIF" + TransactionCurrencyEnumXpf TransactionCurrencyEnum = "XPF" + TransactionCurrencyEnumKhr TransactionCurrencyEnum = "KHR" + TransactionCurrencyEnumCad TransactionCurrencyEnum = "CAD" + TransactionCurrencyEnumCve TransactionCurrencyEnum = "CVE" + TransactionCurrencyEnumKyd TransactionCurrencyEnum = "KYD" + TransactionCurrencyEnumXaf TransactionCurrencyEnum = "XAF" + TransactionCurrencyEnumCle TransactionCurrencyEnum = "CLE" + TransactionCurrencyEnumClp TransactionCurrencyEnum = "CLP" + TransactionCurrencyEnumClf TransactionCurrencyEnum = "CLF" + TransactionCurrencyEnumCnx TransactionCurrencyEnum = "CNX" + TransactionCurrencyEnumCny TransactionCurrencyEnum = "CNY" + TransactionCurrencyEnumCnh TransactionCurrencyEnum = "CNH" + TransactionCurrencyEnumCop TransactionCurrencyEnum = "COP" + TransactionCurrencyEnumCou TransactionCurrencyEnum = "COU" + TransactionCurrencyEnumKmf TransactionCurrencyEnum = "KMF" + TransactionCurrencyEnumCdf TransactionCurrencyEnum = "CDF" + TransactionCurrencyEnumCrc TransactionCurrencyEnum = "CRC" + TransactionCurrencyEnumHrd TransactionCurrencyEnum = "HRD" + TransactionCurrencyEnumHrk TransactionCurrencyEnum = "HRK" + TransactionCurrencyEnumCuc TransactionCurrencyEnum = "CUC" + TransactionCurrencyEnumCup TransactionCurrencyEnum = "CUP" + TransactionCurrencyEnumCyp TransactionCurrencyEnum = "CYP" + TransactionCurrencyEnumCzk TransactionCurrencyEnum = "CZK" + TransactionCurrencyEnumCsk TransactionCurrencyEnum = "CSK" + TransactionCurrencyEnumDkk TransactionCurrencyEnum = "DKK" + TransactionCurrencyEnumDjf TransactionCurrencyEnum = "DJF" + TransactionCurrencyEnumDop TransactionCurrencyEnum = "DOP" + TransactionCurrencyEnumNlg TransactionCurrencyEnum = "NLG" + TransactionCurrencyEnumXcd TransactionCurrencyEnum = "XCD" + TransactionCurrencyEnumDdm TransactionCurrencyEnum = "DDM" + TransactionCurrencyEnumEcs TransactionCurrencyEnum = "ECS" + TransactionCurrencyEnumEcv TransactionCurrencyEnum = "ECV" + TransactionCurrencyEnumEgp TransactionCurrencyEnum = "EGP" + TransactionCurrencyEnumGqe TransactionCurrencyEnum = "GQE" + TransactionCurrencyEnumErn TransactionCurrencyEnum = "ERN" + TransactionCurrencyEnumEek TransactionCurrencyEnum = "EEK" + TransactionCurrencyEnumEtb TransactionCurrencyEnum = "ETB" + TransactionCurrencyEnumEur TransactionCurrencyEnum = "EUR" + TransactionCurrencyEnumXba TransactionCurrencyEnum = "XBA" + TransactionCurrencyEnumXeu TransactionCurrencyEnum = "XEU" + TransactionCurrencyEnumXbb TransactionCurrencyEnum = "XBB" + TransactionCurrencyEnumXbc TransactionCurrencyEnum = "XBC" + TransactionCurrencyEnumXbd TransactionCurrencyEnum = "XBD" + TransactionCurrencyEnumFkp TransactionCurrencyEnum = "FKP" + TransactionCurrencyEnumFjd TransactionCurrencyEnum = "FJD" + TransactionCurrencyEnumFim TransactionCurrencyEnum = "FIM" + TransactionCurrencyEnumFrf TransactionCurrencyEnum = "FRF" + TransactionCurrencyEnumXfo TransactionCurrencyEnum = "XFO" + TransactionCurrencyEnumXfu TransactionCurrencyEnum = "XFU" + TransactionCurrencyEnumGmd TransactionCurrencyEnum = "GMD" + TransactionCurrencyEnumGek TransactionCurrencyEnum = "GEK" + TransactionCurrencyEnumGel TransactionCurrencyEnum = "GEL" + TransactionCurrencyEnumDem TransactionCurrencyEnum = "DEM" + TransactionCurrencyEnumGhs TransactionCurrencyEnum = "GHS" + TransactionCurrencyEnumGhc TransactionCurrencyEnum = "GHC" + TransactionCurrencyEnumGip TransactionCurrencyEnum = "GIP" + TransactionCurrencyEnumXau TransactionCurrencyEnum = "XAU" + TransactionCurrencyEnumGrd TransactionCurrencyEnum = "GRD" + TransactionCurrencyEnumGtq TransactionCurrencyEnum = "GTQ" + TransactionCurrencyEnumGwp TransactionCurrencyEnum = "GWP" + TransactionCurrencyEnumGnf TransactionCurrencyEnum = "GNF" + TransactionCurrencyEnumGns TransactionCurrencyEnum = "GNS" + TransactionCurrencyEnumGyd TransactionCurrencyEnum = "GYD" + TransactionCurrencyEnumHtg TransactionCurrencyEnum = "HTG" + TransactionCurrencyEnumHnl TransactionCurrencyEnum = "HNL" + TransactionCurrencyEnumHkd TransactionCurrencyEnum = "HKD" + TransactionCurrencyEnumHuf TransactionCurrencyEnum = "HUF" + TransactionCurrencyEnumImp TransactionCurrencyEnum = "IMP" + TransactionCurrencyEnumIsk TransactionCurrencyEnum = "ISK" + TransactionCurrencyEnumIsj TransactionCurrencyEnum = "ISJ" + TransactionCurrencyEnumInr TransactionCurrencyEnum = "INR" + TransactionCurrencyEnumIdr TransactionCurrencyEnum = "IDR" + TransactionCurrencyEnumIrr TransactionCurrencyEnum = "IRR" + TransactionCurrencyEnumIqd TransactionCurrencyEnum = "IQD" + TransactionCurrencyEnumIep TransactionCurrencyEnum = "IEP" + TransactionCurrencyEnumIls TransactionCurrencyEnum = "ILS" + TransactionCurrencyEnumIlp TransactionCurrencyEnum = "ILP" + TransactionCurrencyEnumIlr TransactionCurrencyEnum = "ILR" + TransactionCurrencyEnumItl TransactionCurrencyEnum = "ITL" + TransactionCurrencyEnumJmd TransactionCurrencyEnum = "JMD" + TransactionCurrencyEnumJpy TransactionCurrencyEnum = "JPY" + TransactionCurrencyEnumJod TransactionCurrencyEnum = "JOD" + TransactionCurrencyEnumKzt TransactionCurrencyEnum = "KZT" + TransactionCurrencyEnumKes TransactionCurrencyEnum = "KES" + TransactionCurrencyEnumKwd TransactionCurrencyEnum = "KWD" + TransactionCurrencyEnumKgs TransactionCurrencyEnum = "KGS" + TransactionCurrencyEnumLak TransactionCurrencyEnum = "LAK" + TransactionCurrencyEnumLvl TransactionCurrencyEnum = "LVL" + TransactionCurrencyEnumLvr TransactionCurrencyEnum = "LVR" + TransactionCurrencyEnumLbp TransactionCurrencyEnum = "LBP" + TransactionCurrencyEnumLsl TransactionCurrencyEnum = "LSL" + TransactionCurrencyEnumLrd TransactionCurrencyEnum = "LRD" + TransactionCurrencyEnumLyd TransactionCurrencyEnum = "LYD" + TransactionCurrencyEnumLtl TransactionCurrencyEnum = "LTL" + TransactionCurrencyEnumLtt TransactionCurrencyEnum = "LTT" + TransactionCurrencyEnumLul TransactionCurrencyEnum = "LUL" + TransactionCurrencyEnumLuc TransactionCurrencyEnum = "LUC" + TransactionCurrencyEnumLuf TransactionCurrencyEnum = "LUF" + TransactionCurrencyEnumMop TransactionCurrencyEnum = "MOP" + TransactionCurrencyEnumMkd TransactionCurrencyEnum = "MKD" + TransactionCurrencyEnumMkn TransactionCurrencyEnum = "MKN" + TransactionCurrencyEnumMga TransactionCurrencyEnum = "MGA" + TransactionCurrencyEnumMgf TransactionCurrencyEnum = "MGF" + TransactionCurrencyEnumMwk TransactionCurrencyEnum = "MWK" + TransactionCurrencyEnumMyr TransactionCurrencyEnum = "MYR" + TransactionCurrencyEnumMvr TransactionCurrencyEnum = "MVR" + TransactionCurrencyEnumMvp TransactionCurrencyEnum = "MVP" + TransactionCurrencyEnumMlf TransactionCurrencyEnum = "MLF" + TransactionCurrencyEnumMtl TransactionCurrencyEnum = "MTL" + TransactionCurrencyEnumMtp TransactionCurrencyEnum = "MTP" + TransactionCurrencyEnumMru TransactionCurrencyEnum = "MRU" + TransactionCurrencyEnumMro TransactionCurrencyEnum = "MRO" + TransactionCurrencyEnumMur TransactionCurrencyEnum = "MUR" + TransactionCurrencyEnumMxv TransactionCurrencyEnum = "MXV" + TransactionCurrencyEnumMxn TransactionCurrencyEnum = "MXN" + TransactionCurrencyEnumMxp TransactionCurrencyEnum = "MXP" + TransactionCurrencyEnumMdc TransactionCurrencyEnum = "MDC" + TransactionCurrencyEnumMdl TransactionCurrencyEnum = "MDL" + TransactionCurrencyEnumMcf TransactionCurrencyEnum = "MCF" + TransactionCurrencyEnumMnt TransactionCurrencyEnum = "MNT" + TransactionCurrencyEnumMad TransactionCurrencyEnum = "MAD" + TransactionCurrencyEnumMaf TransactionCurrencyEnum = "MAF" + TransactionCurrencyEnumMze TransactionCurrencyEnum = "MZE" + TransactionCurrencyEnumMzn TransactionCurrencyEnum = "MZN" + TransactionCurrencyEnumMzm TransactionCurrencyEnum = "MZM" + TransactionCurrencyEnumMmk TransactionCurrencyEnum = "MMK" + TransactionCurrencyEnumNad TransactionCurrencyEnum = "NAD" + TransactionCurrencyEnumNpr TransactionCurrencyEnum = "NPR" + TransactionCurrencyEnumAng TransactionCurrencyEnum = "ANG" + TransactionCurrencyEnumTwd TransactionCurrencyEnum = "TWD" + TransactionCurrencyEnumNzd TransactionCurrencyEnum = "NZD" + TransactionCurrencyEnumNio TransactionCurrencyEnum = "NIO" + TransactionCurrencyEnumNic TransactionCurrencyEnum = "NIC" + TransactionCurrencyEnumNgn TransactionCurrencyEnum = "NGN" + TransactionCurrencyEnumKpw TransactionCurrencyEnum = "KPW" + TransactionCurrencyEnumNok TransactionCurrencyEnum = "NOK" + TransactionCurrencyEnumOmr TransactionCurrencyEnum = "OMR" + TransactionCurrencyEnumPkr TransactionCurrencyEnum = "PKR" + TransactionCurrencyEnumXpd TransactionCurrencyEnum = "XPD" + TransactionCurrencyEnumPab TransactionCurrencyEnum = "PAB" + TransactionCurrencyEnumPgk TransactionCurrencyEnum = "PGK" + TransactionCurrencyEnumPyg TransactionCurrencyEnum = "PYG" + TransactionCurrencyEnumPei TransactionCurrencyEnum = "PEI" + TransactionCurrencyEnumPen TransactionCurrencyEnum = "PEN" + TransactionCurrencyEnumPes TransactionCurrencyEnum = "PES" + TransactionCurrencyEnumPhp TransactionCurrencyEnum = "PHP" + TransactionCurrencyEnumXpt TransactionCurrencyEnum = "XPT" + TransactionCurrencyEnumPln TransactionCurrencyEnum = "PLN" + TransactionCurrencyEnumPlz TransactionCurrencyEnum = "PLZ" + TransactionCurrencyEnumPte TransactionCurrencyEnum = "PTE" + TransactionCurrencyEnumGwe TransactionCurrencyEnum = "GWE" + TransactionCurrencyEnumQar TransactionCurrencyEnum = "QAR" + TransactionCurrencyEnumXre TransactionCurrencyEnum = "XRE" + TransactionCurrencyEnumRhd TransactionCurrencyEnum = "RHD" + TransactionCurrencyEnumRon TransactionCurrencyEnum = "RON" + TransactionCurrencyEnumRol TransactionCurrencyEnum = "ROL" + TransactionCurrencyEnumRub TransactionCurrencyEnum = "RUB" + TransactionCurrencyEnumRur TransactionCurrencyEnum = "RUR" + TransactionCurrencyEnumRwf TransactionCurrencyEnum = "RWF" + TransactionCurrencyEnumSvc TransactionCurrencyEnum = "SVC" + TransactionCurrencyEnumWst TransactionCurrencyEnum = "WST" + TransactionCurrencyEnumSar TransactionCurrencyEnum = "SAR" + TransactionCurrencyEnumRsd TransactionCurrencyEnum = "RSD" + TransactionCurrencyEnumCsd TransactionCurrencyEnum = "CSD" + TransactionCurrencyEnumScr TransactionCurrencyEnum = "SCR" + TransactionCurrencyEnumSll TransactionCurrencyEnum = "SLL" + TransactionCurrencyEnumXag TransactionCurrencyEnum = "XAG" + TransactionCurrencyEnumSgd TransactionCurrencyEnum = "SGD" + TransactionCurrencyEnumSkk TransactionCurrencyEnum = "SKK" + TransactionCurrencyEnumSit TransactionCurrencyEnum = "SIT" + TransactionCurrencyEnumSbd TransactionCurrencyEnum = "SBD" + TransactionCurrencyEnumSos TransactionCurrencyEnum = "SOS" + TransactionCurrencyEnumZar TransactionCurrencyEnum = "ZAR" + TransactionCurrencyEnumZal TransactionCurrencyEnum = "ZAL" + TransactionCurrencyEnumKrh TransactionCurrencyEnum = "KRH" + TransactionCurrencyEnumKrw TransactionCurrencyEnum = "KRW" + TransactionCurrencyEnumKro TransactionCurrencyEnum = "KRO" + TransactionCurrencyEnumSsp TransactionCurrencyEnum = "SSP" + TransactionCurrencyEnumSur TransactionCurrencyEnum = "SUR" + TransactionCurrencyEnumEsp TransactionCurrencyEnum = "ESP" + TransactionCurrencyEnumEsa TransactionCurrencyEnum = "ESA" + TransactionCurrencyEnumEsb TransactionCurrencyEnum = "ESB" + TransactionCurrencyEnumXdr TransactionCurrencyEnum = "XDR" + TransactionCurrencyEnumLkr TransactionCurrencyEnum = "LKR" + TransactionCurrencyEnumShp TransactionCurrencyEnum = "SHP" + TransactionCurrencyEnumXsu TransactionCurrencyEnum = "XSU" + TransactionCurrencyEnumSdd TransactionCurrencyEnum = "SDD" + TransactionCurrencyEnumSdg TransactionCurrencyEnum = "SDG" + TransactionCurrencyEnumSdp TransactionCurrencyEnum = "SDP" + TransactionCurrencyEnumSrd TransactionCurrencyEnum = "SRD" + TransactionCurrencyEnumSrg TransactionCurrencyEnum = "SRG" + TransactionCurrencyEnumSzl TransactionCurrencyEnum = "SZL" + TransactionCurrencyEnumSek TransactionCurrencyEnum = "SEK" + TransactionCurrencyEnumChf TransactionCurrencyEnum = "CHF" + TransactionCurrencyEnumSyp TransactionCurrencyEnum = "SYP" + TransactionCurrencyEnumStn TransactionCurrencyEnum = "STN" + TransactionCurrencyEnumStd TransactionCurrencyEnum = "STD" + TransactionCurrencyEnumTvd TransactionCurrencyEnum = "TVD" + TransactionCurrencyEnumTjr TransactionCurrencyEnum = "TJR" + TransactionCurrencyEnumTjs TransactionCurrencyEnum = "TJS" + TransactionCurrencyEnumTzs TransactionCurrencyEnum = "TZS" + TransactionCurrencyEnumXts TransactionCurrencyEnum = "XTS" + TransactionCurrencyEnumThb TransactionCurrencyEnum = "THB" + TransactionCurrencyEnumXxx TransactionCurrencyEnum = "XXX" + TransactionCurrencyEnumTpe TransactionCurrencyEnum = "TPE" + TransactionCurrencyEnumTop TransactionCurrencyEnum = "TOP" + TransactionCurrencyEnumTtd TransactionCurrencyEnum = "TTD" + TransactionCurrencyEnumTnd TransactionCurrencyEnum = "TND" + TransactionCurrencyEnumTry TransactionCurrencyEnum = "TRY" + TransactionCurrencyEnumTrl TransactionCurrencyEnum = "TRL" + TransactionCurrencyEnumTmt TransactionCurrencyEnum = "TMT" + TransactionCurrencyEnumTmm TransactionCurrencyEnum = "TMM" + TransactionCurrencyEnumUsd TransactionCurrencyEnum = "USD" + TransactionCurrencyEnumUsn TransactionCurrencyEnum = "USN" + TransactionCurrencyEnumUss TransactionCurrencyEnum = "USS" + TransactionCurrencyEnumUgx TransactionCurrencyEnum = "UGX" + TransactionCurrencyEnumUgs TransactionCurrencyEnum = "UGS" + TransactionCurrencyEnumUah TransactionCurrencyEnum = "UAH" + TransactionCurrencyEnumUak TransactionCurrencyEnum = "UAK" + TransactionCurrencyEnumAed TransactionCurrencyEnum = "AED" + TransactionCurrencyEnumUyw TransactionCurrencyEnum = "UYW" + TransactionCurrencyEnumUyu TransactionCurrencyEnum = "UYU" + TransactionCurrencyEnumUyp TransactionCurrencyEnum = "UYP" + TransactionCurrencyEnumUyi TransactionCurrencyEnum = "UYI" + TransactionCurrencyEnumUzs TransactionCurrencyEnum = "UZS" + TransactionCurrencyEnumVuv TransactionCurrencyEnum = "VUV" + TransactionCurrencyEnumVes TransactionCurrencyEnum = "VES" + TransactionCurrencyEnumVeb TransactionCurrencyEnum = "VEB" + TransactionCurrencyEnumVef TransactionCurrencyEnum = "VEF" + TransactionCurrencyEnumVnd TransactionCurrencyEnum = "VND" + TransactionCurrencyEnumVnn TransactionCurrencyEnum = "VNN" + TransactionCurrencyEnumChe TransactionCurrencyEnum = "CHE" + TransactionCurrencyEnumChw TransactionCurrencyEnum = "CHW" + TransactionCurrencyEnumXof TransactionCurrencyEnum = "XOF" + TransactionCurrencyEnumYdd TransactionCurrencyEnum = "YDD" + TransactionCurrencyEnumYer TransactionCurrencyEnum = "YER" + TransactionCurrencyEnumYun TransactionCurrencyEnum = "YUN" + TransactionCurrencyEnumYud TransactionCurrencyEnum = "YUD" + TransactionCurrencyEnumYum TransactionCurrencyEnum = "YUM" + TransactionCurrencyEnumYur TransactionCurrencyEnum = "YUR" + TransactionCurrencyEnumZwn TransactionCurrencyEnum = "ZWN" + TransactionCurrencyEnumZrn TransactionCurrencyEnum = "ZRN" + TransactionCurrencyEnumZrz TransactionCurrencyEnum = "ZRZ" + TransactionCurrencyEnumZmw TransactionCurrencyEnum = "ZMW" + TransactionCurrencyEnumZmk TransactionCurrencyEnum = "ZMK" + TransactionCurrencyEnumZwd TransactionCurrencyEnum = "ZWD" + TransactionCurrencyEnumZwr TransactionCurrencyEnum = "ZWR" + TransactionCurrencyEnumZwl TransactionCurrencyEnum = "ZWL" +) -func (t TrackingCategoryStatus) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "status7D1Enum": - return json.Marshal(t.Status7D1Enum) - case "string": - return json.Marshal(t.String) +func NewTransactionCurrencyEnumFromString(s string) (TransactionCurrencyEnum, error) { + switch s { + case "XUA": + return TransactionCurrencyEnumXua, nil + case "AFN": + return TransactionCurrencyEnumAfn, nil + case "AFA": + return TransactionCurrencyEnumAfa, nil + case "ALL": + return TransactionCurrencyEnumAll, nil + case "ALK": + return TransactionCurrencyEnumAlk, nil + case "DZD": + return TransactionCurrencyEnumDzd, nil + case "ADP": + return TransactionCurrencyEnumAdp, nil + case "AOA": + return TransactionCurrencyEnumAoa, nil + case "AOK": + return TransactionCurrencyEnumAok, nil + case "AON": + return TransactionCurrencyEnumAon, nil + case "AOR": + return TransactionCurrencyEnumAor, nil + case "ARA": + return TransactionCurrencyEnumAra, nil + case "ARS": + return TransactionCurrencyEnumArs, nil + case "ARM": + return TransactionCurrencyEnumArm, nil + case "ARP": + return TransactionCurrencyEnumArp, nil + case "ARL": + return TransactionCurrencyEnumArl, nil + case "AMD": + return TransactionCurrencyEnumAmd, nil + case "AWG": + return TransactionCurrencyEnumAwg, nil + case "AUD": + return TransactionCurrencyEnumAud, nil + case "ATS": + return TransactionCurrencyEnumAts, nil + case "AZN": + return TransactionCurrencyEnumAzn, nil + case "AZM": + return TransactionCurrencyEnumAzm, nil + case "BSD": + return TransactionCurrencyEnumBsd, nil + case "BHD": + return TransactionCurrencyEnumBhd, nil + case "BDT": + return TransactionCurrencyEnumBdt, nil + case "BBD": + return TransactionCurrencyEnumBbd, nil + case "BYN": + return TransactionCurrencyEnumByn, nil + case "BYB": + return TransactionCurrencyEnumByb, nil + case "BYR": + return TransactionCurrencyEnumByr, nil + case "BEF": + return TransactionCurrencyEnumBef, nil + case "BEC": + return TransactionCurrencyEnumBec, nil + case "BEL": + return TransactionCurrencyEnumBel, nil + case "BZD": + return TransactionCurrencyEnumBzd, nil + case "BMD": + return TransactionCurrencyEnumBmd, nil + case "BTN": + return TransactionCurrencyEnumBtn, nil + case "BOB": + return TransactionCurrencyEnumBob, nil + case "BOL": + return TransactionCurrencyEnumBol, nil + case "BOV": + return TransactionCurrencyEnumBov, nil + case "BOP": + return TransactionCurrencyEnumBop, nil + case "BAM": + return TransactionCurrencyEnumBam, nil + case "BAD": + return TransactionCurrencyEnumBad, nil + case "BAN": + return TransactionCurrencyEnumBan, nil + case "BWP": + return TransactionCurrencyEnumBwp, nil + case "BRC": + return TransactionCurrencyEnumBrc, nil + case "BRZ": + return TransactionCurrencyEnumBrz, nil + case "BRE": + return TransactionCurrencyEnumBre, nil + case "BRR": + return TransactionCurrencyEnumBrr, nil + case "BRN": + return TransactionCurrencyEnumBrn, nil + case "BRB": + return TransactionCurrencyEnumBrb, nil + case "BRL": + return TransactionCurrencyEnumBrl, nil + case "GBP": + return TransactionCurrencyEnumGbp, nil + case "BND": + return TransactionCurrencyEnumBnd, nil + case "BGL": + return TransactionCurrencyEnumBgl, nil + case "BGN": + return TransactionCurrencyEnumBgn, nil + case "BGO": + return TransactionCurrencyEnumBgo, nil + case "BGM": + return TransactionCurrencyEnumBgm, nil + case "BUK": + return TransactionCurrencyEnumBuk, nil + case "BIF": + return TransactionCurrencyEnumBif, nil + case "XPF": + return TransactionCurrencyEnumXpf, nil + case "KHR": + return TransactionCurrencyEnumKhr, nil + case "CAD": + return TransactionCurrencyEnumCad, nil + case "CVE": + return TransactionCurrencyEnumCve, nil + case "KYD": + return TransactionCurrencyEnumKyd, nil + case "XAF": + return TransactionCurrencyEnumXaf, nil + case "CLE": + return TransactionCurrencyEnumCle, nil + case "CLP": + return TransactionCurrencyEnumClp, nil + case "CLF": + return TransactionCurrencyEnumClf, nil + case "CNX": + return TransactionCurrencyEnumCnx, nil + case "CNY": + return TransactionCurrencyEnumCny, nil + case "CNH": + return TransactionCurrencyEnumCnh, nil + case "COP": + return TransactionCurrencyEnumCop, nil + case "COU": + return TransactionCurrencyEnumCou, nil + case "KMF": + return TransactionCurrencyEnumKmf, nil + case "CDF": + return TransactionCurrencyEnumCdf, nil + case "CRC": + return TransactionCurrencyEnumCrc, nil + case "HRD": + return TransactionCurrencyEnumHrd, nil + case "HRK": + return TransactionCurrencyEnumHrk, nil + case "CUC": + return TransactionCurrencyEnumCuc, nil + case "CUP": + return TransactionCurrencyEnumCup, nil + case "CYP": + return TransactionCurrencyEnumCyp, nil + case "CZK": + return TransactionCurrencyEnumCzk, nil + case "CSK": + return TransactionCurrencyEnumCsk, nil + case "DKK": + return TransactionCurrencyEnumDkk, nil + case "DJF": + return TransactionCurrencyEnumDjf, nil + case "DOP": + return TransactionCurrencyEnumDop, nil + case "NLG": + return TransactionCurrencyEnumNlg, nil + case "XCD": + return TransactionCurrencyEnumXcd, nil + case "DDM": + return TransactionCurrencyEnumDdm, nil + case "ECS": + return TransactionCurrencyEnumEcs, nil + case "ECV": + return TransactionCurrencyEnumEcv, nil + case "EGP": + return TransactionCurrencyEnumEgp, nil + case "GQE": + return TransactionCurrencyEnumGqe, nil + case "ERN": + return TransactionCurrencyEnumErn, nil + case "EEK": + return TransactionCurrencyEnumEek, nil + case "ETB": + return TransactionCurrencyEnumEtb, nil + case "EUR": + return TransactionCurrencyEnumEur, nil + case "XBA": + return TransactionCurrencyEnumXba, nil + case "XEU": + return TransactionCurrencyEnumXeu, nil + case "XBB": + return TransactionCurrencyEnumXbb, nil + case "XBC": + return TransactionCurrencyEnumXbc, nil + case "XBD": + return TransactionCurrencyEnumXbd, nil + case "FKP": + return TransactionCurrencyEnumFkp, nil + case "FJD": + return TransactionCurrencyEnumFjd, nil + case "FIM": + return TransactionCurrencyEnumFim, nil + case "FRF": + return TransactionCurrencyEnumFrf, nil + case "XFO": + return TransactionCurrencyEnumXfo, nil + case "XFU": + return TransactionCurrencyEnumXfu, nil + case "GMD": + return TransactionCurrencyEnumGmd, nil + case "GEK": + return TransactionCurrencyEnumGek, nil + case "GEL": + return TransactionCurrencyEnumGel, nil + case "DEM": + return TransactionCurrencyEnumDem, nil + case "GHS": + return TransactionCurrencyEnumGhs, nil + case "GHC": + return TransactionCurrencyEnumGhc, nil + case "GIP": + return TransactionCurrencyEnumGip, nil + case "XAU": + return TransactionCurrencyEnumXau, nil + case "GRD": + return TransactionCurrencyEnumGrd, nil + case "GTQ": + return TransactionCurrencyEnumGtq, nil + case "GWP": + return TransactionCurrencyEnumGwp, nil + case "GNF": + return TransactionCurrencyEnumGnf, nil + case "GNS": + return TransactionCurrencyEnumGns, nil + case "GYD": + return TransactionCurrencyEnumGyd, nil + case "HTG": + return TransactionCurrencyEnumHtg, nil + case "HNL": + return TransactionCurrencyEnumHnl, nil + case "HKD": + return TransactionCurrencyEnumHkd, nil + case "HUF": + return TransactionCurrencyEnumHuf, nil + case "IMP": + return TransactionCurrencyEnumImp, nil + case "ISK": + return TransactionCurrencyEnumIsk, nil + case "ISJ": + return TransactionCurrencyEnumIsj, nil + case "INR": + return TransactionCurrencyEnumInr, nil + case "IDR": + return TransactionCurrencyEnumIdr, nil + case "IRR": + return TransactionCurrencyEnumIrr, nil + case "IQD": + return TransactionCurrencyEnumIqd, nil + case "IEP": + return TransactionCurrencyEnumIep, nil + case "ILS": + return TransactionCurrencyEnumIls, nil + case "ILP": + return TransactionCurrencyEnumIlp, nil + case "ILR": + return TransactionCurrencyEnumIlr, nil + case "ITL": + return TransactionCurrencyEnumItl, nil + case "JMD": + return TransactionCurrencyEnumJmd, nil + case "JPY": + return TransactionCurrencyEnumJpy, nil + case "JOD": + return TransactionCurrencyEnumJod, nil + case "KZT": + return TransactionCurrencyEnumKzt, nil + case "KES": + return TransactionCurrencyEnumKes, nil + case "KWD": + return TransactionCurrencyEnumKwd, nil + case "KGS": + return TransactionCurrencyEnumKgs, nil + case "LAK": + return TransactionCurrencyEnumLak, nil + case "LVL": + return TransactionCurrencyEnumLvl, nil + case "LVR": + return TransactionCurrencyEnumLvr, nil + case "LBP": + return TransactionCurrencyEnumLbp, nil + case "LSL": + return TransactionCurrencyEnumLsl, nil + case "LRD": + return TransactionCurrencyEnumLrd, nil + case "LYD": + return TransactionCurrencyEnumLyd, nil + case "LTL": + return TransactionCurrencyEnumLtl, nil + case "LTT": + return TransactionCurrencyEnumLtt, nil + case "LUL": + return TransactionCurrencyEnumLul, nil + case "LUC": + return TransactionCurrencyEnumLuc, nil + case "LUF": + return TransactionCurrencyEnumLuf, nil + case "MOP": + return TransactionCurrencyEnumMop, nil + case "MKD": + return TransactionCurrencyEnumMkd, nil + case "MKN": + return TransactionCurrencyEnumMkn, nil + case "MGA": + return TransactionCurrencyEnumMga, nil + case "MGF": + return TransactionCurrencyEnumMgf, nil + case "MWK": + return TransactionCurrencyEnumMwk, nil + case "MYR": + return TransactionCurrencyEnumMyr, nil + case "MVR": + return TransactionCurrencyEnumMvr, nil + case "MVP": + return TransactionCurrencyEnumMvp, nil + case "MLF": + return TransactionCurrencyEnumMlf, nil + case "MTL": + return TransactionCurrencyEnumMtl, nil + case "MTP": + return TransactionCurrencyEnumMtp, nil + case "MRU": + return TransactionCurrencyEnumMru, nil + case "MRO": + return TransactionCurrencyEnumMro, nil + case "MUR": + return TransactionCurrencyEnumMur, nil + case "MXV": + return TransactionCurrencyEnumMxv, nil + case "MXN": + return TransactionCurrencyEnumMxn, nil + case "MXP": + return TransactionCurrencyEnumMxp, nil + case "MDC": + return TransactionCurrencyEnumMdc, nil + case "MDL": + return TransactionCurrencyEnumMdl, nil + case "MCF": + return TransactionCurrencyEnumMcf, nil + case "MNT": + return TransactionCurrencyEnumMnt, nil + case "MAD": + return TransactionCurrencyEnumMad, nil + case "MAF": + return TransactionCurrencyEnumMaf, nil + case "MZE": + return TransactionCurrencyEnumMze, nil + case "MZN": + return TransactionCurrencyEnumMzn, nil + case "MZM": + return TransactionCurrencyEnumMzm, nil + case "MMK": + return TransactionCurrencyEnumMmk, nil + case "NAD": + return TransactionCurrencyEnumNad, nil + case "NPR": + return TransactionCurrencyEnumNpr, nil + case "ANG": + return TransactionCurrencyEnumAng, nil + case "TWD": + return TransactionCurrencyEnumTwd, nil + case "NZD": + return TransactionCurrencyEnumNzd, nil + case "NIO": + return TransactionCurrencyEnumNio, nil + case "NIC": + return TransactionCurrencyEnumNic, nil + case "NGN": + return TransactionCurrencyEnumNgn, nil + case "KPW": + return TransactionCurrencyEnumKpw, nil + case "NOK": + return TransactionCurrencyEnumNok, nil + case "OMR": + return TransactionCurrencyEnumOmr, nil + case "PKR": + return TransactionCurrencyEnumPkr, nil + case "XPD": + return TransactionCurrencyEnumXpd, nil + case "PAB": + return TransactionCurrencyEnumPab, nil + case "PGK": + return TransactionCurrencyEnumPgk, nil + case "PYG": + return TransactionCurrencyEnumPyg, nil + case "PEI": + return TransactionCurrencyEnumPei, nil + case "PEN": + return TransactionCurrencyEnumPen, nil + case "PES": + return TransactionCurrencyEnumPes, nil + case "PHP": + return TransactionCurrencyEnumPhp, nil + case "XPT": + return TransactionCurrencyEnumXpt, nil + case "PLN": + return TransactionCurrencyEnumPln, nil + case "PLZ": + return TransactionCurrencyEnumPlz, nil + case "PTE": + return TransactionCurrencyEnumPte, nil + case "GWE": + return TransactionCurrencyEnumGwe, nil + case "QAR": + return TransactionCurrencyEnumQar, nil + case "XRE": + return TransactionCurrencyEnumXre, nil + case "RHD": + return TransactionCurrencyEnumRhd, nil + case "RON": + return TransactionCurrencyEnumRon, nil + case "ROL": + return TransactionCurrencyEnumRol, nil + case "RUB": + return TransactionCurrencyEnumRub, nil + case "RUR": + return TransactionCurrencyEnumRur, nil + case "RWF": + return TransactionCurrencyEnumRwf, nil + case "SVC": + return TransactionCurrencyEnumSvc, nil + case "WST": + return TransactionCurrencyEnumWst, nil + case "SAR": + return TransactionCurrencyEnumSar, nil + case "RSD": + return TransactionCurrencyEnumRsd, nil + case "CSD": + return TransactionCurrencyEnumCsd, nil + case "SCR": + return TransactionCurrencyEnumScr, nil + case "SLL": + return TransactionCurrencyEnumSll, nil + case "XAG": + return TransactionCurrencyEnumXag, nil + case "SGD": + return TransactionCurrencyEnumSgd, nil + case "SKK": + return TransactionCurrencyEnumSkk, nil + case "SIT": + return TransactionCurrencyEnumSit, nil + case "SBD": + return TransactionCurrencyEnumSbd, nil + case "SOS": + return TransactionCurrencyEnumSos, nil + case "ZAR": + return TransactionCurrencyEnumZar, nil + case "ZAL": + return TransactionCurrencyEnumZal, nil + case "KRH": + return TransactionCurrencyEnumKrh, nil + case "KRW": + return TransactionCurrencyEnumKrw, nil + case "KRO": + return TransactionCurrencyEnumKro, nil + case "SSP": + return TransactionCurrencyEnumSsp, nil + case "SUR": + return TransactionCurrencyEnumSur, nil + case "ESP": + return TransactionCurrencyEnumEsp, nil + case "ESA": + return TransactionCurrencyEnumEsa, nil + case "ESB": + return TransactionCurrencyEnumEsb, nil + case "XDR": + return TransactionCurrencyEnumXdr, nil + case "LKR": + return TransactionCurrencyEnumLkr, nil + case "SHP": + return TransactionCurrencyEnumShp, nil + case "XSU": + return TransactionCurrencyEnumXsu, nil + case "SDD": + return TransactionCurrencyEnumSdd, nil + case "SDG": + return TransactionCurrencyEnumSdg, nil + case "SDP": + return TransactionCurrencyEnumSdp, nil + case "SRD": + return TransactionCurrencyEnumSrd, nil + case "SRG": + return TransactionCurrencyEnumSrg, nil + case "SZL": + return TransactionCurrencyEnumSzl, nil + case "SEK": + return TransactionCurrencyEnumSek, nil + case "CHF": + return TransactionCurrencyEnumChf, nil + case "SYP": + return TransactionCurrencyEnumSyp, nil + case "STN": + return TransactionCurrencyEnumStn, nil + case "STD": + return TransactionCurrencyEnumStd, nil + case "TVD": + return TransactionCurrencyEnumTvd, nil + case "TJR": + return TransactionCurrencyEnumTjr, nil + case "TJS": + return TransactionCurrencyEnumTjs, nil + case "TZS": + return TransactionCurrencyEnumTzs, nil + case "XTS": + return TransactionCurrencyEnumXts, nil + case "THB": + return TransactionCurrencyEnumThb, nil + case "XXX": + return TransactionCurrencyEnumXxx, nil + case "TPE": + return TransactionCurrencyEnumTpe, nil + case "TOP": + return TransactionCurrencyEnumTop, nil + case "TTD": + return TransactionCurrencyEnumTtd, nil + case "TND": + return TransactionCurrencyEnumTnd, nil + case "TRY": + return TransactionCurrencyEnumTry, nil + case "TRL": + return TransactionCurrencyEnumTrl, nil + case "TMT": + return TransactionCurrencyEnumTmt, nil + case "TMM": + return TransactionCurrencyEnumTmm, nil + case "USD": + return TransactionCurrencyEnumUsd, nil + case "USN": + return TransactionCurrencyEnumUsn, nil + case "USS": + return TransactionCurrencyEnumUss, nil + case "UGX": + return TransactionCurrencyEnumUgx, nil + case "UGS": + return TransactionCurrencyEnumUgs, nil + case "UAH": + return TransactionCurrencyEnumUah, nil + case "UAK": + return TransactionCurrencyEnumUak, nil + case "AED": + return TransactionCurrencyEnumAed, nil + case "UYW": + return TransactionCurrencyEnumUyw, nil + case "UYU": + return TransactionCurrencyEnumUyu, nil + case "UYP": + return TransactionCurrencyEnumUyp, nil + case "UYI": + return TransactionCurrencyEnumUyi, nil + case "UZS": + return TransactionCurrencyEnumUzs, nil + case "VUV": + return TransactionCurrencyEnumVuv, nil + case "VES": + return TransactionCurrencyEnumVes, nil + case "VEB": + return TransactionCurrencyEnumVeb, nil + case "VEF": + return TransactionCurrencyEnumVef, nil + case "VND": + return TransactionCurrencyEnumVnd, nil + case "VNN": + return TransactionCurrencyEnumVnn, nil + case "CHE": + return TransactionCurrencyEnumChe, nil + case "CHW": + return TransactionCurrencyEnumChw, nil + case "XOF": + return TransactionCurrencyEnumXof, nil + case "YDD": + return TransactionCurrencyEnumYdd, nil + case "YER": + return TransactionCurrencyEnumYer, nil + case "YUN": + return TransactionCurrencyEnumYun, nil + case "YUD": + return TransactionCurrencyEnumYud, nil + case "YUM": + return TransactionCurrencyEnumYum, nil + case "YUR": + return TransactionCurrencyEnumYur, nil + case "ZWN": + return TransactionCurrencyEnumZwn, nil + case "ZRN": + return TransactionCurrencyEnumZrn, nil + case "ZRZ": + return TransactionCurrencyEnumZrz, nil + case "ZMW": + return TransactionCurrencyEnumZmw, nil + case "ZMK": + return TransactionCurrencyEnumZmk, nil + case "ZWD": + return TransactionCurrencyEnumZwd, nil + case "ZWR": + return TransactionCurrencyEnumZwr, nil + case "ZWL": + return TransactionCurrencyEnumZwl, nil } + var t TransactionCurrencyEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) } -type TrackingCategoryStatusVisitor interface { - VisitStatus7D1Enum(Status7D1Enum) error - VisitString(string) error -} - -func (t *TrackingCategoryStatus) Accept(visitor TrackingCategoryStatusVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "status7D1Enum": - return visitor.VisitStatus7D1Enum(t.Status7D1Enum) - case "string": - return visitor.VisitString(t.String) - } +func (t TransactionCurrencyEnum) Ptr() *TransactionCurrencyEnum { + return &t } -// # The Transaction Object +// # The TransactionLineItem Object // // ### Description // -// The `Transaction` common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of: -// -// - **Credit Notes** -// - **Expenses** -// - **Invoices** -// - **Journal Entries** -// - **Payments** -// - **Purchase Orders** -// - **Vendor Credits** +// The `TransactionLineItem` object is used to represent a transaction's line items. // // ### Usage Example // -// Fetch from the `GET Transaction` endpoint and view a company's transactions. -type Transaction struct { +// Fetch from the `GET TransactionLineItem` endpoint and view the transaction's line items. +type TransactionLineItem struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` @@ -34638,19 +43826,24 @@ type Transaction struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The type of transaction, which can by any transaction object not already included in Merge’s common model. - TransactionType *string `json:"transaction_type,omitempty"` - // The transaction's number used for identifying purposes. - Number *string `json:"number,omitempty"` - // The date upon which the transaction occurred. - TransactionDate *time.Time `json:"transaction_date,omitempty"` - // The transaction's account. - Account *TransactionAccount `json:"account,omitempty"` - // The contact to whom the transaction relates to. - Contact *TransactionContact `json:"contact,omitempty"` - // The total amount being paid after taxes. - TotalAmount *string `json:"total_amount,omitempty"` - // The transaction's currency. + // An internal note used by the business to clarify purpose of the transaction. + Memo *string `json:"memo,omitempty"` + // The line item's unit price. + UnitPrice *string `json:"unit_price,omitempty"` + // The line item's quantity. + Quantity *string `json:"quantity,omitempty"` + Item *TransactionLineItemItem `json:"item,omitempty"` + // The line item's account. + Account *string `json:"account,omitempty"` + // The line's associated tracking category. + TrackingCategory *string `json:"tracking_category,omitempty"` + // The transaction line item's associated tracking categories. + TrackingCategories []*string `json:"tracking_categories,omitempty"` + // The line item's total. + TotalLineAmount *string `json:"total_line_amount,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // The line item's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -34958,35 +44151,29 @@ type Transaction struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *TransactionCurrency `json:"currency,omitempty"` - // The transaction's exchange rate. + Currency *TransactionLineItemCurrency `json:"currency,omitempty"` + // The line item's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` - // The company the transaction belongs to. - Company *string `json:"company,omitempty"` - TrackingCategories []*TransactionTrackingCategoriesItem `json:"tracking_categories,omitempty"` - LineItems []*TransactionLineItem `json:"line_items,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // The company the line belongs to. + Company *string `json:"company,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - // The accounting period that the Transaction was generated in. - AccountingPeriod *TransactionAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (t *Transaction) UnmarshalJSON(data []byte) error { - type unmarshaler Transaction +func (t *TransactionLineItem) UnmarshalJSON(data []byte) error { + type unmarshaler TransactionLineItem var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *t = Transaction(value) + *t = TransactionLineItem(value) t._rawJSON = json.RawMessage(data) return nil } -func (t *Transaction) String() string { +func (t *TransactionLineItem) String() string { if len(t._rawJSON) > 0 { if value, err := core.StringifyJSON(t._rawJSON); err == nil { return value @@ -34998,181 +44185,7 @@ func (t *Transaction) String() string { return fmt.Sprintf("%#v", t) } -// The transaction's account. -type TransactionAccount struct { - typeName string - String string - Account *Account -} - -func NewTransactionAccountFromString(value string) *TransactionAccount { - return &TransactionAccount{typeName: "string", String: value} -} - -func NewTransactionAccountFromAccount(value *Account) *TransactionAccount { - return &TransactionAccount{typeName: "account", Account: value} -} - -func (t *TransactionAccount) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString - return nil - } - valueAccount := new(Account) - if err := json.Unmarshal(data, &valueAccount); err == nil { - t.typeName = "account" - t.Account = valueAccount - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) -} - -func (t TransactionAccount) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return json.Marshal(t.String) - case "account": - return json.Marshal(t.Account) - } -} - -type TransactionAccountVisitor interface { - VisitString(string) error - VisitAccount(*Account) error -} - -func (t *TransactionAccount) Accept(visitor TransactionAccountVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return visitor.VisitString(t.String) - case "account": - return visitor.VisitAccount(t.Account) - } -} - -// The accounting period that the Transaction was generated in. -type TransactionAccountingPeriod struct { - typeName string - String string - AccountingPeriod *AccountingPeriod -} - -func NewTransactionAccountingPeriodFromString(value string) *TransactionAccountingPeriod { - return &TransactionAccountingPeriod{typeName: "string", String: value} -} - -func NewTransactionAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *TransactionAccountingPeriod { - return &TransactionAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} -} - -func (t *TransactionAccountingPeriod) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString - return nil - } - valueAccountingPeriod := new(AccountingPeriod) - if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { - t.typeName = "accountingPeriod" - t.AccountingPeriod = valueAccountingPeriod - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) -} - -func (t TransactionAccountingPeriod) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return json.Marshal(t.String) - case "accountingPeriod": - return json.Marshal(t.AccountingPeriod) - } -} - -type TransactionAccountingPeriodVisitor interface { - VisitString(string) error - VisitAccountingPeriod(*AccountingPeriod) error -} - -func (t *TransactionAccountingPeriod) Accept(visitor TransactionAccountingPeriodVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return visitor.VisitString(t.String) - case "accountingPeriod": - return visitor.VisitAccountingPeriod(t.AccountingPeriod) - } -} - -// The contact to whom the transaction relates to. -type TransactionContact struct { - typeName string - String string - Contact *Contact -} - -func NewTransactionContactFromString(value string) *TransactionContact { - return &TransactionContact{typeName: "string", String: value} -} - -func NewTransactionContactFromContact(value *Contact) *TransactionContact { - return &TransactionContact{typeName: "contact", Contact: value} -} - -func (t *TransactionContact) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString - return nil - } - valueContact := new(Contact) - if err := json.Unmarshal(data, &valueContact); err == nil { - t.typeName = "contact" - t.Contact = valueContact - return nil - } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) -} - -func (t TransactionContact) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return json.Marshal(t.String) - case "contact": - return json.Marshal(t.Contact) - } -} - -type TransactionContactVisitor interface { - VisitString(string) error - VisitContact(*Contact) error -} - -func (t *TransactionContact) Accept(visitor TransactionContactVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return visitor.VisitString(t.String) - case "contact": - return visitor.VisitContact(t.Contact) - } -} - -// The transaction's currency. +// The line item's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -35480,73 +44493,260 @@ func (t *TransactionContact) Accept(visitor TransactionContactVisitor) error { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type TransactionCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type TransactionLineItemCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string +} + +func NewTransactionLineItemCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *TransactionLineItemCurrency { + return &TransactionLineItemCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} +} + +func NewTransactionLineItemCurrencyFromString(value string) *TransactionLineItemCurrency { + return &TransactionLineItemCurrency{typeName: "string", String: value} +} + +func (t *TransactionLineItemCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + t.typeName = "transactionCurrencyEnum" + t.TransactionCurrencyEnum = valueTransactionCurrencyEnum + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) +} + +func (t TransactionLineItemCurrency) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "transactionCurrencyEnum": + return json.Marshal(t.TransactionCurrencyEnum) + case "string": + return json.Marshal(t.String) + } +} + +type TransactionLineItemCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error + VisitString(string) error +} + +func (t *TransactionLineItemCurrency) Accept(visitor TransactionLineItemCurrencyVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(t.TransactionCurrencyEnum) + case "string": + return visitor.VisitString(t.String) + } +} + +type TransactionLineItemItem struct { + typeName string + String string + Item *Item +} + +func NewTransactionLineItemItemFromString(value string) *TransactionLineItemItem { + return &TransactionLineItemItem{typeName: "string", String: value} +} + +func NewTransactionLineItemItemFromItem(value *Item) *TransactionLineItemItem { + return &TransactionLineItemItem{typeName: "item", Item: value} +} + +func (t *TransactionLineItemItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + valueItem := new(Item) + if err := json.Unmarshal(data, &valueItem); err == nil { + t.typeName = "item" + t.Item = valueItem + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func NewTransactionCurrencyFromCurrencyEnum(value CurrencyEnum) *TransactionCurrency { - return &TransactionCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func (t TransactionLineItemItem) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "item": + return json.Marshal(t.Item) + } } -func NewTransactionCurrencyFromString(value string) *TransactionCurrency { - return &TransactionCurrency{typeName: "string", String: value} +type TransactionLineItemItemVisitor interface { + VisitString(string) error + VisitItem(*Item) error } -func (t *TransactionCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - t.typeName = "currencyEnum" - t.CurrencyEnum = valueCurrencyEnum - return nil +func (t *TransactionLineItemItem) Accept(visitor TransactionLineItemItemVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "item": + return visitor.VisitItem(t.Item) } +} + +type TransactionTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} + +func NewTransactionTrackingCategoriesItemFromString(value string) *TransactionTrackingCategoriesItem { + return &TransactionTrackingCategoriesItem{typeName: "string", String: value} +} + +func NewTransactionTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *TransactionTrackingCategoriesItem { + return &TransactionTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (t *TransactionTrackingCategoriesItem) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { t.typeName = "string" t.String = valueString return nil } + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + t.typeName = "trackingCategory" + t.TrackingCategory = valueTrackingCategory + return nil + } return fmt.Errorf("%s cannot be deserialized as a %T", data, t) } -func (t TransactionCurrency) MarshalJSON() ([]byte, error) { +func (t TransactionTrackingCategoriesItem) MarshalJSON() ([]byte, error) { switch t.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "currencyEnum": - return json.Marshal(t.CurrencyEnum) case "string": return json.Marshal(t.String) + case "trackingCategory": + return json.Marshal(t.TrackingCategory) } } -type TransactionCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type TransactionTrackingCategoriesItemVisitor interface { VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error } -func (t *TransactionCurrency) Accept(visitor TransactionCurrencyVisitor) error { +func (t *TransactionTrackingCategoriesItem) Accept(visitor TransactionTrackingCategoriesItemVisitor) error { switch t.typeName { default: return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "currencyEnum": - return visitor.VisitCurrencyEnum(t.CurrencyEnum) case "string": return visitor.VisitString(t.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(t.TrackingCategory) } } -// # The TransactionLineItem Object +// - `INVOICE` - INVOICE +// - `EXPENSE` - EXPENSE +// - `TRANSACTION` - TRANSACTION +// - `JOURNAL_ENTRY` - JOURNAL_ENTRY +// - `PAYMENT` - PAYMENT +// - `VENDOR_CREDIT` - VENDOR_CREDIT +// - `CREDIT_NOTE` - CREDIT_NOTE +type UnderlyingTransactionTypeEnum string + +const ( + UnderlyingTransactionTypeEnumInvoice UnderlyingTransactionTypeEnum = "INVOICE" + UnderlyingTransactionTypeEnumExpense UnderlyingTransactionTypeEnum = "EXPENSE" + UnderlyingTransactionTypeEnumTransaction UnderlyingTransactionTypeEnum = "TRANSACTION" + UnderlyingTransactionTypeEnumJournalEntry UnderlyingTransactionTypeEnum = "JOURNAL_ENTRY" + UnderlyingTransactionTypeEnumPayment UnderlyingTransactionTypeEnum = "PAYMENT" + UnderlyingTransactionTypeEnumVendorCredit UnderlyingTransactionTypeEnum = "VENDOR_CREDIT" + UnderlyingTransactionTypeEnumCreditNote UnderlyingTransactionTypeEnum = "CREDIT_NOTE" +) + +func NewUnderlyingTransactionTypeEnumFromString(s string) (UnderlyingTransactionTypeEnum, error) { + switch s { + case "INVOICE": + return UnderlyingTransactionTypeEnumInvoice, nil + case "EXPENSE": + return UnderlyingTransactionTypeEnumExpense, nil + case "TRANSACTION": + return UnderlyingTransactionTypeEnumTransaction, nil + case "JOURNAL_ENTRY": + return UnderlyingTransactionTypeEnumJournalEntry, nil + case "PAYMENT": + return UnderlyingTransactionTypeEnumPayment, nil + case "VENDOR_CREDIT": + return UnderlyingTransactionTypeEnumVendorCredit, nil + case "CREDIT_NOTE": + return UnderlyingTransactionTypeEnumCreditNote, nil + } + var t UnderlyingTransactionTypeEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (u UnderlyingTransactionTypeEnum) Ptr() *UnderlyingTransactionTypeEnum { + return &u +} + +type ValidationProblemSource struct { + Pointer string `json:"pointer"` + + _rawJSON json.RawMessage +} + +func (v *ValidationProblemSource) UnmarshalJSON(data []byte) error { + type unmarshaler ValidationProblemSource + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = ValidationProblemSource(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *ValidationProblemSource) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) +} + +// # The VendorCredit Object // // ### Description // -// The `TransactionLineItem` object is used to represent a transaction's line items. +// A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease the overall amount of the `Invoice`. // // ### Usage Example // -// Fetch from the `GET TransactionLineItem` endpoint and view the transaction's line items. -type TransactionLineItem struct { +// Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits. +type VendorCredit struct { Id *string `json:"id,omitempty"` // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` @@ -35554,23 +44754,15 @@ type TransactionLineItem struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // An internal note used by the business to clarify purpose of the transaction. - Memo *string `json:"memo,omitempty"` - // The line item's unit price. - UnitPrice *string `json:"unit_price,omitempty"` - // The line item's quantity. - Quantity *string `json:"quantity,omitempty"` - Item *TransactionLineItemItem `json:"item,omitempty"` - // The line item's account. - Account *string `json:"account,omitempty"` - // The line's associated tracking category. - TrackingCategory *string `json:"tracking_category,omitempty"` - // The line's associated tracking categories. - TrackingCategories []string `json:"tracking_categories,omitempty"` - // The line item's total. - TotalLineAmount *string `json:"total_line_amount,omitempty"` - TaxRate *string `json:"tax_rate,omitempty"` - // The line item's currency. + // The vendor credit's number. + Number *string `json:"number,omitempty"` + // The vendor credit's transaction date. + TransactionDate *time.Time `json:"transaction_date,omitempty"` + // The vendor that owes the gift or refund. + Vendor *VendorCreditVendor `json:"vendor,omitempty"` + // The vendor credit's total amount. + TotalAmount *float64 `json:"total_amount,omitempty"` + // The vendor credit's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -35878,41 +45070,484 @@ type TransactionLineItem struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *TransactionLineItemCurrency `json:"currency,omitempty"` - // The line item's exchange rate. + Currency *VendorCreditCurrency `json:"currency,omitempty"` + // The vendor credit's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` - // The company the line belongs to. - Company *string `json:"company,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` + // The company the vendor credit belongs to. + Company *VendorCreditCompany `json:"company,omitempty"` + Lines []*VendorCreditLine `json:"lines,omitempty"` + TrackingCategories []*VendorCreditTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // A list of VendorCredit Applied to Lines objects. + AppliedToLines []*VendorCreditApplyLineForVendorCredit `json:"applied_to_lines,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + // The accounting period that the VendorCredit was generated in. + AccountingPeriod *VendorCreditAccountingPeriod `json:"accounting_period,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } -func (t *TransactionLineItem) UnmarshalJSON(data []byte) error { - type unmarshaler TransactionLineItem +func (v *VendorCredit) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCredit var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *t = TransactionLineItem(value) - t._rawJSON = json.RawMessage(data) + *v = VendorCredit(value) + v._rawJSON = json.RawMessage(data) return nil } -func (t *TransactionLineItem) String() string { - if len(t._rawJSON) > 0 { - if value, err := core.StringifyJSON(t._rawJSON); err == nil { +func (v *VendorCredit) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { return value } } - if value, err := core.StringifyJSON(t); err == nil { + if value, err := core.StringifyJSON(v); err == nil { return value } - return fmt.Sprintf("%#v", t) + return fmt.Sprintf("%#v", v) } -// The line item's currency. +// The accounting period that the VendorCredit was generated in. +type VendorCreditAccountingPeriod struct { + typeName string + String string + AccountingPeriod *AccountingPeriod +} + +func NewVendorCreditAccountingPeriodFromString(value string) *VendorCreditAccountingPeriod { + return &VendorCreditAccountingPeriod{typeName: "string", String: value} +} + +func NewVendorCreditAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *VendorCreditAccountingPeriod { + return &VendorCreditAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +} + +func (v *VendorCreditAccountingPeriod) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueAccountingPeriod := new(AccountingPeriod) + if err := json.Unmarshal(data, &valueAccountingPeriod); err == nil { + v.typeName = "accountingPeriod" + v.AccountingPeriod = valueAccountingPeriod + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditAccountingPeriod) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "accountingPeriod": + return json.Marshal(v.AccountingPeriod) + } +} + +type VendorCreditAccountingPeriodVisitor interface { + VisitString(string) error + VisitAccountingPeriod(*AccountingPeriod) error +} + +func (v *VendorCreditAccountingPeriod) Accept(visitor VendorCreditAccountingPeriodVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "accountingPeriod": + return visitor.VisitAccountingPeriod(v.AccountingPeriod) + } +} + +// # The VendorCreditApplyLine Object +// +// ### Description +// +// The `VendorCreditApplyLine` object is used to represent a applied vendor credit. +// +// ### Usage Example +// +// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's applied to lines. +type VendorCreditApplyLineForInvoice struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + VendorCredit *VendorCreditApplyLineForInvoiceVendorCredit `json:"vendor_credit,omitempty"` + // Date that the vendor credit is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the VendorCredit applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + + _rawJSON json.RawMessage +} + +func (v *VendorCreditApplyLineForInvoice) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditApplyLineForInvoice + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = VendorCreditApplyLineForInvoice(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *VendorCreditApplyLineForInvoice) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) +} + +type VendorCreditApplyLineForInvoiceVendorCredit struct { + typeName string + String string + VendorCredit *VendorCredit +} + +func NewVendorCreditApplyLineForInvoiceVendorCreditFromString(value string) *VendorCreditApplyLineForInvoiceVendorCredit { + return &VendorCreditApplyLineForInvoiceVendorCredit{typeName: "string", String: value} +} + +func NewVendorCreditApplyLineForInvoiceVendorCreditFromVendorCredit(value *VendorCredit) *VendorCreditApplyLineForInvoiceVendorCredit { + return &VendorCreditApplyLineForInvoiceVendorCredit{typeName: "vendorCredit", VendorCredit: value} +} + +func (v *VendorCreditApplyLineForInvoiceVendorCredit) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueVendorCredit := new(VendorCredit) + if err := json.Unmarshal(data, &valueVendorCredit); err == nil { + v.typeName = "vendorCredit" + v.VendorCredit = valueVendorCredit + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditApplyLineForInvoiceVendorCredit) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "vendorCredit": + return json.Marshal(v.VendorCredit) + } +} + +type VendorCreditApplyLineForInvoiceVendorCreditVisitor interface { + VisitString(string) error + VisitVendorCredit(*VendorCredit) error +} + +func (v *VendorCreditApplyLineForInvoiceVendorCredit) Accept(visitor VendorCreditApplyLineForInvoiceVendorCreditVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "vendorCredit": + return visitor.VisitVendorCredit(v.VendorCredit) + } +} + +// # The VendorCreditApplyLine Object +// +// ### Description +// +// The `VendorCreditApplyLine` object is used to represent a applied vendor credit. +// +// ### Usage Example +// +// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's applied to lines. +type VendorCreditApplyLineForVendorCredit struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + Invoice *VendorCreditApplyLineForVendorCreditInvoice `json:"invoice,omitempty"` + // Date that the vendor credit is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the VendorCredit applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + + _rawJSON json.RawMessage +} + +func (v *VendorCreditApplyLineForVendorCredit) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditApplyLineForVendorCredit + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = VendorCreditApplyLineForVendorCredit(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *VendorCreditApplyLineForVendorCredit) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) +} + +type VendorCreditApplyLineForVendorCreditInvoice struct { + typeName string + String string + Invoice *Invoice +} + +func NewVendorCreditApplyLineForVendorCreditInvoiceFromString(value string) *VendorCreditApplyLineForVendorCreditInvoice { + return &VendorCreditApplyLineForVendorCreditInvoice{typeName: "string", String: value} +} + +func NewVendorCreditApplyLineForVendorCreditInvoiceFromInvoice(value *Invoice) *VendorCreditApplyLineForVendorCreditInvoice { + return &VendorCreditApplyLineForVendorCreditInvoice{typeName: "invoice", Invoice: value} +} + +func (v *VendorCreditApplyLineForVendorCreditInvoice) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueInvoice := new(Invoice) + if err := json.Unmarshal(data, &valueInvoice); err == nil { + v.typeName = "invoice" + v.Invoice = valueInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditApplyLineForVendorCreditInvoice) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "invoice": + return json.Marshal(v.Invoice) + } +} + +type VendorCreditApplyLineForVendorCreditInvoiceVisitor interface { + VisitString(string) error + VisitInvoice(*Invoice) error +} + +func (v *VendorCreditApplyLineForVendorCreditInvoice) Accept(visitor VendorCreditApplyLineForVendorCreditInvoiceVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "invoice": + return visitor.VisitInvoice(v.Invoice) + } +} + +// # The VendorCreditApplyLine Object +// +// ### Description +// +// The `VendorCreditApplyLine` object is used to represent a applied vendor credit. +// +// ### Usage Example +// +// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's applied to lines. +type VendorCreditApplyLineForVendorCreditRequest struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + Invoice *VendorCreditApplyLineForVendorCreditRequestInvoice `json:"invoice,omitempty"` + // Date that the vendor credit is applied to the invoice. + AppliedDate *time.Time `json:"applied_date,omitempty"` + // The amount of the VendorCredit applied to the invoice. + AppliedAmount *string `json:"applied_amount,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` + + _rawJSON json.RawMessage +} + +func (v *VendorCreditApplyLineForVendorCreditRequest) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditApplyLineForVendorCreditRequest + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = VendorCreditApplyLineForVendorCreditRequest(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *VendorCreditApplyLineForVendorCreditRequest) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) +} + +type VendorCreditApplyLineForVendorCreditRequestInvoice struct { + typeName string + String string + Invoice *Invoice +} + +func NewVendorCreditApplyLineForVendorCreditRequestInvoiceFromString(value string) *VendorCreditApplyLineForVendorCreditRequestInvoice { + return &VendorCreditApplyLineForVendorCreditRequestInvoice{typeName: "string", String: value} +} + +func NewVendorCreditApplyLineForVendorCreditRequestInvoiceFromInvoice(value *Invoice) *VendorCreditApplyLineForVendorCreditRequestInvoice { + return &VendorCreditApplyLineForVendorCreditRequestInvoice{typeName: "invoice", Invoice: value} +} + +func (v *VendorCreditApplyLineForVendorCreditRequestInvoice) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueInvoice := new(Invoice) + if err := json.Unmarshal(data, &valueInvoice); err == nil { + v.typeName = "invoice" + v.Invoice = valueInvoice + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditApplyLineForVendorCreditRequestInvoice) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "invoice": + return json.Marshal(v.Invoice) + } +} + +type VendorCreditApplyLineForVendorCreditRequestInvoiceVisitor interface { + VisitString(string) error + VisitInvoice(*Invoice) error +} + +func (v *VendorCreditApplyLineForVendorCreditRequestInvoice) Accept(visitor VendorCreditApplyLineForVendorCreditRequestInvoiceVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "invoice": + return visitor.VisitInvoice(v.Invoice) + } +} + +// The company the vendor credit belongs to. +type VendorCreditCompany struct { + typeName string + String string + CompanyInfo *CompanyInfo +} + +func NewVendorCreditCompanyFromString(value string) *VendorCreditCompany { + return &VendorCreditCompany{typeName: "string", String: value} +} + +func NewVendorCreditCompanyFromCompanyInfo(value *CompanyInfo) *VendorCreditCompany { + return &VendorCreditCompany{typeName: "companyInfo", CompanyInfo: value} +} + +func (v *VendorCreditCompany) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueCompanyInfo := new(CompanyInfo) + if err := json.Unmarshal(data, &valueCompanyInfo); err == nil { + v.typeName = "companyInfo" + v.CompanyInfo = valueCompanyInfo + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditCompany) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "companyInfo": + return json.Marshal(v.CompanyInfo) + } +} + +type VendorCreditCompanyVisitor interface { + VisitString(string) error + VisitCompanyInfo(*CompanyInfo) error +} + +func (v *VendorCreditCompany) Accept(visitor VendorCreditCompanyVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "companyInfo": + return visitor.VisitCompanyInfo(v.CompanyInfo) + } +} + +// The vendor credit's currency. // // - `XUA` - ADB Unit of Account // - `AFN` - Afghan Afghani @@ -36220,195 +45855,229 @@ func (t *TransactionLineItem) String() string { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type TransactionLineItemCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type VendorCreditCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewTransactionLineItemCurrencyFromCurrencyEnum(value CurrencyEnum) *TransactionLineItemCurrency { - return &TransactionLineItemCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewVendorCreditCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *VendorCreditCurrency { + return &VendorCreditCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewTransactionLineItemCurrencyFromString(value string) *TransactionLineItemCurrency { - return &TransactionLineItemCurrency{typeName: "string", String: value} +func NewVendorCreditCurrencyFromString(value string) *VendorCreditCurrency { + return &VendorCreditCurrency{typeName: "string", String: value} } -func (t *TransactionLineItemCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - t.typeName = "currencyEnum" - t.CurrencyEnum = valueCurrencyEnum +func (v *VendorCreditCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + v.typeName = "transactionCurrencyEnum" + v.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString + v.typeName = "string" + v.String = valueString return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (t TransactionLineItemCurrency) MarshalJSON() ([]byte, error) { - switch t.typeName { +func (v VendorCreditCurrency) MarshalJSON() ([]byte, error) { + switch v.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "currencyEnum": - return json.Marshal(t.CurrencyEnum) + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "transactionCurrencyEnum": + return json.Marshal(v.TransactionCurrencyEnum) case "string": - return json.Marshal(t.String) + return json.Marshal(v.String) } } -type TransactionLineItemCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type VendorCreditCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (t *TransactionLineItemCurrency) Accept(visitor TransactionLineItemCurrencyVisitor) error { - switch t.typeName { +func (v *VendorCreditCurrency) Accept(visitor VendorCreditCurrencyVisitor) error { + switch v.typeName { default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "currencyEnum": - return visitor.VisitCurrencyEnum(t.CurrencyEnum) + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(v.TransactionCurrencyEnum) case "string": - return visitor.VisitString(t.String) + return visitor.VisitString(v.String) } } -type TransactionLineItemItem struct { - typeName string - String string - Item *Item -} - -func NewTransactionLineItemItemFromString(value string) *TransactionLineItemItem { - return &TransactionLineItemItem{typeName: "string", String: value} -} +// # The VendorCreditLine Object +// +// ### Description +// +// The `VendorCreditLine` object is used to represent a vendor credit's line items. +// +// ### Usage Example +// +// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's line items. +type VendorCreditLine struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The full value of the credit. + NetAmount *float64 `json:"net_amount,omitempty"` + // The line's associated tracking category. + TrackingCategory *string `json:"tracking_category,omitempty"` + // The vendor credit line item's associated tracking categories. + TrackingCategories []*string `json:"tracking_categories,omitempty"` + // The line's description. + Description *string `json:"description,omitempty"` + // The line's account. + Account *VendorCreditLineAccount `json:"account,omitempty"` + // The company the line belongs to. + Company *string `json:"company,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // The vendor credit line item's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` -func NewTransactionLineItemItemFromItem(value *Item) *TransactionLineItemItem { - return &TransactionLineItemItem{typeName: "item", Item: value} + _rawJSON json.RawMessage } -func (t *TransactionLineItemItem) UnmarshalJSON(data []byte) error { - var valueString string - if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString - return nil - } - valueItem := new(Item) - if err := json.Unmarshal(data, &valueItem); err == nil { - t.typeName = "item" - t.Item = valueItem - return nil +func (v *VendorCreditLine) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditLine + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) + *v = VendorCreditLine(value) + v._rawJSON = json.RawMessage(data) + return nil } -func (t TransactionLineItemItem) MarshalJSON() ([]byte, error) { - switch t.typeName { - default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return json.Marshal(t.String) - case "item": - return json.Marshal(t.Item) +func (v *VendorCreditLine) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } } -} - -type TransactionLineItemItemVisitor interface { - VisitString(string) error - VisitItem(*Item) error -} - -func (t *TransactionLineItemItem) Accept(visitor TransactionLineItemItemVisitor) error { - switch t.typeName { - default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) - case "string": - return visitor.VisitString(t.String) - case "item": - return visitor.VisitItem(t.Item) + if value, err := core.StringifyJSON(v); err == nil { + return value } + return fmt.Sprintf("%#v", v) } -type TransactionTrackingCategoriesItem struct { - typeName string - String string - TrackingCategory *TrackingCategory +// The line's account. +type VendorCreditLineAccount struct { + typeName string + String string + Account *Account } -func NewTransactionTrackingCategoriesItemFromString(value string) *TransactionTrackingCategoriesItem { - return &TransactionTrackingCategoriesItem{typeName: "string", String: value} +func NewVendorCreditLineAccountFromString(value string) *VendorCreditLineAccount { + return &VendorCreditLineAccount{typeName: "string", String: value} } -func NewTransactionTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *TransactionTrackingCategoriesItem { - return &TransactionTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +func NewVendorCreditLineAccountFromAccount(value *Account) *VendorCreditLineAccount { + return &VendorCreditLineAccount{typeName: "account", Account: value} } -func (t *TransactionTrackingCategoriesItem) UnmarshalJSON(data []byte) error { +func (v *VendorCreditLineAccount) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { - t.typeName = "string" - t.String = valueString + v.typeName = "string" + v.String = valueString return nil } - valueTrackingCategory := new(TrackingCategory) - if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { - t.typeName = "trackingCategory" - t.TrackingCategory = valueTrackingCategory + valueAccount := new(Account) + if err := json.Unmarshal(data, &valueAccount); err == nil { + v.typeName = "account" + v.Account = valueAccount return nil } - return fmt.Errorf("%s cannot be deserialized as a %T", data, t) + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (t TransactionTrackingCategoriesItem) MarshalJSON() ([]byte, error) { - switch t.typeName { +func (v VendorCreditLineAccount) MarshalJSON() ([]byte, error) { + switch v.typeName { default: - return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) case "string": - return json.Marshal(t.String) - case "trackingCategory": - return json.Marshal(t.TrackingCategory) + return json.Marshal(v.String) + case "account": + return json.Marshal(v.Account) } } -type TransactionTrackingCategoriesItemVisitor interface { +type VendorCreditLineAccountVisitor interface { VisitString(string) error - VisitTrackingCategory(*TrackingCategory) error + VisitAccount(*Account) error } -func (t *TransactionTrackingCategoriesItem) Accept(visitor TransactionTrackingCategoriesItemVisitor) error { - switch t.typeName { +func (v *VendorCreditLineAccount) Accept(visitor VendorCreditLineAccountVisitor) error { + switch v.typeName { default: - return fmt.Errorf("invalid type %s in %T", t.typeName, t) + return fmt.Errorf("invalid type %s in %T", v.typeName, v) case "string": - return visitor.VisitString(t.String) - case "trackingCategory": - return visitor.VisitTrackingCategory(t.TrackingCategory) + return visitor.VisitString(v.String) + case "account": + return visitor.VisitAccount(v.Account) } } -type ValidationProblemSource struct { - Pointer string `json:"pointer"` +// # The VendorCreditLine Object +// +// ### Description +// +// The `VendorCreditLine` object is used to represent a vendor credit's line items. +// +// ### Usage Example +// +// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's line items. +type VendorCreditLineRequest struct { + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The full value of the credit. + NetAmount *float64 `json:"net_amount,omitempty"` + // The line's associated tracking category. + TrackingCategory *string `json:"tracking_category,omitempty"` + // The vendor credit line item's associated tracking categories. + TrackingCategories []*string `json:"tracking_categories,omitempty"` + // The line's description. + Description *string `json:"description,omitempty"` + // The line's account. + Account *VendorCreditLineRequestAccount `json:"account,omitempty"` + // The company the line belongs to. + Company *string `json:"company,omitempty"` + // The tax rate that applies to this line item. + TaxRate *string `json:"tax_rate,omitempty"` + // The vendor credit line item's exchange rate. + ExchangeRate *string `json:"exchange_rate,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` _rawJSON json.RawMessage } -func (v *ValidationProblemSource) UnmarshalJSON(data []byte) error { - type unmarshaler ValidationProblemSource +func (v *VendorCreditLineRequest) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditLineRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *v = ValidationProblemSource(value) + *v = VendorCreditLineRequest(value) v._rawJSON = json.RawMessage(data) return nil } -func (v *ValidationProblemSource) String() string { +func (v *VendorCreditLineRequest) String() string { if len(v._rawJSON) > 0 { if value, err := core.StringifyJSON(v._rawJSON); err == nil { return value @@ -36420,29 +46089,80 @@ func (v *ValidationProblemSource) String() string { return fmt.Sprintf("%#v", v) } +// The line's account. +type VendorCreditLineRequestAccount struct { + typeName string + String string + Account *Account +} + +func NewVendorCreditLineRequestAccountFromString(value string) *VendorCreditLineRequestAccount { + return &VendorCreditLineRequestAccount{typeName: "string", String: value} +} + +func NewVendorCreditLineRequestAccountFromAccount(value *Account) *VendorCreditLineRequestAccount { + return &VendorCreditLineRequestAccount{typeName: "account", Account: value} +} + +func (v *VendorCreditLineRequestAccount) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueAccount := new(Account) + if err := json.Unmarshal(data, &valueAccount); err == nil { + v.typeName = "account" + v.Account = valueAccount + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v VendorCreditLineRequestAccount) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "account": + return json.Marshal(v.Account) + } +} + +type VendorCreditLineRequestAccountVisitor interface { + VisitString(string) error + VisitAccount(*Account) error +} + +func (v *VendorCreditLineRequestAccount) Accept(visitor VendorCreditLineRequestAccountVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "account": + return visitor.VisitAccount(v.Account) + } +} + // # The VendorCredit Object // // ### Description // -// A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to _Accounts Payable_ Invoices to decrease the overall amount of the Invoice. +// A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease the overall amount of the `Invoice`. // // ### Usage Example // // Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits. -type VendorCredit struct { - Id *string `json:"id,omitempty"` - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` +type VendorCreditRequest struct { // The vendor credit's number. Number *string `json:"number,omitempty"` // The vendor credit's transaction date. TransactionDate *time.Time `json:"transaction_date,omitempty"` // The vendor that owes the gift or refund. - Vendor *VendorCreditVendor `json:"vendor,omitempty"` + Vendor *VendorCreditRequestVendor `json:"vendor,omitempty"` // The vendor credit's total amount. TotalAmount *float64 `json:"total_amount,omitempty"` // The vendor credit's currency. @@ -36753,35 +46473,36 @@ type VendorCredit struct { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) - Currency *VendorCreditCurrency `json:"currency,omitempty"` + Currency *VendorCreditRequestCurrency `json:"currency,omitempty"` // The vendor credit's exchange rate. ExchangeRate *string `json:"exchange_rate,omitempty"` + // If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + InclusiveOfTax *bool `json:"inclusive_of_tax,omitempty"` // The company the vendor credit belongs to. - Company *VendorCreditCompany `json:"company,omitempty"` - Lines []*VendorCreditLine `json:"lines,omitempty"` - TrackingCategories []*VendorCreditTrackingCategoriesItem `json:"tracking_categories,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + Company *VendorCreditRequestCompany `json:"company,omitempty"` + TrackingCategories []*VendorCreditRequestTrackingCategoriesItem `json:"tracking_categories,omitempty"` + // A list of VendorCredit Applied to Lines objects. + AppliedToLines []*VendorCreditApplyLineForVendorCreditRequest `json:"applied_to_lines,omitempty"` // The accounting period that the VendorCredit was generated in. - AccountingPeriod *VendorCreditAccountingPeriod `json:"accounting_period,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + AccountingPeriod *VendorCreditRequestAccountingPeriod `json:"accounting_period,omitempty"` + IntegrationParams map[string]interface{} `json:"integration_params,omitempty"` + LinkedAccountParams map[string]interface{} `json:"linked_account_params,omitempty"` _rawJSON json.RawMessage } -func (v *VendorCredit) UnmarshalJSON(data []byte) error { - type unmarshaler VendorCredit +func (v *VendorCreditRequest) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditRequest var value unmarshaler if err := json.Unmarshal(data, &value); err != nil { return err } - *v = VendorCredit(value) + *v = VendorCreditRequest(value) v._rawJSON = json.RawMessage(data) return nil } -func (v *VendorCredit) String() string { +func (v *VendorCreditRequest) String() string { if len(v._rawJSON) > 0 { if value, err := core.StringifyJSON(v._rawJSON); err == nil { return value @@ -36794,21 +46515,21 @@ func (v *VendorCredit) String() string { } // The accounting period that the VendorCredit was generated in. -type VendorCreditAccountingPeriod struct { +type VendorCreditRequestAccountingPeriod struct { typeName string String string AccountingPeriod *AccountingPeriod } -func NewVendorCreditAccountingPeriodFromString(value string) *VendorCreditAccountingPeriod { - return &VendorCreditAccountingPeriod{typeName: "string", String: value} +func NewVendorCreditRequestAccountingPeriodFromString(value string) *VendorCreditRequestAccountingPeriod { + return &VendorCreditRequestAccountingPeriod{typeName: "string", String: value} } -func NewVendorCreditAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *VendorCreditAccountingPeriod { - return &VendorCreditAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} +func NewVendorCreditRequestAccountingPeriodFromAccountingPeriod(value *AccountingPeriod) *VendorCreditRequestAccountingPeriod { + return &VendorCreditRequestAccountingPeriod{typeName: "accountingPeriod", AccountingPeriod: value} } -func (v *VendorCreditAccountingPeriod) UnmarshalJSON(data []byte) error { +func (v *VendorCreditRequestAccountingPeriod) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { v.typeName = "string" @@ -36824,7 +46545,7 @@ func (v *VendorCreditAccountingPeriod) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (v VendorCreditAccountingPeriod) MarshalJSON() ([]byte, error) { +func (v VendorCreditRequestAccountingPeriod) MarshalJSON() ([]byte, error) { switch v.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) @@ -36835,12 +46556,12 @@ func (v VendorCreditAccountingPeriod) MarshalJSON() ([]byte, error) { } } -type VendorCreditAccountingPeriodVisitor interface { +type VendorCreditRequestAccountingPeriodVisitor interface { VisitString(string) error VisitAccountingPeriod(*AccountingPeriod) error } -func (v *VendorCreditAccountingPeriod) Accept(visitor VendorCreditAccountingPeriodVisitor) error { +func (v *VendorCreditRequestAccountingPeriod) Accept(visitor VendorCreditRequestAccountingPeriodVisitor) error { switch v.typeName { default: return fmt.Errorf("invalid type %s in %T", v.typeName, v) @@ -36852,21 +46573,21 @@ func (v *VendorCreditAccountingPeriod) Accept(visitor VendorCreditAccountingPeri } // The company the vendor credit belongs to. -type VendorCreditCompany struct { +type VendorCreditRequestCompany struct { typeName string String string CompanyInfo *CompanyInfo } -func NewVendorCreditCompanyFromString(value string) *VendorCreditCompany { - return &VendorCreditCompany{typeName: "string", String: value} +func NewVendorCreditRequestCompanyFromString(value string) *VendorCreditRequestCompany { + return &VendorCreditRequestCompany{typeName: "string", String: value} } -func NewVendorCreditCompanyFromCompanyInfo(value *CompanyInfo) *VendorCreditCompany { - return &VendorCreditCompany{typeName: "companyInfo", CompanyInfo: value} +func NewVendorCreditRequestCompanyFromCompanyInfo(value *CompanyInfo) *VendorCreditRequestCompany { + return &VendorCreditRequestCompany{typeName: "companyInfo", CompanyInfo: value} } -func (v *VendorCreditCompany) UnmarshalJSON(data []byte) error { +func (v *VendorCreditRequestCompany) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { v.typeName = "string" @@ -36882,7 +46603,7 @@ func (v *VendorCreditCompany) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (v VendorCreditCompany) MarshalJSON() ([]byte, error) { +func (v VendorCreditRequestCompany) MarshalJSON() ([]byte, error) { switch v.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) @@ -36893,12 +46614,12 @@ func (v VendorCreditCompany) MarshalJSON() ([]byte, error) { } } -type VendorCreditCompanyVisitor interface { +type VendorCreditRequestCompanyVisitor interface { VisitString(string) error VisitCompanyInfo(*CompanyInfo) error } -func (v *VendorCreditCompany) Accept(visitor VendorCreditCompanyVisitor) error { +func (v *VendorCreditRequestCompany) Accept(visitor VendorCreditRequestCompanyVisitor) error { switch v.typeName { default: return fmt.Errorf("invalid type %s in %T", v.typeName, v) @@ -37217,25 +46938,25 @@ func (v *VendorCreditCompany) Accept(visitor VendorCreditCompanyVisitor) error { // - `ZWD` - Zimbabwean Dollar (1980–2008) // - `ZWR` - Zimbabwean Dollar (2008) // - `ZWL` - Zimbabwean Dollar (2009) -type VendorCreditCurrency struct { - typeName string - CurrencyEnum CurrencyEnum - String string +type VendorCreditRequestCurrency struct { + typeName string + TransactionCurrencyEnum TransactionCurrencyEnum + String string } -func NewVendorCreditCurrencyFromCurrencyEnum(value CurrencyEnum) *VendorCreditCurrency { - return &VendorCreditCurrency{typeName: "currencyEnum", CurrencyEnum: value} +func NewVendorCreditRequestCurrencyFromTransactionCurrencyEnum(value TransactionCurrencyEnum) *VendorCreditRequestCurrency { + return &VendorCreditRequestCurrency{typeName: "transactionCurrencyEnum", TransactionCurrencyEnum: value} } -func NewVendorCreditCurrencyFromString(value string) *VendorCreditCurrency { - return &VendorCreditCurrency{typeName: "string", String: value} +func NewVendorCreditRequestCurrencyFromString(value string) *VendorCreditRequestCurrency { + return &VendorCreditRequestCurrency{typeName: "string", String: value} } -func (v *VendorCreditCurrency) UnmarshalJSON(data []byte) error { - var valueCurrencyEnum CurrencyEnum - if err := json.Unmarshal(data, &valueCurrencyEnum); err == nil { - v.typeName = "currencyEnum" - v.CurrencyEnum = valueCurrencyEnum +func (v *VendorCreditRequestCurrency) UnmarshalJSON(data []byte) error { + var valueTransactionCurrencyEnum TransactionCurrencyEnum + if err := json.Unmarshal(data, &valueTransactionCurrencyEnum); err == nil { + v.typeName = "transactionCurrencyEnum" + v.TransactionCurrencyEnum = valueTransactionCurrencyEnum return nil } var valueString string @@ -37247,149 +46968,178 @@ func (v *VendorCreditCurrency) UnmarshalJSON(data []byte) error { return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (v VendorCreditCurrency) MarshalJSON() ([]byte, error) { +func (v VendorCreditRequestCurrency) MarshalJSON() ([]byte, error) { switch v.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) - case "currencyEnum": - return json.Marshal(v.CurrencyEnum) + case "transactionCurrencyEnum": + return json.Marshal(v.TransactionCurrencyEnum) case "string": return json.Marshal(v.String) } } -type VendorCreditCurrencyVisitor interface { - VisitCurrencyEnum(CurrencyEnum) error +type VendorCreditRequestCurrencyVisitor interface { + VisitTransactionCurrencyEnum(TransactionCurrencyEnum) error VisitString(string) error } -func (v *VendorCreditCurrency) Accept(visitor VendorCreditCurrencyVisitor) error { +func (v *VendorCreditRequestCurrency) Accept(visitor VendorCreditRequestCurrencyVisitor) error { switch v.typeName { default: return fmt.Errorf("invalid type %s in %T", v.typeName, v) - case "currencyEnum": - return visitor.VisitCurrencyEnum(v.CurrencyEnum) + case "transactionCurrencyEnum": + return visitor.VisitTransactionCurrencyEnum(v.TransactionCurrencyEnum) case "string": return visitor.VisitString(v.String) } } -// # The VendorCreditLine Object -// -// ### Description -// -// The `VendorCreditLine` object is used to represent a vendor credit's line items. -// -// ### Usage Example -// -// Fetch from the `GET VendorCredit` endpoint and view the vendor credit's line items. -type VendorCreditLine struct { - Id *string `json:"id,omitempty"` - // The third-party API ID of the matching object. - RemoteId *string `json:"remote_id,omitempty"` - // The datetime that this object was created by Merge. - CreatedAt *time.Time `json:"created_at,omitempty"` - // The datetime that this object was modified by Merge. - ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The full value of the credit. - NetAmount *float64 `json:"net_amount,omitempty"` - // The line's associated tracking category. - TrackingCategory *string `json:"tracking_category,omitempty"` - // The line's associated tracking categories. - TrackingCategories []string `json:"tracking_categories,omitempty"` - // The line's description. - Description *string `json:"description,omitempty"` - // The line's account. - Account *VendorCreditLineAccount `json:"account,omitempty"` - // The company the line belongs to. - Company *string `json:"company,omitempty"` - // The vendor credit line item's exchange rate. - ExchangeRate *string `json:"exchange_rate,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` +type VendorCreditRequestTrackingCategoriesItem struct { + typeName string + String string + TrackingCategory *TrackingCategory +} - _rawJSON json.RawMessage +func NewVendorCreditRequestTrackingCategoriesItemFromString(value string) *VendorCreditRequestTrackingCategoriesItem { + return &VendorCreditRequestTrackingCategoriesItem{typeName: "string", String: value} } -func (v *VendorCreditLine) UnmarshalJSON(data []byte) error { - type unmarshaler VendorCreditLine - var value unmarshaler - if err := json.Unmarshal(data, &value); err != nil { - return err +func NewVendorCreditRequestTrackingCategoriesItemFromTrackingCategory(value *TrackingCategory) *VendorCreditRequestTrackingCategoriesItem { + return &VendorCreditRequestTrackingCategoriesItem{typeName: "trackingCategory", TrackingCategory: value} +} + +func (v *VendorCreditRequestTrackingCategoriesItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil } - *v = VendorCreditLine(value) - v._rawJSON = json.RawMessage(data) - return nil + valueTrackingCategory := new(TrackingCategory) + if err := json.Unmarshal(data, &valueTrackingCategory); err == nil { + v.typeName = "trackingCategory" + v.TrackingCategory = valueTrackingCategory + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (v *VendorCreditLine) String() string { - if len(v._rawJSON) > 0 { - if value, err := core.StringifyJSON(v._rawJSON); err == nil { - return value - } +func (v VendorCreditRequestTrackingCategoriesItem) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "trackingCategory": + return json.Marshal(v.TrackingCategory) } - if value, err := core.StringifyJSON(v); err == nil { - return value +} + +type VendorCreditRequestTrackingCategoriesItemVisitor interface { + VisitString(string) error + VisitTrackingCategory(*TrackingCategory) error +} + +func (v *VendorCreditRequestTrackingCategoriesItem) Accept(visitor VendorCreditRequestTrackingCategoriesItemVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "trackingCategory": + return visitor.VisitTrackingCategory(v.TrackingCategory) } - return fmt.Sprintf("%#v", v) } -// The line's account. -type VendorCreditLineAccount struct { +// The vendor that owes the gift or refund. +type VendorCreditRequestVendor struct { typeName string String string - Account *Account + Contact *Contact } -func NewVendorCreditLineAccountFromString(value string) *VendorCreditLineAccount { - return &VendorCreditLineAccount{typeName: "string", String: value} +func NewVendorCreditRequestVendorFromString(value string) *VendorCreditRequestVendor { + return &VendorCreditRequestVendor{typeName: "string", String: value} } -func NewVendorCreditLineAccountFromAccount(value *Account) *VendorCreditLineAccount { - return &VendorCreditLineAccount{typeName: "account", Account: value} +func NewVendorCreditRequestVendorFromContact(value *Contact) *VendorCreditRequestVendor { + return &VendorCreditRequestVendor{typeName: "contact", Contact: value} } -func (v *VendorCreditLineAccount) UnmarshalJSON(data []byte) error { +func (v *VendorCreditRequestVendor) UnmarshalJSON(data []byte) error { var valueString string if err := json.Unmarshal(data, &valueString); err == nil { v.typeName = "string" v.String = valueString return nil } - valueAccount := new(Account) - if err := json.Unmarshal(data, &valueAccount); err == nil { - v.typeName = "account" - v.Account = valueAccount + valueContact := new(Contact) + if err := json.Unmarshal(data, &valueContact); err == nil { + v.typeName = "contact" + v.Contact = valueContact return nil } return fmt.Errorf("%s cannot be deserialized as a %T", data, v) } -func (v VendorCreditLineAccount) MarshalJSON() ([]byte, error) { +func (v VendorCreditRequestVendor) MarshalJSON() ([]byte, error) { switch v.typeName { default: return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) case "string": return json.Marshal(v.String) - case "account": - return json.Marshal(v.Account) + case "contact": + return json.Marshal(v.Contact) } } -type VendorCreditLineAccountVisitor interface { +type VendorCreditRequestVendorVisitor interface { VisitString(string) error - VisitAccount(*Account) error + VisitContact(*Contact) error } -func (v *VendorCreditLineAccount) Accept(visitor VendorCreditLineAccountVisitor) error { +func (v *VendorCreditRequestVendor) Accept(visitor VendorCreditRequestVendorVisitor) error { switch v.typeName { default: return fmt.Errorf("invalid type %s in %T", v.typeName, v) case "string": return visitor.VisitString(v.String) - case "account": - return visitor.VisitAccount(v.Account) + case "contact": + return visitor.VisitContact(v.Contact) + } +} + +type VendorCreditResponse struct { + Model *VendorCredit `json:"model,omitempty"` + Warnings []*WarningValidationProblem `json:"warnings,omitempty"` + Errors []*ErrorValidationProblem `json:"errors,omitempty"` + Logs []*DebugModeLog `json:"logs,omitempty"` + + _rawJSON json.RawMessage +} + +func (v *VendorCreditResponse) UnmarshalJSON(data []byte) error { + type unmarshaler VendorCreditResponse + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = VendorCreditResponse(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *VendorCreditResponse) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) } type VendorCreditTrackingCategoriesItem struct { diff --git a/accounting/vendor_credits.go b/accounting/vendor_credits.go index 4a02342..61c7ba5 100644 --- a/accounting/vendor_credits.go +++ b/accounting/vendor_credits.go @@ -7,6 +7,14 @@ import ( time "time" ) +type VendorCreditEndpointRequest struct { + // Whether to include debug fields (such as log file links) in the response. + IsDebugMode *bool `json:"-"` + // Whether or not third-party updates should be run asynchronously. + RunAsync *bool `json:"-"` + Model *VendorCreditRequest `json:"model,omitempty"` +} + type VendorCreditsListRequest struct { // If provided, will only return vendor credits for this company. CompanyId *string `json:"-"` @@ -18,10 +26,12 @@ type VendorCreditsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *VendorCreditsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/accounting/vendorcredits/client.go b/accounting/vendorcredits/client.go index 250add3..c57ce7d 100644 --- a/accounting/vendorcredits/client.go +++ b/accounting/vendorcredits/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *accounting.VendorCreditsList if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -97,6 +100,41 @@ func (c *Client) List(ctx context.Context, request *accounting.VendorCreditsList return response, nil } +// Creates a `VendorCredit` object with the given values. +func (c *Client) Create(ctx context.Context, request *accounting.VendorCreditEndpointRequest) (*accounting.VendorCreditResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/vendor-credits" + + queryParams := make(url.Values) + if request.IsDebugMode != nil { + queryParams.Add("is_debug_mode", fmt.Sprintf("%v", *request.IsDebugMode)) + } + if request.RunAsync != nil { + queryParams.Add("run_async", fmt.Sprintf("%v", *request.RunAsync)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + + var response *accounting.VendorCreditResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodPost, + Headers: c.header, + Request: request, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} + // Returns a `VendorCredit` object with the given `id`. func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.VendorCreditsRetrieveRequest) (*accounting.VendorCredit, error) { baseURL := "https://api.merge.dev/api" @@ -130,3 +168,26 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *accounting.Ve } return response, nil } + +// Returns metadata for `VendorCredit` POSTs. +func (c *Client) MetaPostRetrieve(ctx context.Context) (*accounting.MetaResponse, error) { + baseURL := "https://api.merge.dev/api" + if c.baseURL != "" { + baseURL = c.baseURL + } + endpointURL := baseURL + "/" + "accounting/v1/vendor-credits/meta/post" + + var response *accounting.MetaResponse + if err := c.caller.Call( + ctx, + &core.CallParams{ + URL: endpointURL, + Method: http.MethodGet, + Headers: c.header, + Response: &response, + }, + ); err != nil { + return nil, err + } + return response, nil +} diff --git a/ats/activities.go b/ats/activities.go index d8ccb59..d6e61fd 100644 --- a/ats/activities.go +++ b/ats/activities.go @@ -25,10 +25,12 @@ type ActivitiesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/activities/client.go b/ats/activities/client.go index d1467cf..d2f9f82 100644 --- a/ats/activities/client.go +++ b/ats/activities/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ats.ActivitiesListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/applications.go b/ats/applications.go index ea620f5..1eb377d 100644 --- a/ats/applications.go +++ b/ats/applications.go @@ -41,10 +41,12 @@ type ApplicationsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ApplicationsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return applications for this job. JobId *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/ats/applications/client.go b/ats/applications/client.go index f4688a6..cda61fe 100644 --- a/ats/applications/client.go +++ b/ats/applications/client.go @@ -66,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *ats.ApplicationsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.JobId != nil { queryParams.Add("job_id", fmt.Sprintf("%v", *request.JobId)) } @@ -107,6 +110,9 @@ func (c *Client) List(ctx context.Context, request *ats.ApplicationsListRequest) } // Creates an `Application` object with the given values. +// For certain integrations, but not all, our API detects duplicate candidates and will associate applications with existing records in the third-party. New candidates are created and automatically linked to the application. +// +// See our [Help Center article](https://help.merge.dev/en/articles/10012366-updates-to-post-applications-oct-2024) for detailed support per integration. func (c *Client) Create(ctx context.Context, request *ats.ApplicationEndpointRequest) (*ats.ApplicationResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/ats/async_passthrough.go b/ats/async_passthrough.go new file mode 100644 index 0000000..41fc6dd --- /dev/null +++ b/ats/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package ats + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/ats/asyncpassthrough/client.go b/ats/asyncpassthrough/client.go index f08a86f..e26c277 100644 --- a/ats/asyncpassthrough/client.go +++ b/ats/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *ats.DataPassthroughRequest } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*ats.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*ats.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"ats/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *ats.RemoteResponse + var response *ats.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/ats/attachments.go b/ats/attachments.go index 95d7ee7..26d5b88 100644 --- a/ats/attachments.go +++ b/ats/attachments.go @@ -26,10 +26,12 @@ type AttachmentsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/attachments/client.go b/ats/attachments/client.go index 30773b8..88d90f8 100644 --- a/ats/attachments/client.go +++ b/ats/attachments/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ats.AttachmentsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/audit_trail.go b/ats/audit_trail.go index ee245c8..1982445 100644 --- a/ats/audit_trail.go +++ b/ats/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/ats/candidates.go b/ats/candidates.go index 92d0b2d..d9c3e6a 100644 --- a/ats/candidates.go +++ b/ats/candidates.go @@ -34,10 +34,12 @@ type CandidatesListRequest struct { Expand *CandidatesListRequestExpand `json:"-"` // If provided, will only return candidates with this first name. FirstName *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return candidates with this last name. LastName *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/ats/candidates/client.go b/ats/candidates/client.go index 31eb027..89071db 100644 --- a/ats/candidates/client.go +++ b/ats/candidates/client.go @@ -63,6 +63,9 @@ func (c *Client) List(ctx context.Context, request *ats.CandidatesListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.LastName != nil { queryParams.Add("last_name", fmt.Sprintf("%v", *request.LastName)) } diff --git a/ats/departments.go b/ats/departments.go index e6655e8..664b0ea 100644 --- a/ats/departments.go +++ b/ats/departments.go @@ -13,10 +13,12 @@ type DepartmentsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/departments/client.go b/ats/departments/client.go index fe8cbc1..8a2e1cd 100644 --- a/ats/departments/client.go +++ b/ats/departments/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ats.DepartmentsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/eeocs.go b/ats/eeocs.go index bdbaf89..c0bf6b3 100644 --- a/ats/eeocs.go +++ b/ats/eeocs.go @@ -18,10 +18,12 @@ type EeocsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/eeocs/client.go b/ats/eeocs/client.go index 7fdd8d5..9ccdaf8 100644 --- a/ats/eeocs/client.go +++ b/ats/eeocs/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ats.EeocsListRequest) (*ats. if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/field_mapping.go b/ats/field_mapping.go index 81c5c9b..31659fa 100644 --- a/ats/field_mapping.go +++ b/ats/field_mapping.go @@ -3,6 +3,8 @@ package ats type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/ats/fieldmapping/client.go b/ats/fieldmapping/client.go index 8bf901a..a5e403f 100644 --- a/ats/fieldmapping/client.go +++ b/ats/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*ats.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *ats.FieldMappingsRetrieveRequest) (*ats.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "ats/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *ats.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *ats.CreateFie } endpointURL := baseURL + "/" + "ats/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *ats.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/ats/forceresync/client.go b/ats/forceresync/client.go index 1dc238e..ef0e79d 100644 --- a/ats/forceresync/client.go +++ b/ats/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*ats.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/ats/interviews.go b/ats/interviews.go index fa91a62..2432fed 100644 --- a/ats/interviews.go +++ b/ats/interviews.go @@ -27,10 +27,12 @@ type InterviewsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *InterviewsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, wll only return interviews organized for this job. JobId *string `json:"-"` // If provided, will only return interviews at this stage. diff --git a/ats/interviews/client.go b/ats/interviews/client.go index 074878c..210930e 100644 --- a/ats/interviews/client.go +++ b/ats/interviews/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ats.InterviewsListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.JobId != nil { queryParams.Add("job_id", fmt.Sprintf("%v", *request.JobId)) } diff --git a/ats/job_interview_stages.go b/ats/job_interview_stages.go index e597bf1..b4d7116 100644 --- a/ats/job_interview_stages.go +++ b/ats/job_interview_stages.go @@ -15,10 +15,12 @@ type JobInterviewStagesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return interview stages for this job. JobId *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/ats/job_postings.go b/ats/job_postings.go index e269562..587dbfb 100644 --- a/ats/job_postings.go +++ b/ats/job_postings.go @@ -16,10 +16,12 @@ type JobPostingsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/jobinterviewstages/client.go b/ats/jobinterviewstages/client.go index 148c23b..e629252 100644 --- a/ats/jobinterviewstages/client.go +++ b/ats/jobinterviewstages/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ats.JobInterviewStagesListRe if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.JobId != nil { queryParams.Add("job_id", fmt.Sprintf("%v", *request.JobId)) } diff --git a/ats/jobpostings/client.go b/ats/jobpostings/client.go index af557bc..11dd5d1 100644 --- a/ats/jobpostings/client.go +++ b/ats/jobpostings/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ats.JobPostingsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/jobs.go b/ats/jobs.go index c5f5772..2b47d24 100644 --- a/ats/jobs.go +++ b/ats/jobs.go @@ -18,10 +18,12 @@ type JobsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *JobsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -62,10 +64,12 @@ type JobsScreeningQuestionsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *JobsScreeningQuestionsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` } diff --git a/ats/jobs/client.go b/ats/jobs/client.go index 5bef49d..63f75a4 100644 --- a/ats/jobs/client.go +++ b/ats/jobs/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ats.JobsListRequest) (*ats.P if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -164,6 +167,9 @@ func (c *Client) ScreeningQuestionsList(ctx context.Context, jobId string, reque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } diff --git a/ats/link_token.go b/ats/link_token.go index 6517f75..486591d 100644 --- a/ats/link_token.go +++ b/ats/link_token.go @@ -23,8 +23,13 @@ type EndUserDetailsRequest struct { CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/ats/linked_accounts.go b/ats/linked_accounts.go index 78dfabe..97c3025 100644 --- a/ats/linked_accounts.go +++ b/ats/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/ats/offers.go b/ats/offers.go index a25ba14..17dd1ba 100644 --- a/ats/offers.go +++ b/ats/offers.go @@ -20,10 +20,12 @@ type OffersListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *OffersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/offers/client.go b/ats/offers/client.go index faea64e..63acf27 100644 --- a/ats/offers/client.go +++ b/ats/offers/client.go @@ -63,6 +63,9 @@ func (c *Client) List(ctx context.Context, request *ats.OffersListRequest) (*ats if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/offices.go b/ats/offices.go index ddd91dc..189e3c0 100644 --- a/ats/offices.go +++ b/ats/offices.go @@ -13,10 +13,12 @@ type OfficesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/offices/client.go b/ats/offices/client.go index 0a9530e..5e35e60 100644 --- a/ats/offices/client.go +++ b/ats/offices/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ats.OfficesListRequest) (*at if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/reject_reasons.go b/ats/reject_reasons.go index 2c4fed9..67a2831 100644 --- a/ats/reject_reasons.go +++ b/ats/reject_reasons.go @@ -13,10 +13,12 @@ type RejectReasonsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/rejectreasons/client.go b/ats/rejectreasons/client.go index 55d5663..9433b4a 100644 --- a/ats/rejectreasons/client.go +++ b/ats/rejectreasons/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ats.RejectReasonsListRequest if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/scopes/client.go b/ats/scopes/client.go index 8b4db95..4f02047 100644 --- a/ats/scopes/client.go +++ b/ats/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*ats.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*ats.CommonModelSco return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*ats.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*ats.CommonMo return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *ats.LinkedAccountCommonModelScopeDeserializerRequest) (*ats.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/ats/scorecards.go b/ats/scorecards.go index b91decb..058436e 100644 --- a/ats/scorecards.go +++ b/ats/scorecards.go @@ -18,10 +18,12 @@ type ScorecardsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ScorecardsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return scorecards for this interview. InterviewId *string `json:"-"` // If provided, will only return scorecards for this interviewer. diff --git a/ats/scorecards/client.go b/ats/scorecards/client.go index dab7538..a2ed605 100644 --- a/ats/scorecards/client.go +++ b/ats/scorecards/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ats.ScorecardsListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.InterviewId != nil { queryParams.Add("interview_id", fmt.Sprintf("%v", *request.InterviewId)) } diff --git a/ats/tags.go b/ats/tags.go index f6834b3..32beef0 100644 --- a/ats/tags.go +++ b/ats/tags.go @@ -13,10 +13,12 @@ type TagsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/tags/client.go b/ats/tags/client.go index 967fe7f..eb34ff2 100644 --- a/ats/tags/client.go +++ b/ats/tags/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ats.TagsListRequest) (*ats.P if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ats/types.go b/ats/types.go index 8fc124a..205d132 100644 --- a/ats/types.go +++ b/ats/types.go @@ -58,6 +58,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -109,6 +111,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -175,12 +178,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -191,6 +196,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -207,9 +214,9 @@ type AccountIntegration struct { AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -315,7 +322,7 @@ type Activity struct { // - `PRIVATE` - PRIVATE Visibility *ActivityVisibility `json:"visibility,omitempty"` Candidate *string `json:"candidate,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -896,10 +903,11 @@ type Application struct { // The application's current stage. CurrentStage *ApplicationCurrentStage `json:"current_stage,omitempty"` // The application's reason for rejection. - RejectReason *ApplicationRejectReason `json:"reject_reason,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + RejectReason *ApplicationRejectReason `json:"reject_reason,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -1882,10 +1890,11 @@ type Attachment struct { // - `COVER_LETTER` - COVER_LETTER // - `OFFER_LETTER` - OFFER_LETTER // - `OTHER` - OTHER - AttachmentType *AttachmentAttachmentType `json:"attachment_type,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + AttachmentType *AttachmentAttachmentType `json:"attachment_type,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -2203,6 +2212,9 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -2273,6 +2285,9 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -2487,10 +2502,11 @@ type Candidate struct { // Array of `Application` object IDs. Applications []*CandidateApplicationsItem `json:"applications,omitempty"` // Array of `Attachment` object IDs. - Attachments []*CandidateAttachmentsItem `json:"attachments,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []*RemoteData `json:"remote_data,omitempty"` + Attachments []*CandidateAttachmentsItem `json:"attachments,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -3124,7 +3140,7 @@ type Department struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The department's name. Name *string `json:"name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -3235,7 +3251,7 @@ type Eeoc struct { // - `NO_I_DONT_HAVE_A_DISABILITY` - NO_I_DONT_HAVE_A_DISABILITY // - `I_DONT_WISH_TO_ANSWER` - I_DONT_WISH_TO_ANSWER DisabilityStatus *EeocDisabilityStatus `json:"disability_status,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -3601,7 +3617,7 @@ type EmailAddress struct { // - `WORK` - WORK // - `OTHER` - OTHER EmailAddressType *EmailAddressEmailAddressType `json:"email_address_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage @@ -3944,6 +3960,9 @@ func (e *ErrorValidationProblem) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -3985,6 +4004,9 @@ const ( EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" @@ -4058,6 +4080,12 @@ func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { return EventTypeEnumDeletedIntegrationWideFieldMapping, nil case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil case "FORCED_LINKED_ACCOUNT_RESYNC": return EventTypeEnumForcedLinkedAccountResync, nil case "MUTED_ISSUE": @@ -4189,7 +4217,7 @@ func (f *FieldMappingApiInstance) String() string { } type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` Schema map[string]interface{} `json:"schema,omitempty"` RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` @@ -4358,8 +4386,8 @@ func (f *FieldMappingInstanceResponse) String() string { } type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -4388,8 +4416,8 @@ func (f *FieldPermissionDeserializer) String() string { } type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -4694,7 +4722,7 @@ type Job struct { HiringManagers []*JobHiringManagersItem `json:"hiring_managers,omitempty"` // IDs of `RemoteUser` objects that serve as recruiters for this `Job`. Recruiters []*JobRecruitersItem `json:"recruiters,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -4862,7 +4890,7 @@ type JobInterviewStage struct { Job *JobInterviewStageJob `json:"job,omitempty"` // The stage’s order, with the lowest values ordered first. If the third-party does not return details on the order of stages, this field will not be populated. StageOrder *int `json:"stage_order,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5047,7 +5075,7 @@ type JobPosting struct { RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` // Indicates whether the job posting is internal or external. IsInternal *bool `json:"is_internal,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5414,6 +5442,30 @@ func (j JobTypeEnum) Ptr() *JobTypeEnum { return &j } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + type LinkToken struct { LinkToken string `json:"link_token"` IntegrationName *string `json:"integration_name,omitempty"` @@ -5805,7 +5857,7 @@ type Offer struct { // - `SIGNED` - SIGNED // - `DEPRECATED` - DEPRECATED Status *OfferStatus `json:"status,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -6093,7 +6145,7 @@ type Office struct { Name *string `json:"name,omitempty"` // The office's location. Location *string `json:"location,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -6900,7 +6952,7 @@ type PhoneNumber struct { // - `SKYPE` - SKYPE // - `OTHER` - OTHER PhoneNumberType *PhoneNumberPhoneNumberType `json:"phone_number_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage @@ -7237,7 +7289,7 @@ type RejectReason struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The rejection reason’s name. Name *string `json:"name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -7268,7 +7320,17 @@ func (r *RejectReason) String() string { return fmt.Sprintf("%#v", r) } +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO type RemoteData struct { + // The third-party API path that is being called. Path string `json:"path"` Data interface{} `json:"data,omitempty"` @@ -7639,7 +7701,7 @@ type RemoteUser struct { // - `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER // - `INTERVIEWER` - INTERVIEWER AccessRole *RemoteUserAccessRole `json:"access_role,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -7867,7 +7929,7 @@ type ScheduledInterview struct { // - `AWAITING_FEEDBACK` - AWAITING_FEEDBACK // - `COMPLETE` - COMPLETE Status *ScheduledInterviewStatus `json:"status,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -8638,7 +8700,7 @@ type Scorecard struct { // - `STRONG_YES` - STRONG_YES // - `NO_DECISION` - NO_DECISION OverallRecommendation *ScorecardOverallRecommendation `json:"overall_recommendation,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -8944,7 +9006,7 @@ type ScreeningQuestion struct { // Whether or not the screening question is required. Required *bool `json:"required,omitempty"` Options []interface{} `json:"options,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage @@ -8994,7 +9056,7 @@ type ScreeningQuestionAnswer struct { Question *ScreeningQuestionAnswerQuestion `json:"question,omitempty"` // The candidate’s response to the screening question. Answer *string `json:"answer,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage @@ -9261,7 +9323,7 @@ type ScreeningQuestionOption struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // Available response options Label *string `json:"label,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage @@ -9531,7 +9593,7 @@ type Tag struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The tag's name. Name *string `json:"name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []map[string]interface{} `json:"remote_data,omitempty"` @@ -9588,7 +9650,7 @@ type Url struct { // - `OTHER` - OTHER // - `JOB_POSTING` - JOB_POSTING UrlType *UrlUrlType `json:"url_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` _rawJSON json.RawMessage diff --git a/ats/users.go b/ats/users.go index 77decc2..aa251c8 100644 --- a/ats/users.go +++ b/ats/users.go @@ -15,10 +15,12 @@ type UsersListRequest struct { Cursor *string `json:"-"` // If provided, will only return remote users with the given email address Email *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ats/users/client.go b/ats/users/client.go index 5c5c8b8..4b5e939 100644 --- a/ats/users/client.go +++ b/ats/users/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ats.UsersListRequest) (*ats. if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/client/client.go b/client/client.go index 1a68415..c883fa3 100644 --- a/client/client.go +++ b/client/client.go @@ -21,8 +21,8 @@ type Client struct { Ats *atsclient.Client Crm *crmclient.Client Filestorage *filestorageclient.Client - Ticketing *ticketingclient.Client Hris *hrisclient.Client + Ticketing *ticketingclient.Client Accounting *accountingclient.Client } @@ -38,8 +38,8 @@ func NewClient(opts ...core.ClientOption) *Client { Ats: atsclient.NewClient(opts...), Crm: crmclient.NewClient(opts...), Filestorage: filestorageclient.NewClient(opts...), - Ticketing: ticketingclient.NewClient(opts...), Hris: hrisclient.NewClient(opts...), + Ticketing: ticketingclient.NewClient(opts...), Accounting: accountingclient.NewClient(opts...), } } diff --git a/core/client_option.go b/core/client_option.go index fb327e6..a6df4a0 100644 --- a/core/client_option.go +++ b/core/client_option.go @@ -48,6 +48,6 @@ func (c *ClientOptions) cloneHeader() http.Header { headers := c.HTTPHeader.Clone() headers.Set("X-Fern-Language", "Go") headers.Set("X-Fern-SDK-Name", "github.com/merge-api/merge-go-client") - headers.Set("X-Fern-SDK-Version", "v1.0.9") + headers.Set("X-Fern-SDK-Version", "v1.1.0") return headers } diff --git a/crm/accounts.go b/crm/accounts.go index f803dff..939a7ae 100644 --- a/crm/accounts.go +++ b/crm/accounts.go @@ -23,12 +23,14 @@ type AccountsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -54,12 +56,14 @@ type PatchedCrmAccountEndpointRequest struct { type AccountsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/accounts/client.go b/crm/accounts/client.go index 97cba93..d0e9b91 100644 --- a/crm/accounts/client.go +++ b/crm/accounts/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *crm.AccountsListRequest) (*c if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -271,6 +274,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Accoun if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/association_types.go b/crm/association_types.go index 5c8b5d1..ce8cb06 100644 --- a/crm/association_types.go +++ b/crm/association_types.go @@ -23,10 +23,12 @@ type CustomObjectClassesAssociationTypesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/crm/associations.go b/crm/associations.go index e7ac645..8170e2e 100644 --- a/crm/associations.go +++ b/crm/associations.go @@ -17,10 +17,12 @@ type CustomObjectClassesCustomObjectsAssociationsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/crm/associations/client.go b/crm/associations/client.go index eed7606..952d9cd 100644 --- a/crm/associations/client.go +++ b/crm/associations/client.go @@ -60,6 +60,9 @@ func (c *Client) CustomObjectClassesCustomObjectsAssociationsList(ctx context.Co if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/crm/associationtypes/client.go b/crm/associationtypes/client.go index a9c092c..15e93dc 100644 --- a/crm/associationtypes/client.go +++ b/crm/associationtypes/client.go @@ -57,6 +57,9 @@ func (c *Client) CustomObjectClassesAssociationTypesList(ctx context.Context, cu if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/crm/async_passthrough.go b/crm/async_passthrough.go new file mode 100644 index 0000000..f6acd9e --- /dev/null +++ b/crm/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package crm + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/crm/asyncpassthrough/client.go b/crm/asyncpassthrough/client.go index 16de5d8..c328ef7 100644 --- a/crm/asyncpassthrough/client.go +++ b/crm/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *crm.DataPassthroughRequest } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*crm.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*crm.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"crm/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *crm.RemoteResponse + var response *crm.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/crm/audit_trail.go b/crm/audit_trail.go index 70542f8..cb6bb58 100644 --- a/crm/audit_trail.go +++ b/crm/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/crm/contacts.go b/crm/contacts.go index e348386..d2150d5 100644 --- a/crm/contacts.go +++ b/crm/contacts.go @@ -28,12 +28,14 @@ type ContactsListRequest struct { EmailAddresses *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ContactsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -57,12 +59,14 @@ type PatchedCrmContactEndpointRequest struct { type ContactsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/contacts/client.go b/crm/contacts/client.go index 2651458..120741d 100644 --- a/crm/contacts/client.go +++ b/crm/contacts/client.go @@ -66,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *crm.ContactsListRequest) (*c if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -296,6 +299,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Contac if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/custom_object_classes.go b/crm/custom_object_classes.go index fa2c391..5a57fcc 100644 --- a/crm/custom_object_classes.go +++ b/crm/custom_object_classes.go @@ -15,10 +15,12 @@ type CustomObjectClassesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/crm/custom_objects.go b/crm/custom_objects.go index 1fc5445..cf21226 100644 --- a/crm/custom_objects.go +++ b/crm/custom_objects.go @@ -21,12 +21,14 @@ type CustomObjectClassesCustomObjectsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -40,12 +42,14 @@ type CustomObjectClassesCustomObjectsListRequest struct { type CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/customobjectclasses/client.go b/crm/customobjectclasses/client.go index 2d260dd..341eb99 100644 --- a/crm/customobjectclasses/client.go +++ b/crm/customobjectclasses/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *crm.CustomObjectClassesListR if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/crm/customobjects/client.go b/crm/customobjects/client.go index 5a58895..3bf67d7 100644 --- a/crm/customobjects/client.go +++ b/crm/customobjects/client.go @@ -57,6 +57,9 @@ func (c *Client) CustomObjectClassesCustomObjectsList(ctx context.Context, custo if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -201,6 +204,9 @@ func (c *Client) CustomObjectClassesCustomObjectsRemoteFieldClassesList(ctx cont if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/engagement_types.go b/crm/engagement_types.go index 5de131e..aa6a22f 100644 --- a/crm/engagement_types.go +++ b/crm/engagement_types.go @@ -13,12 +13,14 @@ type EngagementTypesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -32,12 +34,14 @@ type EngagementTypesListRequest struct { type EngagementTypesRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/engagements.go b/crm/engagements.go index 220b8dd..9b08e4b 100644 --- a/crm/engagements.go +++ b/crm/engagements.go @@ -24,12 +24,14 @@ type EngagementsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *EngagementsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -55,12 +57,14 @@ type PatchedEngagementEndpointRequest struct { type EngagementsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/engagements/client.go b/crm/engagements/client.go index c8cd007..a6d3c8e 100644 --- a/crm/engagements/client.go +++ b/crm/engagements/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *crm.EngagementsListRequest) if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -271,6 +274,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Engage if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/engagementtypes/client.go b/crm/engagementtypes/client.go index b747e80..3d4e449 100644 --- a/crm/engagementtypes/client.go +++ b/crm/engagementtypes/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *crm.EngagementTypesListReque if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -143,6 +146,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Engage if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/field_mapping.go b/crm/field_mapping.go index d9a8120..f6eaf4d 100644 --- a/crm/field_mapping.go +++ b/crm/field_mapping.go @@ -3,6 +3,8 @@ package crm type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/crm/fieldmapping/client.go b/crm/fieldmapping/client.go index a90bb86..7e87d72 100644 --- a/crm/fieldmapping/client.go +++ b/crm/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*crm.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *crm.FieldMappingsRetrieveRequest) (*crm.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "crm/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *crm.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *crm.CreateFie } endpointURL := baseURL + "/" + "crm/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *crm.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/crm/forceresync/client.go b/crm/forceresync/client.go index d2911db..cab91e7 100644 --- a/crm/forceresync/client.go +++ b/crm/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*crm.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/crm/leads.go b/crm/leads.go index d837a43..a1e5e27 100644 --- a/crm/leads.go +++ b/crm/leads.go @@ -30,12 +30,14 @@ type LeadsListRequest struct { EmailAddresses *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *LeadsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -53,12 +55,14 @@ type LeadsListRequest struct { type LeadsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/leads/client.go b/crm/leads/client.go index 8886f74..ef6acde 100644 --- a/crm/leads/client.go +++ b/crm/leads/client.go @@ -69,6 +69,9 @@ func (c *Client) List(ctx context.Context, request *crm.LeadsListRequest) (*crm. if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -222,6 +225,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.LeadsR if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/link_token.go b/crm/link_token.go index a449c6c..41a3abc 100644 --- a/crm/link_token.go +++ b/crm/link_token.go @@ -23,8 +23,13 @@ type EndUserDetailsRequest struct { CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/crm/linked_accounts.go b/crm/linked_accounts.go index 3df4d4c..fafec98 100644 --- a/crm/linked_accounts.go +++ b/crm/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/crm/notes.go b/crm/notes.go index aa38718..c346742 100644 --- a/crm/notes.go +++ b/crm/notes.go @@ -28,12 +28,14 @@ type NotesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *NotesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -51,12 +53,14 @@ type NotesListRequest struct { type NotesRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/notes/client.go b/crm/notes/client.go index d3553cf..8afd3a2 100644 --- a/crm/notes/client.go +++ b/crm/notes/client.go @@ -66,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *crm.NotesListRequest) (*crm. if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -219,6 +222,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.NotesR if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/opportunities.go b/crm/opportunities.go index 88c9668..1243136 100644 --- a/crm/opportunities.go +++ b/crm/opportunities.go @@ -26,12 +26,14 @@ type OpportunitiesListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *OpportunitiesListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -69,12 +71,14 @@ type PatchedOpportunityEndpointRequest struct { type OpportunitiesRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/opportunities/client.go b/crm/opportunities/client.go index 5902a71..970323f 100644 --- a/crm/opportunities/client.go +++ b/crm/opportunities/client.go @@ -63,6 +63,9 @@ func (c *Client) List(ctx context.Context, request *crm.OpportunitiesListRequest if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -292,6 +295,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Opport if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/scopes/client.go b/crm/scopes/client.go index 488c13e..dff05ed 100644 --- a/crm/scopes/client.go +++ b/crm/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*crm.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*crm.CommonModelSco return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*crm.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*crm.CommonMo return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *crm.LinkedAccountCommonModelScopeDeserializerRequest) (*crm.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/crm/stages.go b/crm/stages.go index 8ea8935..0b385e9 100644 --- a/crm/stages.go +++ b/crm/stages.go @@ -13,12 +13,14 @@ type StagesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -32,12 +34,14 @@ type StagesListRequest struct { type StagesRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/stages/client.go b/crm/stages/client.go index e708e50..8f00614 100644 --- a/crm/stages/client.go +++ b/crm/stages/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *crm.StagesListRequest) (*crm if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -143,6 +146,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.Stages if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/tasks.go b/crm/tasks.go index e0e95e3..d491f54 100644 --- a/crm/tasks.go +++ b/crm/tasks.go @@ -24,12 +24,14 @@ type TasksListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *TasksListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -51,12 +53,14 @@ type PatchedTaskEndpointRequest struct { type TasksRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/tasks/client.go b/crm/tasks/client.go index edcdab8..8230021 100644 --- a/crm/tasks/client.go +++ b/crm/tasks/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *crm.TasksListRequest) (*crm. if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -265,6 +268,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.TasksR if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/crm/types.go b/crm/types.go index 868b9eb..b35a519 100644 --- a/crm/types.go +++ b/crm/types.go @@ -45,7 +45,8 @@ type Account struct { // When the CRM system account data was last modified by a user with a login. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` // When the third party's account was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -90,6 +91,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -141,6 +144,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -207,12 +211,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -223,6 +229,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -239,9 +247,9 @@ type AccountIntegration struct { AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -2275,6 +2283,9 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -2345,6 +2356,9 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -2726,7 +2740,8 @@ type Contact struct { // When the contact's last activity occurred. LastActivityAt *time.Time `json:"last_activity_at,omitempty"` // When the third party's contact was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -4626,7 +4641,7 @@ type Engagement struct { // The account of the engagement. Account *EngagementAccount `json:"account,omitempty"` Contacts []*EngagementContactsItem `json:"contacts,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5512,6 +5527,9 @@ func (e *ErrorValidationProblem) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -5553,6 +5571,9 @@ const ( EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" @@ -5626,6 +5647,12 @@ func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { return EventTypeEnumDeletedIntegrationWideFieldMapping, nil case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil case "FORCED_LINKED_ACCOUNT_RESYNC": return EventTypeEnumForcedLinkedAccountResync, nil case "MUTED_ISSUE": @@ -5790,7 +5817,7 @@ func (f *FieldMappingApiInstance) String() string { } type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` Schema map[string]interface{} `json:"schema,omitempty"` RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` @@ -5952,8 +5979,8 @@ func (f *FieldMappingInstanceResponse) String() string { } type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -5982,8 +6009,8 @@ func (f *FieldPermissionDeserializer) String() string { } type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -6379,6 +6406,30 @@ func (i ItemTypeEnum) Ptr() *ItemTypeEnum { return &i } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + // # The Lead Object // // ### Description @@ -6420,7 +6471,8 @@ type Lead struct { // The contact of the converted lead. ConvertedContact *LeadConvertedContact `json:"converted_contact,omitempty"` // The account of the converted lead. - ConvertedAccount *LeadConvertedAccount `json:"converted_account,omitempty"` + ConvertedAccount *LeadConvertedAccount `json:"converted_account,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -7273,7 +7325,8 @@ type Note struct { // When the third party's lead was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` // When the third party's lead was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -7921,7 +7974,8 @@ type Opportunity struct { // When the opportunity was closed. CloseDate *time.Time `json:"close_date,omitempty"` // When the third party's opportunity was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -9811,7 +9865,17 @@ func (r ReasonEnum) Ptr() *ReasonEnum { return &r } +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO type RemoteData struct { + // The third-party API path that is being called. Path string `json:"path"` Data interface{} `json:"data,omitempty"` @@ -10789,7 +10853,7 @@ type Stage struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The stage's name. Name *string `json:"name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -10941,7 +11005,7 @@ type Task struct { // - `OPEN` - OPEN // - `CLOSED` - CLOSED Status *TaskStatus `json:"status,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -11581,7 +11645,7 @@ type User struct { Email *string `json:"email,omitempty"` // Whether or not the user is active. IsActive *bool `json:"is_active,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` diff --git a/crm/users.go b/crm/users.go index 02c29d3..4f3ff32 100644 --- a/crm/users.go +++ b/crm/users.go @@ -13,12 +13,16 @@ type UsersListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // If provided, will only return users with this email. + Email *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -32,12 +36,14 @@ type UsersListRequest struct { type UsersRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. diff --git a/crm/users/client.go b/crm/users/client.go index 2938f2f..27f33d2 100644 --- a/crm/users/client.go +++ b/crm/users/client.go @@ -48,6 +48,9 @@ func (c *Client) List(ctx context.Context, request *crm.UsersListRequest) (*crm. if request.Cursor != nil { queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) } + if request.Email != nil { + queryParams.Add("email", fmt.Sprintf("%v", *request.Email)) + } if request.IncludeDeletedData != nil { queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) } @@ -57,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *crm.UsersListRequest) (*crm. if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -165,6 +171,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *crm.UsersR if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/filestorage/async_passthrough.go b/filestorage/async_passthrough.go new file mode 100644 index 0000000..1a49961 --- /dev/null +++ b/filestorage/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package filestorage + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/filestorage/asyncpassthrough/client.go b/filestorage/asyncpassthrough/client.go index 8f90368..2363c97 100644 --- a/filestorage/asyncpassthrough/client.go +++ b/filestorage/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *filestorage.DataPassthroug } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*filestorage.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*filestorage.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"filestorage/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *filestorage.RemoteResponse + var response *filestorage.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/filestorage/audit_trail.go b/filestorage/audit_trail.go index 7b52de3..d5de4cb 100644 --- a/filestorage/audit_trail.go +++ b/filestorage/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/filestorage/drives.go b/filestorage/drives.go index 9fee6e4..1fc4d14 100644 --- a/filestorage/drives.go +++ b/filestorage/drives.go @@ -13,10 +13,12 @@ type DrivesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/filestorage/drives/client.go b/filestorage/drives/client.go index 3c20e7f..cfb4433 100644 --- a/filestorage/drives/client.go +++ b/filestorage/drives/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *filestorage.DrivesListReques if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/filestorage/field_mapping.go b/filestorage/field_mapping.go index a3e101b..bfa9d95 100644 --- a/filestorage/field_mapping.go +++ b/filestorage/field_mapping.go @@ -3,6 +3,8 @@ package filestorage type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/filestorage/fieldmapping/client.go b/filestorage/fieldmapping/client.go index c6ac964..f17e440 100644 --- a/filestorage/fieldmapping/client.go +++ b/filestorage/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*filestorage.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *filestorage.FieldMappingsRetrieveRequest) (*filestorage.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "filestorage/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *filestorage.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *filestorage.C } endpointURL := baseURL + "/" + "filestorage/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *filestorage.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/filestorage/files.go b/filestorage/files.go index f947f6b..f10e725 100644 --- a/filestorage/files.go +++ b/filestorage/files.go @@ -33,10 +33,12 @@ type FilesListRequest struct { Expand *FilesListRequestExpand `json:"-"` // Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. FolderId *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return files with these mime_types. Multiple values can be separated by commas. MimeType *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/filestorage/files/client.go b/filestorage/files/client.go index 1e97235..bd9bc58 100644 --- a/filestorage/files/client.go +++ b/filestorage/files/client.go @@ -65,6 +65,9 @@ func (c *Client) List(ctx context.Context, request *filestorage.FilesListRequest if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.MimeType != nil { queryParams.Add("mime_type", fmt.Sprintf("%v", *request.MimeType)) } diff --git a/filestorage/folders.go b/filestorage/folders.go index 9a4bae7..3231490 100644 --- a/filestorage/folders.go +++ b/filestorage/folders.go @@ -26,10 +26,12 @@ type FoldersListRequest struct { DriveId *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *FoldersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/filestorage/folders/client.go b/filestorage/folders/client.go index 5b0591a..3f5a2c4 100644 --- a/filestorage/folders/client.go +++ b/filestorage/folders/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *filestorage.FoldersListReque if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/filestorage/forceresync/client.go b/filestorage/forceresync/client.go index 9b7e83a..2bb6232 100644 --- a/filestorage/forceresync/client.go +++ b/filestorage/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*filestorage.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/filestorage/groups.go b/filestorage/groups.go index df92521..b6b3fd3 100644 --- a/filestorage/groups.go +++ b/filestorage/groups.go @@ -13,10 +13,14 @@ type GroupsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -28,6 +32,8 @@ type GroupsListRequest struct { } type GroupsRetrieveRequest struct { + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` } diff --git a/filestorage/groups/client.go b/filestorage/groups/client.go index e4bc924..51a55fa 100644 --- a/filestorage/groups/client.go +++ b/filestorage/groups/client.go @@ -48,12 +48,18 @@ func (c *Client) List(ctx context.Context, request *filestorage.GroupsListReques if request.Cursor != nil { queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) } + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } if request.IncludeDeletedData != nil { queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) } if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -94,6 +100,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *filestorage.G endpointURL := fmt.Sprintf(baseURL+"/"+"filestorage/v1/groups/%v", id) queryParams := make(url.Values) + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } diff --git a/filestorage/link_token.go b/filestorage/link_token.go index 6d8fa47..bd2d2d9 100644 --- a/filestorage/link_token.go +++ b/filestorage/link_token.go @@ -23,8 +23,13 @@ type EndUserDetailsRequest struct { CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/filestorage/linked_accounts.go b/filestorage/linked_accounts.go index 867c9ae..f2c25d7 100644 --- a/filestorage/linked_accounts.go +++ b/filestorage/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/filestorage/scopes/client.go b/filestorage/scopes/client.go index 8e49e8f..b25a450 100644 --- a/filestorage/scopes/client.go +++ b/filestorage/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*filestorage.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*filestorage.Common return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*filestorage.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*filestorage. return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *filestorage.LinkedAccountCommonModelScopeDeserializerRequest) (*filestorage.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/filestorage/types.go b/filestorage/types.go index eef98b9..85354e9 100644 --- a/filestorage/types.go +++ b/filestorage/types.go @@ -22,6 +22,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -73,6 +75,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -139,12 +142,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -155,6 +160,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -171,9 +178,9 @@ type AccountIntegration struct { AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -353,6 +360,9 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -423,6 +433,9 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -877,10 +890,10 @@ type Drive struct { RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` // The drive's url. DriveUrl *string `json:"drive_url,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -1023,6 +1036,9 @@ func (e *ErrorValidationProblem) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -1064,6 +1080,9 @@ const ( EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" @@ -1137,6 +1156,12 @@ func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { return EventTypeEnumDeletedIntegrationWideFieldMapping, nil case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil case "FORCED_LINKED_ACCOUNT_RESYNC": return EventTypeEnumForcedLinkedAccountResync, nil case "MUTED_ISSUE": @@ -1257,7 +1282,7 @@ func (f *FieldMappingApiInstance) String() string { } type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` Schema map[string]interface{} `json:"schema,omitempty"` RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` @@ -1415,8 +1440,8 @@ func (f *FieldMappingInstanceResponse) String() string { } type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -1445,8 +1470,8 @@ func (f *FieldPermissionDeserializer) String() string { } type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -1498,7 +1523,7 @@ type File struct { // The URL that produces a thumbnail preview of the file. Typically an image. FileThumbnailUrl *string `json:"file_thumbnail_url,omitempty"` // The file's size, in bytes. - Size *int `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` // The file's mime type. MimeType *string `json:"mime_type,omitempty"` // The file's description. @@ -1513,10 +1538,10 @@ type File struct { RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` // When the third party's file was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -1808,7 +1833,7 @@ type FileRequest struct { // The URL that produces a thumbnail preview of the file. Typically an image. FileThumbnailUrl *string `json:"file_thumbnail_url,omitempty"` // The file's size, in bytes. - Size *int `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` // The file's mime type. MimeType *string `json:"mime_type,omitempty"` // The file's description. @@ -2181,7 +2206,7 @@ type Folder struct { // The URL to access the folder. FolderUrl *string `json:"folder_url,omitempty"` // The folder's size, in bytes. - Size *int `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` // The folder's description. Description *string `json:"description,omitempty"` // The folder that the folder belongs to. @@ -2194,10 +2219,10 @@ type Folder struct { RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` // When the third party's folder was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -2487,7 +2512,7 @@ type FolderRequest struct { // The URL to access the folder. FolderUrl *string `json:"folder_url,omitempty"` // The folder's size, in bytes. - Size *int `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` // The folder's description. Description *string `json:"description,omitempty"` // The folder that the folder belongs to. @@ -2793,10 +2818,12 @@ type Group struct { Name *string `json:"name,omitempty"` // The users that belong in the group. If null, this typically means it's either a domain or the third-party platform does not surface this information. Users []string `json:"users,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Groups that inherit the permissions of the parent group. + ChildGroups []*GroupChildGroupsItem `json:"child_groups,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -2824,6 +2851,63 @@ func (g *Group) String() string { return fmt.Sprintf("%#v", g) } +type GroupChildGroupsItem struct { + typeName string + String string + Group *Group +} + +func NewGroupChildGroupsItemFromString(value string) *GroupChildGroupsItem { + return &GroupChildGroupsItem{typeName: "string", String: value} +} + +func NewGroupChildGroupsItemFromGroup(value *Group) *GroupChildGroupsItem { + return &GroupChildGroupsItem{typeName: "group", Group: value} +} + +func (g *GroupChildGroupsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + g.typeName = "string" + g.String = valueString + return nil + } + valueGroup := new(Group) + if err := json.Unmarshal(data, &valueGroup); err == nil { + g.typeName = "group" + g.Group = valueGroup + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, g) +} + +func (g GroupChildGroupsItem) MarshalJSON() ([]byte, error) { + switch g.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return json.Marshal(g.String) + case "group": + return json.Marshal(g.Group) + } +} + +type GroupChildGroupsItemVisitor interface { + VisitString(string) error + VisitGroup(*Group) error +} + +func (g *GroupChildGroupsItem) Accept(visitor GroupChildGroupsItemVisitor) error { + switch g.typeName { + default: + return fmt.Errorf("invalid type %s in %T", g.typeName, g) + case "string": + return visitor.VisitString(g.String) + case "group": + return visitor.VisitGroup(g.Group) + } +} + type IndividualCommonModelScopeDeserializer struct { ModelName string `json:"model_name"` ModelPermissions map[string]*ModelPermissionDeserializer `json:"model_permissions,omitempty"` @@ -3011,6 +3095,30 @@ func (i IssueStatusEnum) Ptr() *IssueStatusEnum { return &i } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + type LinkToken struct { LinkToken string `json:"link_token"` IntegrationName *string `json:"integration_name,omitempty"` @@ -3657,9 +3765,9 @@ type Permission struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The user that is granted this permission. + // The user that is granted this permission. This will only be populated if the type is `USER`. User *PermissionUser `json:"user,omitempty"` - // The group that is granted this permission. + // The group that is granted this permission. This will only be populated if the type is `GROUP`. Group *PermissionGroup `json:"group,omitempty"` // Denotes what type of people have access to the file. // @@ -3697,7 +3805,7 @@ func (p *Permission) String() string { return fmt.Sprintf("%#v", p) } -// The group that is granted this permission. +// The group that is granted this permission. This will only be populated if the type is `GROUP`. type PermissionGroup struct { typeName string String string @@ -3767,9 +3875,9 @@ func (p *PermissionGroup) Accept(visitor PermissionGroupVisitor) error { type PermissionRequest struct { // The third-party API ID of the matching object. RemoteId *string `json:"remote_id,omitempty"` - // The user that is granted this permission. + // The user that is granted this permission. This will only be populated if the type is `USER`. User *PermissionRequestUser `json:"user,omitempty"` - // The group that is granted this permission. + // The group that is granted this permission. This will only be populated if the type is `GROUP`. Group *PermissionRequestGroup `json:"group,omitempty"` // Denotes what type of people have access to the file. // @@ -3809,7 +3917,7 @@ func (p *PermissionRequest) String() string { return fmt.Sprintf("%#v", p) } -// The group that is granted this permission. +// The group that is granted this permission. This will only be populated if the type is `GROUP`. type PermissionRequestGroup struct { typeName string String string @@ -3992,7 +4100,7 @@ func (p *PermissionRequestType) Accept(visitor PermissionRequestTypeVisitor) err } } -// The user that is granted this permission. +// The user that is granted this permission. This will only be populated if the type is `USER`. type PermissionRequestUser struct { typeName string String string @@ -4175,7 +4283,7 @@ func (p *PermissionType) Accept(visitor PermissionTypeVisitor) error { } } -// The user that is granted this permission. +// The user that is granted this permission. This will only be populated if the type is `USER`. type PermissionUser struct { typeName string String string @@ -4233,6 +4341,46 @@ func (p *PermissionUser) Accept(visitor PermissionUserVisitor) error { } } +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO +type RemoteData struct { + // The third-party API path that is being called. + Path string `json:"path"` + Data interface{} `json:"data,omitempty"` + + _rawJSON json.RawMessage +} + +func (r *RemoteData) UnmarshalJSON(data []byte) error { + type unmarshaler RemoteData + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *r = RemoteData(value) + r._rawJSON = json.RawMessage(data) + return nil +} + +func (r *RemoteData) String() string { + if len(r._rawJSON) > 0 { + if value, err := core.StringifyJSON(r._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(r); err == nil { + return value + } + return fmt.Sprintf("%#v", r) +} + type RemoteEndpointInfo struct { Method string `json:"method"` UrlPath string `json:"url_path"` @@ -4754,10 +4902,10 @@ type User struct { EmailAddress *string `json:"email_address,omitempty"` // Whether the user is the one who linked this account. IsMe *bool `json:"is_me,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } diff --git a/filestorage/users.go b/filestorage/users.go index 7e92442..881ea59 100644 --- a/filestorage/users.go +++ b/filestorage/users.go @@ -13,10 +13,12 @@ type UsersListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return the user object for requestor. IsMe *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/filestorage/users/client.go b/filestorage/users/client.go index 0d4e6c3..f0db16b 100644 --- a/filestorage/users/client.go +++ b/filestorage/users/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *filestorage.UsersListRequest if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsMe != nil { queryParams.Add("is_me", fmt.Sprintf("%v", *request.IsMe)) } diff --git a/hris/async_passthrough.go b/hris/async_passthrough.go new file mode 100644 index 0000000..2096434 --- /dev/null +++ b/hris/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package hris + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/hris/asyncpassthrough/client.go b/hris/asyncpassthrough/client.go index 6e593cf..7f2162f 100644 --- a/hris/asyncpassthrough/client.go +++ b/hris/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *hris.DataPassthroughReques } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*hris.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*hris.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"hris/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *hris.RemoteResponse + var response *hris.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/hris/audit_trail.go b/hris/audit_trail.go index 43437c9..28d957d 100644 --- a/hris/audit_trail.go +++ b/hris/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/hris/bank_info.go b/hris/bank_info.go index 0284130..4dea908 100644 --- a/hris/bank_info.go +++ b/hris/bank_info.go @@ -25,10 +25,12 @@ type BankInfoListRequest struct { EmployeeId *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/bankinfo/client.go b/hris/bankinfo/client.go index 460c424..13ae14b 100644 --- a/hris/bankinfo/client.go +++ b/hris/bankinfo/client.go @@ -66,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *hris.BankInfoListRequest) (* if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/benefits.go b/hris/benefits.go index a030aaa..eaa3d36 100644 --- a/hris/benefits.go +++ b/hris/benefits.go @@ -17,10 +17,12 @@ type BenefitsListRequest struct { EmployeeId *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/benefits/client.go b/hris/benefits/client.go index 8b7121b..7aef808 100644 --- a/hris/benefits/client.go +++ b/hris/benefits/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *hris.BenefitsListRequest) (* if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/companies.go b/hris/companies.go index 30bfff8..af314bf 100644 --- a/hris/companies.go +++ b/hris/companies.go @@ -13,10 +13,12 @@ type CompaniesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/companies/client.go b/hris/companies/client.go index 5513da1..7e94f85 100644 --- a/hris/companies/client.go +++ b/hris/companies/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *hris.CompaniesListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/dependents.go b/hris/dependents.go index 0eeac99..8a4f976 100644 --- a/hris/dependents.go +++ b/hris/dependents.go @@ -13,12 +13,14 @@ type DependentsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include sensitive fields (such as social security numbers) in the response. IncludeSensitiveFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/dependents/client.go b/hris/dependents/client.go index 8ebd0b2..3abb489 100644 --- a/hris/dependents/client.go +++ b/hris/dependents/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *hris.DependentsListRequest) if request.IncludeSensitiveFields != nil { queryParams.Add("include_sensitive_fields", fmt.Sprintf("%v", *request.IncludeSensitiveFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/employee_payroll_runs.go b/hris/employee_payroll_runs.go index 7e010ec..388404a 100644 --- a/hris/employee_payroll_runs.go +++ b/hris/employee_payroll_runs.go @@ -22,10 +22,12 @@ type EmployeePayrollRunsListRequest struct { EndedBefore *time.Time `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *EmployeePayrollRunsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/employeepayrollruns/client.go b/hris/employeepayrollruns/client.go index 039c6f4..83c476e 100644 --- a/hris/employeepayrollruns/client.go +++ b/hris/employeepayrollruns/client.go @@ -66,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *hris.EmployeePayrollRunsList if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/employees.go b/hris/employees.go index ab8b937..b89be4c 100644 --- a/hris/employees.go +++ b/hris/employees.go @@ -48,12 +48,14 @@ type EmployeesListRequest struct { Groups *string `json:"-"` // If provided, will only return employees for this home location. HomeLocationId *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include sensitive fields (such as social security numbers) in the response. IncludeSensitiveFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return employees that have an employment of the specified job_title. JobTitle *string `json:"-"` // If provided, will only return employees with this last name. diff --git a/hris/employees/client.go b/hris/employees/client.go index cbdac63..3089dfd 100644 --- a/hris/employees/client.go +++ b/hris/employees/client.go @@ -81,6 +81,9 @@ func (c *Client) List(ctx context.Context, request *hris.EmployeesListRequest) ( if request.IncludeSensitiveFields != nil { queryParams.Add("include_sensitive_fields", fmt.Sprintf("%v", *request.IncludeSensitiveFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.JobTitle != nil { queryParams.Add("job_title", fmt.Sprintf("%v", *request.JobTitle)) } diff --git a/hris/employer_benefits.go b/hris/employer_benefits.go index 3e612b8..66ee6a1 100644 --- a/hris/employer_benefits.go +++ b/hris/employer_benefits.go @@ -13,10 +13,12 @@ type EmployerBenefitsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/employerbenefits/client.go b/hris/employerbenefits/client.go index ed6019b..95b1b37 100644 --- a/hris/employerbenefits/client.go +++ b/hris/employerbenefits/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *hris.EmployerBenefitsListReq if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/employments.go b/hris/employments.go index d08d819..8ae2657 100644 --- a/hris/employments.go +++ b/hris/employments.go @@ -18,10 +18,12 @@ type EmploymentsListRequest struct { EmployeeId *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *EmploymentsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/employments/client.go b/hris/employments/client.go index 388bb5f..28b64d7 100644 --- a/hris/employments/client.go +++ b/hris/employments/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *hris.EmploymentsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/field_mapping.go b/hris/field_mapping.go index 438589d..1687dad 100644 --- a/hris/field_mapping.go +++ b/hris/field_mapping.go @@ -3,6 +3,8 @@ package hris type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/hris/fieldmapping/client.go b/hris/fieldmapping/client.go index 44f0b78..cf465fc 100644 --- a/hris/fieldmapping/client.go +++ b/hris/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*hris.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *hris.FieldMappingsRetrieveRequest) (*hris.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "hris/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *hris.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *hris.CreateFi } endpointURL := baseURL + "/" + "hris/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *hris.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/hris/forceresync/client.go b/hris/forceresync/client.go index 1c3ec2c..c9ce44b 100644 --- a/hris/forceresync/client.go +++ b/hris/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*hris.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/hris/groups.go b/hris/groups.go index 0980d5f..035d5ea 100644 --- a/hris/groups.go +++ b/hris/groups.go @@ -13,10 +13,12 @@ type GroupsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. IsCommonlyUsedAsTeam *string `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. diff --git a/hris/groups/client.go b/hris/groups/client.go index 7121a19..c08d27f 100644 --- a/hris/groups/client.go +++ b/hris/groups/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *hris.GroupsListRequest) (*hr if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonlyUsedAsTeam != nil { queryParams.Add("is_commonly_used_as_team", fmt.Sprintf("%v", *request.IsCommonlyUsedAsTeam)) } diff --git a/hris/link_token.go b/hris/link_token.go index 3607928..30d412f 100644 --- a/hris/link_token.go +++ b/hris/link_token.go @@ -23,8 +23,13 @@ type EndUserDetailsRequest struct { CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/hris/linked_accounts.go b/hris/linked_accounts.go index c50edca..0bd48e5 100644 --- a/hris/linked_accounts.go +++ b/hris/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/hris/locations.go b/hris/locations.go index 16c107c..0de9b13 100644 --- a/hris/locations.go +++ b/hris/locations.go @@ -14,10 +14,12 @@ type LocationsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return locations with this location_type // // - `HOME` - HOME @@ -30,20 +32,20 @@ type LocationsListRequest struct { // Number of results to return per page. PageSize *int `json:"-"` // Deprecated. Use show_enum_origins. - RemoteFields *string `json:"-"` + RemoteFields *LocationsListRequestRemoteFields `json:"-"` // The API provider's ID for the given object. RemoteId *string `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - ShowEnumOrigins *string `json:"-"` + ShowEnumOrigins *LocationsListRequestShowEnumOrigins `json:"-"` } type LocationsRetrieveRequest struct { // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Deprecated. Use show_enum_origins. - RemoteFields *string `json:"-"` + RemoteFields *LocationsRetrieveRequestRemoteFields `json:"-"` // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - ShowEnumOrigins *string `json:"-"` + ShowEnumOrigins *LocationsRetrieveRequestShowEnumOrigins `json:"-"` } type LocationsListRequestLocationType string @@ -67,3 +69,103 @@ func NewLocationsListRequestLocationTypeFromString(s string) (LocationsListReque func (l LocationsListRequestLocationType) Ptr() *LocationsListRequestLocationType { return &l } + +type LocationsListRequestRemoteFields string + +const ( + LocationsListRequestRemoteFieldsCountry LocationsListRequestRemoteFields = "country" + LocationsListRequestRemoteFieldsCountryLocationType LocationsListRequestRemoteFields = "country,location_type" + LocationsListRequestRemoteFieldsLocationType LocationsListRequestRemoteFields = "location_type" +) + +func NewLocationsListRequestRemoteFieldsFromString(s string) (LocationsListRequestRemoteFields, error) { + switch s { + case "country": + return LocationsListRequestRemoteFieldsCountry, nil + case "country,location_type": + return LocationsListRequestRemoteFieldsCountryLocationType, nil + case "location_type": + return LocationsListRequestRemoteFieldsLocationType, nil + } + var t LocationsListRequestRemoteFields + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LocationsListRequestRemoteFields) Ptr() *LocationsListRequestRemoteFields { + return &l +} + +type LocationsListRequestShowEnumOrigins string + +const ( + LocationsListRequestShowEnumOriginsCountry LocationsListRequestShowEnumOrigins = "country" + LocationsListRequestShowEnumOriginsCountryLocationType LocationsListRequestShowEnumOrigins = "country,location_type" + LocationsListRequestShowEnumOriginsLocationType LocationsListRequestShowEnumOrigins = "location_type" +) + +func NewLocationsListRequestShowEnumOriginsFromString(s string) (LocationsListRequestShowEnumOrigins, error) { + switch s { + case "country": + return LocationsListRequestShowEnumOriginsCountry, nil + case "country,location_type": + return LocationsListRequestShowEnumOriginsCountryLocationType, nil + case "location_type": + return LocationsListRequestShowEnumOriginsLocationType, nil + } + var t LocationsListRequestShowEnumOrigins + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LocationsListRequestShowEnumOrigins) Ptr() *LocationsListRequestShowEnumOrigins { + return &l +} + +type LocationsRetrieveRequestRemoteFields string + +const ( + LocationsRetrieveRequestRemoteFieldsCountry LocationsRetrieveRequestRemoteFields = "country" + LocationsRetrieveRequestRemoteFieldsCountryLocationType LocationsRetrieveRequestRemoteFields = "country,location_type" + LocationsRetrieveRequestRemoteFieldsLocationType LocationsRetrieveRequestRemoteFields = "location_type" +) + +func NewLocationsRetrieveRequestRemoteFieldsFromString(s string) (LocationsRetrieveRequestRemoteFields, error) { + switch s { + case "country": + return LocationsRetrieveRequestRemoteFieldsCountry, nil + case "country,location_type": + return LocationsRetrieveRequestRemoteFieldsCountryLocationType, nil + case "location_type": + return LocationsRetrieveRequestRemoteFieldsLocationType, nil + } + var t LocationsRetrieveRequestRemoteFields + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LocationsRetrieveRequestRemoteFields) Ptr() *LocationsRetrieveRequestRemoteFields { + return &l +} + +type LocationsRetrieveRequestShowEnumOrigins string + +const ( + LocationsRetrieveRequestShowEnumOriginsCountry LocationsRetrieveRequestShowEnumOrigins = "country" + LocationsRetrieveRequestShowEnumOriginsCountryLocationType LocationsRetrieveRequestShowEnumOrigins = "country,location_type" + LocationsRetrieveRequestShowEnumOriginsLocationType LocationsRetrieveRequestShowEnumOrigins = "location_type" +) + +func NewLocationsRetrieveRequestShowEnumOriginsFromString(s string) (LocationsRetrieveRequestShowEnumOrigins, error) { + switch s { + case "country": + return LocationsRetrieveRequestShowEnumOriginsCountry, nil + case "country,location_type": + return LocationsRetrieveRequestShowEnumOriginsCountryLocationType, nil + case "location_type": + return LocationsRetrieveRequestShowEnumOriginsLocationType, nil + } + var t LocationsRetrieveRequestShowEnumOrigins + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LocationsRetrieveRequestShowEnumOrigins) Ptr() *LocationsRetrieveRequestShowEnumOrigins { + return &l +} diff --git a/hris/locations/client.go b/hris/locations/client.go index 4e1543f..0946a9f 100644 --- a/hris/locations/client.go +++ b/hris/locations/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *hris.LocationsListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.LocationType != nil { queryParams.Add("location_type", fmt.Sprintf("%v", *request.LocationType)) } @@ -67,13 +70,13 @@ func (c *Client) List(ctx context.Context, request *hris.LocationsListRequest) ( queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } if request.RemoteFields != nil { - queryParams.Add("remote_fields", fmt.Sprintf("%v", request.RemoteFields)) + queryParams.Add("remote_fields", fmt.Sprintf("%v", *request.RemoteFields)) } if request.RemoteId != nil { queryParams.Add("remote_id", fmt.Sprintf("%v", *request.RemoteId)) } if request.ShowEnumOrigins != nil { - queryParams.Add("show_enum_origins", fmt.Sprintf("%v", request.ShowEnumOrigins)) + queryParams.Add("show_enum_origins", fmt.Sprintf("%v", *request.ShowEnumOrigins)) } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() @@ -107,10 +110,10 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *hris.Location queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } if request.RemoteFields != nil { - queryParams.Add("remote_fields", fmt.Sprintf("%v", request.RemoteFields)) + queryParams.Add("remote_fields", fmt.Sprintf("%v", *request.RemoteFields)) } if request.ShowEnumOrigins != nil { - queryParams.Add("show_enum_origins", fmt.Sprintf("%v", request.ShowEnumOrigins)) + queryParams.Add("show_enum_origins", fmt.Sprintf("%v", *request.ShowEnumOrigins)) } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() diff --git a/hris/pay_groups.go b/hris/pay_groups.go index c2dbffc..c226271 100644 --- a/hris/pay_groups.go +++ b/hris/pay_groups.go @@ -13,10 +13,12 @@ type PayGroupsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/paygroups/client.go b/hris/paygroups/client.go index 1b24f57..9a4b884 100644 --- a/hris/paygroups/client.go +++ b/hris/paygroups/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *hris.PayGroupsListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/payroll_runs.go b/hris/payroll_runs.go index 61b7b2e..195cea7 100644 --- a/hris/payroll_runs.go +++ b/hris/payroll_runs.go @@ -18,10 +18,12 @@ type PayrollRunsListRequest struct { EndedAfter *time.Time `json:"-"` // If provided, will only return payroll runs ended before this datetime. EndedBefore *time.Time `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/payrollruns/client.go b/hris/payrollruns/client.go index 650f177..4b0b68a 100644 --- a/hris/payrollruns/client.go +++ b/hris/payrollruns/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *hris.PayrollRunsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/scopes/client.go b/hris/scopes/client.go index a754541..7a1f18b 100644 --- a/hris/scopes/client.go +++ b/hris/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*hris.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*hris.CommonModelSc return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*hris.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*hris.CommonM return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *hris.LinkedAccountCommonModelScopeDeserializerRequest) (*hris.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/hris/teams.go b/hris/teams.go index 2861032..2d6bcc8 100644 --- a/hris/teams.go +++ b/hris/teams.go @@ -15,10 +15,12 @@ type TeamsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/teams/client.go b/hris/teams/client.go index 2c157ec..19d28df 100644 --- a/hris/teams/client.go +++ b/hris/teams/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *hris.TeamsListRequest) (*hri if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/time_off.go b/hris/time_off.go index dd5e33d..aeeef06 100644 --- a/hris/time_off.go +++ b/hris/time_off.go @@ -32,10 +32,12 @@ type TimeOffListRequest struct { EndedBefore *time.Time `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *TimeOffListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/time_off_balances.go b/hris/time_off_balances.go index dd21427..b752380 100644 --- a/hris/time_off_balances.go +++ b/hris/time_off_balances.go @@ -18,10 +18,12 @@ type TimeOffBalancesListRequest struct { EmployeeId *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/hris/timeoff/client.go b/hris/timeoff/client.go index a80d115..70f71dc 100644 --- a/hris/timeoff/client.go +++ b/hris/timeoff/client.go @@ -69,6 +69,9 @@ func (c *Client) List(ctx context.Context, request *hris.TimeOffListRequest) (*h if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/timeoffbalances/client.go b/hris/timeoffbalances/client.go index 5a87610..943bb83 100644 --- a/hris/timeoffbalances/client.go +++ b/hris/timeoffbalances/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *hris.TimeOffBalancesListRequ if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/hris/timesheet_entries.go b/hris/timesheet_entries.go index 2146958..cbcddc5 100644 --- a/hris/timesheet_entries.go +++ b/hris/timesheet_entries.go @@ -25,13 +25,17 @@ type TimesheetEntriesListRequest struct { // If provided, will only return timesheet entries for this employee. EmployeeId *string `json:"-"` // If provided, will only return timesheet entries ended after this datetime. - EndedAfter *string `json:"-"` + EndedAfter *time.Time `json:"-"` // If provided, will only return timesheet entries ended before this datetime. - EndedBefore *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + EndedBefore *time.Time `json:"-"` + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -43,12 +47,14 @@ type TimesheetEntriesListRequest struct { // The API provider's ID for the given object. RemoteId *string `json:"-"` // If provided, will only return timesheet entries started after this datetime. - StartedAfter *string `json:"-"` + StartedAfter *time.Time `json:"-"` // If provided, will only return timesheet entries started before this datetime. - StartedBefore *string `json:"-"` + StartedBefore *time.Time `json:"-"` } type TimesheetEntriesRetrieveRequest struct { + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *string `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` } diff --git a/hris/timesheetentries/client.go b/hris/timesheetentries/client.go index 49f0d05..f5f8757 100644 --- a/hris/timesheetentries/client.go +++ b/hris/timesheetentries/client.go @@ -52,10 +52,13 @@ func (c *Client) List(ctx context.Context, request *hris.TimesheetEntriesListReq queryParams.Add("employee_id", fmt.Sprintf("%v", *request.EmployeeId)) } if request.EndedAfter != nil { - queryParams.Add("ended_after", fmt.Sprintf("%v", *request.EndedAfter)) + queryParams.Add("ended_after", fmt.Sprintf("%v", request.EndedAfter.Format(time.RFC3339))) } if request.EndedBefore != nil { - queryParams.Add("ended_before", fmt.Sprintf("%v", *request.EndedBefore)) + queryParams.Add("ended_before", fmt.Sprintf("%v", request.EndedBefore.Format(time.RFC3339))) + } + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) } if request.IncludeDeletedData != nil { queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) @@ -63,6 +66,9 @@ func (c *Client) List(ctx context.Context, request *hris.TimesheetEntriesListReq if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -79,10 +85,10 @@ func (c *Client) List(ctx context.Context, request *hris.TimesheetEntriesListReq queryParams.Add("remote_id", fmt.Sprintf("%v", *request.RemoteId)) } if request.StartedAfter != nil { - queryParams.Add("started_after", fmt.Sprintf("%v", *request.StartedAfter)) + queryParams.Add("started_after", fmt.Sprintf("%v", request.StartedAfter.Format(time.RFC3339))) } if request.StartedBefore != nil { - queryParams.Add("started_before", fmt.Sprintf("%v", *request.StartedBefore)) + queryParams.Add("started_before", fmt.Sprintf("%v", request.StartedBefore.Format(time.RFC3339))) } if len(queryParams) > 0 { endpointURL += "?" + queryParams.Encode() @@ -147,6 +153,9 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *hris.Timeshee endpointURL := fmt.Sprintf(baseURL+"/"+"hris/v1/timesheet-entries/%v", id) queryParams := make(url.Values) + if request.Expand != nil { + queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + } if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } diff --git a/hris/types.go b/hris/types.go index 424a7e6..afa42fa 100644 --- a/hris/types.go +++ b/hris/types.go @@ -22,6 +22,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -73,6 +75,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -139,12 +142,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -155,6 +160,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -171,9 +178,9 @@ type AccountIntegration struct { AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -377,6 +384,9 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -447,6 +457,9 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -648,7 +661,7 @@ type BankInfo struct { AccountType *BankInfoAccountType `json:"account_type,omitempty"` // When the matching bank object was created in the third party system. RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -829,7 +842,7 @@ type Benefit struct { StartDate *time.Time `json:"start_date,omitempty"` // The day and time the benefit ended. EndDate *time.Time `json:"end_date,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The employer benefit plan the employee is enrolled in. EmployerBenefit *string `json:"employer_benefit,omitempty"` @@ -1128,7 +1141,7 @@ type Company struct { DisplayName *string `json:"display_name,omitempty"` // The company's Employer Identification Numbers. Eins []*string `json:"eins,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2308,7 +2321,7 @@ type Deduction struct { EmployeeDeduction *float64 `json:"employee_deduction,omitempty"` // The amount of money that is withheld on behalf of an employee by the company. CompanyDeduction *float64 `json:"company_deduction,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2388,7 +2401,7 @@ type Dependent struct { IsStudent *bool `json:"is_student,omitempty"` // The dependents's social security number. Ssn *string `json:"ssn,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2572,7 +2585,7 @@ type Earning struct { // - `OVERTIME` - OVERTIME // - `BONUS` - BONUS Type *EarningType `json:"type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2702,7 +2715,7 @@ func (e EarningTypeEnum) Ptr() *EarningTypeEnum { // // ### Description // -// The `Employee` object is used to represent any person who has been employed by a company. +// The `Employee` object is used to represent any person who has been employed by a company. By default, it returns all employees. To filter for only active employees, set the `employment_status` query parameter to `ACTIVE`. // // ### Usage Example // @@ -2796,7 +2809,8 @@ type Employee struct { // The URL of the employee's avatar image. Avatar *string `json:"avatar,omitempty"` // Custom fields configured for a given model. - CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + CustomFields map[string]interface{} `json:"custom_fields,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -3464,7 +3478,7 @@ type EmployeePayrollRun struct { Earnings []*Earning `json:"earnings,omitempty"` Deductions []*Deduction `json:"deductions,omitempty"` Taxes []*Tax `json:"taxes,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -3615,7 +3629,7 @@ func (e *EmployeePayrollRunPayrollRun) Accept(visitor EmployeePayrollRunPayrollR // // ### Description // -// The `Employee` object is used to represent any person who has been employed by a company. +// The `Employee` object is used to represent any person who has been employed by a company. By default, it returns all employees. To filter for only active employees, set the `employment_status` query parameter to `ACTIVE`. // // ### Usage Example // @@ -4626,10 +4640,10 @@ type EmployerBenefit struct { Description *string `json:"description,omitempty"` // The employer benefit's deduction code. DeductionCode *string `json:"deduction_code,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -4727,7 +4741,7 @@ func (e *EmployerBenefitBenefitPlanType) Accept(visitor EmployerBenefitBenefitPl // // The `Employment` object is used to represent a job position at a company. // -// Please note: When there is a change in pay or title, integrations with historical data will create new Employment objects while integrations without historical data will update existing ones. +// If an integration supports historical tracking of employments, it will be reflected in the data. If not, a new `Employment` object will be created whenever there is a change in job title or pay. The `effective_date` field should be used to order `Employment` objects, with the most recent date corresponding to the latest employment record for an employee. // // ### Usage Example // @@ -4744,7 +4758,7 @@ type Employment struct { Employee *EmploymentEmployee `json:"employee,omitempty"` // The position's title. JobTitle *string `json:"job_title,omitempty"` - // The position's pay rate in dollars. + // The position's pay rate. PayRate *float64 `json:"pay_rate,omitempty"` // The time period this pay rate encompasses. // @@ -5098,7 +5112,7 @@ type Employment struct { // - `CONTRACTOR` - CONTRACTOR // - `FREELANCE` - FREELANCE EmploymentType *EmploymentEmploymentType `json:"employment_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -6100,6 +6114,9 @@ func (e EthnicityEnum) Ptr() *EthnicityEnum { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -6141,6 +6158,9 @@ const ( EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" @@ -6214,6 +6234,12 @@ func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { return EventTypeEnumDeletedIntegrationWideFieldMapping, nil case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil case "FORCED_LINKED_ACCOUNT_RESYNC": return EventTypeEnumForcedLinkedAccountResync, nil case "MUTED_ISSUE": @@ -6345,7 +6371,7 @@ func (f *FieldMappingApiInstance) String() string { } type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` Schema map[string]interface{} `json:"schema,omitempty"` RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` @@ -6514,8 +6540,8 @@ func (f *FieldMappingInstanceResponse) String() string { } type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -6544,8 +6570,8 @@ func (f *FieldPermissionDeserializer) String() string { } type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -6670,7 +6696,7 @@ type Group struct { // - `BUSINESS_UNIT` - BUSINESS_UNIT // - `GROUP` - GROUP Type *GroupType `json:"type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // Indicates whether the Group refers to a team in the third party platform. Note that this is an opinionated view based on how Merge observes most organizations representing teams in each third party platform. If your customer uses a platform different from most, there is a chance this will not be correct. IsCommonlyUsedAsTeam *bool `json:"is_commonly_used_as_team,omitempty"` @@ -6990,6 +7016,30 @@ func (i IssueStatusEnum) Ptr() *IssueStatusEnum { return &i } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + type LinkToken struct { LinkToken string `json:"link_token"` IntegrationName *string `json:"integration_name,omitempty"` @@ -7339,7 +7389,7 @@ type Location struct { // - `HOME` - HOME // - `WORK` - WORK LocationType *LocationLocationType `json:"location_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -10019,7 +10069,7 @@ type PayGroup struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The pay group name. PayGroupName *string `json:"pay_group_name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -10141,7 +10191,7 @@ type PayrollRun struct { EndDate *time.Time `json:"end_date,omitempty"` // The day and time the payroll run was checked. CheckDate *time.Time `json:"check_date,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -10396,7 +10446,17 @@ func (r RelationshipEnum) Ptr() *RelationshipEnum { return &r } +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO type RemoteData struct { + // The third-party API path that is being called. Path string `json:"path"` Data interface{} `json:"data,omitempty"` @@ -11068,7 +11128,7 @@ type Tax struct { Amount *float64 `json:"amount,omitempty"` // Whether or not the employer is responsible for paying the tax. EmployerTax *bool `json:"employer_tax,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -11120,7 +11180,7 @@ type Team struct { Name *string `json:"name,omitempty"` // The team's parent team. ParentTeam *TeamParentTeam `json:"parent_team,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -11259,7 +11319,8 @@ type TimeOff struct { // The day and time of the start of the time requested off. StartTime *time.Time `json:"start_time,omitempty"` // The day and time of the end of the time requested off. - EndTime *time.Time `json:"end_time,omitempty"` + EndTime *time.Time `json:"end_time,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -11367,9 +11428,9 @@ type TimeOffBalance struct { ModifiedAt *time.Time `json:"modified_at,omitempty"` // The employee the balance belongs to. Employee *TimeOffBalanceEmployee `json:"employee,omitempty"` - // The current remaining PTO balance, always measured in terms of hours. + // The current remaining PTO balance, measured in hours. For integrations that return this value in days, Merge multiplies by 8 to calculate hours. Balance *float64 `json:"balance,omitempty"` - // The amount of PTO used in terms of hours. + // The amount of PTO used in terms of hours. For integrations that return this value in days, Merge multiplies by 8 to calculate hours. Used *float64 `json:"used,omitempty"` // The policy type of this time off balance. // @@ -11380,7 +11441,7 @@ type TimeOffBalance struct { // - `VOLUNTEER` - VOLUNTEER // - `BEREAVEMENT` - BEREAVEMENT PolicyType *TimeOffBalancePolicyType `json:"policy_type,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -12247,17 +12308,17 @@ type TimesheetEntry struct { // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` // The employee the timesheet entry is for. - Employee *string `json:"employee,omitempty"` + Employee *TimesheetEntryEmployee `json:"employee,omitempty"` // The number of hours logged by the employee. HoursWorked *float64 `json:"hours_worked,omitempty"` // The time at which the employee started work. StartTime *time.Time `json:"start_time,omitempty"` // The time at which the employee ended work. EndTime *time.Time `json:"end_time,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` - FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` - RemoteData []map[string]interface{} `json:"remote_data,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` + RemoteData []*RemoteData `json:"remote_data,omitempty"` _rawJSON json.RawMessage } @@ -12285,6 +12346,64 @@ func (t *TimesheetEntry) String() string { return fmt.Sprintf("%#v", t) } +// The employee the timesheet entry is for. +type TimesheetEntryEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewTimesheetEntryEmployeeFromString(value string) *TimesheetEntryEmployee { + return &TimesheetEntryEmployee{typeName: "string", String: value} +} + +func NewTimesheetEntryEmployeeFromEmployee(value *Employee) *TimesheetEntryEmployee { + return &TimesheetEntryEmployee{typeName: "employee", Employee: value} +} + +func (t *TimesheetEntryEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + t.typeName = "employee" + t.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) +} + +func (t TimesheetEntryEmployee) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "employee": + return json.Marshal(t.Employee) + } +} + +type TimesheetEntryEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (t *TimesheetEntryEmployee) Accept(visitor TimesheetEntryEmployeeVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "employee": + return visitor.VisitEmployee(t.Employee) + } +} + // # The Timesheet Entry Object // // ### Description @@ -12296,7 +12415,7 @@ func (t *TimesheetEntry) String() string { // GET and POST Timesheet Entries type TimesheetEntryRequest struct { // The employee the timesheet entry is for. - Employee *string `json:"employee,omitempty"` + Employee *TimesheetEntryRequestEmployee `json:"employee,omitempty"` // The number of hours logged by the employee. HoursWorked *float64 `json:"hours_worked,omitempty"` // The time at which the employee started work. @@ -12332,6 +12451,64 @@ func (t *TimesheetEntryRequest) String() string { return fmt.Sprintf("%#v", t) } +// The employee the timesheet entry is for. +type TimesheetEntryRequestEmployee struct { + typeName string + String string + Employee *Employee +} + +func NewTimesheetEntryRequestEmployeeFromString(value string) *TimesheetEntryRequestEmployee { + return &TimesheetEntryRequestEmployee{typeName: "string", String: value} +} + +func NewTimesheetEntryRequestEmployeeFromEmployee(value *Employee) *TimesheetEntryRequestEmployee { + return &TimesheetEntryRequestEmployee{typeName: "employee", Employee: value} +} + +func (t *TimesheetEntryRequestEmployee) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + valueEmployee := new(Employee) + if err := json.Unmarshal(data, &valueEmployee); err == nil { + t.typeName = "employee" + t.Employee = valueEmployee + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) +} + +func (t TimesheetEntryRequestEmployee) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "employee": + return json.Marshal(t.Employee) + } +} + +type TimesheetEntryRequestEmployeeVisitor interface { + VisitString(string) error + VisitEmployee(*Employee) error +} + +func (t *TimesheetEntryRequestEmployee) Accept(visitor TimesheetEntryRequestEmployeeVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "employee": + return visitor.VisitEmployee(t.Employee) + } +} + type TimesheetEntryResponse struct { Model *TimesheetEntry `json:"model,omitempty"` Warnings []*WarningValidationProblem `json:"warnings,omitempty"` diff --git a/ticketing/accounts.go b/ticketing/accounts.go index 6eb830d..77eb93d 100644 --- a/ticketing/accounts.go +++ b/ticketing/accounts.go @@ -13,10 +13,12 @@ type AccountsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/accounts/client.go b/ticketing/accounts/client.go index a00d805..7767ee8 100644 --- a/ticketing/accounts/client.go +++ b/ticketing/accounts/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.AccountsListReques if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/async_passthrough.go b/ticketing/async_passthrough.go new file mode 100644 index 0000000..8f12b8b --- /dev/null +++ b/ticketing/async_passthrough.go @@ -0,0 +1,65 @@ +// This file was auto-generated by Fern from our API Definition. + +package ticketing + +import ( + json "encoding/json" + fmt "fmt" +) + +type AsyncPassthroughRetrieveResponse struct { + typeName string + RemoteResponse *RemoteResponse + String string +} + +func NewAsyncPassthroughRetrieveResponseFromRemoteResponse(value *RemoteResponse) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "remoteResponse", RemoteResponse: value} +} + +func NewAsyncPassthroughRetrieveResponseFromString(value string) *AsyncPassthroughRetrieveResponse { + return &AsyncPassthroughRetrieveResponse{typeName: "string", String: value} +} + +func (a *AsyncPassthroughRetrieveResponse) UnmarshalJSON(data []byte) error { + valueRemoteResponse := new(RemoteResponse) + if err := json.Unmarshal(data, &valueRemoteResponse); err == nil { + a.typeName = "remoteResponse" + a.RemoteResponse = valueRemoteResponse + return nil + } + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + a.typeName = "string" + a.String = valueString + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, a) +} + +func (a AsyncPassthroughRetrieveResponse) MarshalJSON() ([]byte, error) { + switch a.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return json.Marshal(a.RemoteResponse) + case "string": + return json.Marshal(a.String) + } +} + +type AsyncPassthroughRetrieveResponseVisitor interface { + VisitRemoteResponse(*RemoteResponse) error + VisitString(string) error +} + +func (a *AsyncPassthroughRetrieveResponse) Accept(visitor AsyncPassthroughRetrieveResponseVisitor) error { + switch a.typeName { + default: + return fmt.Errorf("invalid type %s in %T", a.typeName, a) + case "remoteResponse": + return visitor.VisitRemoteResponse(a.RemoteResponse) + case "string": + return visitor.VisitString(a.String) + } +} diff --git a/ticketing/asyncpassthrough/client.go b/ticketing/asyncpassthrough/client.go index 15a31a5..632e4d6 100644 --- a/ticketing/asyncpassthrough/client.go +++ b/ticketing/asyncpassthrough/client.go @@ -53,14 +53,14 @@ func (c *Client) Create(ctx context.Context, request *ticketing.DataPassthroughR } // Retrieves data from earlier async-passthrough POST request -func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*ticketing.RemoteResponse, error) { +func (c *Client) Retrieve(ctx context.Context, asyncPassthroughReceiptId string) (*ticketing.AsyncPassthroughRetrieveResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := fmt.Sprintf(baseURL+"/"+"ticketing/v1/async-passthrough/%v", asyncPassthroughReceiptId) - var response *ticketing.RemoteResponse + var response *ticketing.AsyncPassthroughRetrieveResponse if err := c.caller.Call( ctx, &core.CallParams{ diff --git a/ticketing/attachments.go b/ticketing/attachments.go index 48d4571..c643a66 100644 --- a/ticketing/attachments.go +++ b/ticketing/attachments.go @@ -28,10 +28,12 @@ type AttachmentsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/attachments/client.go b/ticketing/attachments/client.go index 71cb7ae..365a042 100644 --- a/ticketing/attachments/client.go +++ b/ticketing/attachments/client.go @@ -59,6 +59,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.AttachmentsListReq if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/audit_trail.go b/ticketing/audit_trail.go index a72537e..ad1e700 100644 --- a/ticketing/audit_trail.go +++ b/ticketing/audit_trail.go @@ -7,7 +7,7 @@ type AuditTrailListRequest struct { Cursor *string `json:"-"` // If included, will only include audit trail events that occurred before this time EndDate *string `json:"-"` - // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + // If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` EventType *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` diff --git a/ticketing/collections.go b/ticketing/collections.go index ca1cfc7..37da667 100644 --- a/ticketing/collections.go +++ b/ticketing/collections.go @@ -17,11 +17,13 @@ type CollectionsListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + Expand *CollectionsListRequestExpand `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -40,7 +42,7 @@ type CollectionsListRequest struct { type CollectionsRetrieveRequest struct { // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - Expand *string `json:"-"` + Expand *CollectionsRetrieveRequestExpand `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Deprecated. Use show_enum_origins. @@ -49,40 +51,52 @@ type CollectionsRetrieveRequest struct { ShowEnumOrigins *string `json:"-"` } -type CollectionsUsersListRequestExpand string +type CollectionsListRequestExpand string const ( - CollectionsUsersListRequestExpandRoles CollectionsUsersListRequestExpand = "roles" - CollectionsUsersListRequestExpandTeams CollectionsUsersListRequestExpand = "teams" - CollectionsUsersListRequestExpandTeamsRoles CollectionsUsersListRequestExpand = "teams,roles" + CollectionsListRequestExpandParentCollection CollectionsListRequestExpand = "parent_collection" + CollectionsListRequestExpandTeams CollectionsListRequestExpand = "teams" + CollectionsListRequestExpandTeamsParentCollection CollectionsListRequestExpand = "teams,parent_collection" ) -func NewCollectionsUsersListRequestExpandFromString(s string) (CollectionsUsersListRequestExpand, error) { +func NewCollectionsListRequestExpandFromString(s string) (CollectionsListRequestExpand, error) { switch s { - case "roles": - return CollectionsUsersListRequestExpandRoles, nil + case "parent_collection": + return CollectionsListRequestExpandParentCollection, nil case "teams": - return CollectionsUsersListRequestExpandTeams, nil - case "teams,roles": - return CollectionsUsersListRequestExpandTeamsRoles, nil + return CollectionsListRequestExpandTeams, nil + case "teams,parent_collection": + return CollectionsListRequestExpandTeamsParentCollection, nil } - var t CollectionsUsersListRequestExpand + var t CollectionsListRequestExpand return "", fmt.Errorf("%s is not a valid %T", s, t) } -func (c CollectionsUsersListRequestExpand) Ptr() *CollectionsUsersListRequestExpand { +func (c CollectionsListRequestExpand) Ptr() *CollectionsListRequestExpand { return &c } -type CollectionsUsersListRequest struct { - // The pagination cursor value. - Cursor *string `json:"-"` - // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - Expand *CollectionsUsersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. - IncludeDeletedData *bool `json:"-"` - // Whether to include the original data Merge fetched from the third-party to produce these models. - IncludeRemoteData *bool `json:"-"` - // Number of results to return per page. - PageSize *int `json:"-"` +type CollectionsRetrieveRequestExpand string + +const ( + CollectionsRetrieveRequestExpandParentCollection CollectionsRetrieveRequestExpand = "parent_collection" + CollectionsRetrieveRequestExpandTeams CollectionsRetrieveRequestExpand = "teams" + CollectionsRetrieveRequestExpandTeamsParentCollection CollectionsRetrieveRequestExpand = "teams,parent_collection" +) + +func NewCollectionsRetrieveRequestExpandFromString(s string) (CollectionsRetrieveRequestExpand, error) { + switch s { + case "parent_collection": + return CollectionsRetrieveRequestExpandParentCollection, nil + case "teams": + return CollectionsRetrieveRequestExpandTeams, nil + case "teams,parent_collection": + return CollectionsRetrieveRequestExpandTeamsParentCollection, nil + } + var t CollectionsRetrieveRequestExpand + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (c CollectionsRetrieveRequestExpand) Ptr() *CollectionsRetrieveRequestExpand { + return &c } diff --git a/ticketing/collections/client.go b/ticketing/collections/client.go index e85967d..46954e2 100644 --- a/ticketing/collections/client.go +++ b/ticketing/collections/client.go @@ -52,7 +52,7 @@ func (c *Client) List(ctx context.Context, request *ticketing.CollectionsListReq queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) } if request.Expand != nil { - queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) } if request.IncludeDeletedData != nil { queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.CollectionsListReq if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -110,7 +113,7 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *ticketing.Col queryParams := make(url.Values) if request.Expand != nil { - queryParams.Add("expand", fmt.Sprintf("%v", request.Expand)) + queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) } if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) @@ -139,46 +142,3 @@ func (c *Client) Retrieve(ctx context.Context, id string, request *ticketing.Col } return response, nil } - -// Returns a list of `User` objects. -func (c *Client) UsersList(ctx context.Context, parentId string, request *ticketing.CollectionsUsersListRequest) (*ticketing.PaginatedUserList, error) { - baseURL := "https://api.merge.dev/api" - if c.baseURL != "" { - baseURL = c.baseURL - } - endpointURL := fmt.Sprintf(baseURL+"/"+"ticketing/v1/collections/%v/users", parentId) - - queryParams := make(url.Values) - if request.Cursor != nil { - queryParams.Add("cursor", fmt.Sprintf("%v", *request.Cursor)) - } - if request.Expand != nil { - queryParams.Add("expand", fmt.Sprintf("%v", *request.Expand)) - } - if request.IncludeDeletedData != nil { - queryParams.Add("include_deleted_data", fmt.Sprintf("%v", *request.IncludeDeletedData)) - } - if request.IncludeRemoteData != nil { - queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) - } - if request.PageSize != nil { - queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) - } - if len(queryParams) > 0 { - endpointURL += "?" + queryParams.Encode() - } - - var response *ticketing.PaginatedUserList - if err := c.caller.Call( - ctx, - &core.CallParams{ - URL: endpointURL, - Method: http.MethodGet, - Headers: c.header, - Response: &response, - }, - ); err != nil { - return nil, err - } - return response, nil -} diff --git a/ticketing/comments.go b/ticketing/comments.go index 19d9c43..095d753 100644 --- a/ticketing/comments.go +++ b/ticketing/comments.go @@ -24,10 +24,12 @@ type CommentsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *CommentsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/comments/client.go b/ticketing/comments/client.go index 185bca1..c25120f 100644 --- a/ticketing/comments/client.go +++ b/ticketing/comments/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.CommentsListReques if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/contacts.go b/ticketing/contacts.go index eb3c202..97faad1 100644 --- a/ticketing/contacts.go +++ b/ticketing/contacts.go @@ -23,10 +23,12 @@ type ContactsListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/contacts/client.go b/ticketing/contacts/client.go index 125b810..3645be4 100644 --- a/ticketing/contacts/client.go +++ b/ticketing/contacts/client.go @@ -57,6 +57,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.ContactsListReques if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/field_mapping.go b/ticketing/field_mapping.go index 0444ce3..31fe90b 100644 --- a/ticketing/field_mapping.go +++ b/ticketing/field_mapping.go @@ -3,6 +3,8 @@ package ticketing type CreateFieldMappingRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` // The name of the target field you want this remote field to map to. TargetFieldName string `json:"target_field_name"` // The description of the target field you want this remote field to map to. @@ -26,6 +28,11 @@ type PatchedEditFieldMappingRequest struct { RemoteUrlPath *string `json:"remote_url_path,omitempty"` } +type FieldMappingsRetrieveRequest struct { + // If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + ExcludeRemoteFieldMetadata *bool `json:"-"` +} + type RemoteFieldsRetrieveRequest struct { // A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. CommonModels *string `json:"-"` diff --git a/ticketing/fieldmapping/client.go b/ticketing/fieldmapping/client.go index f902b4f..5c7ce71 100644 --- a/ticketing/fieldmapping/client.go +++ b/ticketing/fieldmapping/client.go @@ -30,13 +30,21 @@ func NewClient(opts ...core.ClientOption) *Client { } // Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -func (c *Client) FieldMappingsRetrieve(ctx context.Context) (*ticketing.FieldMappingApiInstanceResponse, error) { +func (c *Client) FieldMappingsRetrieve(ctx context.Context, request *ticketing.FieldMappingsRetrieveRequest) (*ticketing.FieldMappingApiInstanceResponse, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } endpointURL := baseURL + "/" + "ticketing/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *ticketing.FieldMappingApiInstanceResponse if err := c.caller.Call( ctx, @@ -60,6 +68,14 @@ func (c *Client) FieldMappingsCreate(ctx context.Context, request *ticketing.Cre } endpointURL := baseURL + "/" + "ticketing/v1/field-mappings" + queryParams := make(url.Values) + if request.ExcludeRemoteFieldMetadata != nil { + queryParams.Add("exclude_remote_field_metadata", fmt.Sprintf("%v", *request.ExcludeRemoteFieldMetadata)) + } + if len(queryParams) > 0 { + endpointURL += "?" + queryParams.Encode() + } + var response *ticketing.FieldMappingInstanceResponse if err := c.caller.Call( ctx, diff --git a/ticketing/forceresync/client.go b/ticketing/forceresync/client.go index 9600d53..a945173 100644 --- a/ticketing/forceresync/client.go +++ b/ticketing/forceresync/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Launch, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. +// Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. func (c *Client) SyncStatusResyncCreate(ctx context.Context) ([]*ticketing.SyncStatus, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/ticketing/link_token.go b/ticketing/link_token.go index f57ed4c..c66116f 100644 --- a/ticketing/link_token.go +++ b/ticketing/link_token.go @@ -23,8 +23,13 @@ type EndUserDetailsRequest struct { CommonModels []*CommonModelScopesBodyRequest `json:"common_models,omitempty"` // When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. CategoryCommonModelScopes map[string][]*IndividualCommonModelScopeDeserializerRequest `json:"category_common_model_scopes,omitempty"` - // The language code for the language to localize Merge Link to. - Language *string `json:"language,omitempty"` + // The following subset of IETF language tags can be used to configure localization. + // + // * `en` - en + // * `de` - de + Language *LanguageEnum `json:"language,omitempty"` + // The boolean that indicates whether initial, periodic, and force syncs will be disabled. + AreSyncsDisabled *bool `json:"are_syncs_disabled,omitempty"` // A JSON object containing integration-specific configuration options. IntegrationSpecificConfig map[string]interface{} `json:"integration_specific_config,omitempty"` } diff --git a/ticketing/linked_accounts.go b/ticketing/linked_accounts.go index 9eed672..5a2f8e3 100644 --- a/ticketing/linked_accounts.go +++ b/ticketing/linked_accounts.go @@ -38,7 +38,7 @@ type LinkedAccountsListRequest struct { IsTestAccount *string `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` - // Filter by status. Options: `COMPLETE`, `INCOMPLETE`, `RELINK_NEEDED` + // Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` Status *string `json:"-"` } diff --git a/ticketing/projects.go b/ticketing/projects.go index 1edb573..81449ef 100644 --- a/ticketing/projects.go +++ b/ticketing/projects.go @@ -14,10 +14,12 @@ type ProjectsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -63,10 +65,12 @@ type ProjectsUsersListRequest struct { Cursor *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *ProjectsUsersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // Number of results to return per page. PageSize *int `json:"-"` } diff --git a/ticketing/projects/client.go b/ticketing/projects/client.go index 7b0880d..595136f 100644 --- a/ticketing/projects/client.go +++ b/ticketing/projects/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.ProjectsListReques if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -137,6 +140,9 @@ func (c *Client) UsersList(ctx context.Context, parentId string, request *ticket if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } diff --git a/ticketing/roles.go b/ticketing/roles.go index 811f74f..9041d9c 100644 --- a/ticketing/roles.go +++ b/ticketing/roles.go @@ -13,10 +13,12 @@ type RolesListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/roles/client.go b/ticketing/roles/client.go index e1065e2..59e3ed2 100644 --- a/ticketing/roles/client.go +++ b/ticketing/roles/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.RolesListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/scopes/client.go b/ticketing/scopes/client.go index 8cc2580..d5c8445 100644 --- a/ticketing/scopes/client.go +++ b/ticketing/scopes/client.go @@ -27,7 +27,7 @@ func NewClient(opts ...core.ClientOption) *Client { } } -// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*ticketing.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -50,7 +50,7 @@ func (c *Client) DefaultScopesRetrieve(ctx context.Context) (*ticketing.CommonMo return response, nil } -// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes). +// Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*ticketing.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { @@ -73,7 +73,7 @@ func (c *Client) LinkedAccountScopesRetrieve(ctx context.Context) (*ticketing.Co return response, nil } -// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/8828211-common-model-and-field-scopes) +// Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) func (c *Client) LinkedAccountScopesCreate(ctx context.Context, request *ticketing.LinkedAccountCommonModelScopeDeserializerRequest) (*ticketing.CommonModelScopeApi, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { diff --git a/ticketing/tags.go b/ticketing/tags.go index b0eede5..4d10984 100644 --- a/ticketing/tags.go +++ b/ticketing/tags.go @@ -13,10 +13,12 @@ type TagsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/tags/client.go b/ticketing/tags/client.go index a7f88ed..9ae714d 100644 --- a/ticketing/tags/client.go +++ b/ticketing/tags/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.TagsListRequest) ( if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/teams.go b/ticketing/teams.go index d541979..e8371da 100644 --- a/ticketing/teams.go +++ b/ticketing/teams.go @@ -13,10 +13,12 @@ type TeamsListRequest struct { CreatedBefore *time.Time `json:"-"` // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/teams/client.go b/ticketing/teams/client.go index 4e7a60d..7d65b4d 100644 --- a/ticketing/teams/client.go +++ b/ticketing/teams/client.go @@ -54,6 +54,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.TeamsListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } diff --git a/ticketing/tickets.go b/ticketing/tickets.go index 1d6f09b..8588b69 100644 --- a/ticketing/tickets.go +++ b/ticketing/tickets.go @@ -7,19 +7,6 @@ import ( time "time" ) -type TicketsCollaboratorsListRequest struct { - // The pagination cursor value. - Cursor *string `json:"-"` - // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - Expand *TicketsCollaboratorsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. - IncludeDeletedData *bool `json:"-"` - // Whether to include the original data Merge fetched from the third-party to produce these models. - IncludeRemoteData *bool `json:"-"` - // Number of results to return per page. - PageSize *int `json:"-"` -} - type TicketEndpointRequest struct { // Whether to include debug fields (such as log file links) in the response. IsDebugMode *bool `json:"-"` @@ -53,12 +40,14 @@ type TicketsListRequest struct { DueBefore *time.Time `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *TicketsListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` // Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. IncludeRemoteFields *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. @@ -89,12 +78,7 @@ type TicketsListRequest struct { // A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) ShowEnumOrigins *TicketsListRequestShowEnumOrigins `json:"-"` // If provided, will only return tickets of this status. - // - // - `OPEN` - OPEN - // - `CLOSED` - CLOSED - // - `IN_PROGRESS` - IN_PROGRESS - // - `ON_HOLD` - ON_HOLD - Status *TicketsListRequestStatus `json:"-"` + Status *string `json:"-"` // If provided, will only return tickets matching the tags; multiple tags can be separated by commas. Tags *string `json:"-"` // If provided, will only return tickets of this type. @@ -114,10 +98,12 @@ type PatchedTicketEndpointRequest struct { type TicketsRemoteFieldClassesListRequest struct { // The pagination cursor value. Cursor *string `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, will only return remote field classes with this is_common_model_field value IsCommonModelField *bool `json:"-"` // Number of results to return per page. @@ -137,161 +123,264 @@ type TicketsRetrieveRequest struct { ShowEnumOrigins *TicketsRetrieveRequestShowEnumOrigins `json:"-"` } -type TicketsCollaboratorsListRequestExpand string - -const ( - TicketsCollaboratorsListRequestExpandRoles TicketsCollaboratorsListRequestExpand = "roles" - TicketsCollaboratorsListRequestExpandTeams TicketsCollaboratorsListRequestExpand = "teams" - TicketsCollaboratorsListRequestExpandTeamsRoles TicketsCollaboratorsListRequestExpand = "teams,roles" -) - -func NewTicketsCollaboratorsListRequestExpandFromString(s string) (TicketsCollaboratorsListRequestExpand, error) { - switch s { - case "roles": - return TicketsCollaboratorsListRequestExpandRoles, nil - case "teams": - return TicketsCollaboratorsListRequestExpandTeams, nil - case "teams,roles": - return TicketsCollaboratorsListRequestExpandTeamsRoles, nil - } - var t TicketsCollaboratorsListRequestExpand - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (t TicketsCollaboratorsListRequestExpand) Ptr() *TicketsCollaboratorsListRequestExpand { - return &t -} - type TicketsListRequestExpand string const ( - TicketsListRequestExpandAccount TicketsListRequestExpand = "account" - TicketsListRequestExpandAccountContact TicketsListRequestExpand = "account,contact" - TicketsListRequestExpandAccountContactCreator TicketsListRequestExpand = "account,contact,creator" - TicketsListRequestExpandAccountContactCreatorParentTicket TicketsListRequestExpand = "account,contact,creator,parent_ticket" - TicketsListRequestExpandAccountContactParentTicket TicketsListRequestExpand = "account,contact,parent_ticket" - TicketsListRequestExpandAccountCreator TicketsListRequestExpand = "account,creator" - TicketsListRequestExpandAccountCreatorParentTicket TicketsListRequestExpand = "account,creator,parent_ticket" - TicketsListRequestExpandAccountParentTicket TicketsListRequestExpand = "account,parent_ticket" - TicketsListRequestExpandAssignees TicketsListRequestExpand = "assignees" - TicketsListRequestExpandAssigneesAccount TicketsListRequestExpand = "assignees,account" - TicketsListRequestExpandAssigneesAccountContact TicketsListRequestExpand = "assignees,account,contact" - TicketsListRequestExpandAssigneesAccountContactCreator TicketsListRequestExpand = "assignees,account,contact,creator" - TicketsListRequestExpandAssigneesAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,account,contact,creator,parent_ticket" - TicketsListRequestExpandAssigneesAccountContactParentTicket TicketsListRequestExpand = "assignees,account,contact,parent_ticket" - TicketsListRequestExpandAssigneesAccountCreator TicketsListRequestExpand = "assignees,account,creator" - TicketsListRequestExpandAssigneesAccountCreatorParentTicket TicketsListRequestExpand = "assignees,account,creator,parent_ticket" - TicketsListRequestExpandAssigneesAccountParentTicket TicketsListRequestExpand = "assignees,account,parent_ticket" - TicketsListRequestExpandAssigneesCollections TicketsListRequestExpand = "assignees,collections" - TicketsListRequestExpandAssigneesCollectionsAccount TicketsListRequestExpand = "assignees,collections,account" - TicketsListRequestExpandAssigneesCollectionsAccountContact TicketsListRequestExpand = "assignees,collections,account,contact" - TicketsListRequestExpandAssigneesCollectionsAccountContactCreator TicketsListRequestExpand = "assignees,collections,account,contact,creator" - TicketsListRequestExpandAssigneesCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,account,contact,creator,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsAccountContactParentTicket TicketsListRequestExpand = "assignees,collections,account,contact,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsAccountCreator TicketsListRequestExpand = "assignees,collections,account,creator" - TicketsListRequestExpandAssigneesCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "assignees,collections,account,creator,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsAccountParentTicket TicketsListRequestExpand = "assignees,collections,account,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsContact TicketsListRequestExpand = "assignees,collections,contact" - TicketsListRequestExpandAssigneesCollectionsContactCreator TicketsListRequestExpand = "assignees,collections,contact,creator" - TicketsListRequestExpandAssigneesCollectionsContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,contact,creator,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsContactParentTicket TicketsListRequestExpand = "assignees,collections,contact,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsCreator TicketsListRequestExpand = "assignees,collections,creator" - TicketsListRequestExpandAssigneesCollectionsCreatorParentTicket TicketsListRequestExpand = "assignees,collections,creator,parent_ticket" - TicketsListRequestExpandAssigneesCollectionsParentTicket TicketsListRequestExpand = "assignees,collections,parent_ticket" - TicketsListRequestExpandAssigneesContact TicketsListRequestExpand = "assignees,contact" - TicketsListRequestExpandAssigneesContactCreator TicketsListRequestExpand = "assignees,contact,creator" - TicketsListRequestExpandAssigneesContactCreatorParentTicket TicketsListRequestExpand = "assignees,contact,creator,parent_ticket" - TicketsListRequestExpandAssigneesContactParentTicket TicketsListRequestExpand = "assignees,contact,parent_ticket" - TicketsListRequestExpandAssigneesCreator TicketsListRequestExpand = "assignees,creator" - TicketsListRequestExpandAssigneesCreatorParentTicket TicketsListRequestExpand = "assignees,creator,parent_ticket" - TicketsListRequestExpandAssigneesParentTicket TicketsListRequestExpand = "assignees,parent_ticket" - TicketsListRequestExpandAttachments TicketsListRequestExpand = "attachments" - TicketsListRequestExpandAttachmentsAccount TicketsListRequestExpand = "attachments,account" - TicketsListRequestExpandAttachmentsAccountContact TicketsListRequestExpand = "attachments,account,contact" - TicketsListRequestExpandAttachmentsAccountContactCreator TicketsListRequestExpand = "attachments,account,contact,creator" - TicketsListRequestExpandAttachmentsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,account,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAccountContactParentTicket TicketsListRequestExpand = "attachments,account,contact,parent_ticket" - TicketsListRequestExpandAttachmentsAccountCreator TicketsListRequestExpand = "attachments,account,creator" - TicketsListRequestExpandAttachmentsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,account,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAccountParentTicket TicketsListRequestExpand = "attachments,account,parent_ticket" - TicketsListRequestExpandAttachmentsAssignees TicketsListRequestExpand = "attachments,assignees" - TicketsListRequestExpandAttachmentsAssigneesAccount TicketsListRequestExpand = "attachments,assignees,account" - TicketsListRequestExpandAttachmentsAssigneesAccountContact TicketsListRequestExpand = "attachments,assignees,account,contact" - TicketsListRequestExpandAttachmentsAssigneesAccountContactCreator TicketsListRequestExpand = "attachments,assignees,account,contact,creator" - TicketsListRequestExpandAttachmentsAssigneesAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,account,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,account,contact,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesAccountCreator TicketsListRequestExpand = "attachments,assignees,account,creator" - TicketsListRequestExpandAttachmentsAssigneesAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,account,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesAccountParentTicket TicketsListRequestExpand = "attachments,assignees,account,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollections TicketsListRequestExpand = "attachments,assignees,collections" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccount TicketsListRequestExpand = "attachments,assignees,collections,account" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContact TicketsListRequestExpand = "attachments,assignees,collections,account,contact" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactCreator TicketsListRequestExpand = "attachments,assignees,collections,account,contact,creator" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,contact,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountCreator TicketsListRequestExpand = "attachments,assignees,collections,account,creator" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsContact TicketsListRequestExpand = "attachments,assignees,collections,contact" - TicketsListRequestExpandAttachmentsAssigneesCollectionsContactCreator TicketsListRequestExpand = "attachments,assignees,collections,contact,creator" - TicketsListRequestExpandAttachmentsAssigneesCollectionsContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,contact,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsCreator TicketsListRequestExpand = "attachments,assignees,collections,creator" - TicketsListRequestExpandAttachmentsAssigneesCollectionsCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCollectionsParentTicket TicketsListRequestExpand = "attachments,assignees,collections,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesContact TicketsListRequestExpand = "attachments,assignees,contact" - TicketsListRequestExpandAttachmentsAssigneesContactCreator TicketsListRequestExpand = "attachments,assignees,contact,creator" - TicketsListRequestExpandAttachmentsAssigneesContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesContactParentTicket TicketsListRequestExpand = "attachments,assignees,contact,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesCreator TicketsListRequestExpand = "attachments,assignees,creator" - TicketsListRequestExpandAttachmentsAssigneesCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,creator,parent_ticket" - TicketsListRequestExpandAttachmentsAssigneesParentTicket TicketsListRequestExpand = "attachments,assignees,parent_ticket" - TicketsListRequestExpandAttachmentsCollections TicketsListRequestExpand = "attachments,collections" - TicketsListRequestExpandAttachmentsCollectionsAccount TicketsListRequestExpand = "attachments,collections,account" - TicketsListRequestExpandAttachmentsCollectionsAccountContact TicketsListRequestExpand = "attachments,collections,account,contact" - TicketsListRequestExpandAttachmentsCollectionsAccountContactCreator TicketsListRequestExpand = "attachments,collections,account,contact,creator" - TicketsListRequestExpandAttachmentsCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,account,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsAccountContactParentTicket TicketsListRequestExpand = "attachments,collections,account,contact,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsAccountCreator TicketsListRequestExpand = "attachments,collections,account,creator" - TicketsListRequestExpandAttachmentsCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,collections,account,creator,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsAccountParentTicket TicketsListRequestExpand = "attachments,collections,account,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsContact TicketsListRequestExpand = "attachments,collections,contact" - TicketsListRequestExpandAttachmentsCollectionsContactCreator TicketsListRequestExpand = "attachments,collections,contact,creator" - TicketsListRequestExpandAttachmentsCollectionsContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsContactParentTicket TicketsListRequestExpand = "attachments,collections,contact,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsCreator TicketsListRequestExpand = "attachments,collections,creator" - TicketsListRequestExpandAttachmentsCollectionsCreatorParentTicket TicketsListRequestExpand = "attachments,collections,creator,parent_ticket" - TicketsListRequestExpandAttachmentsCollectionsParentTicket TicketsListRequestExpand = "attachments,collections,parent_ticket" - TicketsListRequestExpandAttachmentsContact TicketsListRequestExpand = "attachments,contact" - TicketsListRequestExpandAttachmentsContactCreator TicketsListRequestExpand = "attachments,contact,creator" - TicketsListRequestExpandAttachmentsContactCreatorParentTicket TicketsListRequestExpand = "attachments,contact,creator,parent_ticket" - TicketsListRequestExpandAttachmentsContactParentTicket TicketsListRequestExpand = "attachments,contact,parent_ticket" - TicketsListRequestExpandAttachmentsCreator TicketsListRequestExpand = "attachments,creator" - TicketsListRequestExpandAttachmentsCreatorParentTicket TicketsListRequestExpand = "attachments,creator,parent_ticket" - TicketsListRequestExpandAttachmentsParentTicket TicketsListRequestExpand = "attachments,parent_ticket" - TicketsListRequestExpandCollections TicketsListRequestExpand = "collections" - TicketsListRequestExpandCollectionsAccount TicketsListRequestExpand = "collections,account" - TicketsListRequestExpandCollectionsAccountContact TicketsListRequestExpand = "collections,account,contact" - TicketsListRequestExpandCollectionsAccountContactCreator TicketsListRequestExpand = "collections,account,contact,creator" - TicketsListRequestExpandCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "collections,account,contact,creator,parent_ticket" - TicketsListRequestExpandCollectionsAccountContactParentTicket TicketsListRequestExpand = "collections,account,contact,parent_ticket" - TicketsListRequestExpandCollectionsAccountCreator TicketsListRequestExpand = "collections,account,creator" - TicketsListRequestExpandCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "collections,account,creator,parent_ticket" - TicketsListRequestExpandCollectionsAccountParentTicket TicketsListRequestExpand = "collections,account,parent_ticket" - TicketsListRequestExpandCollectionsContact TicketsListRequestExpand = "collections,contact" - TicketsListRequestExpandCollectionsContactCreator TicketsListRequestExpand = "collections,contact,creator" - TicketsListRequestExpandCollectionsContactCreatorParentTicket TicketsListRequestExpand = "collections,contact,creator,parent_ticket" - TicketsListRequestExpandCollectionsContactParentTicket TicketsListRequestExpand = "collections,contact,parent_ticket" - TicketsListRequestExpandCollectionsCreator TicketsListRequestExpand = "collections,creator" - TicketsListRequestExpandCollectionsCreatorParentTicket TicketsListRequestExpand = "collections,creator,parent_ticket" - TicketsListRequestExpandCollectionsParentTicket TicketsListRequestExpand = "collections,parent_ticket" - TicketsListRequestExpandContact TicketsListRequestExpand = "contact" - TicketsListRequestExpandContactCreator TicketsListRequestExpand = "contact,creator" - TicketsListRequestExpandContactCreatorParentTicket TicketsListRequestExpand = "contact,creator,parent_ticket" - TicketsListRequestExpandContactParentTicket TicketsListRequestExpand = "contact,parent_ticket" - TicketsListRequestExpandCreator TicketsListRequestExpand = "creator" - TicketsListRequestExpandCreatorParentTicket TicketsListRequestExpand = "creator,parent_ticket" - TicketsListRequestExpandParentTicket TicketsListRequestExpand = "parent_ticket" + TicketsListRequestExpandAccount TicketsListRequestExpand = "account" + TicketsListRequestExpandAccountContact TicketsListRequestExpand = "account,contact" + TicketsListRequestExpandAccountContactCreator TicketsListRequestExpand = "account,contact,creator" + TicketsListRequestExpandAccountContactCreatorParentTicket TicketsListRequestExpand = "account,contact,creator,parent_ticket" + TicketsListRequestExpandAccountContactParentTicket TicketsListRequestExpand = "account,contact,parent_ticket" + TicketsListRequestExpandAccountCreator TicketsListRequestExpand = "account,creator" + TicketsListRequestExpandAccountCreatorParentTicket TicketsListRequestExpand = "account,creator,parent_ticket" + TicketsListRequestExpandAccountParentTicket TicketsListRequestExpand = "account,parent_ticket" + TicketsListRequestExpandAssignedTeams TicketsListRequestExpand = "assigned_teams" + TicketsListRequestExpandAssignedTeamsAccount TicketsListRequestExpand = "assigned_teams,account" + TicketsListRequestExpandAssignedTeamsAccountContact TicketsListRequestExpand = "assigned_teams,account,contact" + TicketsListRequestExpandAssignedTeamsAccountContactCreator TicketsListRequestExpand = "assigned_teams,account,contact,creator" + TicketsListRequestExpandAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAssignedTeamsAccountCreator TicketsListRequestExpand = "assigned_teams,account,creator" + TicketsListRequestExpandAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAssignedTeamsAccountParentTicket TicketsListRequestExpand = "assigned_teams,account,parent_ticket" + TicketsListRequestExpandAssignedTeamsContact TicketsListRequestExpand = "assigned_teams,contact" + TicketsListRequestExpandAssignedTeamsContactCreator TicketsListRequestExpand = "assigned_teams,contact,creator" + TicketsListRequestExpandAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAssignedTeamsContactParentTicket TicketsListRequestExpand = "assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAssignedTeamsCreator TicketsListRequestExpand = "assigned_teams,creator" + TicketsListRequestExpandAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAssignedTeamsParentTicket TicketsListRequestExpand = "assigned_teams,parent_ticket" + TicketsListRequestExpandAssignees TicketsListRequestExpand = "assignees" + TicketsListRequestExpandAssigneesAccount TicketsListRequestExpand = "assignees,account" + TicketsListRequestExpandAssigneesAccountContact TicketsListRequestExpand = "assignees,account,contact" + TicketsListRequestExpandAssigneesAccountContactCreator TicketsListRequestExpand = "assignees,account,contact,creator" + TicketsListRequestExpandAssigneesAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,account,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesAccountContactParentTicket TicketsListRequestExpand = "assignees,account,contact,parent_ticket" + TicketsListRequestExpandAssigneesAccountCreator TicketsListRequestExpand = "assignees,account,creator" + TicketsListRequestExpandAssigneesAccountCreatorParentTicket TicketsListRequestExpand = "assignees,account,creator,parent_ticket" + TicketsListRequestExpandAssigneesAccountParentTicket TicketsListRequestExpand = "assignees,account,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeams TicketsListRequestExpand = "assignees,assigned_teams" + TicketsListRequestExpandAssigneesAssignedTeamsAccount TicketsListRequestExpand = "assignees,assigned_teams,account" + TicketsListRequestExpandAssigneesAssignedTeamsAccountContact TicketsListRequestExpand = "assignees,assigned_teams,account,contact" + TicketsListRequestExpandAssigneesAssignedTeamsAccountContactCreator TicketsListRequestExpand = "assignees,assigned_teams,account,contact,creator" + TicketsListRequestExpandAssigneesAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "assignees,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsAccountCreator TicketsListRequestExpand = "assignees,assigned_teams,account,creator" + TicketsListRequestExpandAssigneesAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "assignees,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsAccountParentTicket TicketsListRequestExpand = "assignees,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsContact TicketsListRequestExpand = "assignees,assigned_teams,contact" + TicketsListRequestExpandAssigneesAssignedTeamsContactCreator TicketsListRequestExpand = "assignees,assigned_teams,contact,creator" + TicketsListRequestExpandAssigneesAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "assignees,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsContactParentTicket TicketsListRequestExpand = "assignees,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsCreator TicketsListRequestExpand = "assignees,assigned_teams,creator" + TicketsListRequestExpandAssigneesAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "assignees,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAssigneesAssignedTeamsParentTicket TicketsListRequestExpand = "assignees,assigned_teams,parent_ticket" + TicketsListRequestExpandAssigneesCollections TicketsListRequestExpand = "assignees,collections" + TicketsListRequestExpandAssigneesCollectionsAccount TicketsListRequestExpand = "assignees,collections,account" + TicketsListRequestExpandAssigneesCollectionsAccountContact TicketsListRequestExpand = "assignees,collections,account,contact" + TicketsListRequestExpandAssigneesCollectionsAccountContactCreator TicketsListRequestExpand = "assignees,collections,account,contact,creator" + TicketsListRequestExpandAssigneesCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,account,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAccountContactParentTicket TicketsListRequestExpand = "assignees,collections,account,contact,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAccountCreator TicketsListRequestExpand = "assignees,collections,account,creator" + TicketsListRequestExpandAssigneesCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "assignees,collections,account,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAccountParentTicket TicketsListRequestExpand = "assignees,collections,account,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeams TicketsListRequestExpand = "assignees,collections,assigned_teams" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccount TicketsListRequestExpand = "assignees,collections,assigned_teams,account" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContact TicketsListRequestExpand = "assignees,collections,assigned_teams,account,contact" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreator TicketsListRequestExpand = "assignees,collections,assigned_teams,account,contact,creator" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountCreator TicketsListRequestExpand = "assignees,collections,assigned_teams,account,creator" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContact TicketsListRequestExpand = "assignees,collections,assigned_teams,contact" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactCreator TicketsListRequestExpand = "assignees,collections,assigned_teams,contact,creator" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsCreator TicketsListRequestExpand = "assignees,collections,assigned_teams,creator" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsAssignedTeamsParentTicket TicketsListRequestExpand = "assignees,collections,assigned_teams,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsContact TicketsListRequestExpand = "assignees,collections,contact" + TicketsListRequestExpandAssigneesCollectionsContactCreator TicketsListRequestExpand = "assignees,collections,contact,creator" + TicketsListRequestExpandAssigneesCollectionsContactCreatorParentTicket TicketsListRequestExpand = "assignees,collections,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsContactParentTicket TicketsListRequestExpand = "assignees,collections,contact,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsCreator TicketsListRequestExpand = "assignees,collections,creator" + TicketsListRequestExpandAssigneesCollectionsCreatorParentTicket TicketsListRequestExpand = "assignees,collections,creator,parent_ticket" + TicketsListRequestExpandAssigneesCollectionsParentTicket TicketsListRequestExpand = "assignees,collections,parent_ticket" + TicketsListRequestExpandAssigneesContact TicketsListRequestExpand = "assignees,contact" + TicketsListRequestExpandAssigneesContactCreator TicketsListRequestExpand = "assignees,contact,creator" + TicketsListRequestExpandAssigneesContactCreatorParentTicket TicketsListRequestExpand = "assignees,contact,creator,parent_ticket" + TicketsListRequestExpandAssigneesContactParentTicket TicketsListRequestExpand = "assignees,contact,parent_ticket" + TicketsListRequestExpandAssigneesCreator TicketsListRequestExpand = "assignees,creator" + TicketsListRequestExpandAssigneesCreatorParentTicket TicketsListRequestExpand = "assignees,creator,parent_ticket" + TicketsListRequestExpandAssigneesParentTicket TicketsListRequestExpand = "assignees,parent_ticket" + TicketsListRequestExpandAttachments TicketsListRequestExpand = "attachments" + TicketsListRequestExpandAttachmentsAccount TicketsListRequestExpand = "attachments,account" + TicketsListRequestExpandAttachmentsAccountContact TicketsListRequestExpand = "attachments,account,contact" + TicketsListRequestExpandAttachmentsAccountContactCreator TicketsListRequestExpand = "attachments,account,contact,creator" + TicketsListRequestExpandAttachmentsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAccountContactParentTicket TicketsListRequestExpand = "attachments,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAccountCreator TicketsListRequestExpand = "attachments,account,creator" + TicketsListRequestExpandAttachmentsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAccountParentTicket TicketsListRequestExpand = "attachments,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeams TicketsListRequestExpand = "attachments,assigned_teams" + TicketsListRequestExpandAttachmentsAssignedTeamsAccount TicketsListRequestExpand = "attachments,assigned_teams,account" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountContact TicketsListRequestExpand = "attachments,assigned_teams,account,contact" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactCreator TicketsListRequestExpand = "attachments,assigned_teams,account,contact,creator" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "attachments,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountCreator TicketsListRequestExpand = "attachments,assigned_teams,account,creator" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsAccountParentTicket TicketsListRequestExpand = "attachments,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsContact TicketsListRequestExpand = "attachments,assigned_teams,contact" + TicketsListRequestExpandAttachmentsAssignedTeamsContactCreator TicketsListRequestExpand = "attachments,assigned_teams,contact,creator" + TicketsListRequestExpandAttachmentsAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "attachments,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsContactParentTicket TicketsListRequestExpand = "attachments,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsCreator TicketsListRequestExpand = "attachments,assigned_teams,creator" + TicketsListRequestExpandAttachmentsAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "attachments,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssignedTeamsParentTicket TicketsListRequestExpand = "attachments,assigned_teams,parent_ticket" + TicketsListRequestExpandAttachmentsAssignees TicketsListRequestExpand = "attachments,assignees" + TicketsListRequestExpandAttachmentsAssigneesAccount TicketsListRequestExpand = "attachments,assignees,account" + TicketsListRequestExpandAttachmentsAssigneesAccountContact TicketsListRequestExpand = "attachments,assignees,account,contact" + TicketsListRequestExpandAttachmentsAssigneesAccountContactCreator TicketsListRequestExpand = "attachments,assignees,account,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAccountCreator TicketsListRequestExpand = "attachments,assignees,account,creator" + TicketsListRequestExpandAttachmentsAssigneesAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAccountParentTicket TicketsListRequestExpand = "attachments,assignees,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeams TicketsListRequestExpand = "attachments,assignees,assigned_teams" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccount TicketsListRequestExpand = "attachments,assignees,assigned_teams,account" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContact TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,contact" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreator TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreator TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,creator" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContact TicketsListRequestExpand = "attachments,assignees,assigned_teams,contact" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactCreator TicketsListRequestExpand = "attachments,assignees,assigned_teams,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsCreator TicketsListRequestExpand = "attachments,assignees,assigned_teams,creator" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsParentTicket TicketsListRequestExpand = "attachments,assignees,assigned_teams,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollections TicketsListRequestExpand = "attachments,assignees,collections" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccount TicketsListRequestExpand = "attachments,assignees,collections,account" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContact TicketsListRequestExpand = "attachments,assignees,collections,account,contact" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactCreator TicketsListRequestExpand = "attachments,assignees,collections,account,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountCreator TicketsListRequestExpand = "attachments,assignees,collections,account,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket TicketsListRequestExpand = "attachments,assignees,collections,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeams TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccount TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContact TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreator TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContact TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,contact" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreator TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreator TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsParentTicket TicketsListRequestExpand = "attachments,assignees,collections,assigned_teams,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsContact TicketsListRequestExpand = "attachments,assignees,collections,contact" + TicketsListRequestExpandAttachmentsAssigneesCollectionsContactCreator TicketsListRequestExpand = "attachments,assignees,collections,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsContactParentTicket TicketsListRequestExpand = "attachments,assignees,collections,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsCreator TicketsListRequestExpand = "attachments,assignees,collections,creator" + TicketsListRequestExpandAttachmentsAssigneesCollectionsCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,collections,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCollectionsParentTicket TicketsListRequestExpand = "attachments,assignees,collections,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesContact TicketsListRequestExpand = "attachments,assignees,contact" + TicketsListRequestExpandAttachmentsAssigneesContactCreator TicketsListRequestExpand = "attachments,assignees,contact,creator" + TicketsListRequestExpandAttachmentsAssigneesContactCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesContactParentTicket TicketsListRequestExpand = "attachments,assignees,contact,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesCreator TicketsListRequestExpand = "attachments,assignees,creator" + TicketsListRequestExpandAttachmentsAssigneesCreatorParentTicket TicketsListRequestExpand = "attachments,assignees,creator,parent_ticket" + TicketsListRequestExpandAttachmentsAssigneesParentTicket TicketsListRequestExpand = "attachments,assignees,parent_ticket" + TicketsListRequestExpandAttachmentsCollections TicketsListRequestExpand = "attachments,collections" + TicketsListRequestExpandAttachmentsCollectionsAccount TicketsListRequestExpand = "attachments,collections,account" + TicketsListRequestExpandAttachmentsCollectionsAccountContact TicketsListRequestExpand = "attachments,collections,account,contact" + TicketsListRequestExpandAttachmentsCollectionsAccountContactCreator TicketsListRequestExpand = "attachments,collections,account,contact,creator" + TicketsListRequestExpandAttachmentsCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAccountContactParentTicket TicketsListRequestExpand = "attachments,collections,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAccountCreator TicketsListRequestExpand = "attachments,collections,account,creator" + TicketsListRequestExpandAttachmentsCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,collections,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAccountParentTicket TicketsListRequestExpand = "attachments,collections,account,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeams TicketsListRequestExpand = "attachments,collections,assigned_teams" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccount TicketsListRequestExpand = "attachments,collections,assigned_teams,account" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContact TicketsListRequestExpand = "attachments,collections,assigned_teams,account,contact" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreator TicketsListRequestExpand = "attachments,collections,assigned_teams,account,contact,creator" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreator TicketsListRequestExpand = "attachments,collections,assigned_teams,account,creator" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,account,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContact TicketsListRequestExpand = "attachments,collections,assigned_teams,contact" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactCreator TicketsListRequestExpand = "attachments,collections,assigned_teams,contact,creator" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsCreator TicketsListRequestExpand = "attachments,collections,assigned_teams,creator" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsParentTicket TicketsListRequestExpand = "attachments,collections,assigned_teams,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsContact TicketsListRequestExpand = "attachments,collections,contact" + TicketsListRequestExpandAttachmentsCollectionsContactCreator TicketsListRequestExpand = "attachments,collections,contact,creator" + TicketsListRequestExpandAttachmentsCollectionsContactCreatorParentTicket TicketsListRequestExpand = "attachments,collections,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsContactParentTicket TicketsListRequestExpand = "attachments,collections,contact,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsCreator TicketsListRequestExpand = "attachments,collections,creator" + TicketsListRequestExpandAttachmentsCollectionsCreatorParentTicket TicketsListRequestExpand = "attachments,collections,creator,parent_ticket" + TicketsListRequestExpandAttachmentsCollectionsParentTicket TicketsListRequestExpand = "attachments,collections,parent_ticket" + TicketsListRequestExpandAttachmentsContact TicketsListRequestExpand = "attachments,contact" + TicketsListRequestExpandAttachmentsContactCreator TicketsListRequestExpand = "attachments,contact,creator" + TicketsListRequestExpandAttachmentsContactCreatorParentTicket TicketsListRequestExpand = "attachments,contact,creator,parent_ticket" + TicketsListRequestExpandAttachmentsContactParentTicket TicketsListRequestExpand = "attachments,contact,parent_ticket" + TicketsListRequestExpandAttachmentsCreator TicketsListRequestExpand = "attachments,creator" + TicketsListRequestExpandAttachmentsCreatorParentTicket TicketsListRequestExpand = "attachments,creator,parent_ticket" + TicketsListRequestExpandAttachmentsParentTicket TicketsListRequestExpand = "attachments,parent_ticket" + TicketsListRequestExpandCollections TicketsListRequestExpand = "collections" + TicketsListRequestExpandCollectionsAccount TicketsListRequestExpand = "collections,account" + TicketsListRequestExpandCollectionsAccountContact TicketsListRequestExpand = "collections,account,contact" + TicketsListRequestExpandCollectionsAccountContactCreator TicketsListRequestExpand = "collections,account,contact,creator" + TicketsListRequestExpandCollectionsAccountContactCreatorParentTicket TicketsListRequestExpand = "collections,account,contact,creator,parent_ticket" + TicketsListRequestExpandCollectionsAccountContactParentTicket TicketsListRequestExpand = "collections,account,contact,parent_ticket" + TicketsListRequestExpandCollectionsAccountCreator TicketsListRequestExpand = "collections,account,creator" + TicketsListRequestExpandCollectionsAccountCreatorParentTicket TicketsListRequestExpand = "collections,account,creator,parent_ticket" + TicketsListRequestExpandCollectionsAccountParentTicket TicketsListRequestExpand = "collections,account,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeams TicketsListRequestExpand = "collections,assigned_teams" + TicketsListRequestExpandCollectionsAssignedTeamsAccount TicketsListRequestExpand = "collections,assigned_teams,account" + TicketsListRequestExpandCollectionsAssignedTeamsAccountContact TicketsListRequestExpand = "collections,assigned_teams,account,contact" + TicketsListRequestExpandCollectionsAssignedTeamsAccountContactCreator TicketsListRequestExpand = "collections,assigned_teams,account,contact,creator" + TicketsListRequestExpandCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsListRequestExpand = "collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsAccountContactParentTicket TicketsListRequestExpand = "collections,assigned_teams,account,contact,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsAccountCreator TicketsListRequestExpand = "collections,assigned_teams,account,creator" + TicketsListRequestExpandCollectionsAssignedTeamsAccountCreatorParentTicket TicketsListRequestExpand = "collections,assigned_teams,account,creator,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsAccountParentTicket TicketsListRequestExpand = "collections,assigned_teams,account,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsContact TicketsListRequestExpand = "collections,assigned_teams,contact" + TicketsListRequestExpandCollectionsAssignedTeamsContactCreator TicketsListRequestExpand = "collections,assigned_teams,contact,creator" + TicketsListRequestExpandCollectionsAssignedTeamsContactCreatorParentTicket TicketsListRequestExpand = "collections,assigned_teams,contact,creator,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsContactParentTicket TicketsListRequestExpand = "collections,assigned_teams,contact,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsCreator TicketsListRequestExpand = "collections,assigned_teams,creator" + TicketsListRequestExpandCollectionsAssignedTeamsCreatorParentTicket TicketsListRequestExpand = "collections,assigned_teams,creator,parent_ticket" + TicketsListRequestExpandCollectionsAssignedTeamsParentTicket TicketsListRequestExpand = "collections,assigned_teams,parent_ticket" + TicketsListRequestExpandCollectionsContact TicketsListRequestExpand = "collections,contact" + TicketsListRequestExpandCollectionsContactCreator TicketsListRequestExpand = "collections,contact,creator" + TicketsListRequestExpandCollectionsContactCreatorParentTicket TicketsListRequestExpand = "collections,contact,creator,parent_ticket" + TicketsListRequestExpandCollectionsContactParentTicket TicketsListRequestExpand = "collections,contact,parent_ticket" + TicketsListRequestExpandCollectionsCreator TicketsListRequestExpand = "collections,creator" + TicketsListRequestExpandCollectionsCreatorParentTicket TicketsListRequestExpand = "collections,creator,parent_ticket" + TicketsListRequestExpandCollectionsParentTicket TicketsListRequestExpand = "collections,parent_ticket" + TicketsListRequestExpandContact TicketsListRequestExpand = "contact" + TicketsListRequestExpandContactCreator TicketsListRequestExpand = "contact,creator" + TicketsListRequestExpandContactCreatorParentTicket TicketsListRequestExpand = "contact,creator,parent_ticket" + TicketsListRequestExpandContactParentTicket TicketsListRequestExpand = "contact,parent_ticket" + TicketsListRequestExpandCreator TicketsListRequestExpand = "creator" + TicketsListRequestExpandCreatorParentTicket TicketsListRequestExpand = "creator,parent_ticket" + TicketsListRequestExpandParentTicket TicketsListRequestExpand = "parent_ticket" ) func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, error) { @@ -312,6 +401,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAccountCreatorParentTicket, nil case "account,parent_ticket": return TicketsListRequestExpandAccountParentTicket, nil + case "assigned_teams": + return TicketsListRequestExpandAssignedTeams, nil + case "assigned_teams,account": + return TicketsListRequestExpandAssignedTeamsAccount, nil + case "assigned_teams,account,contact": + return TicketsListRequestExpandAssignedTeamsAccountContact, nil + case "assigned_teams,account,contact,creator": + return TicketsListRequestExpandAssignedTeamsAccountContactCreator, nil + case "assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAssignedTeamsAccountContactCreatorParentTicket, nil + case "assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAssignedTeamsAccountContactParentTicket, nil + case "assigned_teams,account,creator": + return TicketsListRequestExpandAssignedTeamsAccountCreator, nil + case "assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAssignedTeamsAccountCreatorParentTicket, nil + case "assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAssignedTeamsAccountParentTicket, nil + case "assigned_teams,contact": + return TicketsListRequestExpandAssignedTeamsContact, nil + case "assigned_teams,contact,creator": + return TicketsListRequestExpandAssignedTeamsContactCreator, nil + case "assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAssignedTeamsContactCreatorParentTicket, nil + case "assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAssignedTeamsContactParentTicket, nil + case "assigned_teams,creator": + return TicketsListRequestExpandAssignedTeamsCreator, nil + case "assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAssignedTeamsCreatorParentTicket, nil + case "assigned_teams,parent_ticket": + return TicketsListRequestExpandAssignedTeamsParentTicket, nil case "assignees": return TicketsListRequestExpandAssignees, nil case "assignees,account": @@ -330,6 +451,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAssigneesAccountCreatorParentTicket, nil case "assignees,account,parent_ticket": return TicketsListRequestExpandAssigneesAccountParentTicket, nil + case "assignees,assigned_teams": + return TicketsListRequestExpandAssigneesAssignedTeams, nil + case "assignees,assigned_teams,account": + return TicketsListRequestExpandAssigneesAssignedTeamsAccount, nil + case "assignees,assigned_teams,account,contact": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountContact, nil + case "assignees,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountContactCreator, nil + case "assignees,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountContactCreatorParentTicket, nil + case "assignees,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountContactParentTicket, nil + case "assignees,assigned_teams,account,creator": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountCreator, nil + case "assignees,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountCreatorParentTicket, nil + case "assignees,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsAccountParentTicket, nil + case "assignees,assigned_teams,contact": + return TicketsListRequestExpandAssigneesAssignedTeamsContact, nil + case "assignees,assigned_teams,contact,creator": + return TicketsListRequestExpandAssigneesAssignedTeamsContactCreator, nil + case "assignees,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsContactCreatorParentTicket, nil + case "assignees,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsContactParentTicket, nil + case "assignees,assigned_teams,creator": + return TicketsListRequestExpandAssigneesAssignedTeamsCreator, nil + case "assignees,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsCreatorParentTicket, nil + case "assignees,assigned_teams,parent_ticket": + return TicketsListRequestExpandAssigneesAssignedTeamsParentTicket, nil case "assignees,collections": return TicketsListRequestExpandAssigneesCollections, nil case "assignees,collections,account": @@ -348,6 +501,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAssigneesCollectionsAccountCreatorParentTicket, nil case "assignees,collections,account,parent_ticket": return TicketsListRequestExpandAssigneesCollectionsAccountParentTicket, nil + case "assignees,collections,assigned_teams": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeams, nil + case "assignees,collections,assigned_teams,account": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccount, nil + case "assignees,collections,assigned_teams,account,contact": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContact, nil + case "assignees,collections,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreator, nil + case "assignees,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "assignees,collections,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountContactParentTicket, nil + case "assignees,collections,assigned_teams,account,creator": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountCreator, nil + case "assignees,collections,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "assignees,collections,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsAccountParentTicket, nil + case "assignees,collections,assigned_teams,contact": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContact, nil + case "assignees,collections,assigned_teams,contact,creator": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactCreator, nil + case "assignees,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "assignees,collections,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsContactParentTicket, nil + case "assignees,collections,assigned_teams,creator": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsCreator, nil + case "assignees,collections,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsCreatorParentTicket, nil + case "assignees,collections,assigned_teams,parent_ticket": + return TicketsListRequestExpandAssigneesCollectionsAssignedTeamsParentTicket, nil case "assignees,collections,contact": return TicketsListRequestExpandAssigneesCollectionsContact, nil case "assignees,collections,contact,creator": @@ -394,6 +579,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAttachmentsAccountCreatorParentTicket, nil case "attachments,account,parent_ticket": return TicketsListRequestExpandAttachmentsAccountParentTicket, nil + case "attachments,assigned_teams": + return TicketsListRequestExpandAttachmentsAssignedTeams, nil + case "attachments,assigned_teams,account": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccount, nil + case "attachments,assigned_teams,account,contact": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountContact, nil + case "attachments,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactCreator, nil + case "attachments,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountContactParentTicket, nil + case "attachments,assigned_teams,account,creator": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountCreator, nil + case "attachments,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsAccountParentTicket, nil + case "attachments,assigned_teams,contact": + return TicketsListRequestExpandAttachmentsAssignedTeamsContact, nil + case "attachments,assigned_teams,contact,creator": + return TicketsListRequestExpandAttachmentsAssignedTeamsContactCreator, nil + case "attachments,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsContactParentTicket, nil + case "attachments,assigned_teams,creator": + return TicketsListRequestExpandAttachmentsAssignedTeamsCreator, nil + case "attachments,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsCreatorParentTicket, nil + case "attachments,assigned_teams,parent_ticket": + return TicketsListRequestExpandAttachmentsAssignedTeamsParentTicket, nil case "attachments,assignees": return TicketsListRequestExpandAttachmentsAssignees, nil case "attachments,assignees,account": @@ -412,6 +629,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAttachmentsAssigneesAccountCreatorParentTicket, nil case "attachments,assignees,account,parent_ticket": return TicketsListRequestExpandAttachmentsAssigneesAccountParentTicket, nil + case "attachments,assignees,assigned_teams": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeams, nil + case "attachments,assignees,assigned_teams,account": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccount, nil + case "attachments,assignees,assigned_teams,account,contact": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContact, nil + case "attachments,assignees,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreator, nil + case "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactParentTicket, nil + case "attachments,assignees,assigned_teams,account,creator": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreator, nil + case "attachments,assignees,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsAccountParentTicket, nil + case "attachments,assignees,assigned_teams,contact": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContact, nil + case "attachments,assignees,assigned_teams,contact,creator": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactCreator, nil + case "attachments,assignees,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsContactParentTicket, nil + case "attachments,assignees,assigned_teams,creator": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsCreator, nil + case "attachments,assignees,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesAssignedTeamsParentTicket, nil case "attachments,assignees,collections": return TicketsListRequestExpandAttachmentsAssigneesCollections, nil case "attachments,assignees,collections,account": @@ -430,6 +679,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket, nil case "attachments,assignees,collections,account,parent_ticket": return TicketsListRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket, nil + case "attachments,assignees,collections,assigned_teams": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeams, nil + case "attachments,assignees,collections,assigned_teams,account": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccount, nil + case "attachments,assignees,collections,assigned_teams,account,contact": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContact, nil + case "attachments,assignees,collections,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator, nil + case "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,creator": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreator, nil + case "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket, nil + case "attachments,assignees,collections,assigned_teams,contact": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContact, nil + case "attachments,assignees,collections,assigned_teams,contact,creator": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreator, nil + case "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket, nil + case "attachments,assignees,collections,assigned_teams,creator": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreator, nil + case "attachments,assignees,collections,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,parent_ticket": + return TicketsListRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsParentTicket, nil case "attachments,assignees,collections,contact": return TicketsListRequestExpandAttachmentsAssigneesCollectionsContact, nil case "attachments,assignees,collections,contact,creator": @@ -476,6 +757,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandAttachmentsCollectionsAccountCreatorParentTicket, nil case "attachments,collections,account,parent_ticket": return TicketsListRequestExpandAttachmentsCollectionsAccountParentTicket, nil + case "attachments,collections,assigned_teams": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeams, nil + case "attachments,collections,assigned_teams,account": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccount, nil + case "attachments,collections,assigned_teams,account,contact": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContact, nil + case "attachments,collections,assigned_teams,account,contact,creator": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreator, nil + case "attachments,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,collections,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactParentTicket, nil + case "attachments,collections,assigned_teams,account,creator": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreator, nil + case "attachments,collections,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,collections,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsAccountParentTicket, nil + case "attachments,collections,assigned_teams,contact": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContact, nil + case "attachments,collections,assigned_teams,contact,creator": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactCreator, nil + case "attachments,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,collections,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsContactParentTicket, nil + case "attachments,collections,assigned_teams,creator": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsCreator, nil + case "attachments,collections,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsCreatorParentTicket, nil + case "attachments,collections,assigned_teams,parent_ticket": + return TicketsListRequestExpandAttachmentsCollectionsAssignedTeamsParentTicket, nil case "attachments,collections,contact": return TicketsListRequestExpandAttachmentsCollectionsContact, nil case "attachments,collections,contact,creator": @@ -522,6 +835,38 @@ func NewTicketsListRequestExpandFromString(s string) (TicketsListRequestExpand, return TicketsListRequestExpandCollectionsAccountCreatorParentTicket, nil case "collections,account,parent_ticket": return TicketsListRequestExpandCollectionsAccountParentTicket, nil + case "collections,assigned_teams": + return TicketsListRequestExpandCollectionsAssignedTeams, nil + case "collections,assigned_teams,account": + return TicketsListRequestExpandCollectionsAssignedTeamsAccount, nil + case "collections,assigned_teams,account,contact": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountContact, nil + case "collections,assigned_teams,account,contact,creator": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountContactCreator, nil + case "collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "collections,assigned_teams,account,contact,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountContactParentTicket, nil + case "collections,assigned_teams,account,creator": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountCreator, nil + case "collections,assigned_teams,account,creator,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "collections,assigned_teams,account,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsAccountParentTicket, nil + case "collections,assigned_teams,contact": + return TicketsListRequestExpandCollectionsAssignedTeamsContact, nil + case "collections,assigned_teams,contact,creator": + return TicketsListRequestExpandCollectionsAssignedTeamsContactCreator, nil + case "collections,assigned_teams,contact,creator,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "collections,assigned_teams,contact,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsContactParentTicket, nil + case "collections,assigned_teams,creator": + return TicketsListRequestExpandCollectionsAssignedTeamsCreator, nil + case "collections,assigned_teams,creator,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsCreatorParentTicket, nil + case "collections,assigned_teams,parent_ticket": + return TicketsListRequestExpandCollectionsAssignedTeamsParentTicket, nil case "collections,contact": return TicketsListRequestExpandCollectionsContact, nil case "collections,contact,creator": @@ -661,164 +1006,264 @@ func (t TicketsListRequestShowEnumOrigins) Ptr() *TicketsListRequestShowEnumOrig return &t } -type TicketsListRequestStatus string - -const ( - TicketsListRequestStatusClosed TicketsListRequestStatus = "CLOSED" - TicketsListRequestStatusInProgress TicketsListRequestStatus = "IN_PROGRESS" - TicketsListRequestStatusOnHold TicketsListRequestStatus = "ON_HOLD" - TicketsListRequestStatusOpen TicketsListRequestStatus = "OPEN" -) - -func NewTicketsListRequestStatusFromString(s string) (TicketsListRequestStatus, error) { - switch s { - case "CLOSED": - return TicketsListRequestStatusClosed, nil - case "IN_PROGRESS": - return TicketsListRequestStatusInProgress, nil - case "ON_HOLD": - return TicketsListRequestStatusOnHold, nil - case "OPEN": - return TicketsListRequestStatusOpen, nil - } - var t TicketsListRequestStatus - return "", fmt.Errorf("%s is not a valid %T", s, t) -} - -func (t TicketsListRequestStatus) Ptr() *TicketsListRequestStatus { - return &t -} - type TicketsRetrieveRequestExpand string const ( - TicketsRetrieveRequestExpandAccount TicketsRetrieveRequestExpand = "account" - TicketsRetrieveRequestExpandAccountContact TicketsRetrieveRequestExpand = "account,contact" - TicketsRetrieveRequestExpandAccountContactCreator TicketsRetrieveRequestExpand = "account,contact,creator" - TicketsRetrieveRequestExpandAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAccountContactParentTicket TicketsRetrieveRequestExpand = "account,contact,parent_ticket" - TicketsRetrieveRequestExpandAccountCreator TicketsRetrieveRequestExpand = "account,creator" - TicketsRetrieveRequestExpandAccountCreatorParentTicket TicketsRetrieveRequestExpand = "account,creator,parent_ticket" - TicketsRetrieveRequestExpandAccountParentTicket TicketsRetrieveRequestExpand = "account,parent_ticket" - TicketsRetrieveRequestExpandAssignees TicketsRetrieveRequestExpand = "assignees" - TicketsRetrieveRequestExpandAssigneesAccount TicketsRetrieveRequestExpand = "assignees,account" - TicketsRetrieveRequestExpandAssigneesAccountContact TicketsRetrieveRequestExpand = "assignees,account,contact" - TicketsRetrieveRequestExpandAssigneesAccountContactCreator TicketsRetrieveRequestExpand = "assignees,account,contact,creator" - TicketsRetrieveRequestExpandAssigneesAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAssigneesAccountCreator TicketsRetrieveRequestExpand = "assignees,account,creator" - TicketsRetrieveRequestExpandAssigneesAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesAccountParentTicket TicketsRetrieveRequestExpand = "assignees,account,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollections TicketsRetrieveRequestExpand = "assignees,collections" - TicketsRetrieveRequestExpandAssigneesCollectionsAccount TicketsRetrieveRequestExpand = "assignees,collections,account" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountContact TicketsRetrieveRequestExpand = "assignees,collections,account,contact" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "assignees,collections,account,contact,creator" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountCreator TicketsRetrieveRequestExpand = "assignees,collections,account,creator" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsContact TicketsRetrieveRequestExpand = "assignees,collections,contact" - TicketsRetrieveRequestExpandAssigneesCollectionsContactCreator TicketsRetrieveRequestExpand = "assignees,collections,contact,creator" - TicketsRetrieveRequestExpandAssigneesCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,contact,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsCreator TicketsRetrieveRequestExpand = "assignees,collections,creator" - TicketsRetrieveRequestExpandAssigneesCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCollectionsParentTicket TicketsRetrieveRequestExpand = "assignees,collections,parent_ticket" - TicketsRetrieveRequestExpandAssigneesContact TicketsRetrieveRequestExpand = "assignees,contact" - TicketsRetrieveRequestExpandAssigneesContactCreator TicketsRetrieveRequestExpand = "assignees,contact,creator" - TicketsRetrieveRequestExpandAssigneesContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesContactParentTicket TicketsRetrieveRequestExpand = "assignees,contact,parent_ticket" - TicketsRetrieveRequestExpandAssigneesCreator TicketsRetrieveRequestExpand = "assignees,creator" - TicketsRetrieveRequestExpandAssigneesCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,creator,parent_ticket" - TicketsRetrieveRequestExpandAssigneesParentTicket TicketsRetrieveRequestExpand = "assignees,parent_ticket" - TicketsRetrieveRequestExpandAttachments TicketsRetrieveRequestExpand = "attachments" - TicketsRetrieveRequestExpandAttachmentsAccount TicketsRetrieveRequestExpand = "attachments,account" - TicketsRetrieveRequestExpandAttachmentsAccountContact TicketsRetrieveRequestExpand = "attachments,account,contact" - TicketsRetrieveRequestExpandAttachmentsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,account,contact,creator" - TicketsRetrieveRequestExpandAttachmentsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAccountCreator TicketsRetrieveRequestExpand = "attachments,account,creator" - TicketsRetrieveRequestExpandAttachmentsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,account,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssignees TicketsRetrieveRequestExpand = "attachments,assignees" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccount TicketsRetrieveRequestExpand = "attachments,assignees,account" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,account,contact" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,account,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollections TicketsRetrieveRequestExpand = "attachments,assignees,collections" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccount TicketsRetrieveRequestExpand = "attachments,assignees,collections,account" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesContact TicketsRetrieveRequestExpand = "attachments,assignees,contact" - TicketsRetrieveRequestExpandAttachmentsAssigneesContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,contact,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesCreator TicketsRetrieveRequestExpand = "attachments,assignees,creator" - TicketsRetrieveRequestExpandAttachmentsAssigneesCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsAssigneesParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollections TicketsRetrieveRequestExpand = "attachments,collections" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccount TicketsRetrieveRequestExpand = "attachments,collections,account" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContact TicketsRetrieveRequestExpand = "attachments,collections,account,contact" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,collections,account,contact,creator" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountCreator TicketsRetrieveRequestExpand = "attachments,collections,account,creator" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsContact TicketsRetrieveRequestExpand = "attachments,collections,contact" - TicketsRetrieveRequestExpandAttachmentsCollectionsContactCreator TicketsRetrieveRequestExpand = "attachments,collections,contact,creator" - TicketsRetrieveRequestExpandAttachmentsCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsCreator TicketsRetrieveRequestExpand = "attachments,collections,creator" - TicketsRetrieveRequestExpandAttachmentsCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCollectionsParentTicket TicketsRetrieveRequestExpand = "attachments,collections,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsContact TicketsRetrieveRequestExpand = "attachments,contact" - TicketsRetrieveRequestExpandAttachmentsContactCreator TicketsRetrieveRequestExpand = "attachments,contact,creator" - TicketsRetrieveRequestExpandAttachmentsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsContactParentTicket TicketsRetrieveRequestExpand = "attachments,contact,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsCreator TicketsRetrieveRequestExpand = "attachments,creator" - TicketsRetrieveRequestExpandAttachmentsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,creator,parent_ticket" - TicketsRetrieveRequestExpandAttachmentsParentTicket TicketsRetrieveRequestExpand = "attachments,parent_ticket" - TicketsRetrieveRequestExpandCollections TicketsRetrieveRequestExpand = "collections" - TicketsRetrieveRequestExpandCollectionsAccount TicketsRetrieveRequestExpand = "collections,account" - TicketsRetrieveRequestExpandCollectionsAccountContact TicketsRetrieveRequestExpand = "collections,account,contact" - TicketsRetrieveRequestExpandCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "collections,account,contact,creator" - TicketsRetrieveRequestExpandCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,account,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "collections,account,contact,parent_ticket" - TicketsRetrieveRequestExpandCollectionsAccountCreator TicketsRetrieveRequestExpand = "collections,account,creator" - TicketsRetrieveRequestExpandCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "collections,account,creator,parent_ticket" - TicketsRetrieveRequestExpandCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "collections,account,parent_ticket" - TicketsRetrieveRequestExpandCollectionsContact TicketsRetrieveRequestExpand = "collections,contact" - TicketsRetrieveRequestExpandCollectionsContactCreator TicketsRetrieveRequestExpand = "collections,contact,creator" - TicketsRetrieveRequestExpandCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,contact,creator,parent_ticket" - TicketsRetrieveRequestExpandCollectionsContactParentTicket TicketsRetrieveRequestExpand = "collections,contact,parent_ticket" - TicketsRetrieveRequestExpandCollectionsCreator TicketsRetrieveRequestExpand = "collections,creator" - TicketsRetrieveRequestExpandCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "collections,creator,parent_ticket" - TicketsRetrieveRequestExpandCollectionsParentTicket TicketsRetrieveRequestExpand = "collections,parent_ticket" - TicketsRetrieveRequestExpandContact TicketsRetrieveRequestExpand = "contact" - TicketsRetrieveRequestExpandContactCreator TicketsRetrieveRequestExpand = "contact,creator" - TicketsRetrieveRequestExpandContactCreatorParentTicket TicketsRetrieveRequestExpand = "contact,creator,parent_ticket" - TicketsRetrieveRequestExpandContactParentTicket TicketsRetrieveRequestExpand = "contact,parent_ticket" - TicketsRetrieveRequestExpandCreator TicketsRetrieveRequestExpand = "creator" - TicketsRetrieveRequestExpandCreatorParentTicket TicketsRetrieveRequestExpand = "creator,parent_ticket" - TicketsRetrieveRequestExpandParentTicket TicketsRetrieveRequestExpand = "parent_ticket" + TicketsRetrieveRequestExpandAccount TicketsRetrieveRequestExpand = "account" + TicketsRetrieveRequestExpandAccountContact TicketsRetrieveRequestExpand = "account,contact" + TicketsRetrieveRequestExpandAccountContactCreator TicketsRetrieveRequestExpand = "account,contact,creator" + TicketsRetrieveRequestExpandAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAccountContactParentTicket TicketsRetrieveRequestExpand = "account,contact,parent_ticket" + TicketsRetrieveRequestExpandAccountCreator TicketsRetrieveRequestExpand = "account,creator" + TicketsRetrieveRequestExpandAccountCreatorParentTicket TicketsRetrieveRequestExpand = "account,creator,parent_ticket" + TicketsRetrieveRequestExpandAccountParentTicket TicketsRetrieveRequestExpand = "account,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeams TicketsRetrieveRequestExpand = "assigned_teams" + TicketsRetrieveRequestExpandAssignedTeamsAccount TicketsRetrieveRequestExpand = "assigned_teams,account" + TicketsRetrieveRequestExpandAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "assigned_teams,account,contact" + TicketsRetrieveRequestExpandAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "assigned_teams,account,creator" + TicketsRetrieveRequestExpandAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsContact TicketsRetrieveRequestExpand = "assigned_teams,contact" + TicketsRetrieveRequestExpandAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsCreator TicketsRetrieveRequestExpand = "assigned_teams,creator" + TicketsRetrieveRequestExpandAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAssignees TicketsRetrieveRequestExpand = "assignees" + TicketsRetrieveRequestExpandAssigneesAccount TicketsRetrieveRequestExpand = "assignees,account" + TicketsRetrieveRequestExpandAssigneesAccountContact TicketsRetrieveRequestExpand = "assignees,account,contact" + TicketsRetrieveRequestExpandAssigneesAccountContactCreator TicketsRetrieveRequestExpand = "assignees,account,contact,creator" + TicketsRetrieveRequestExpandAssigneesAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAccountCreator TicketsRetrieveRequestExpand = "assignees,account,creator" + TicketsRetrieveRequestExpandAssigneesAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAccountParentTicket TicketsRetrieveRequestExpand = "assignees,account,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeams TicketsRetrieveRequestExpand = "assignees,assigned_teams" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccount TicketsRetrieveRequestExpand = "assignees,assigned_teams,account" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsContact TicketsRetrieveRequestExpand = "assignees,assigned_teams,contact" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "assignees,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsCreator TicketsRetrieveRequestExpand = "assignees,assigned_teams,creator" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "assignees,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollections TicketsRetrieveRequestExpand = "assignees,collections" + TicketsRetrieveRequestExpandAssigneesCollectionsAccount TicketsRetrieveRequestExpand = "assignees,collections,account" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountContact TicketsRetrieveRequestExpand = "assignees,collections,account,contact" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "assignees,collections,account,contact,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountCreator TicketsRetrieveRequestExpand = "assignees,collections,account,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "assignees,collections,account,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeams TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccount TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContact TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,contact" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsCreator TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "assignees,collections,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsContact TicketsRetrieveRequestExpand = "assignees,collections,contact" + TicketsRetrieveRequestExpandAssigneesCollectionsContactCreator TicketsRetrieveRequestExpand = "assignees,collections,contact,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsContactParentTicket TicketsRetrieveRequestExpand = "assignees,collections,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsCreator TicketsRetrieveRequestExpand = "assignees,collections,creator" + TicketsRetrieveRequestExpandAssigneesCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,collections,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCollectionsParentTicket TicketsRetrieveRequestExpand = "assignees,collections,parent_ticket" + TicketsRetrieveRequestExpandAssigneesContact TicketsRetrieveRequestExpand = "assignees,contact" + TicketsRetrieveRequestExpandAssigneesContactCreator TicketsRetrieveRequestExpand = "assignees,contact,creator" + TicketsRetrieveRequestExpandAssigneesContactCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesContactParentTicket TicketsRetrieveRequestExpand = "assignees,contact,parent_ticket" + TicketsRetrieveRequestExpandAssigneesCreator TicketsRetrieveRequestExpand = "assignees,creator" + TicketsRetrieveRequestExpandAssigneesCreatorParentTicket TicketsRetrieveRequestExpand = "assignees,creator,parent_ticket" + TicketsRetrieveRequestExpandAssigneesParentTicket TicketsRetrieveRequestExpand = "assignees,parent_ticket" + TicketsRetrieveRequestExpandAttachments TicketsRetrieveRequestExpand = "attachments" + TicketsRetrieveRequestExpandAttachmentsAccount TicketsRetrieveRequestExpand = "attachments,account" + TicketsRetrieveRequestExpandAttachmentsAccountContact TicketsRetrieveRequestExpand = "attachments,account,contact" + TicketsRetrieveRequestExpandAttachmentsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAccountCreator TicketsRetrieveRequestExpand = "attachments,account,creator" + TicketsRetrieveRequestExpandAttachmentsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeams TicketsRetrieveRequestExpand = "attachments,assigned_teams" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccount TicketsRetrieveRequestExpand = "attachments,assigned_teams,account" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContact TicketsRetrieveRequestExpand = "attachments,assigned_teams,contact" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "attachments,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsCreator TicketsRetrieveRequestExpand = "attachments,assigned_teams,creator" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "attachments,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssignees TicketsRetrieveRequestExpand = "attachments,assignees" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccount TicketsRetrieveRequestExpand = "attachments,assignees,account" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,account,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,account,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeams TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccount TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContact TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsCreator TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollections TicketsRetrieveRequestExpand = "attachments,assignees,collections" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccount TicketsRetrieveRequestExpand = "attachments,assignees,collections,account" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeams TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccount TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContact TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsCreator TicketsRetrieveRequestExpand = "attachments,assignees,collections,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,collections,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesContact TicketsRetrieveRequestExpand = "attachments,assignees,contact" + TicketsRetrieveRequestExpandAttachmentsAssigneesContactCreator TicketsRetrieveRequestExpand = "attachments,assignees,contact,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesContactParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesCreator TicketsRetrieveRequestExpand = "attachments,assignees,creator" + TicketsRetrieveRequestExpandAttachmentsAssigneesCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsAssigneesParentTicket TicketsRetrieveRequestExpand = "attachments,assignees,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollections TicketsRetrieveRequestExpand = "attachments,collections" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccount TicketsRetrieveRequestExpand = "attachments,collections,account" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContact TicketsRetrieveRequestExpand = "attachments,collections,account,contact" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,collections,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountCreator TicketsRetrieveRequestExpand = "attachments,collections,account,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,collections,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeams TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccount TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,contact" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContact TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,contact" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsCreator TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "attachments,collections,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsContact TicketsRetrieveRequestExpand = "attachments,collections,contact" + TicketsRetrieveRequestExpandAttachmentsCollectionsContactCreator TicketsRetrieveRequestExpand = "attachments,collections,contact,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsContactParentTicket TicketsRetrieveRequestExpand = "attachments,collections,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsCreator TicketsRetrieveRequestExpand = "attachments,collections,creator" + TicketsRetrieveRequestExpandAttachmentsCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,collections,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCollectionsParentTicket TicketsRetrieveRequestExpand = "attachments,collections,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsContact TicketsRetrieveRequestExpand = "attachments,contact" + TicketsRetrieveRequestExpandAttachmentsContactCreator TicketsRetrieveRequestExpand = "attachments,contact,creator" + TicketsRetrieveRequestExpandAttachmentsContactCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsContactParentTicket TicketsRetrieveRequestExpand = "attachments,contact,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsCreator TicketsRetrieveRequestExpand = "attachments,creator" + TicketsRetrieveRequestExpandAttachmentsCreatorParentTicket TicketsRetrieveRequestExpand = "attachments,creator,parent_ticket" + TicketsRetrieveRequestExpandAttachmentsParentTicket TicketsRetrieveRequestExpand = "attachments,parent_ticket" + TicketsRetrieveRequestExpandCollections TicketsRetrieveRequestExpand = "collections" + TicketsRetrieveRequestExpandCollectionsAccount TicketsRetrieveRequestExpand = "collections,account" + TicketsRetrieveRequestExpandCollectionsAccountContact TicketsRetrieveRequestExpand = "collections,account,contact" + TicketsRetrieveRequestExpandCollectionsAccountContactCreator TicketsRetrieveRequestExpand = "collections,account,contact,creator" + TicketsRetrieveRequestExpandCollectionsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAccountContactParentTicket TicketsRetrieveRequestExpand = "collections,account,contact,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAccountCreator TicketsRetrieveRequestExpand = "collections,account,creator" + TicketsRetrieveRequestExpandCollectionsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "collections,account,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAccountParentTicket TicketsRetrieveRequestExpand = "collections,account,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeams TicketsRetrieveRequestExpand = "collections,assigned_teams" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccount TicketsRetrieveRequestExpand = "collections,assigned_teams,account" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContact TicketsRetrieveRequestExpand = "collections,assigned_teams,account,contact" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactCreator TicketsRetrieveRequestExpand = "collections,assigned_teams,account,contact,creator" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,account,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,account,contact,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountCreator TicketsRetrieveRequestExpand = "collections,assigned_teams,account,creator" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountCreatorParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,account,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,account,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsContact TicketsRetrieveRequestExpand = "collections,assigned_teams,contact" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactCreator TicketsRetrieveRequestExpand = "collections,assigned_teams,contact,creator" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,contact,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsCreator TicketsRetrieveRequestExpand = "collections,assigned_teams,creator" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsCreatorParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsAssignedTeamsParentTicket TicketsRetrieveRequestExpand = "collections,assigned_teams,parent_ticket" + TicketsRetrieveRequestExpandCollectionsContact TicketsRetrieveRequestExpand = "collections,contact" + TicketsRetrieveRequestExpandCollectionsContactCreator TicketsRetrieveRequestExpand = "collections,contact,creator" + TicketsRetrieveRequestExpandCollectionsContactCreatorParentTicket TicketsRetrieveRequestExpand = "collections,contact,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsContactParentTicket TicketsRetrieveRequestExpand = "collections,contact,parent_ticket" + TicketsRetrieveRequestExpandCollectionsCreator TicketsRetrieveRequestExpand = "collections,creator" + TicketsRetrieveRequestExpandCollectionsCreatorParentTicket TicketsRetrieveRequestExpand = "collections,creator,parent_ticket" + TicketsRetrieveRequestExpandCollectionsParentTicket TicketsRetrieveRequestExpand = "collections,parent_ticket" + TicketsRetrieveRequestExpandContact TicketsRetrieveRequestExpand = "contact" + TicketsRetrieveRequestExpandContactCreator TicketsRetrieveRequestExpand = "contact,creator" + TicketsRetrieveRequestExpandContactCreatorParentTicket TicketsRetrieveRequestExpand = "contact,creator,parent_ticket" + TicketsRetrieveRequestExpandContactParentTicket TicketsRetrieveRequestExpand = "contact,parent_ticket" + TicketsRetrieveRequestExpandCreator TicketsRetrieveRequestExpand = "creator" + TicketsRetrieveRequestExpandCreatorParentTicket TicketsRetrieveRequestExpand = "creator,parent_ticket" + TicketsRetrieveRequestExpandParentTicket TicketsRetrieveRequestExpand = "parent_ticket" ) func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequestExpand, error) { @@ -839,6 +1284,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAccountCreatorParentTicket, nil case "account,parent_ticket": return TicketsRetrieveRequestExpandAccountParentTicket, nil + case "assigned_teams": + return TicketsRetrieveRequestExpandAssignedTeams, nil + case "assigned_teams,account": + return TicketsRetrieveRequestExpandAssignedTeamsAccount, nil + case "assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAssignedTeamsAccountContact, nil + case "assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAssignedTeamsAccountContactCreator, nil + case "assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsAccountContactCreatorParentTicket, nil + case "assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsAccountContactParentTicket, nil + case "assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAssignedTeamsAccountCreator, nil + case "assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsAccountCreatorParentTicket, nil + case "assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsAccountParentTicket, nil + case "assigned_teams,contact": + return TicketsRetrieveRequestExpandAssignedTeamsContact, nil + case "assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAssignedTeamsContactCreator, nil + case "assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsContactCreatorParentTicket, nil + case "assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsContactParentTicket, nil + case "assigned_teams,creator": + return TicketsRetrieveRequestExpandAssignedTeamsCreator, nil + case "assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsCreatorParentTicket, nil + case "assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAssignedTeamsParentTicket, nil case "assignees": return TicketsRetrieveRequestExpandAssignees, nil case "assignees,account": @@ -857,6 +1334,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAssigneesAccountCreatorParentTicket, nil case "assignees,account,parent_ticket": return TicketsRetrieveRequestExpandAssigneesAccountParentTicket, nil + case "assignees,assigned_teams": + return TicketsRetrieveRequestExpandAssigneesAssignedTeams, nil + case "assignees,assigned_teams,account": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccount, nil + case "assignees,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContact, nil + case "assignees,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactCreator, nil + case "assignees,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactCreatorParentTicket, nil + case "assignees,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountContactParentTicket, nil + case "assignees,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountCreator, nil + case "assignees,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountCreatorParentTicket, nil + case "assignees,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsAccountParentTicket, nil + case "assignees,assigned_teams,contact": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsContact, nil + case "assignees,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactCreator, nil + case "assignees,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactCreatorParentTicket, nil + case "assignees,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsContactParentTicket, nil + case "assignees,assigned_teams,creator": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsCreator, nil + case "assignees,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsCreatorParentTicket, nil + case "assignees,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesAssignedTeamsParentTicket, nil case "assignees,collections": return TicketsRetrieveRequestExpandAssigneesCollections, nil case "assignees,collections,account": @@ -875,6 +1384,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAssigneesCollectionsAccountCreatorParentTicket, nil case "assignees,collections,account,parent_ticket": return TicketsRetrieveRequestExpandAssigneesCollectionsAccountParentTicket, nil + case "assignees,collections,assigned_teams": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeams, nil + case "assignees,collections,assigned_teams,account": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccount, nil + case "assignees,collections,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContact, nil + case "assignees,collections,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreator, nil + case "assignees,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "assignees,collections,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountContactParentTicket, nil + case "assignees,collections,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountCreator, nil + case "assignees,collections,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "assignees,collections,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsAccountParentTicket, nil + case "assignees,collections,assigned_teams,contact": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContact, nil + case "assignees,collections,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactCreator, nil + case "assignees,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "assignees,collections,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsContactParentTicket, nil + case "assignees,collections,assigned_teams,creator": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsCreator, nil + case "assignees,collections,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsCreatorParentTicket, nil + case "assignees,collections,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAssigneesCollectionsAssignedTeamsParentTicket, nil case "assignees,collections,contact": return TicketsRetrieveRequestExpandAssigneesCollectionsContact, nil case "assignees,collections,contact,creator": @@ -921,6 +1462,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAttachmentsAccountCreatorParentTicket, nil case "attachments,account,parent_ticket": return TicketsRetrieveRequestExpandAttachmentsAccountParentTicket, nil + case "attachments,assigned_teams": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeams, nil + case "attachments,assigned_teams,account": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccount, nil + case "attachments,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContact, nil + case "attachments,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactCreator, nil + case "attachments,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountContactParentTicket, nil + case "attachments,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountCreator, nil + case "attachments,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsAccountParentTicket, nil + case "attachments,assigned_teams,contact": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContact, nil + case "attachments,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactCreator, nil + case "attachments,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsContactParentTicket, nil + case "attachments,assigned_teams,creator": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsCreator, nil + case "attachments,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsCreatorParentTicket, nil + case "attachments,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssignedTeamsParentTicket, nil case "attachments,assignees": return TicketsRetrieveRequestExpandAttachmentsAssignees, nil case "attachments,assignees,account": @@ -939,6 +1512,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAttachmentsAssigneesAccountCreatorParentTicket, nil case "attachments,assignees,account,parent_ticket": return TicketsRetrieveRequestExpandAttachmentsAssigneesAccountParentTicket, nil + case "attachments,assignees,assigned_teams": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeams, nil + case "attachments,assignees,assigned_teams,account": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccount, nil + case "attachments,assignees,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContact, nil + case "attachments,assignees,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreator, nil + case "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountContactParentTicket, nil + case "attachments,assignees,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreator, nil + case "attachments,assignees,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsAccountParentTicket, nil + case "attachments,assignees,assigned_teams,contact": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContact, nil + case "attachments,assignees,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactCreator, nil + case "attachments,assignees,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsContactParentTicket, nil + case "attachments,assignees,assigned_teams,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsCreator, nil + case "attachments,assignees,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsCreatorParentTicket, nil + case "attachments,assignees,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesAssignedTeamsParentTicket, nil case "attachments,assignees,collections": return TicketsRetrieveRequestExpandAttachmentsAssigneesCollections, nil case "attachments,assignees,collections,account": @@ -957,6 +1562,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountCreatorParentTicket, nil case "attachments,assignees,collections,account,parent_ticket": return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAccountParentTicket, nil + case "attachments,assignees,collections,assigned_teams": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeams, nil + case "attachments,assignees,collections,assigned_teams,account": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccount, nil + case "attachments,assignees,collections,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContact, nil + case "attachments,assignees,collections,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreator, nil + case "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountContactParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreator, nil + case "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsAccountParentTicket, nil + case "attachments,assignees,collections,assigned_teams,contact": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContact, nil + case "attachments,assignees,collections,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreator, nil + case "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsContactParentTicket, nil + case "attachments,assignees,collections,assigned_teams,creator": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreator, nil + case "attachments,assignees,collections,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsCreatorParentTicket, nil + case "attachments,assignees,collections,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsAssignedTeamsParentTicket, nil case "attachments,assignees,collections,contact": return TicketsRetrieveRequestExpandAttachmentsAssigneesCollectionsContact, nil case "attachments,assignees,collections,contact,creator": @@ -1003,6 +1640,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandAttachmentsCollectionsAccountCreatorParentTicket, nil case "attachments,collections,account,parent_ticket": return TicketsRetrieveRequestExpandAttachmentsCollectionsAccountParentTicket, nil + case "attachments,collections,assigned_teams": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeams, nil + case "attachments,collections,assigned_teams,account": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccount, nil + case "attachments,collections,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContact, nil + case "attachments,collections,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreator, nil + case "attachments,collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "attachments,collections,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountContactParentTicket, nil + case "attachments,collections,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreator, nil + case "attachments,collections,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "attachments,collections,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsAccountParentTicket, nil + case "attachments,collections,assigned_teams,contact": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContact, nil + case "attachments,collections,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactCreator, nil + case "attachments,collections,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "attachments,collections,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsContactParentTicket, nil + case "attachments,collections,assigned_teams,creator": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsCreator, nil + case "attachments,collections,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsCreatorParentTicket, nil + case "attachments,collections,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandAttachmentsCollectionsAssignedTeamsParentTicket, nil case "attachments,collections,contact": return TicketsRetrieveRequestExpandAttachmentsCollectionsContact, nil case "attachments,collections,contact,creator": @@ -1049,6 +1718,38 @@ func NewTicketsRetrieveRequestExpandFromString(s string) (TicketsRetrieveRequest return TicketsRetrieveRequestExpandCollectionsAccountCreatorParentTicket, nil case "collections,account,parent_ticket": return TicketsRetrieveRequestExpandCollectionsAccountParentTicket, nil + case "collections,assigned_teams": + return TicketsRetrieveRequestExpandCollectionsAssignedTeams, nil + case "collections,assigned_teams,account": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccount, nil + case "collections,assigned_teams,account,contact": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContact, nil + case "collections,assigned_teams,account,contact,creator": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactCreator, nil + case "collections,assigned_teams,account,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactCreatorParentTicket, nil + case "collections,assigned_teams,account,contact,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountContactParentTicket, nil + case "collections,assigned_teams,account,creator": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountCreator, nil + case "collections,assigned_teams,account,creator,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountCreatorParentTicket, nil + case "collections,assigned_teams,account,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsAccountParentTicket, nil + case "collections,assigned_teams,contact": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsContact, nil + case "collections,assigned_teams,contact,creator": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactCreator, nil + case "collections,assigned_teams,contact,creator,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactCreatorParentTicket, nil + case "collections,assigned_teams,contact,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsContactParentTicket, nil + case "collections,assigned_teams,creator": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsCreator, nil + case "collections,assigned_teams,creator,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsCreatorParentTicket, nil + case "collections,assigned_teams,parent_ticket": + return TicketsRetrieveRequestExpandCollectionsAssignedTeamsParentTicket, nil case "collections,contact": return TicketsRetrieveRequestExpandCollectionsContact, nil case "collections,contact,creator": @@ -1159,3 +1860,43 @@ func NewTicketsRetrieveRequestShowEnumOriginsFromString(s string) (TicketsRetrie func (t TicketsRetrieveRequestShowEnumOrigins) Ptr() *TicketsRetrieveRequestShowEnumOrigins { return &t } + +type TicketsViewersListRequestExpand string + +const ( + TicketsViewersListRequestExpandTeam TicketsViewersListRequestExpand = "team" + TicketsViewersListRequestExpandUser TicketsViewersListRequestExpand = "user" + TicketsViewersListRequestExpandUserTeam TicketsViewersListRequestExpand = "user,team" +) + +func NewTicketsViewersListRequestExpandFromString(s string) (TicketsViewersListRequestExpand, error) { + switch s { + case "team": + return TicketsViewersListRequestExpandTeam, nil + case "user": + return TicketsViewersListRequestExpandUser, nil + case "user,team": + return TicketsViewersListRequestExpandUserTeam, nil + } + var t TicketsViewersListRequestExpand + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (t TicketsViewersListRequestExpand) Ptr() *TicketsViewersListRequestExpand { + return &t +} + +type TicketsViewersListRequest struct { + // The pagination cursor value. + Cursor *string `json:"-"` + // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + Expand *TicketsViewersListRequestExpand `json:"-"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + IncludeDeletedData *bool `json:"-"` + // Whether to include the original data Merge fetched from the third-party to produce these models. + IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` + // Number of results to return per page. + PageSize *int `json:"-"` +} diff --git a/ticketing/tickets/client.go b/ticketing/tickets/client.go index 75d7b6d..0bb0475 100644 --- a/ticketing/tickets/client.go +++ b/ticketing/tickets/client.go @@ -84,6 +84,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.TicketsListRequest if request.IncludeRemoteFields != nil { queryParams.Add("include_remote_fields", fmt.Sprintf("%v", *request.IncludeRemoteFields)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) } @@ -264,13 +267,13 @@ func (c *Client) PartialUpdate(ctx context.Context, id string, request *ticketin return response, nil } -// Returns a list of `User` objects. -func (c *Client) CollaboratorsList(ctx context.Context, parentId string, request *ticketing.TicketsCollaboratorsListRequest) (*ticketing.PaginatedUserList, error) { +// Returns a list of `Viewer` objects. +func (c *Client) ViewersList(ctx context.Context, ticketId string, request *ticketing.TicketsViewersListRequest) (*ticketing.PaginatedViewerList, error) { baseURL := "https://api.merge.dev/api" if c.baseURL != "" { baseURL = c.baseURL } - endpointURL := fmt.Sprintf(baseURL+"/"+"ticketing/v1/tickets/%v/collaborators", parentId) + endpointURL := fmt.Sprintf(baseURL+"/"+"ticketing/v1/tickets/%v/viewers", ticketId) queryParams := make(url.Values) if request.Cursor != nil { @@ -285,6 +288,9 @@ func (c *Client) CollaboratorsList(ctx context.Context, parentId string, request if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.PageSize != nil { queryParams.Add("page_size", fmt.Sprintf("%v", *request.PageSize)) } @@ -292,7 +298,7 @@ func (c *Client) CollaboratorsList(ctx context.Context, parentId string, request endpointURL += "?" + queryParams.Encode() } - var response *ticketing.PaginatedUserList + var response *ticketing.PaginatedViewerList if err := c.caller.Call( ctx, &core.CallParams{ @@ -371,6 +377,9 @@ func (c *Client) RemoteFieldClassesList(ctx context.Context, request *ticketing. if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.IsCommonModelField != nil { queryParams.Add("is_common_model_field", fmt.Sprintf("%v", *request.IsCommonModelField)) } diff --git a/ticketing/types.go b/ticketing/types.go index 86aeba2..4807b52 100644 --- a/ticketing/types.go +++ b/ticketing/types.go @@ -60,7 +60,7 @@ type Account struct { Name *string `json:"name,omitempty"` // The account's domain names. Domains []*string `json:"domains,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -104,6 +104,8 @@ type AccountDetails struct { // Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. IsDuplicate *bool `json:"is_duplicate,omitempty"` AccountType *string `json:"account_type,omitempty"` + // The time at which account completes the linking flow. + CompletedAt *time.Time `json:"completed_at,omitempty"` _rawJSON json.RawMessage } @@ -155,6 +157,7 @@ type AccountDetailsAndActions struct { IsDuplicate *bool `json:"is_duplicate,omitempty"` Integration *AccountDetailsAndActionsIntegration `json:"integration,omitempty"` AccountType string `json:"account_type"` + CompletedAt time.Time `json:"completed_at"` _rawJSON json.RawMessage } @@ -221,12 +224,14 @@ func (a *AccountDetailsAndActionsIntegration) String() string { // - `COMPLETE` - COMPLETE // - `INCOMPLETE` - INCOMPLETE // - `RELINK_NEEDED` - RELINK_NEEDED +// - `IDLE` - IDLE type AccountDetailsAndActionsStatusEnum string const ( AccountDetailsAndActionsStatusEnumComplete AccountDetailsAndActionsStatusEnum = "COMPLETE" AccountDetailsAndActionsStatusEnumIncomplete AccountDetailsAndActionsStatusEnum = "INCOMPLETE" AccountDetailsAndActionsStatusEnumRelinkNeeded AccountDetailsAndActionsStatusEnum = "RELINK_NEEDED" + AccountDetailsAndActionsStatusEnumIdle AccountDetailsAndActionsStatusEnum = "IDLE" ) func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAndActionsStatusEnum, error) { @@ -237,6 +242,8 @@ func NewAccountDetailsAndActionsStatusEnumFromString(s string) (AccountDetailsAn return AccountDetailsAndActionsStatusEnumIncomplete, nil case "RELINK_NEEDED": return AccountDetailsAndActionsStatusEnumRelinkNeeded, nil + case "IDLE": + return AccountDetailsAndActionsStatusEnumIdle, nil } var t AccountDetailsAndActionsStatusEnum return "", fmt.Errorf("%s is not a valid %T", s, t) @@ -253,9 +260,9 @@ type AccountIntegration struct { AbbreviatedName *string `json:"abbreviated_name,omitempty"` // Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. Categories []CategoriesEnum `json:"categories,omitempty"` - // Company logo in rectangular shape. Upload an image with a clear background. + // Company logo in rectangular shape. Image *string `json:"image,omitempty"` - // Company logo in square shape. Upload an image with a white background. + // Company logo in square shape. SquareImage *string `json:"square_image,omitempty"` // The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. Color *string `json:"color,omitempty"` @@ -414,7 +421,8 @@ type Attachment struct { // The user who uploaded the attachment. UploadedBy *string `json:"uploaded_by,omitempty"` // When the third party's attachment was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -659,6 +667,9 @@ type AuditLogEvent struct { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING + // - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE + // - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -729,6 +740,9 @@ func (a *AuditLogEvent) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -990,8 +1004,7 @@ func (c CategoryEnum) Ptr() *CategoryEnum { // // ### Description // -// The `Collection` object is used to represent collections of tickets. Collections may include other collections as -// sub collections. +// The `Collection` object is used to represent one or more `Tickets`. There can be a hierarchy of `Collections`, in which a sub-collection belongs to a parent-collection. // // ### Usage Example // @@ -1015,7 +1028,8 @@ type Collection struct { CollectionType *CollectionCollectionType `json:"collection_type,omitempty"` // The parent collection for this collection. ParentCollection *CollectionParentCollection `json:"parent_collection,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + Teams []*CollectionTeamsItem `json:"teams,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The level of access a User has to the Collection and its sub-objects. // @@ -1233,6 +1247,63 @@ func (c *CollectionParentCollection) Accept(visitor CollectionParentCollectionVi } } +type CollectionTeamsItem struct { + typeName string + String string + Team *Team +} + +func NewCollectionTeamsItemFromString(value string) *CollectionTeamsItem { + return &CollectionTeamsItem{typeName: "string", String: value} +} + +func NewCollectionTeamsItemFromTeam(value *Team) *CollectionTeamsItem { + return &CollectionTeamsItem{typeName: "team", Team: value} +} + +func (c *CollectionTeamsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + c.typeName = "string" + c.String = valueString + return nil + } + valueTeam := new(Team) + if err := json.Unmarshal(data, &valueTeam); err == nil { + c.typeName = "team" + c.Team = valueTeam + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, c) +} + +func (c CollectionTeamsItem) MarshalJSON() ([]byte, error) { + switch c.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return json.Marshal(c.String) + case "team": + return json.Marshal(c.Team) + } +} + +type CollectionTeamsItemVisitor interface { + VisitString(string) error + VisitTeam(*Team) error +} + +func (c *CollectionTeamsItem) Accept(visitor CollectionTeamsItemVisitor) error { + switch c.typeName { + default: + return fmt.Errorf("invalid type %s in %T", c.typeName, c) + case "string": + return visitor.VisitString(c.String) + case "team": + return visitor.VisitTeam(c.Team) + } +} + // - `LIST` - LIST // - `PROJECT` - PROJECT type CollectionTypeEnum string @@ -1274,9 +1345,9 @@ type Comment struct { CreatedAt *time.Time `json:"created_at,omitempty"` // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` - // The author of the Comment, if the author is a User. + // The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. User *CommentUser `json:"user,omitempty"` - // The author of the Comment, if the author is a Contact. + // The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. Contact *CommentContact `json:"contact,omitempty"` // The comment's text body. Body *string `json:"body,omitempty"` @@ -1287,7 +1358,8 @@ type Comment struct { // Whether or not the comment is internal. IsPrivate *bool `json:"is_private,omitempty"` // When the third party's comment was created. - RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -1318,7 +1390,7 @@ func (c *Comment) String() string { return fmt.Sprintf("%#v", c) } -// The author of the Comment, if the author is a Contact. +// The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. type CommentContact struct { typeName string String string @@ -1386,9 +1458,9 @@ func (c *CommentContact) Accept(visitor CommentContactVisitor) error { // // TODO type CommentRequest struct { - // The author of the Comment, if the author is a User. + // The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. User *CommentRequestUser `json:"user,omitempty"` - // The author of the Comment, if the author is a Contact. + // The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. Contact *CommentRequestContact `json:"contact,omitempty"` // The comment's text body. Body *string `json:"body,omitempty"` @@ -1427,7 +1499,7 @@ func (c *CommentRequest) String() string { return fmt.Sprintf("%#v", c) } -// The author of the Comment, if the author is a Contact. +// The author of the Comment, if the author is a Contact.If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. type CommentRequestContact struct { typeName string String string @@ -1543,7 +1615,7 @@ func (c *CommentRequestTicket) Accept(visitor CommentRequestTicketVisitor) error } } -// The author of the Comment, if the author is a User. +// The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. type CommentRequestUser struct { typeName string String string @@ -1691,7 +1763,7 @@ func (c *CommentTicket) Accept(visitor CommentTicketVisitor) error { } } -// The author of the Comment, if the author is a User. +// The author of the Comment, if the author is a User. If the third party does not support specifying an author, we will append "[Posted on behalf of {name}]" to the comment. type CommentUser struct { typeName string String string @@ -1837,7 +1909,7 @@ type Contact struct { Details *string `json:"details,omitempty"` // The contact's account. Account *ContactAccount `json:"account,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -2261,6 +2333,9 @@ func (e *ErrorValidationProblem) String() string { // - `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING // - `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING // - `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING +// - `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE +// - `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE // - `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC // - `MUTED_ISSUE` - MUTED_ISSUE // - `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK @@ -2302,6 +2377,9 @@ const ( EventTypeEnumChangedLinkedAccountFieldMapping EventTypeEnum = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" EventTypeEnumDeletedIntegrationWideFieldMapping EventTypeEnum = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" EventTypeEnumDeletedLinkedAccountFieldMapping EventTypeEnum = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" + EventTypeEnumCreatedLinkedAccountCommonModelOverride EventTypeEnum = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumChangedLinkedAccountCommonModelOverride EventTypeEnum = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" + EventTypeEnumDeletedLinkedAccountCommonModelOverride EventTypeEnum = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" EventTypeEnumForcedLinkedAccountResync EventTypeEnum = "FORCED_LINKED_ACCOUNT_RESYNC" EventTypeEnumMutedIssue EventTypeEnum = "MUTED_ISSUE" EventTypeEnumGeneratedMagicLink EventTypeEnum = "GENERATED_MAGIC_LINK" @@ -2375,6 +2453,12 @@ func NewEventTypeEnumFromString(s string) (EventTypeEnum, error) { return EventTypeEnumDeletedIntegrationWideFieldMapping, nil case "DELETED_LINKED_ACCOUNT_FIELD_MAPPING": return EventTypeEnumDeletedLinkedAccountFieldMapping, nil + case "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumCreatedLinkedAccountCommonModelOverride, nil + case "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumChangedLinkedAccountCommonModelOverride, nil + case "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE": + return EventTypeEnumDeletedLinkedAccountCommonModelOverride, nil case "FORCED_LINKED_ACCOUNT_RESYNC": return EventTypeEnumForcedLinkedAccountResync, nil case "MUTED_ISSUE": @@ -2541,7 +2625,7 @@ func (f *FieldMappingApiInstance) String() string { } type FieldMappingApiInstanceRemoteField struct { - RemoteKeyName string `json:"remote_key_name"` + RemoteKeyName *string `json:"remote_key_name,omitempty"` Schema map[string]interface{} `json:"schema,omitempty"` RemoteEndpointInfo *FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo `json:"remote_endpoint_info,omitempty"` @@ -2705,8 +2789,8 @@ func (f *FieldMappingInstanceResponse) String() string { } type FieldPermissionDeserializer struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -2735,8 +2819,8 @@ func (f *FieldPermissionDeserializer) String() string { } type FieldPermissionDeserializerRequest struct { - Enabled []interface{} `json:"enabled,omitempty"` - Disabled []interface{} `json:"disabled,omitempty"` + EnabledFields []interface{} `json:"enabled_fields,omitempty"` + DisabledFields []interface{} `json:"disabled_fields,omitempty"` _rawJSON json.RawMessage } @@ -3102,6 +3186,30 @@ func (i ItemTypeEnum) Ptr() *ItemTypeEnum { return &i } +// - `en` - en +// - `de` - de +type LanguageEnum string + +const ( + LanguageEnumEn LanguageEnum = "en" + LanguageEnumDe LanguageEnum = "de" +) + +func NewLanguageEnumFromString(s string) (LanguageEnum, error) { + switch s { + case "en": + return LanguageEnumEn, nil + case "de": + return LanguageEnumDe, nil + } + var t LanguageEnum + return "", fmt.Errorf("%s is not a valid %T", s, t) +} + +func (l LanguageEnum) Ptr() *LanguageEnum { + return &l +} + type LinkToken struct { LinkToken string `json:"link_token"` IntegrationName *string `json:"integration_name,omitempty"` @@ -3948,19 +4056,53 @@ func (p *PaginatedUserList) String() string { return fmt.Sprintf("%#v", p) } +type PaginatedViewerList struct { + Next *string `json:"next,omitempty"` + Previous *string `json:"previous,omitempty"` + Results []*Viewer `json:"results,omitempty"` + + _rawJSON json.RawMessage +} + +func (p *PaginatedViewerList) UnmarshalJSON(data []byte) error { + type unmarshaler PaginatedViewerList + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *p = PaginatedViewerList(value) + p._rawJSON = json.RawMessage(data) + return nil +} + +func (p *PaginatedViewerList) String() string { + if len(p._rawJSON) > 0 { + if value, err := core.StringifyJSON(p._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(p); err == nil { + return value + } + return fmt.Sprintf("%#v", p) +} + // # The Ticket Object // // ### Description // -// The `Ticket` object is used to represent a ticket or a task within a system. +// The `Ticket` object is used to represent a ticket, issue, task or case. // // ### Usage Example // // TODO type PatchedTicketRequest struct { // The ticket's name. - Name *string `json:"name,omitempty"` + Name *string `json:"name,omitempty"` + // The individual `Users` who are assigned to this ticket. This does not include `Users` who just have view access to this ticket. Assignees []*string `json:"assignees,omitempty"` + // The `Teams` that are assigned to this ticket. This does not include `Teams` who just have view access to this ticket. + AssignedTeams []*string `json:"assigned_teams,omitempty"` // The user who created this ticket. Creator *string `json:"creator,omitempty"` // The ticket's due date. @@ -3973,7 +4115,8 @@ type PatchedTicketRequest struct { // - `ON_HOLD` - ON_HOLD Status *PatchedTicketRequestStatus `json:"status,omitempty"` // The ticket’s description. HTML version of description is mapped if supported by the third-party platform. - Description *string `json:"description,omitempty"` + Description *string `json:"description,omitempty"` + // The `Collections` that this `Ticket` is included in. Collections []*string `json:"collections,omitempty"` // The sub category of the ticket within the 3rd party system. Examples include incident, task, subtask or to-do. TicketType *string `json:"ticket_type,omitempty"` @@ -3984,6 +4127,7 @@ type PatchedTicketRequest struct { // The ticket's parent ticket. ParentTicket *string `json:"parent_ticket,omitempty"` Tags []*string `json:"tags,omitempty"` + Roles []*string `json:"roles,omitempty"` // When the ticket was completed. CompletedAt *time.Time `json:"completed_at,omitempty"` // The 3rd party url of the Ticket. @@ -4204,7 +4348,7 @@ type Project struct { Name *string `json:"name,omitempty"` // The project's description. Description *string `json:"description,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -4235,7 +4379,17 @@ func (p *Project) String() string { return fmt.Sprintf("%#v", p) } +// # The RemoteData Object +// +// ### Description +// +// The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. +// +// ### Usage Example +// +// TODO type RemoteData struct { + // The third-party API path that is being called. Path string `json:"path"` Data interface{} `json:"data,omitempty"` @@ -4944,7 +5098,7 @@ type Role struct { // - `ASSIGNED_ONLY` - ASSIGNED_ONLY // - `TEAM_ONLY` - TEAM_ONLY TicketAccess *RoleTicketAccess `json:"ticket_access,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5261,7 +5415,7 @@ type Tag struct { Id *string `json:"id,omitempty"` // The tag's name. Name *string `json:"name,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5296,7 +5450,7 @@ func (t *Tag) String() string { // // ### Description // -// The `Team` object is used to represent a team within the company receiving the ticket. +// The `Team` object is used to represent one or more `Users` within the company receiving the ticket. // // ### Usage Example // @@ -5313,7 +5467,7 @@ type Team struct { Name *string `json:"name,omitempty"` // The team's description. Description *string `json:"description,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -5348,7 +5502,7 @@ func (t *Team) String() string { // // ### Description // -// The `Ticket` object is used to represent a ticket or a task within a system. +// The `Ticket` object is used to represent a ticket, issue, task or case. // // ### Usage Example // @@ -5362,8 +5516,11 @@ type Ticket struct { // The datetime that this object was modified by Merge. ModifiedAt *time.Time `json:"modified_at,omitempty"` // The ticket's name. - Name *string `json:"name,omitempty"` + Name *string `json:"name,omitempty"` + // The individual `Users` who are assigned to this ticket. This does not include `Users` who just have view access to this ticket. Assignees []*TicketAssigneesItem `json:"assignees,omitempty"` + // The `Teams` that are assigned to this ticket. This does not include `Teams` who just have view access to this ticket. + AssignedTeams []*TicketAssignedTeamsItem `json:"assigned_teams,omitempty"` // The user who created this ticket. Creator *TicketCreator `json:"creator,omitempty"` // The ticket's due date. @@ -5376,7 +5533,8 @@ type Ticket struct { // - `ON_HOLD` - ON_HOLD Status *TicketStatus `json:"status,omitempty"` // The ticket’s description. HTML version of description is mapped if supported by the third-party platform. - Description *string `json:"description,omitempty"` + Description *string `json:"description,omitempty"` + // The `Collections` that this `Ticket` is included in. Collections []*TicketCollectionsItem `json:"collections,omitempty"` // The sub category of the ticket within the 3rd party system. Examples include incident, task, subtask or to-do. TicketType *string `json:"ticket_type,omitempty"` @@ -5388,13 +5546,15 @@ type Ticket struct { ParentTicket *TicketParentTicket `json:"parent_ticket,omitempty"` Attachments []*TicketAttachmentsItem `json:"attachments,omitempty"` Tags []*string `json:"tags,omitempty"` + Roles []*string `json:"roles,omitempty"` // When the third party's ticket was created. RemoteCreatedAt *time.Time `json:"remote_created_at,omitempty"` // When the third party's ticket was updated. RemoteUpdatedAt *time.Time `json:"remote_updated_at,omitempty"` // When the ticket was completed. - CompletedAt *time.Time `json:"completed_at,omitempty"` - RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` + CompletedAt *time.Time `json:"completed_at,omitempty"` + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` // The 3rd party url of the Ticket. TicketUrl *string `json:"ticket_url,omitempty"` // The priority or urgency of the Ticket. @@ -5560,6 +5720,63 @@ func (t TicketActionsEnum) Ptr() *TicketActionsEnum { return &t } +type TicketAssignedTeamsItem struct { + typeName string + String string + Team *Team +} + +func NewTicketAssignedTeamsItemFromString(value string) *TicketAssignedTeamsItem { + return &TicketAssignedTeamsItem{typeName: "string", String: value} +} + +func NewTicketAssignedTeamsItemFromTeam(value *Team) *TicketAssignedTeamsItem { + return &TicketAssignedTeamsItem{typeName: "team", Team: value} +} + +func (t *TicketAssignedTeamsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + valueTeam := new(Team) + if err := json.Unmarshal(data, &valueTeam); err == nil { + t.typeName = "team" + t.Team = valueTeam + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) +} + +func (t TicketAssignedTeamsItem) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "team": + return json.Marshal(t.Team) + } +} + +type TicketAssignedTeamsItemVisitor interface { + VisitString(string) error + VisitTeam(*Team) error +} + +func (t *TicketAssignedTeamsItem) Accept(visitor TicketAssignedTeamsItemVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "team": + return visitor.VisitTeam(t.Team) + } +} + type TicketAssigneesItem struct { typeName string String string @@ -5972,15 +6189,18 @@ func (t *TicketPriority) Accept(visitor TicketPriorityVisitor) error { // // ### Description // -// The `Ticket` object is used to represent a ticket or a task within a system. +// The `Ticket` object is used to represent a ticket, issue, task or case. // // ### Usage Example // // TODO type TicketRequest struct { // The ticket's name. - Name *string `json:"name,omitempty"` + Name *string `json:"name,omitempty"` + // The individual `Users` who are assigned to this ticket. This does not include `Users` who just have view access to this ticket. Assignees []*TicketRequestAssigneesItem `json:"assignees,omitempty"` + // The `Teams` that are assigned to this ticket. This does not include `Teams` who just have view access to this ticket. + AssignedTeams []*TicketRequestAssignedTeamsItem `json:"assigned_teams,omitempty"` // The user who created this ticket. Creator *TicketRequestCreator `json:"creator,omitempty"` // The ticket's due date. @@ -5993,7 +6213,8 @@ type TicketRequest struct { // - `ON_HOLD` - ON_HOLD Status *TicketRequestStatus `json:"status,omitempty"` // The ticket’s description. HTML version of description is mapped if supported by the third-party platform. - Description *string `json:"description,omitempty"` + Description *string `json:"description,omitempty"` + // The `Collections` that this `Ticket` is included in. Collections []*TicketRequestCollectionsItem `json:"collections,omitempty"` // The sub category of the ticket within the 3rd party system. Examples include incident, task, subtask or to-do. TicketType *string `json:"ticket_type,omitempty"` @@ -6005,6 +6226,7 @@ type TicketRequest struct { ParentTicket *TicketRequestParentTicket `json:"parent_ticket,omitempty"` Attachments []*TicketRequestAttachmentsItem `json:"attachments,omitempty"` Tags []*string `json:"tags,omitempty"` + Roles []*string `json:"roles,omitempty"` // When the ticket was completed. CompletedAt *time.Time `json:"completed_at,omitempty"` // The 3rd party url of the Ticket. @@ -6104,6 +6326,63 @@ func (t *TicketRequestAccount) Accept(visitor TicketRequestAccountVisitor) error } } +type TicketRequestAssignedTeamsItem struct { + typeName string + String string + Team *Team +} + +func NewTicketRequestAssignedTeamsItemFromString(value string) *TicketRequestAssignedTeamsItem { + return &TicketRequestAssignedTeamsItem{typeName: "string", String: value} +} + +func NewTicketRequestAssignedTeamsItemFromTeam(value *Team) *TicketRequestAssignedTeamsItem { + return &TicketRequestAssignedTeamsItem{typeName: "team", Team: value} +} + +func (t *TicketRequestAssignedTeamsItem) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + t.typeName = "string" + t.String = valueString + return nil + } + valueTeam := new(Team) + if err := json.Unmarshal(data, &valueTeam); err == nil { + t.typeName = "team" + t.Team = valueTeam + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, t) +} + +func (t TicketRequestAssignedTeamsItem) MarshalJSON() ([]byte, error) { + switch t.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return json.Marshal(t.String) + case "team": + return json.Marshal(t.Team) + } +} + +type TicketRequestAssignedTeamsItemVisitor interface { + VisitString(string) error + VisitTeam(*Team) error +} + +func (t *TicketRequestAssignedTeamsItem) Accept(visitor TicketRequestAssignedTeamsItemVisitor) error { + switch t.typeName { + default: + return fmt.Errorf("invalid type %s in %T", t.typeName, t) + case "string": + return visitor.VisitString(t.String) + case "team": + return visitor.VisitTeam(t.Team) + } +} + type TicketRequestAssigneesItem struct { typeName string String string @@ -6770,7 +7049,8 @@ func (t *TicketingContactResponse) String() string { // // ### Description // -// The `User` object is used to represent an employee within a company. +// The `User` object is used to represent a user with a login to the ticketing system. +// Users are either assignees who are directly responsible or a viewer on a `Ticket`/ `Collection`. // // ### Usage Example // @@ -6793,7 +7073,7 @@ type User struct { Roles []*UserRolesItem `json:"roles,omitempty"` // The user's avatar picture. Avatar *string `json:"avatar,omitempty"` - // Indicates whether or not this object has been deleted in the third party platform. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). RemoteWasDeleted *bool `json:"remote_was_deleted,omitempty"` FieldMappings map[string]interface{} `json:"field_mappings,omitempty"` RemoteData []*RemoteData `json:"remote_data,omitempty"` @@ -6967,6 +7247,170 @@ func (v *ValidationProblemSource) String() string { return fmt.Sprintf("%#v", v) } +// # The Viewer Object +// +// ### Description +// +// The `Viewer` object is used to represent a User or Team within a company. +// +// ### Usage Example +// +// TODO +type Viewer struct { + Id *string `json:"id,omitempty"` + // The third-party API ID of the matching object. + RemoteId *string `json:"remote_id,omitempty"` + // The datetime that this object was created by Merge. + CreatedAt *time.Time `json:"created_at,omitempty"` + // The datetime that this object was modified by Merge. + ModifiedAt *time.Time `json:"modified_at,omitempty"` + // The Team this Viewer belongs to. + Team *ViewerTeam `json:"team,omitempty"` + // The User this Viewer belongs to. + User *ViewerUser `json:"user,omitempty"` + + _rawJSON json.RawMessage +} + +func (v *Viewer) UnmarshalJSON(data []byte) error { + type unmarshaler Viewer + var value unmarshaler + if err := json.Unmarshal(data, &value); err != nil { + return err + } + *v = Viewer(value) + v._rawJSON = json.RawMessage(data) + return nil +} + +func (v *Viewer) String() string { + if len(v._rawJSON) > 0 { + if value, err := core.StringifyJSON(v._rawJSON); err == nil { + return value + } + } + if value, err := core.StringifyJSON(v); err == nil { + return value + } + return fmt.Sprintf("%#v", v) +} + +// The Team this Viewer belongs to. +type ViewerTeam struct { + typeName string + String string + Team *Team +} + +func NewViewerTeamFromString(value string) *ViewerTeam { + return &ViewerTeam{typeName: "string", String: value} +} + +func NewViewerTeamFromTeam(value *Team) *ViewerTeam { + return &ViewerTeam{typeName: "team", Team: value} +} + +func (v *ViewerTeam) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueTeam := new(Team) + if err := json.Unmarshal(data, &valueTeam); err == nil { + v.typeName = "team" + v.Team = valueTeam + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v ViewerTeam) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "team": + return json.Marshal(v.Team) + } +} + +type ViewerTeamVisitor interface { + VisitString(string) error + VisitTeam(*Team) error +} + +func (v *ViewerTeam) Accept(visitor ViewerTeamVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "team": + return visitor.VisitTeam(v.Team) + } +} + +// The User this Viewer belongs to. +type ViewerUser struct { + typeName string + String string + User *User +} + +func NewViewerUserFromString(value string) *ViewerUser { + return &ViewerUser{typeName: "string", String: value} +} + +func NewViewerUserFromUser(value *User) *ViewerUser { + return &ViewerUser{typeName: "user", User: value} +} + +func (v *ViewerUser) UnmarshalJSON(data []byte) error { + var valueString string + if err := json.Unmarshal(data, &valueString); err == nil { + v.typeName = "string" + v.String = valueString + return nil + } + valueUser := new(User) + if err := json.Unmarshal(data, &valueUser); err == nil { + v.typeName = "user" + v.User = valueUser + return nil + } + return fmt.Errorf("%s cannot be deserialized as a %T", data, v) +} + +func (v ViewerUser) MarshalJSON() ([]byte, error) { + switch v.typeName { + default: + return nil, fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return json.Marshal(v.String) + case "user": + return json.Marshal(v.User) + } +} + +type ViewerUserVisitor interface { + VisitString(string) error + VisitUser(*User) error +} + +func (v *ViewerUser) Accept(visitor ViewerUserVisitor) error { + switch v.typeName { + default: + return fmt.Errorf("invalid type %s in %T", v.typeName, v) + case "string": + return visitor.VisitString(v.String) + case "user": + return visitor.VisitUser(v.User) + } +} + type WarningValidationProblem struct { Source *ValidationProblemSource `json:"source,omitempty"` Title string `json:"title"` diff --git a/ticketing/users.go b/ticketing/users.go index 7560ba9..fe38358 100644 --- a/ticketing/users.go +++ b/ticketing/users.go @@ -18,10 +18,12 @@ type UsersListRequest struct { EmailAddress *string `json:"-"` // Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. Expand *UsersListRequestExpand `json:"-"` - // Whether to include data that was marked as deleted by third party webhooks. + // Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). IncludeDeletedData *bool `json:"-"` // Whether to include the original data Merge fetched from the third-party to produce these models. IncludeRemoteData *bool `json:"-"` + // Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + IncludeShellData *bool `json:"-"` // If provided, only objects synced by Merge after this date time will be returned. ModifiedAfter *time.Time `json:"-"` // If provided, only objects synced by Merge before this date time will be returned. diff --git a/ticketing/users/client.go b/ticketing/users/client.go index cce8b16..5eb470d 100644 --- a/ticketing/users/client.go +++ b/ticketing/users/client.go @@ -60,6 +60,9 @@ func (c *Client) List(ctx context.Context, request *ticketing.UsersListRequest) if request.IncludeRemoteData != nil { queryParams.Add("include_remote_data", fmt.Sprintf("%v", *request.IncludeRemoteData)) } + if request.IncludeShellData != nil { + queryParams.Add("include_shell_data", fmt.Sprintf("%v", *request.IncludeShellData)) + } if request.ModifiedAfter != nil { queryParams.Add("modified_after", fmt.Sprintf("%v", request.ModifiedAfter.Format(time.RFC3339))) }