import { Entity, DefaultDeSerializers, DeSerializers, DeserializedType } from '@sap-cloud-sdk/odata-v2'; /** * See https://api.sap.com/api/API_JOURNALENTRYITEMBASIC_SRV for more information. */ export declare class CompanyCode extends Entity implements CompanyCodeType { /** * Technical entity name for CompanyCode. */ static _entityName: string; /** * Default url path for the according service. */ static _defaultServicePath: string; /** * All key fields of the CompanyCode entity */ static _keys: string[]; /** * Company Code. * The company code is an organizational unit within financial accounting. * Maximum length: 4. */ companyCode: DeserializedType; /** * Name of Company Code or Company. * Maximum length: 25. * @nullable */ companyCodeName?: DeserializedType | null; /** * City. * City name in an address. * Maximum length: 25. * @nullable */ cityName?: DeserializedType | null; /** * Country Key. * The country key contains information which the system uses to check entries such as the length of the postal code or bank account number. * The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key.The country keys are determined at system installation in the global settings.The definition of the country key in the SAP system does not have to match political or government entities.Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA. * Maximum length: 3. * @nullable */ country?: DeserializedType | null; /** * Currency Key. * Currency key for amounts in the system. * Maximum length: 5. * @nullable */ currency?: DeserializedType | null; /** * Language Key. * The language key indicates * - the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. * Maximum length: 2. * @nullable */ language?: DeserializedType | null; /** * Chart of Accounts. * Key that uniquely identifies a chart of accounts. * Maximum length: 4. * @nullable */ chartOfAccounts?: DeserializedType | null; /** * Fiscal Year Variant. * The fiscal year variant is used to define the fiscal year. * You can define the following using a fiscal year variant:How many posting periods are in a fiscal yearHow many special periods you requireHow the system determines the posting periods when postingIn the definition, you allocate your posting periods to the calendar year.Allocation control requires the same number of posting periods in the company code and in the assigned controlling area.This means that the number of posting periods in the fiscal year variants must be the same in the company code and in the controlling area. The period limits for the two fiscal year variants must also coincide.You must define which fiscal year variant is to be used for each company code. To do this, you must define the appropriate fiscal year variant. It must contain no more than 16 periods.Note:The company codes delivered with the standard system are allocated to the fiscal year variant that corresponds to the calendar year and which also uses four special periods.You define fiscal year variants as well as the allocation of fiscal year variant to the company code in Financial Accounting customizing. * Maximum length: 2. * @nullable */ fiscalYearVariant?: DeserializedType | null; /** * Company. * Unique company ID of a company within your corporate group. * Maximum length: 6. * @nullable */ company?: DeserializedType | null; /** * Credit Control Area. * The credit control area is an organizational entity which grants and monitors a credit limit for customers. A credit control area can include one or more company codes. * You can also enter the credit control area separately for each posting, if this was marked in the appropriate company code.When entering an order, the credit control area can also be determined from the business area and the sales area segement of the payer's master record or using a user exit.It follows that company codes and credit control areas are not linked.The only thing that you define in the company code table is the default credit control area. This is used either for payments on account to credit these payments, or where you did not enter a credit control area or the system could not determine one.There is also an allocation table of permitted credit control areas per company code which is used to check entries only. * Maximum length: 4. * @nullable */ creditControlArea?: DeserializedType | null; /** * Chart of Accounts According to Country Legislation. * The country chart of accounts represents the account structure prescribed under national regulations. * The usage is optional and only necessary where the chart of accounts you are using is not allowed under national regulations.You might want to use a standard chart of accounts worldwide. However, the usage of another chart of accounts is required by law in some company codes. By using the Alternative account number, the connection between the account in the worldwide standard chart of accounts and the account in the country chart of accounts can be set up.The essential programs in General Ledger can output either the unique worldwide number or the country-specific number and the corresponding text. * Maximum length: 4. * @nullable */ countryChartOfAccounts?: DeserializedType | null; /** * Financial Management Area. * Key identifying an FM area. * An FM area is an organizational unit which plans, controls and monitors funds and commitment budgets. * Maximum length: 4. * @nullable */ financialManagementArea?: DeserializedType | null; /** * Address. * Identification of an address (name, postal code, city, and so on) in Business Address Services. * Maximum length: 10. * @nullable */ addressId?: DeserializedType | null; /** * Sales/Purchases Tax Group. * The taxes on sales/purchases group specifies a taxable entity consisting of one or more company codes within a client. A single advance report for tax on sales/purchases is made for all the company codes forming this entity. * Maximum length: 4. * @nullable */ taxableEntity?: DeserializedType | null; /** * VAT Registration Number. * VAT registration number (VAT reg.no.) of the customer, vendor or your company code. * The VAT registration number is used within the EU for tax-exempt deliveries for the "EC sales list". The check rules are defined for each EU country and cannot be changed. * Maximum length: 20. * @nullable */ vatRegistration?: DeserializedType | null; /** * Indicator: Extended Withholding Tax Active. * If you select this indicator, you activate extended withholding tax processing. * You then need to convert master data and transaction data and make further Customizing settings for financial accounting.Once you have activated extended withholding tax, you cannot return to using previous withhholding tax processing. * @nullable */ extendedWhldgTaxIsActive?: DeserializedType | null; /** * Controlling Area. * Uniquely identifies a controlling area. * The controlling area is the highest organizational unit in Controlling.Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary. * Maximum length: 4. * @nullable */ controllingArea?: DeserializedType | null; /** * Field Status Variant. * A field status variant groups together several field status groups. You assign a field status variant to each company code. * The field status group specifies which fields are ready for input, which fields must be filled or which fields are suppressed when entering documents. This specification is known as the field status. * Maximum length: 4. * @nullable */ fieldStatusVariant?: DeserializedType | null; /** * Output Tax Code for Non-Taxable Transactions. * Output tax code which is used when posting non-taxable transactions to tax-relevant accounts from the Accounting interface. * For the taxation procedure with jurisdiction codes, a jurisdiction code which can be generally used must still be provided.As an alternative, it is possible to set an indicator in the G/L account master record which permits transactions "not relevant to tax" to be posted even without a tax code. * Maximum length: 2. * @nullable */ nonTaxableTransactionTaxCode?: DeserializedType | null; /** * Indicator: Document Date As the Basis for Tax Determination. * The tax percentage rates are dependent on the date in the case of the taxation procedure for jurisdiction codes and time-dependent tax calculation. The posting date is generally used for determination. If you want to determine the tax percentage rates by using the document date, then you can set this here. * @nullable */ docDateIsUsedForTaxDetn?: DeserializedType | null; /** * Tax Reporting Date Active in Documents. * @nullable */ taxRptgDateIsActive?: DeserializedType | null; } export interface CompanyCodeType { companyCode: DeserializedType; companyCodeName?: DeserializedType | null; cityName?: DeserializedType | null; country?: DeserializedType | null; currency?: DeserializedType | null; language?: DeserializedType | null; chartOfAccounts?: DeserializedType | null; fiscalYearVariant?: DeserializedType | null; company?: DeserializedType | null; creditControlArea?: DeserializedType | null; countryChartOfAccounts?: DeserializedType | null; financialManagementArea?: DeserializedType | null; addressId?: DeserializedType | null; taxableEntity?: DeserializedType | null; vatRegistration?: DeserializedType | null; extendedWhldgTaxIsActive?: DeserializedType | null; controllingArea?: DeserializedType | null; fieldStatusVariant?: DeserializedType | null; nonTaxableTransactionTaxCode?: DeserializedType | null; docDateIsUsedForTaxDetn?: DeserializedType | null; taxRptgDateIsActive?: DeserializedType | null; } //# sourceMappingURL=CompanyCode.d.ts.map