Table
TaxProfileTable_CN
Tax integration profiles
Holds tax integration profiles, used for China. A profile is identified by a profile ID. It sets how invoices are exported, including file format, separators and date format. It also sets limits on invoice amount and lines, default commodity and tax code, responsible workers, and links to format mappings.
- Table name
TaxProfileTable_CN- Module
Tax- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
None- Replacement key
ProfileIdx- Key fields
ProfileId- Model
Foundation
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProfileIdUnique ID of the profile. | String (20)TaxProfileId_CN | Yes | None | |
CommentSymbolSymbol used to mark comments in the exported file. | EnumTaxCommentSymbol_CN (enum) | No | None | |
CommodityCodeDefault commodity code for invoice lines that have no item, such as free text invoices. | String (20)TaxProfileCommodityCode_CN | No | None | |
CommodityHierachyPoints to the category hierarchy used for commodity codes. | Int64EcoResCategoryHierarchyId | No | EcoResCategoryHierarchy.RecId | None |
CreditNoteMemoMemo text format used for credit notes. | EnumCreditNoteMemo_CN (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateFormatDate format used in the export, such as YYYY-MM-DD or YYYYMMDD. | EnumTaxDateFormat_CN (enum) | No | None | |
DefaultCommodityDefault commodity code used by the profile. | StringItemCodeStr | No | None | |
DirectExportShows whether documents are exported straight after posting (yes or no). | EnumTaxExportDirect_CNNoYes (enum) | No | None | |
DisplaySignWhether amounts are shown as positive or negative. | EnumTaxDisplaySign_CN (enum) | No | None | |
ExportFormatMappingPoints to the format mapping used for export. | Int64ERFormatMappingID | No | ERFormatMappingTable.RecId | None |
ImportModelMappingPoints to the model mapping used for the import format. | Int64ERModelMappingID | No | ERModelMappingTable.RecId | None |
IncludeTaxShows whether amounts include tax (yes or no). | EnumTaxIncludeAmount_CNNoYes (enum) | No | None | |
InvoiceAuditorWorkerWorker who acts as invoice auditor. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
IsAddMiscChargesShows whether line charges are added into the exported invoice lines (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
IsDuplicatedVATInvNumAllowedShows whether duplicate VAT invoice numbers are allowed (yes or no). | EnumNoYes (enum) | No | None | |
IsNonDeductibleVATInvoiceShows whether the VAT invoices are non-deductible (yes or no). | EnumNoYes (enum) | No | None | |
IsSplitDuringPostingShows whether invoices are split during posting (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
IsValidateAmountLimitShows whether the amount limit is checked (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
MaxInvoiceAmountLargest amount allowed on one invoice. | RealAmount | No | None | |
MaxInvoiceLinesLargest number of lines allowed on one invoice. | IntegerInteger | No | None | |
NameName of the profile. | String (60)Name | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCollectorWorkerWorker who acts as payment collector. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SeparatorCharacter used to separate values in the exported file. | EnumTaxSeparator_CN (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxCodeSales tax code linked to the profile. | StringTaxCode | No | TaxTable.TaxCode | None |
TaxRateTax value (rate) of the profile. | RealTaxValue | No | None |
Indexes (2)
Relations (6)
Each relation joins TaxProfileTable_CN to another table on the fields shown.
InvoiceAuditor→HcmWorkerJoin on
InvoiceAuditorWorker = HcmWorker.RecIdMany TaxProfileTable_CN records → zero or one HcmWorker record
PaymentCollector→HcmWorkerJoin on
PaymentCollectorWorker = HcmWorker.RecIdMany TaxProfileTable_CN records → zero or one HcmWorker record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeZero or one TaxProfileTable_CN record → zero or one TaxTable record
ExportFormatMapping→ERFormatMappingTableJoin on
ExportFormatMapping = ERFormatMappingTable.RecIdMany TaxProfileTable_CN records → zero or one ERFormatMappingTable record
CommodityHierarchy→EcoResCategoryHierarchyJoin on
CommodityHierachy = EcoResCategoryHierarchy.RecIdMany TaxProfileTable_CN records → exactly one EcoResCategoryHierarchy record
ImportModelMapping→ERModelMappingTableJoin on
ImportModelMapping = ERModelMappingTable.RecIdMany TaxProfileTable_CN records → zero or one ERModelMappingTable record
Get this data out
No public entity reads from TaxProfileTable_CN. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxProfileTable_CN in a report, an integration or a migration? Talk to Dr Dynamics.