Materials Management | Material GL Account Determination
The Material GL Account Determination endpoint represents a list of materials gl accounts.
Overview
| URL | api/{tenantKey}/{orgKey}/materialsCore/materialGLAccountDeterminations |
| Methods Supported | GET |
All Operations
This service includes the following operations:
All Resources
This service uses the following resources:
GET Get Material GL Accounts
The service to get the materials GL account.
The following elements are required:
| itemAccountTypeKey | (string) The account type key of the item.(optional). |
| chartOfAccountKey | (string) The chart of Account key.(optional). |
| itemtaxSchemaKey | (string) The item tax schema.(optional). |
| partyTaxSchemaKey | (string) The party tax schema. (optional). |
Response:
| When successful, the response body contains a resource of type 'MaterialsGLAccountResource'. See MaterialsGLAccountResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
api/{tenantKey}/{orgKey}/materialsCore/materialGLAccountDeterminations/getMaterialGLAccounts
GET /materialsCore/materialGLAccountDeterminations/getMaterialGLAccounts
Resources
MaterialsGLAccountResource
The following elements are optional:
| stockAccountId | (Guid) The Id of the GL account that is going to be used in stock movements. |
| stockAccountKey | (string) The Key of the GL account that is going to be used in stock movements. |
| stockAccountDescription | (string) The Description of the GL account that is going to be used in stock movements. |
| cOGSAccountId | (Guid) The Id of the GL account that is going to be used in Costs Of Good Sold movements. |
| cOGSAccountKey | (string) The Key of the GL account that is going to be used in Costs Of Good Sold movements. |
| cOGSAccountDescription | (string) The Description of the GL account that is going to be used in Costs Of Good Sold movements. |
| priceDifAccountId | (Guid) The Id of the GL account that is going to be used in price difference movements. |
| priceDifAccountKey | (string) The Key of the GL account that is going to be used in price difference movements. |
| priceDifAccountDescription | (string) The Description of the GL account that is going to be used in price difference movements. |
| purchasesAccountId | (Guid) The Id of the GL account that is going to be used in purchases movements. |
| purchasesAccountKey | (string) The Key of the GL account that is going to be used in purchases movements. |
| purchasesAccountDescription | (string) The Description of the GL account that is going to be used in purchases movements. |
| purchasesReturnsAccountId | (Guid) The Id of the GL account that is going to be used in purchases return movements. |
| purchasesReturnsAccountKey | (string) The Key of the GL account that is going to be used in purchases return movements. |
| purchasesReturnsAccountDescription | (string) The Description of the GL account that is going to be used in purchases return movements. |
| inTransitAccountId | (Guid) The Id of the GL account that is going to be used in transit movements. |
| inTransitAccountKey | (string) The Key of the GL account that is going to be used in transit movements. |
| inTransitAccountDescription | (string) The Description of the GL account that is going to be used in transit movements. |
| purchasesOffsetAccountId | (Guid) The Id of the GL account that is going to be used in purchases offset movements. |
| purchasesOffsetAccountKey | (string) The Key of the GL account that is going to be used in purchases offset movements. |
| purchasesOffsetAccountDescription | (string) The Description of the GL account that is going to be used in purchases offset movements. |
| purchasesReturnsOffsetAccountId | (Guid) The Id of the GL account that is going to be used in purchases return offset movements. |
| purchasesReturnsOffsetAccountKey | (string) The Key of the GL account that is going to be used in purchases return offset movements. |
| purchasesReturnsOffsetAccountDescription | (string) The Description of the GL account that is going to be used in purchases return offset movements. |
| gRIRAccountDebitId | (Guid) The Id of the GL account that is going to be used in GRIRA debit movements. |
| gRIRAccountDebitKey | (string) The Key of the GL account that is going to be used in GRIRA debit movements. |
| gRIRAccountDebitDescription | (string) The Description of the GL account that is going to be used in GRIRA debit movements. |
| gRIRAccountCreditId | (Guid) The Id of the GL account that is going to be used in GRIRA credit movements. |
| gRIRAccountCreditKey | (string) The Key of the GL account that is going to be used in GRIRA credit movements. |
| gRIRAccountCreditDescription | (string) The Description of the GL account that is going to be used in GRIRA credit movements. |
| itemTaxSchemaId | (Guid) The item tax schema Id. |
| itemTaxSchemaKey | (string) The item tax schema Key. |
| itemTaxSchemaDescription | (string) The item tax schema Description. |
| partyTaxSchemaId | (Guid) The party tax schema Id. |
| partyTaxSchemaKey | (string) The party tax schema Key. |
| partyTaxSchemaDescription | (string) The party tax schema Description. |