/* ; TAXCON.wsml ; ; Message definition for Tax control (TAXCON) message ; ; Zhangbing Zhou ; March 2007 */ wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-rule" namespace { _"http://tripcom.org/ontologies/EDI/EDIFACT/EDIFICE/TAXCON#", eancom _"http://tripcom.org/ontologies/EDI/EDIFACT/EANCOM#", edi _"http://tripcom.org/ontologies/EDI/EDI_Format#", edifact _"http://tripcom.org/ontologies/EDI/EDIFACT#", ds _"http://tripcom.org/ontologies/EDI/EDIFACT/DataSegments#", scr _"http://tripcom.org/ontologies/EDI/ScRestrict#", mt _"http://tripcom.org/ontologies/EDI/EDIFACT/MessageType#", fc _"http://tripcom.org/ontologies/EDI/EDI_FormatCodes#", dc _"http://purl.org/dc/elements/1.1#" } ontology _"http://tripcom.org/ontologies/EDI/EDIFACT/EANCOM/TAXCON" nonFunctionalProperties dc#title hasValue "EANCOM TAXCON message format WSML version" dc#subject hasValue "EANCOM TAXCON message" dc#description hasValue "Description of TAXCON message format for EANCOM" dc#contributor hasValue { _"http://www.deri.ie/about/team/member/najeeb_elahi/" } dc#date hasValue "2007-02-27" dc#type hasValue _"http://www.wsmo.org/2004/d2/v1.0/#ontologies" dc#format hasValue "text/plain" dc#language hasValue "en-US" dc#rights hasValue _"http://www.deri.org/privacy.html" version hasValue "$Revision: 1.15 $" endNonFunctionalProperties // main for the message instance TAXCON_TLF121 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "TAXCON" // = Tax control message instance TAXCON_TLF125 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 2 edi#dataStructure1Line3 hasValue 5 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "EAN004" // = EAN version control number (EAN Code) instance TAXCON_TLF211 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "938" // = Tax declaration (general) instance TAXCON_TLF23 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 3 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "9" // = Original edi#value1 hasValue "31" // = Copy instance TAXCON_TLF311 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "137" // = Document/message date/time edi#value1 hasValue "155" // = Accounting period start date edi#value1 hasValue "156" // = Accounting period end date edi#value1 hasValue "165" // = Tax period start date edi#value1 hasValue "166" // = Tax period end date edi#value1 hasValue "263" // = Invoicing period edi#value1 hasValue "322" // = Accounting period edi#value1 hasValue "325" // = Tax period instance TAXCON_TLF61 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 6 edi#dataStructure1Line2 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "D" // = Header/detail section separation instance TAXCON_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_M1 edi#formatFor3rdComponent hasValue fc#FC_M5 edi#formatFor4thComponent hasValue fc#FC_O5 edi#formatFor5thComponent hasValue fc#FC_M5 edi#formatFor6thComponent hasValue fc#FC_M1 edi#formatFor7thComponent hasValue fc#FC_M9999 edi#formatFor8thComponent hasValue fc#FC_M1 instance TAXCONFormatDescriptor memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for Tax control (TAXCON) message" endNonFunctionalProperties edi#formats1stComponent hasValue ds#UNH_DS edi#formats2ndComponent hasValue ds#BGM_DS edi#formats3rdComponent hasValue ds#DTM_DS edi#formats4thComponent hasValue TAXCON_Loop1 edi#formats5thComponent hasValue TAXCON_Loop2 edi#formats6thComponent hasValue ds#UNS_DS edi#formats7thComponent hasValue TAXCON_Loop3 edi#formats8thComponent hasValue ds#UNT_DS instance mt#TAXCONMessage memberOf edi#MessageType nonFunctionalProperties dc#description hasValue "FormatDescriptor for Tax control (TAXCON) message" endNonFunctionalProperties edi#messageCode hasValue "TAXCON" edi#hasFormat hasValue TAXCON_TSF edi#hasFormatDescriptor hasValue TAXCONFormatDescriptor edi#hasTLFormatRestriction hasValue TAXCON_TLF121 edi#hasTLFormatRestriction hasValue edifact#UNH_D_TLF edi#hasTLFormatRestriction hasValue edifact#UNH_01B_TLF edi#hasTLFormatRestriction hasValue edifact#UNH_UN_TLF edi#hasTLFormatRestriction hasValue TAXCON_TLF125 edi#hasTLFormatRestriction hasValue scr#F_TLF13 edi#hasTLFormatRestriction hasValue TAXCON_TLF211 edi#hasTLFormatRestriction hasValue TAXCON_TLF23 edi#hasTLFormatRestriction hasValue scr#F_TLF24 edi#hasTLFormatRestriction hasValue TAXCON_TLF311 edi#hasTLFormatRestriction hasValue TAXCON_TLF61 // TAXCON_Loop1 - main for the message instance TAXCON_Loop1_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop 1 message (TAXCON_Loop1)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#RFF_DS edi#formats2ndComponent hasValue ds#DTM_DS instance IFTSTA_Loop1 memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O5_Format edi#hasFormatDescriptor hasValue TAXCON_Loop1_FD edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue eancom#RFF_DTM_TLF211 // TAXCON_Loop2 - main for the message instance TAXCON_Loop2_TLF211 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "YC1" // = Additional party identification (EAN Code) edi#value1 hasValue "FC" // = Fiscal number edi#value1 hasValue "GN" // = Government reference number edi#value1 hasValue "VA" // = VAT registration number edi#value1 hasValue "XA" // = Company/place registration number instance TAXCON_Loop2_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop 2 message (TAXCON_Loop2)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#NAD_DS edi#formats2ndComponent hasValue ds#RFF_DS instance TAXCON_Loop2 memberOf edi#DataSegmentLoop edi#hasFormat hasValue fc#M1_O1_Format edi#hasFormatDescriptor hasValue TAXCON_Loop2_FD edi#hasTLFormatRestriction hasValue eancom#NAD_TLF123 edi#hasTLFormatRestriction hasValue eancom#TAXCON_Loop2_TLF211 edi#hasTLFormatRestriction hasValue scr#R_TLF212 // TAXCON_Loop3 - main for the message instance TAXCON_Loop3_TLF111 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_Value edi#value1 hasValue "ALL" // = Message batch number instance TAXCON_Loop3_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_O5 edi#formatFor3rdComponent hasValue fc#FC_M9 instance TAXCON_Loop3_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop 3 message (TAXCON_Loop3)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#RFF_DS edi#formats2ndComponent hasValue ds#DTM_DS edi#formats3rdComponent hasValue TAXCON_Loop4 instance TAXCON_Loop3 memberOf edi#DataSegmentLoop edi#hasFormat hasValue TAXCON_Loop3_TSF edi#hasFormatDescriptor hasValue TAXCON_Loop3_FD edi#hasTLFormatRestriction hasValue TAXCON_Loop3_TLF111 edi#hasTLFormatRestriction hasValue scr#R_TLF112 edi#hasTLFormatRestriction hasValue eancom#RFF_DTM_TLF211 // TAXCON_Loop4 - TAXCON_Loop3 - main for the message instance TAXCON_Loop4_TLF111 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 1 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "82" // = Metered services invoice edi#value1 hasValue "83" // = Credit note related to financial adjustments edi#value1 hasValue "84" // = Debit note related to financial adjustments edi#value1 hasValue "325" // = Proforma invoice edi#value1 hasValue "380" // = Commercial invoice edi#value1 hasValue "381" // = Credit note - goods and services edi#value1 hasValue "383" // = Debit note - goods and services edi#value1 hasValue "385" // = Consolidated invoice edi#value1 hasValue "386" // = Prepayment invoice edi#value1 hasValue "393" // = Factored invoice instance TAXCON_Loop4_TLF211 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "39" // = Invoice total amount edi#value1 hasValue "125" // = Taxable amount edi#value1 hasValue "128" // = Total amount instance TAXCON_Loop4_TLF311 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 3 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "31" // = Number of messages instance TAXCON_Loop4_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_O9 edi#formatFor3rdComponent hasValue fc#FC_M1 edi#formatFor4thComponent hasValue fc#FC_M9 instance TAXCON_Loop4_FD memberOf edi#FormatDescriptor nonFunctionalProperties dc#description hasValue "FormatDescriptor for loop 4 message (TAXCON_Loop4)" endNonFunctionalProperties edi#formats1stComponent hasValue ds#DOC_DS edi#formats2ndComponent hasValue ds#MOA_DS edi#formats3rdComponent hasValue ds#CNT_DS edi#formats4thComponent hasValue TAXCON_Loop5 instance TAXCON_Loop4 memberOf edi#DataSegmentLoop edi#hasFormat hasValue TAXCON_Loop4_TSF edi#hasFormatDescriptor hasValue TAXCON_Loop4_FD edi#hasTLFormatRestriction hasValue TAXCON_Loop4_TLF111 edi#hasTLFormatRestriction hasValue scr#F_TLF12 edi#hasTLFormatRestriction hasValue scr#F_TLF13 edi#hasTLFormatRestriction hasValue scr#F_TLF14 edi#hasTLFormatRestriction hasValue scr#F_TLF15 edi#hasTLFormatRestriction hasValue TAXCON_Loop4_TLF211 edi#hasTLFormatRestriction hasValue TAXCON_Loop4_TLF311 // TAXCON_Loop5 - TAXCON_Loop4 - TAXCON_Loop3 - main for the message instance TAXCON_Loop5_TLF211 memberOf edi#TLFormatRestriction edi#dataStructure1Line1 hasValue 2 edi#dataStructure1Line2 hasValue 1 edi#dataStructure1Line3 hasValue 1 edi#restrictionType hasValue edi#FR_ValueList edi#value1 hasValue "124" // = Tax amount edi#value1 hasValue "125" // = Taxable amount instance TAXCON_Loop5_TSF memberOf edi#Format edi#formatFor1stComponent hasValue fc#FC_M1 edi#formatFor2ndComponent hasValue fc#FC_M3 instance TAXCON_Loop5 memberOf edi#DataSegmentLoop edi#hasFormat hasValue TAXCON_Loop5_TSF edi#hasFormatDescriptor hasValue eancom#TAX_MOA_Loop_FD edi#hasTLFormatRestriction hasValue eancom#TAX_Loop_TLF11 edi#hasTLFormatRestriction hasValue TAXCON_Loop5_TLF211 edi#hasTLFormatRestriction hasValue scr#R_TLF154