microsoft.dynamics365.finance.customer
Module microsoft.dynamics365.finance.customer
API
Definitions
ballerinax/microsoft.dynamics365.finance.customer Ballerina library
Overview
Microsoft Dynamics 365 Finance is Microsoft's cloud ERP solution for financial management, covering general ledger, accounts receivable and payable, fixed assets, budgeting, cash and bank management, and tax.
The microsoft.dynamics365.finance.customer connector provides access to Microsoft Dynamics 365 Finance Customer entities via the OData REST API.
Key Features
- Manage customer entities in Microsoft Dynamics 365 Finance
- Support for list, create, read, update, and delete operations
- OAuth2 client credentials authentication
Setup guide
Prerequisites
- A Microsoft Dynamics 365 Finance & Operations environment (cloud-hosted or sandbox)
- An Azure Active Directory (Entra ID) app registration with API permissions for Dynamics 365
Step 1: Register an application in Azure AD
-
Sign in to the Azure portal and navigate to Azure Active Directory → App registrations → New registration.
-
Give the application a name, select the appropriate account type, and click Register.
-
Note the Application (client) ID and Directory (tenant) ID from the overview page.
-
Under Certificates & secrets, create a new client secret and note the value immediately — it is only shown once.
Step 2: Grant Dynamics 365 API permissions
-
In the app registration, go to API permissions → Add a permission → APIs my organization uses.
-
Search for Dynamics 365 (or
Microsoft Dynamics ERP) and add theuser_impersonation(or.default) delegated/application scope. -
Click Grant admin consent for your tenant.
Step 3: Add the app as a D365 user
-
In your D365 Finance environment, go to System administration → Users → New.
-
Set the User ID and User name, then paste the Azure AD Application (client) ID into the Azure AD application field.
-
Assign appropriate security roles and save.
Quickstart
To use the microsoft.dynamics365.finance.customer connector in your Ballerina application, modify the .bal file as follows:
Step 1: Import the module
import ballerinax/microsoft.dynamics365.finance.customer;
Step 2: Instantiate a new connector
configurable string tenantId = ?; configurable string clientId = ?; configurable string clientSecret = ?; configurable string serviceUrl = ?; // e.g. "https://<env>.operations.dynamics.com/data" customer:Client cl = check new ({ config = { auth: { tokenUrl: string `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/token`, clientId, clientSecret, scopes: [string `${serviceUrl}/.default`] } }, serviceUrl );
Step 3: Invoke the connector operation
customer:CustomerGroupsCollection results = check cl->listCustomerGroups();
Step 4: Run the Ballerina application
bal run
Examples
The Dynamics 365 Finance Ballerina connectors provide practical examples illustrating usage in various scenarios. Explore these examples.
Clients
microsoft.dynamics365.finance.customer: Client
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://your-org.operations.dynamics.com/data" - URL of the target service
listCustomerGroups
function listCustomerGroups(map<string|string[]> headers, *ListCustomerGroupsQueries queries) returns CustomerGroupsCollection|errorList CustomerGroups
Parameters
- queries *ListCustomerGroupsQueries - Queries to be sent with the request
Return Type
- CustomerGroupsCollection|error - Collection of CustomerGroup
createCustomerGroups
function createCustomerGroups(CustomerGroup payload, map<string|string[]> headers) returns CustomerGroup|errorCreate CustomerGroup
Parameters
- payload CustomerGroup - The request body
Return Type
- CustomerGroup|error - CustomerGroup created
getCustomerGroups
function getCustomerGroups(string dataAreaId, string customerGroupId, map<string|string[]> headers, *GetCustomerGroupsQueries queries) returns CustomerGroup|errorGet CustomerGroup by key
Parameters
- dataAreaId string - The company data area identifier
- customerGroupId string - The customer group id key field
- queries *GetCustomerGroupsQueries - Queries to be sent with the request
Return Type
- CustomerGroup|error - CustomerGroup
deleteCustomerGroups
function deleteCustomerGroups(string dataAreaId, string customerGroupId, DeleteCustomerGroupsHeaders headers) returns error?Delete CustomerGroup
Parameters
- dataAreaId string - The company data area identifier
- customerGroupId string - The customer group id key field
- headers DeleteCustomerGroupsHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - CustomerGroup deleted
updateCustomerGroups
function updateCustomerGroups(string dataAreaId, string customerGroupId, CustomerGroup payload, UpdateCustomerGroupsHeaders headers) returns CustomerGroup|errorUpdate CustomerGroup
Parameters
- dataAreaId string - The company data area identifier
- customerGroupId string - The customer group id key field
- payload CustomerGroup - The request body
- headers UpdateCustomerGroupsHeaders (default {}) - Headers to be sent with the request
Return Type
- CustomerGroup|error - CustomerGroup updated
listCustomerParameters
function listCustomerParameters(map<string|string[]> headers, *ListCustomerParametersQueries queries) returns CustomerParametersCollection|errorList CustomerParameters
Parameters
- queries *ListCustomerParametersQueries - Queries to be sent with the request
Return Type
- CustomerParametersCollection|error - Collection of CustomerParameters
createCustomerParameters
function createCustomerParameters(CustomerParameters payload, map<string|string[]> headers) returns CustomerParameters|errorCreate CustomerParameters
Parameters
- payload CustomerParameters - The request body
Return Type
- CustomerParameters|error - CustomerParameters created
getCustomerParameters
function getCustomerParameters(string dataAreaId, map<string|string[]> headers, *GetCustomerParametersQueries queries) returns CustomerParameters|errorGet CustomerParameters by key
Parameters
- dataAreaId string - The company data area identifier
- queries *GetCustomerParametersQueries - Queries to be sent with the request
Return Type
- CustomerParameters|error - CustomerParameters
deleteCustomerParameters
function deleteCustomerParameters(string dataAreaId, DeleteCustomerParametersHeaders headers) returns error?Delete CustomerParameters
Parameters
- dataAreaId string - The company data area identifier
- headers DeleteCustomerParametersHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - CustomerParameters deleted
updateCustomerParameters
function updateCustomerParameters(string dataAreaId, CustomerParameters payload, UpdateCustomerParametersHeaders headers) returns CustomerParameters|errorUpdate CustomerParameters
Parameters
- dataAreaId string - The company data area identifier
- payload CustomerParameters - The request body
- headers UpdateCustomerParametersHeaders (default {}) - Headers to be sent with the request
Return Type
- CustomerParameters|error - CustomerParameters updated
listCustomers
function listCustomers(map<string|string[]> headers, *ListCustomersQueries queries) returns CustomersCollection|errorList Customers
Parameters
- queries *ListCustomersQueries - Queries to be sent with the request
Return Type
- CustomersCollection|error - Collection of Customer
createCustomers
Create Customer
Parameters
- payload Customer - The request body
getCustomers
function getCustomers(string dataAreaId, string customerAccount, map<string|string[]> headers, *GetCustomersQueries queries) returns Customer|errorGet Customer by key
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- queries *GetCustomersQueries - Queries to be sent with the request
deleteCustomers
function deleteCustomers(string dataAreaId, string customerAccount, DeleteCustomersHeaders headers) returns error?Delete Customer
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- headers DeleteCustomersHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - Customer deleted
updateCustomers
function updateCustomers(string dataAreaId, string customerAccount, Customer payload, UpdateCustomersHeaders headers) returns Customer|errorUpdate Customer
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- payload Customer - The request body
- headers UpdateCustomersHeaders (default {}) - Headers to be sent with the request
listCustomersBase
function listCustomersBase(map<string|string[]> headers, *ListCustomersBaseQueries queries) returns CustomersBaseCollection|errorList CustomersBase
Parameters
- queries *ListCustomersBaseQueries - Queries to be sent with the request
Return Type
- CustomersBaseCollection|error - Collection of CustomerBase
createCustomersBase
function createCustomersBase(CustomerBase payload, map<string|string[]> headers) returns CustomerBase|errorCreate CustomerBase
Parameters
- payload CustomerBase - The request body
Return Type
- CustomerBase|error - CustomerBase created
getCustomersBase
function getCustomersBase(string dataAreaId, string customerAccount, map<string|string[]> headers, *GetCustomersBaseQueries queries) returns CustomerBase|errorGet CustomerBase by key
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- queries *GetCustomersBaseQueries - Queries to be sent with the request
Return Type
- CustomerBase|error - CustomerBase
deleteCustomersBase
function deleteCustomersBase(string dataAreaId, string customerAccount, DeleteCustomersBaseHeaders headers) returns error?Delete CustomerBase
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- headers DeleteCustomersBaseHeaders (default {}) - Headers to be sent with the request
Return Type
- error? - CustomerBase deleted
updateCustomersBase
function updateCustomersBase(string dataAreaId, string customerAccount, CustomerBase payload, UpdateCustomersBaseHeaders headers) returns CustomerBase|errorUpdate CustomerBase
Parameters
- dataAreaId string - The company data area identifier
- customerAccount string - The customer account key field
- payload CustomerBase - The request body
- headers UpdateCustomersBaseHeaders (default {}) - Headers to be sent with the request
Return Type
- CustomerBase|error - CustomerBase updated
Records
microsoft.dynamics365.finance.customer: ConnectionConfig
Fields
- auth? OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
microsoft.dynamics365.finance.customer: Customer
Fields
- personPhoneticLastName? string -
- birthPlace? string -
- giroTypeFreeTextInvoice? PaymentStub -
- giroTypeAccountStatement? PaymentStub -
- primaryContactEmailPurpose? string -
- fiscalCode? string -
- employeeResponsibleNumber? string -
- primaryContactEmail? string -
- taxExemptNumber? string -
- invoiceAddressCounty? string -
- isFuelSurchargeApplied? NoYes -
- addressCity? string -
- suframaNumber? string -
- withholdingTaxGroupCode? string -
- panStatus? PANStatusIN -
- isOrderNumberReferenceUsed? NoYes -
- reliefGroupId? string -
- creditRating? string -
- primaryContactFax? string -
- primaryContactLinkedIn? string -
- personAnniversaryDay? Signed32 -
- residenceForeignCountryRegionId? string -
- personProfessionalSuffix? string -
- pANReferenceNumber? string -
- companyType? CompanyTypeMX -
- addressLocationId? string -
- addressCountryRegionId? string -
- deliveryAddressLongitude? decimal -
- personMaritalStatus? DirPersonMaritalStatus -
- totalDiscountCode? string -
- organizationPhoneticName? string -
- salesMemo? string -
- giroTypeCollectionletter? PaymentStub -
- giroType? PaymentStub -
- primaryContactFacebookDescription? string -
- addressZipCode? string -
- receiptOption? RetailReceiptOptionBase -
- federalAgencyLocationCode? string -
- numberSequenceGroup? string -
- stateInscription? string -
- addressBrazilianIE? string -
- isInSuframaRegion? NoYes -
- writeoffReason? string -
- primaryContactURLPurpose? string -
- partyCountry? string -
- transactionPresenceType? EFDocPresenceTypeBR -
- deliveryAddressTimeZone? Timezone -
- brazilianINSSCEI? string -
- isIncomingFiscalDocumentGenerated? NoYes -
- statisticsGroupId? string -
- cURPNumber? string -
- deliveryFreightZone? string -
- primaryContactPhoneIsMobile? NoYes -
- salesCurrencyCode? string -
- isExternallyMaintained? NoYes -
- deliveryTerms? string -
- hasSuframaDiscountPISandCOFINS? NoYes -
- creditLimit? decimal -
- defaultInventoryStatusId? string -
- warehouseId? string -
- multiLineDiscountCode? string -
- invoiceAddressTimeZone? Timezone -
- brazilianIE? string -
- warehouseFulfillmentType? WHSFulfillmentType -
- primaryContactFaxPurpose? string -
- deliveryAddressStreet? string -
- customerPaymentFineCode? string -
- orderEntryDeadline? string -
- foreignerId? string -
- salesDistrict? string -
- nAFCode? string -
- name? string -
- primaryContactPhoneDescription? string -
- isPurchRequestUsed? NoYes -
- invoiceAddressDistrictName? string -
- customerGroupId? string -
- primaryContactTwitterDescription? string -
- paymentIdType? string -
- birthCountyCode? string -
- tDSGroup? string -
- personPhoneticMiddleName? string -
- addressValidFrom? string -
- customerWithholdingContributionType? CustWhtContributionTypeBR -
- deliveryAddressDescription? string -
- vendorAccount? string -
- customerAccount? string -
- packingMaterialFeeLicenseNumber? string -
- frenchSiret? string -
- brazilianCNPJOrCPF? string -
- invoiceAddressLatitude? decimal -
- electronicInvoiceEAN? string -
- warehouseIsASNGenerated? NoYes -
- warehouseIsEntireShipmentFilled? NoYes -
- personChildrenNames? string -
- customerRebateGroupId? string -
- addressBooks? string -
- primaryContactURL? string -
- isElectronicInvoice? NoYes -
- invoiceAddressCity? string -
- paymentTermsBaseDays? Signed32 -
- paymentTerms? string -
- addressBrazilianCNPJOrCPF? string -
- personPhoneticFirstName? string -
- personAnniversaryMonth? MonthsOfYear -
- federalComments? string -
- lineDiscountCode? string -
- primaryContactEmailDescription? string -
- itemCustomerGroupId? string -
- isRFIDPalletTaggingEnabled? NoYes -
- primaryContactPhone? string -
- primaryContactTelexDescription? string -
- primaryContactFaxExtension? string -
- isFinalUser? NoYes -
- creditCardAddressVerificationIsAuthorizationVoidedOnFailure? NoYes -
- lineOfBusinessId? string -
- organizationNumberOfEmployees? Signed32 -
- deliveryAddressLatitude? decimal -
- deliveryAddressCountryRegionISOCode? string -
- receiptEmail? string -
- creditCardAddressVerification? CreditCardAddressVerification -
- isTransactionPostedAsShipment? NoYes -
- invoiceAddress? InvoiceOrderAccount -
- isServiceDeliveryAddressBased? NoYes -
- salesAccountNumber? string -
- paymentFactoringAccount? string -
- defaultDimensionDisplayValue? string -
- invoiceAddressStreet? string -
- paymentSpecification? string -
- languageId? string -
- tCSGroup? string -
- deliveryAddressLocationId? string -
- salesSubsegmentId? string -
- salesSegmentId? string -
- organizationNumber? string -
- identificationNumber? string -
- consolidationDay? Signed32 -
- deliveryAddressCountryRegionId? string -
- salesOrderPoolId? string -
- chargesGroupId? string -
- preferentialCustomer? NoYes -
- centralBankPurposeNotes? string -
- primaryContactTwitter? string -
- addressLongitude? decimal -
- primaryContactEmailIsIM? NoYes -
- fulfillmentErrorTolerance? WHSCustFulfillmentErrorTolerance -
- companyChain? string -
- invoiceAddressZipCode? string -
- creditCardAddressVerificationLevel? CreditCardAddressVerificationLevel -
- paymentDay? string -
- invoiceAddressLocationId? string -
- invoiceAddressCountryRegionISOCode? string -
- brazilianNIT? string -
- deliveryAddressCounty? string -
- brazilianCCM? string -
- isRFIDCaseTaggingEnabled? NoYes -
- primaryContactTwitterPurpose? string -
- fullPrimaryAddress? string -
- isFreightAccrued? NoYes -
- addressCountryRegionISOCode? string -
- primaryContactLinkedInPurpose? string -
- personProfessionalTitle? string -
- invoiceAddressCountryRegionId? string -
- nameAlias? string -
- isExcludedFromInterestChargeCalculation? NoYes -
- supplementaryItemGroupId? string -
- primaryContactURLDescription? string -
- invoiceAddressValidFrom? string -
- personGender? Gender -
- deliveryAddressCity? string -
- addressLocationRoles? string -
- invoiceAddressValidTo? string -
- siteId? string -
- customerTMAGroupId? string -
- taxRegistrationId? string -
- pANNumber? string -
- addressDescription? string -
- enterpriseNumber? string -
- paymentUseCashDiscount? UseCashDisc -
- collectionsContactPersonId? string -
- creditCardCVC? CreditCardCVC -
- primaryContactFacebook? string -
- electronicLocationId? string -
- isWithholdingTaxCalculated? NoYes -
- invoiceAccount? string -
- paymentBankAccount? string -
- exportSale? NoYes -
- addressStreet? string -
- onHoldStatus? CustVendorBlocked -
- packingDutyLicense? string -
- calculateWithholdingTax? NoYes -
- nationalRegistryNumber? string -
- invoiceAddressState? string -
- destinationCode? string -
- primaryContactPhonePurpose? string -
- invoiceAddressLongitude? decimal -
- deliveryReason? string -
- iRS1099CIndicator? NoYes -
- dataAreaId? string -
- personAnniversaryYear? Signed32 -
- deliveryAddressValidFrom? string -
- primaryContactPhoneExtension? string -
- federalIndicator? FederalNonFederalIndicatorCode -
- isRFIDItemTaggingEnabled? NoYes -
- salesTaxGroup? string -
- paymentCashDiscount? string -
- commissionCustomerGroupId? string -
- brazilianCNAE? string -
- isOneTimeCustomer? NoYes -
- paymentSchedule? string -
- organizationABCCode? ABC -
- addressTimeZone? Timezone -
- customerPaymentFinancialInterestCode? string -
- personHobbies? string -
- isSalesTaxIncludedInPrices? NoYes -
- giroTypeInterestNote? PaymentStub -
- personInitials? string -
- paymentMethod? string -
- deliveryMode? string -
- deliveryAddressValidTo? string -
- addressValidTo? string -
- deliveryAddressZipCode? string -
- discountPriceGroupId? string -
- accountStatement? CustAccountStatement -
- receiptCalendar? string -
- rFCNumber? string -
- contactPersonId? string -
- knownAs? string -
- primaryContactFacebookPurpose? string -
- creditLimitIsMandatory? NoYes -
- addressCounty? string -
- deliveryAddressDistrictName? string -
- primaryContactLinkedInDescription? string -
- partyState? string -
- centralBankPurposeCode? string -
- salesReturnTaxGroup? string -
- warehouseFulfillmentRate? decimal -
- partyType? string -
- primaryContactTelexPurpose? string -
- foreignCustomer? NoYes -
- invoiceAddressDescription? string -
- addressDistrictName? string -
- giroTypeProjInvoice? PaymentStub -
- partyNumber? string -
- natureOfAssessee? NatureOfAssesseeIN -
- primaryContactFaxDescription? string -
- primaryContactTelex? string -
- isICMSContributor? NoYes -
- isExcludedFromCollectionFeeCalculation? NoYes -
- commissionSalesGroupId? string -
- isExpressBillOfLadingAccepted? NoYes -
- addressState? string -
- deliveryAddressState? string -
- addressLatitude? decimal -
microsoft.dynamics365.finance.customer: CustomerBase
Fields
- salesSubsegmentId? string -
- salesSegmentId? string -
- personPhoneticLastName? string -
- organizationNumber? string -
- primaryContactEmailPurpose? string -
- primaryContactEmail? string -
- personLastNamePrefix? string -
- personMiddleName? string -
- primaryContactPhonePurpose? string -
- name? string -
- personPersonalTitle? string -
- dataAreaId? string -
- primaryContactPhoneDescription? string -
- customerGroupId? string -
- personAnniversaryYear? Signed32 -
- addressCity? string -
- primaryContactTwitterDescription? string -
- addressLongitude? decimal -
- primaryContactTwitter? string -
- addressValidFrom? string -
- personPhoneticMiddleName? string -
- primaryContactPhoneExtension? string -
- primaryContactEmailIsIM? NoYes -
- salesTaxGroup? string -
- personLastName? string -
- primaryContactFax? string -
- organizationABCCode? ABC -
- addressTimeZone? Timezone -
- primaryContactLinkedIn? string -
- personAnniversaryDay? Signed32 -
- customerAccount? string -
- personProfessionalSuffix? string -
- personFirstName? string -
- addressLocationId? string -
- personMaritalStatus? DirPersonMaritalStatus -
- addressCountryRegionId? string -
- primaryContactTwitterPurpose? string -
- addressCountryRegionISOCode? string -
- fullPrimaryAddress? string -
- primaryContactLinkedInPurpose? string -
- organizationPhoneticName? string -
- personProfessionalTitle? string -
- personHobbies? string -
- nameAlias? string -
- personInitials? string -
- paymentMethod? string -
- addressValidTo? string -
- primaryContactURLDescription? string -
- primaryContactFacebookDescription? string -
- addressZipCode? string -
- personGender? Gender -
- personChildrenNames? string -
- addressLocationRoles? string -
- personBirthMonth? MonthsOfYear -
- addressBooks? string -
- addressBrazilianIE? string -
- primaryContactURL? string -
- knownAs? string -
- primaryContactFacebookPurpose? string -
- paymentTerms? string -
- addressBrazilianCNPJOrCPF? string -
- personPhoneticFirstName? string -
- personAnniversaryMonth? MonthsOfYear -
- primaryContactURLPurpose? string -
- partyCountry? string -
- addressCounty? string -
- addressStreetNumber? string -
- primaryContactEmailDescription? string -
- primaryContactLinkedInDescription? string -
- addressDescription? string -
- partyState? string -
- personBirthDay? Signed32 -
- primaryContactPhoneIsMobile? NoYes -
- partyType? string -
- salesCurrencyCode? string -
- primaryContactPhone? string -
- primaryContactTelexDescription? string -
- primaryContactFaxExtension? string -
- primaryContactTelexPurpose? string -
- primaryContactFacebook? string -
- electronicLocationId? string -
- organizationNumberOfEmployees? Signed32 -
- personBirthYear? Signed32 -
- addressDistrictName? string -
- partyNumber? string -
- primaryContactFaxPurpose? string -
- primaryContactFaxDescription? string -
- primaryContactTelex? string -
- addressStreet? string -
- languageId? string -
- addressState? string -
- addressLatitude? decimal -
microsoft.dynamics365.finance.customer: CustomerGroup
Fields
- isSalesTaxIncludedInPrice? NoYes -
- paymentTermId? string -
- description? string -
- taxGroupId? string -
- customerAccountNumberSequence? string -
- accountingCurrencyExchangeRateType? string -
- clearingPeriodPaymentTermName? string -
- dataAreaId? string -
- customerGroupId? string -
- reportingCurrencyExchangeRateType? string -
- defaultDimensionDisplayValue? string -
- isPublicSectorIT? NoYes -
- writeOffReason? string -
microsoft.dynamics365.finance.customer: CustomerGroupsCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *CustomerGroupsCollectionAllOf2
- value CustomerGroup[]
- anydata...
microsoft.dynamics365.finance.customer: CustomerGroupsCollectionAllOf2
Fields
- value? CustomerGroup[] -
microsoft.dynamics365.finance.customer: CustomerParameters
Fields
- creditCardAuthorization? NoYes -
- billOfExchangePostingProfileForProtested? string -
- useFiscalDataFromInvoiceAccount? UseFiscalInvoiceAccount -
- settlementWriteOffJournalName? string -
- generalLedgerEnableCancelPostingProfiles? NoYes -
- tAMRebatePosting? MCRItemCustCatalog -
- collectionsWriteOffIsSalesTaxSeparated? NoYes -
- generalLedgerPostingAccountForDiscount? ItemCust -
- isDateTreatmentOfBillOfExchangeJournalsEnabled? NoYes -
- reasonRequirementForTransactionReversals? NoYes -
- collectionsAgingPeriodDefinition? string -
- collectionsTransactionsToContactEmailTemplateId? string -
- creditCardPostingAccountType? LedgerJournalACType -
- settlementIsPriorityUsed? NoYes -
- billOfExchangePostingProfileForRemitCollection? string -
- settlementWriteOffReasonCode? string -
- generalLedgerIsAmountDebitCreditShown? NoYes -
- settlementSpanBillingCodeAcrossInvoices? NoYes -
- billOfExchangePostingProfileForRemitDiscount? string -
- isIntegrationWithTaxSystemEnabled? NoYes -
- directDebitCoreSchemeDefaultDaysForRecurringBankSubmission? Signed32 -
- editCashDiscountsWhenDueDateChanged? NoYes -
- collectionsWriteOffLedgerJournalName? string -
- markupPeriodChargeRuleIsChargeCodeMatchRequired? NoYes -
- creditCardEstimatedShippingChargeType? CreditCardEstShippingChargeType -
- cashFlowTimeBetweenInvoiceDueDateAndPaymentDate? string -
- maxNumberOfSalesOrdersForPosting? Signed32 -
- interestTransactionsToCalculateFor? CustInterestCalc -
- settlementWriteOffEnabled? NoYes -
- collectionsWriteOffReasonCode? string -
- isValidationOnBillOfExchangeJournalsEnabled? NoYes -
- cashFlowTermsOfPayment? string -
- creditCardEstimatedShippingChargeMaximum? decimal -
- bypassValidationOfAccountingDistributions? NoYes -
- exchAdjRateSource? CustVendExchAdjRateSource -
- generalLedgerEnableReturnPostingProfiles? NoYes -
- invoiceTaxExemptNumberRequirement? TaxVATNumCountryRegionType -
- creditCardNotes? string -
- collectionsAgencyTaxRate? decimal -
- isInvoiceZeroAmount? NoYes -
- collectionLetterCodeUpdate? CustPostedPrinted -
- reversePrepayment? NoYes -
- settlementIsPriorityUsedOnAutoSettlement? NoYes -
- tAMDeductionType? string -
- taxItemGroup? string -
- creditCardPaymentBreakDownProcess? NoYes -
- reasonRequirementForPaymentCancellation? NoYes -
- collectionLetterDisputedTransactionsExcluded? NoYes -
- collectionLetterGenerationLevel? CustCollectionLetterGenerationLevel -
- prepaymentFactureAutoCreate? NoYes -
- invoicePrintCreditInvoicingLayout? NoYes -
- suppressDepreciationOfPaymentSection? NoYes -
- directDebitB2BSchemeDefaultDaysForRecurringBankSubmission? Signed32 -
- settlementProrationTypeForInvoices? CustSettlementProrationType -
- directDebitCor1SchemeDefaultDaysForFirstBankSubmission? Signed32 -
- giroAccountPositions? Signed32 -
- enableDateOfVATRegisterChanging? NoYes -
- settlementMaximumPennyDifference? decimal -
- cashFlowTimeBetweenDeliveryDateAndInvoiceDate? string -
- skipSalesQuotationReferencedDataDuringChangeTracking? NoYes -
- creditCardPostingLedgerDimensionDisplayValue? string -
- collectionsIsReferToCollectionAgencyEnabled? NoYes -
- tAMDeductionCustPaymSettleMethod? TAMDeductionCustPaymSettleMethod -
- interestMaximumDaysAllowedToWaive? Signed32 -
- accountingCurrencyExchangeRateType? string -
- tAMDeductionRequireFullSettle? NoYes -
- reasonRequirementForCreditNotes? NoYes -
- markupPeriodChargeBatchHelpers? Signed32 -
- markupValueBase? MarkupValueBase -
- directDebitB2BSchemeDefaultDaysForFirstBankSubmission? Signed32 -
- creditCardPostingBankTransactionType? string -
- directDebitDefaultDaysForRecurringPrenotification? Signed32 -
- directDebitMandateDefaultExpirationInMonths? Signed32 -
- salesReturnDeliverRemainderPolicy? SalesReturnDeliverRemainderPolicy -
- deductionsReturnOrderInvoiceTolerance? ErrorTolerance -
- cashDiscountIsCalculatedForPartialPayments? NoYes -
- replaceAlternativeItemLineDefaults? NoYes -
- collectionsGracePeriodForDuesTransfer? Signed32 -
- invoicePrintPackagingWeight? NoYes -
- cashFlowPercentageOfAmountToAllocateToCashFlowForecast? string -
- creditCardEnableIdempotencyKey? NoYes -
- creditLimitCheckType? TypeOfCreditmaxCheck -
- generalLedgerPostingProfile? string -
- deductionsReturnOrderCreate? NoYes -
- freeTextInvoiceStopInvoicePostingOnFirstError? NoYes -
- generalLedgerPostingAccountForRevenue? ItemCust -
- collectionsTeamPartyNumber? string -
- dataAreaId? string -
- creditCardAuthTransArchiveThreshold? Signed32 -
- customerIsBillingClassificationUsed? NoYes -
- markupPeriodChargeRuleQtyThresholdMatch? MarkupPeriodChargeRuleQtyThresholdMatch -
- salesEntityCalculateLineAmount? NoYes -
- reasonRequirementForReturnOrders? NoYes -
- deductionsCustClaimJournalName? string -
- changeProposalIsEnabled? NoYes -
- freeTextInvoiceOverrideSalesTax? NoYes -
- settlementInvoiceLinePrioritizationMethod? CustInvoiceLinePriority -
- cashDiscountReasonCode? string -
- collectionsStatementToContactEmailTemplateId? string -
- settlePrepaymentVATType? CustSettlePrepaymentVATTypeRU -
- entryCertificateIsIssuingEnabled? NoYes -
- creditLimitMessageTypeShownWhenExceeding? CreditLineErrorType -
- collectionsTransactionsToSalespersonEmailTemplateId? string -
- useSequentialLineNumbersWhenPostingCustomerInvoiceLines? NoYes -
- taxGroup? string -
- freeTextInvoiceCanEditLedgerAccountForProject? NoYes -
- directDebitCoreSchemeDefaultDaysForFirstBankSubmission? Signed32 -
- applyPriceDiscOnSalesLineEntity? NoYes -
- freeTextInvoiceIsItemTaxGroupMandatory? NoYes -
- prepaymentPostingProfile? string -
- creditCardEstimatedShippingChargeValue? decimal -
- prepaymentCalculateTax? NoYes -
- primaryRelation? ItemCust -
- generalLedgerDefaultDimensionHierarchy? MCRItemCustCatalog -
- isMarkupCalculationPerInvoiceForSummaryUpdateEnabled? NoYes -
- paymentProposalWarnWhenMultipleMethodsOfPayment? NoYes -
- customerIsConsolidatedInvoiceUsed? NoYes -
- customerDefaultOneTimeAccount? string -
- cashDiscountIsCalculatedForCreditNotes? NoYes -
- directDebitDefaultDaysForFirstPrenotification? Signed32 -
- cashDiscountAdministration? UnspecificSpecific -
- settlementAutoSettleEnabled? NoYes -
- invoiceIsCreditNotePostedAsCorrection? NoYes -
- markupPeriodChargeRuleSiteLocationMatch? MarkupPeriodChargeRuleSiteLocationMatch -
- cashFlowLiquidityAccountForPaymentsDisplayValue? string -
- reportingCurrencyExchangeRateType? string -
- initializeAttributeBasedPricingID? NoYes -
- cashDiscountIsCreditNotePosted? NoYes -
- collectionLetterIgnoreCreditTransactionCodes? NoYes -
- changeProposalDataEntityBehavior? CustTableChangeProposalDataEntityBehavior -
- entryCertificateIsManagementEnabled? NoYes -
- settlementMaximumOverUnderPayment? decimal -
- defaultFilterForCustomerTransactions? CustVendShowTransaction -
- isTotalsCalculationAutomatic? NoYes -
- cashDiscountIsCalculatedOnAmountInclSalesTax? NoYes -
- customerTaxExemptNumberRequirement? TaxVATNumCountryRegionType -
- defaultLanguage? CustLanguageAccountType -
- creditLimitIsCheckedOnSalesOrder? NoYes -
- isMarkupResearchPriorPostingEnabled? NoYes -
- customerIsTaxGroupMandatory? NoYes -
- skipReferencedDataDuringChangeTracking? NoYes -
- creditLimitIsCheckedOnFreeTextInvoice? NoYes -
- directDebitCor1SchemeDefaultDaysForRecurringBankSubmission? Signed32 -
- settlementMarkOpenInvoiceLine? NoYes -
- customerMinimumRefund? decimal -
- priceDetailsEnabledForSalesDocuments? NoYes -
- preserveImportedSalesOrderLineNumbers? NoYes -
- creditCardAuthorizationLastNumberOfDays? Signed32 -
- deductionsReturnOrderPreApproval? NoYes -
- creditCardCostCenterDimensionAttribute? string -
- generalLedgerPostingAccountForConsumption? ItemCust -
- interestAdjustmentDateToUse? CustInterestAdjustmentDateToUse -
- freeTextInvoiceIsProjectEnabled? NoYes -
- interestMinimumDaysToAllowWaiving? Signed32 -
- totalDiscountIsCalculatedOnPosting? NoYes -
- billOfExchangePostingProfileForEndorsed? string -
- billOfExchangePostingProfile? string -
microsoft.dynamics365.finance.customer: CustomerParametersCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *CustomerParametersCollectionAllOf2
- value CustomerParameters[]
- anydata...
microsoft.dynamics365.finance.customer: CustomerParametersCollectionAllOf2
Fields
- value? CustomerParameters[] -
microsoft.dynamics365.finance.customer: CustomersBaseCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *CustomersBaseCollectionAllOf2
- value CustomerBase[]
- anydata...
microsoft.dynamics365.finance.customer: CustomersBaseCollectionAllOf2
Fields
- value? CustomerBase[] -
microsoft.dynamics365.finance.customer: CustomersCollection
Fields
- Fields Included from *ODataCollection
- Fields Included from *CustomersCollectionAllOf2
- value Customer[]
- anydata...
microsoft.dynamics365.finance.customer: CustomersCollectionAllOf2
Fields
- value? Customer[] -
microsoft.dynamics365.finance.customer: DeleteCustomerGroupsHeaders
Represents the Headers record for the operation: deleteCustomerGroups
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: DeleteCustomerParametersHeaders
Represents the Headers record for the operation: deleteCustomerParameters
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: DeleteCustomersBaseHeaders
Represents the Headers record for the operation: deleteCustomersBase
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: DeleteCustomersHeaders
Represents the Headers record for the operation: deleteCustomers
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: GetCustomerGroupsQueries
Represents the Queries record for the operation: getCustomerGroups
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: GetCustomerParametersQueries
Represents the Queries record for the operation: getCustomerParameters
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: GetCustomersBaseQueries
Represents the Queries record for the operation: getCustomersBase
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: GetCustomersQueries
Represents the Queries record for the operation: getCustomers
Fields
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: ListCustomerGroupsQueries
Represents the Queries record for the operation: listCustomerGroups
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: ListCustomerParametersQueries
Represents the Queries record for the operation: listCustomerParameters
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: ListCustomersBaseQueries
Represents the Queries record for the operation: listCustomersBase
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: ListCustomersQueries
Represents the Queries record for the operation: listCustomers
Fields
- skip? int - OData $skip query parameter - number of records to skip
- top? int - OData $top query parameter - maximum number of records to return
- filter? string - OData $filter query parameter - filter expression
- orderby? string - OData $orderby query parameter - sort order expression
- expand? string - OData $expand query parameter - comma-separated list of related entities to include
- crossCompany? boolean - When true, query results include records from all companies
- count? boolean - When true, the response includes the total count of matching records
- 'select? string - OData $select query parameter - comma-separated list of fields to return
microsoft.dynamics365.finance.customer: OAuth2ClientCredentialsGrantConfig
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string(default "https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token") - Token URL
microsoft.dynamics365.finance.customer: ODataCollection
Fields
- odataNextLink? string -
- odataCount? int -
- odataContext? string -
microsoft.dynamics365.finance.customer: UpdateCustomerGroupsHeaders
Represents the Headers record for the operation: updateCustomerGroups
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: UpdateCustomerParametersHeaders
Represents the Headers record for the operation: updateCustomerParameters
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: UpdateCustomersBaseHeaders
Represents the Headers record for the operation: updateCustomersBase
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
microsoft.dynamics365.finance.customer: UpdateCustomersHeaders
Represents the Headers record for the operation: updateCustomers
Fields
- ifMatch? string - ETag value for optimistic concurrency; prevents overwriting concurrent modifications
Union types
microsoft.dynamics365.finance.customer: UseFiscalInvoiceAccount
UseFiscalInvoiceAccount
microsoft.dynamics365.finance.customer: LedgerJournalACType
LedgerJournalACType
microsoft.dynamics365.finance.customer: MarkupValueBase
MarkupValueBase
microsoft.dynamics365.finance.customer: CreditCardAddressVerification
CreditCardAddressVerification
microsoft.dynamics365.finance.customer: CustCollectionLetterGenerationLevel
CustCollectionLetterGenerationLevel
microsoft.dynamics365.finance.customer: CustPostedPrinted
CustPostedPrinted
microsoft.dynamics365.finance.customer: Quarter
Quarter
microsoft.dynamics365.finance.customer: DirPersonMaritalStatus
DirPersonMaritalStatus
microsoft.dynamics365.finance.customer: CustWhtContributionTypeBR
CustWhtContributionTypeBR
microsoft.dynamics365.finance.customer: CustVendShowTransaction
CustVendShowTransaction
microsoft.dynamics365.finance.customer: CreditLineErrorType
CreditLineErrorType
microsoft.dynamics365.finance.customer: CustSettlementProrationType
CustSettlementProrationType
microsoft.dynamics365.finance.customer: WHSCustFulfillmentErrorTolerance
WHSCustFulfillmentErrorTolerance
microsoft.dynamics365.finance.customer: CustVendorBlocked
CustVendorBlocked
microsoft.dynamics365.finance.customer: ABC
ABC
microsoft.dynamics365.finance.customer: ErrorTolerance
ErrorTolerance
microsoft.dynamics365.finance.customer: NatureOfAssesseeIN
NatureOfAssesseeIN
microsoft.dynamics365.finance.customer: CustSettlePrepaymentVATTypeRU
CustSettlePrepaymentVATTypeRU
microsoft.dynamics365.finance.customer: TAMDeductionCustPaymSettleMethod
TAMDeductionCustPaymSettleMethod
microsoft.dynamics365.finance.customer: MarkupPeriodChargeRuleQtyThresholdMatch
MarkupPeriodChargeRuleQtyThresholdMatch
microsoft.dynamics365.finance.customer: CustVendExchAdjRateSource
CustVendExchAdjRateSource
microsoft.dynamics365.finance.customer: RetailReceiptOptionBase
RetailReceiptOptionBase
microsoft.dynamics365.finance.customer: PaymentStub
PaymentStub
microsoft.dynamics365.finance.customer: WHSFulfillmentType
WHSFulfillmentType
microsoft.dynamics365.finance.customer: MonthsOfYear
MonthsOfYear
microsoft.dynamics365.finance.customer: CustInterestAdjustmentDateToUse
CustInterestAdjustmentDateToUse
microsoft.dynamics365.finance.customer: ItemCust
ItemCust
microsoft.dynamics365.finance.customer: EFDocPresenceTypeBR
EFDocPresenceTypeBR
microsoft.dynamics365.finance.customer: MarkupPeriodChargeRuleSiteLocationMatch
MarkupPeriodChargeRuleSiteLocationMatch
microsoft.dynamics365.finance.customer: Timezone
Timezone
microsoft.dynamics365.finance.customer: CreditCardCVC
CreditCardCVC
microsoft.dynamics365.finance.customer: CreditCardAddressVerificationLevel
CreditCardAddressVerificationLevel
microsoft.dynamics365.finance.customer: CompanyTypeMX
CompanyTypeMX
microsoft.dynamics365.finance.customer: MCRItemCustCatalog
MCRItemCustCatalog
microsoft.dynamics365.finance.customer: PANStatusIN
PANStatusIN
microsoft.dynamics365.finance.customer: UnspecificSpecific
UnspecificSpecific
microsoft.dynamics365.finance.customer: Gender
Gender
microsoft.dynamics365.finance.customer: FederalNonFederalIndicatorCode
FederalNonFederalIndicatorCode
microsoft.dynamics365.finance.customer: CreditCardEstShippingChargeType
CreditCardEstShippingChargeType
microsoft.dynamics365.finance.customer: TaxVATNumCountryRegionType
TaxVATNumCountryRegionType
microsoft.dynamics365.finance.customer: CustLanguageAccountType
CustLanguageAccountType
microsoft.dynamics365.finance.customer: SalesReturnDeliverRemainderPolicy
SalesReturnDeliverRemainderPolicy
microsoft.dynamics365.finance.customer: CustAccountStatement
CustAccountStatement
microsoft.dynamics365.finance.customer: UseCashDisc
UseCashDisc
microsoft.dynamics365.finance.customer: InvoiceOrderAccount
InvoiceOrderAccount
microsoft.dynamics365.finance.customer: CustInvoiceLinePriority
CustInvoiceLinePriority
microsoft.dynamics365.finance.customer: TypeOfCreditmaxCheck
TypeOfCreditmaxCheck
microsoft.dynamics365.finance.customer: NoYes
NoYes
microsoft.dynamics365.finance.customer: CustInterestCalc
CustInterestCalc
microsoft.dynamics365.finance.customer: CustTableChangeProposalDataEntityBehavior
CustTableChangeProposalDataEntityBehavior
Import
import ballerinax/microsoft.dynamics365.finance.customer;Other versions
0.8.0
Metadata
Released date: 2 days ago
Version: 0.8.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.0
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
Name/Microsoft Dynamics 365 Finance Customer
Area/Accounts Receivable
Vendor/Microsoft
Dynamics365
Finance
ERP
Type/Connector
Customer
AccountsReceivable
AR
Contributors