edifact.d03a.services.mINSPRE
Modules
edifact.d03a.services.mINSPRE
edifact.d03a.services.mINSREQedifact.d03a.services.mINSRPTedifact.d03a.services.mJOBAPPedifact.d03a.services.mJOBCONedifact.d03a.services.mJOBMODedifact.d03a.services.mJOBOFFedifact.d03a.services.mJUPREQedifact.d03a.services.mLREACTedifact.d03a.services.mLRECLMedifact.d03a.services.mMEDPIDedifact.d03a.services.mMEDPREedifact.d03a.services.mMEDREQedifact.d03a.services.mMEDRPTedifact.d03a.services.mMEDRUCedifact.d03a.services.mMEQPOSedifact.d03a.services.mMOVINSedifact.d03a.services.mPAYDUCedifact.d03a.services.mRECLAMedifact.d03a.services.mREGENTedifact.d03a.services.mSLSFCTedifact.d03a.services.mSLSRPTedifact.d03a.services.mSOCADEedifact.d03a.services.mWKGRDCedifact.d03a.services.mWKGRREModule edifact.d03a.services.mINSPRE
API
Definitions
ballerinax/edifact.d03a.services.mINSPRE Ballerina library
Functions
fromEdiString
function fromEdiString(string ediText) returns EDI_INSPRE_INSPRE|errorConvert EDI string to Ballerina EDI_INSPRE_INSPRE record.
Parameters
- ediText string - EDI string to be converted
Return Type
- EDI_INSPRE_INSPRE|error - Ballerina record or error
fromEdiStringWithSchema
function fromEdiStringWithSchema(string ediText, EdiSchema schema) returns EDI_INSPRE_INSPRE|errorConvert EDI string to Ballerina EDI_INSPRE_INSPRE record with schema.
Return Type
- EDI_INSPRE_INSPRE|error - Ballerina record or error
getSchema
Get the EDI schema.
headersFromEdiString
function headersFromEdiString(string ediText) returns EDI_INSPRE_INSPREHeaders|errorParse only the envelope header segments from the given EDI string.
Parameters
- ediText string - EDI string to parse
Return Type
- EDI_INSPRE_INSPREHeaders|error - Parsed EDI_INSPRE_INSPREHeaders record, or error if the headers are malformed
interchangeFromEdiString
function interchangeFromEdiString(string ediText) returns EDI_INSPRE_INSPREInterchange|errorParse the full envelope hierarchy from the given EDI string. A malformed transaction body becomes an error in that transaction's body field.
Parameters
- ediText string - EDI string to parse
Return Type
- EDI_INSPRE_INSPREInterchange|error - Parsed EDI_INSPRE_INSPREInterchange, or error if the envelope is malformed
interchangeToEdiString
function interchangeToEdiString(EDI_INSPRE_INSPREInterchange msg) returns string|errorSerialise a EDI_INSPRE_INSPREInterchange into EDI text; the inverse of interchangeFromEdiString. A transaction whose body is an error is refused — filter or replace it before calling.
Parameters
- msg EDI_INSPRE_INSPREInterchange - The interchange to serialise
toEdiString
function toEdiString(EDI_INSPRE_INSPRE data) returns string|errorConvert Ballerina EDI_INSPRE_INSPRE record to EDI string.
Parameters
- data EDI_INSPRE_INSPRE - Ballerina record to be converted
toEdiStringWithSchema
function toEdiStringWithSchema(EDI_INSPRE_INSPRE data, EdiSchema ediSchema) returns string|errorConvert Ballerina EDI_INSPRE_INSPRE record to EDI string with schema.
transformFromEdiString
Convert EDI string to Ballerina EDI_INSPRE_INSPRE record.
Parameters
- ediText string - EDI string to be converted
Return Type
- anydata|error - Ballerina record or error
transformHeadersFromEdiString
Convert EDI string to the envelope headers of EDI_INSPRE_INSPRE. Narrow the result with ensureType.
Parameters
- ediText string - EDI string to be converted
Return Type
- anydata|error - EDI_INSPRE_INSPREHeaders record boxed as anydata, or error
transformInterchangeFromEdiString
Convert EDI string to a EDI_INSPRE_INSPREInterchange record. Narrow the result with ensureType.
Parameters
- ediText string - EDI string to be converted
Return Type
- any|error - EDI_INSPRE_INSPREInterchange record boxed as any, or error
transformInterchangeToEdiString
Convert a EDI_INSPRE_INSPREInterchange record to EDI string.
Parameters
- content any - EDI_INSPRE_INSPREInterchange record boxed as any
transformToEdiString
Convert Ballerina EDI_INSPRE_INSPRE record to EDI string.
Parameters
- content anydata - Ballerina record to be converted
Records
edifact.d03a.services.mINSPRE: ATTRIBUTE_DETAIL_GType
Fields
- Attribute_description_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Attribute_description? string -
edifact.d03a.services.mINSPRE: Attribute_Type
Fields
- code string(default "ATT") -
- ATTRIBUTE_FUNCTION_CODE_QUALIFIER? string -
- ATTRIBUTE_TYPE? ATTRIBUTE_TYPE_GType? -
- ATTRIBUTE_DETAIL ATTRIBUTE_DETAIL_GType[](default []) -
edifact.d03a.services.mINSPRE: ATTRIBUTE_TYPE_GType
Fields
- Attribute_type_description_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Attribute_type_description? string -
edifact.d03a.services.mINSPRE: Beginning_of_message_Type
Fields
- code string(default "BGM") -
- DOCUMENT_MESSAGE_NAME? DOCUMENT_MESSAGE_NAME_GType? -
- DOCUMENT_MESSAGE_IDENTIFICATION? DOCUMENT_MESSAGE_IDENTIFICATION_GType? -
- MESSAGE_FUNCTION_CODE? string -
- RESPONSE_TYPE_CODE? string -
edifact.d03a.services.mINSPRE: COMMUNICATION_CONTACT_GType
Fields
- Communication_address_identifier string -
- Communication_address_code_qualifier string -
edifact.d03a.services.mINSPRE: Communication_contact_Type
Fields
- code string(default "COM") -
- COMMUNICATION_CONTACT COMMUNICATION_CONTACT_GType[](default []) -
edifact.d03a.services.mINSPRE: Contact_information_Type
Fields
- code string(default "CTA") -
- CONTACT_FUNCTION_CODE? string -
- DEPARTMENT_OR_EMPLOYEE_DETAILS? DEPARTMENT_OR_EMPLOYEE_DETAILS_GType? -
edifact.d03a.services.mINSPRE: COUNTRY_SUB_ENTITY_DETAILS_GType
Fields
- Country_sub_entity_name_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Country_sub_entity_name? string -
edifact.d03a.services.mINSPRE: Currencies_Type
Fields
- code string(default "CUX") -
- CURRENCY_DETAILS? CURRENCY_DETAILS_GType? -
- CURRENCY_DETAILS_1? CURRENCY_DETAILS_1_GType? -
- CURRENCY_EXCHANGE_RATE? int? -
- EXCHANGE_RATE_CURRENCY_MARKET_IDENTIFIER? string -
edifact.d03a.services.mINSPRE: CURRENCY_DETAILS_1_GType
Fields
- Currency_usage_code_qualifier string -
- Currency_identification_code? string -
- Currency_type_code_qualifier? string -
- Currency_rate? int? -
edifact.d03a.services.mINSPRE: CURRENCY_DETAILS_GType
Fields
- Currency_usage_code_qualifier string -
- Currency_identification_code? string -
- Currency_type_code_qualifier? string -
- Currency_rate? int? -
edifact.d03a.services.mINSPRE: Date_and_time_GType
Fields
- date string -
- time string -
edifact.d03a.services.mINSPRE: DATE_TIME_PERIOD_GType
Fields
- Date_or_time_or_period? string -
- Date_or_time_or_period_text? string -
- Date_or_time_or_period_format_code? string -
edifact.d03a.services.mINSPRE: Date_time_period_Type
Fields
- code string(default "DTM") -
- DATE_TIME_PERIOD? DATE_TIME_PERIOD_GType? -
edifact.d03a.services.mINSPRE: DEPARTMENT_OR_EMPLOYEE_DETAILS_GType
Fields
- Department_or_employee_name_code? string -
- Department_or_employee_name? string -
edifact.d03a.services.mINSPRE: DOCUMENT_MESSAGE_IDENTIFICATION_GType
Fields
- Document_identifier? string -
- Version_identifier? string -
- Revision_identifier? string -
edifact.d03a.services.mINSPRE: DOCUMENT_MESSAGE_NAME_GType
Fields
- Document_name_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Document_name? string -
edifact.d03a.services.mINSPRE: DUTY_TAX_FEE_ACCOUNT_DETAIL_GType
Fields
- Duty_or_tax_or_fee_account_code string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.services.mINSPRE: DUTY_TAX_FEE_DETAIL_GType
Fields
- Duty_or_tax_or_fee_rate_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Duty_or_tax_or_fee_rate? string -
- Duty_or_tax_or_fee_rate_basis_code? string -
- Code_list_identification_code_5? string -
- Code_list_responsible_agency_code_6? string -
edifact.d03a.services.mINSPRE: Duty_tax_fee_details_Type
Fields
- code string(default "TAX") -
- DUTY_OR_TAX_OR_FEE_FUNCTION_CODE_QUALIFIER? string -
- DUTY_TAX_FEE_TYPE? DUTY_TAX_FEE_TYPE_GType? -
- DUTY_TAX_FEE_ACCOUNT_DETAIL? DUTY_TAX_FEE_ACCOUNT_DETAIL_GType? -
- DUTY_OR_TAX_OR_FEE_ASSESSMENT_BASIS_QUANTITY? string -
- DUTY_TAX_FEE_DETAIL? DUTY_TAX_FEE_DETAIL_GType? -
- DUTY_OR_TAX_OR_FEE_CATEGORY_CODE? string -
- PARTY_TAX_IDENTIFIER? string -
- CALCULATION_SEQUENCE_CODE? string -
edifact.d03a.services.mINSPRE: DUTY_TAX_FEE_TYPE_GType
Fields
- Duty_or_tax_or_fee_type_name_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Duty_or_tax_or_fee_type_name? string -
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPRE
Fields
- Beginning_of_message? Beginning_of_message_Type? -
- Reference Reference_Type[](default []) -
- Date_time_period Date_time_period_Type[](default []) -
- group_1 Group_1_GType[](default []) -
- Insurance_cover_description? Insurance_cover_description_Type? -
- group_2 Group_2_GType[](default []) -
- group_3 Group_3_GType[](default []) -
- Monetary_amount Monetary_amount_Type[](default []) -
- Free_text? Free_text_Type? -
- group_9 Group_9_GType[](default []) -
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPREHeaders
Envelope headers of a EDI_INSPRE_INSPRE interchange.
Fields
- interchange EDI_INSPRE_INSPREInterchangeHeader - Interchange header
- 'transaction EDI_INSPRE_INSPRETransactionHeader - Transaction header
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPREInterchange
A parsed EDI_INSPRE_INSPRE interchange with its full envelope hierarchy.
Fields
- interchangeHeader EDI_INSPRE_INSPREInterchangeHeader - Interchange header segment
- transactions EDI_INSPRE_INSPRETransaction[] - Transactions in the interchange
- interchangeTrailer EDI_INSPRE_INSPREInterchangeTrailer - Interchange trailer segment
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPREInterchangeHeader
Fields
- interchange_header Interchange_header_Type -
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPREInterchangeTrailer
Fields
- interchange_trailer Interchange_trailer_Type -
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPRETransaction
A single transaction within a EDI_INSPRE_INSPRE interchange.
Fields
- transactionHeader EDI_INSPRE_INSPRETransactionHeader - Transaction header segment
- body EDI_INSPRE_INSPRE|error - Parsed EDI_INSPRE_INSPRE body, or the parse error when the body is malformed
- transactionTrailer EDI_INSPRE_INSPRETransactionTrailer - Transaction trailer segment
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPRETransactionHeader
Fields
- Message_header Message_header_Type -
edifact.d03a.services.mINSPRE: EDI_INSPRE_INSPRETransactionTrailer
Fields
- Message_trailer Message_trailer_Type -
edifact.d03a.services.mINSPRE: Free_text_Type
Fields
- code string(default "FTX") -
- TEXT_SUBJECT_CODE_QUALIFIER? string -
- FREE_TEXT_FUNCTION_CODE? string -
- TEXT_REFERENCE? TEXT_REFERENCE_GType? -
- TEXT_LITERAL? TEXT_LITERAL_GType? -
- LANGUAGE_NAME_CODE? string -
- FREE_TEXT_FORMAT_CODE? string -
edifact.d03a.services.mINSPRE: Group_1_GType
Fields
- Attribute Attribute_Type -
- Percentage_details? Percentage_details_Type? -
edifact.d03a.services.mINSPRE: Group_2_GType
Fields
- Name_and_address Name_and_address_Type -
- Attribute? Attribute_Type? -
- Contact_information? Contact_information_Type? -
- Communication_contact Communication_contact_Type[](default []) -
- Reference Reference_Type[](default []) -
edifact.d03a.services.mINSPRE: Group_3_GType
Fields
- Date_time_period Date_time_period_Type -
- group_4 Group_4_GType[](default []) -
edifact.d03a.services.mINSPRE: Group_4_GType
Fields
- Insurance_cover_description Insurance_cover_description_Type -
- Free_text? Free_text_Type? -
- Reference Reference_Type[](default []) -
- group_5 Group_5_GType[](default []) -
edifact.d03a.services.mINSPRE: Group_5_GType
Fields
- Monetary_amount Monetary_amount_Type -
- Date_time_period? Date_time_period_Type? -
- group_6 Group_6_GType[](default []) -
- group_7 Group_7_GType[](default []) -
- group_8? Group_8_GType? -
edifact.d03a.services.mINSPRE: Group_6_GType
Fields
- Index_details Index_details_Type -
- Date_time_period? Date_time_period_Type? -
edifact.d03a.services.mINSPRE: Group_7_GType
Fields
- Attribute Attribute_Type -
- Percentage_details? Percentage_details_Type? -
edifact.d03a.services.mINSPRE: Group_8_GType
Fields
- Duty_tax_fee_details Duty_tax_fee_details_Type -
- Percentage_details? Percentage_details_Type? -
- Currencies Currencies_Type -
edifact.d03a.services.mINSPRE: Group_9_GType
Fields
- Date_time_period Date_time_period_Type -
- Monetary_amount Monetary_amount_Type -
edifact.d03a.services.mINSPRE: Index_details_Type
Fields
- code string(default "IND") -
- INDEX_IDENTIFICATION? INDEX_IDENTIFICATION_GType? -
- INDEX_VALUE? INDEX_VALUE_GType? -
edifact.d03a.services.mINSPRE: INDEX_IDENTIFICATION_GType
Fields
- Index_code_qualifier string -
- Index_type_identifier? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.services.mINSPRE: INDEX_VALUE_GType
Fields
- Index_text string -
- Index_representation_code? string -
edifact.d03a.services.mINSPRE: Insurance_cover_description_Type
Fields
- code string(default "ICD") -
- INSURANCE_COVER_TYPE? INSURANCE_COVER_TYPE_GType? -
- INSURANCE_COVER_DETAILS? INSURANCE_COVER_DETAILS_GType? -
edifact.d03a.services.mINSPRE: INSURANCE_COVER_DETAILS_GType
Fields
- Insurance_cover_description_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Insurance_cover_description? string -
- Insurance_cover_description_4? string -
edifact.d03a.services.mINSPRE: INSURANCE_COVER_TYPE_GType
Fields
- Insurance_cover_type_code string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.services.mINSPRE: Interchange_header_Type
Fields
- code string(default "UNB") -
- syntax_identifier Syntax_identifier_GType -
- sender Sender_GType -
- recipient Recipient_GType -
- date_and_time Date_and_time_GType -
- control_reference string -
- recipient_reference_password? Recipient_reference_password_GType? -
- application_reference? string -
- processing_priority_code? string -
- acknowledgement_request? string -
- communications_agreement_id? string -
- test_indicator? string -
edifact.d03a.services.mINSPRE: Interchange_trailer_Type
Fields
- code string(default "UNZ") -
- interchange_control_count int -
- interchange_control_reference string -
edifact.d03a.services.mINSPRE: Message_header_Type
Fields
- code string(default "UNH") -
- message_reference_number string -
- message_identifier Message_identifier_GType -
edifact.d03a.services.mINSPRE: Message_identifier_GType
Fields
- message_type string -
- message_version_number string -
- message_release_number string -
- controlling_agency string -
- association_assigned_code? string -
- code_list_directory_version? string -
- message_type_sub_function? string -
edifact.d03a.services.mINSPRE: Message_trailer_Type
Fields
- code string(default "UNT") -
- number_of_segments int -
- message_reference_number string -
edifact.d03a.services.mINSPRE: MONETARY_AMOUNT_GType
Fields
- Monetary_amount_type_code_qualifier string -
- Monetary_amount? int? -
- Currency_identification_code? string -
- Currency_type_code_qualifier? string -
- Status_description_code? string -
edifact.d03a.services.mINSPRE: Monetary_amount_Type
Fields
- code string(default "MOA") -
- MONETARY_AMOUNT? MONETARY_AMOUNT_GType? -
edifact.d03a.services.mINSPRE: NAME_AND_ADDRESS_GType
Fields
- Name_and_address_description string -
- Name_and_address_description_1? string -
- Name_and_address_description_2? string -
- Name_and_address_description_3? string -
- Name_and_address_description_4? string -
edifact.d03a.services.mINSPRE: Name_and_address_Type
Fields
- code string(default "NAD") -
- PARTY_FUNCTION_CODE_QUALIFIER? string -
- PARTY_IDENTIFICATION_DETAILS? PARTY_IDENTIFICATION_DETAILS_GType? -
- NAME_AND_ADDRESS? NAME_AND_ADDRESS_GType? -
- PARTY_NAME? PARTY_NAME_GType? -
- STREET? STREET_GType? -
- CITY_NAME? string -
- COUNTRY_SUB_ENTITY_DETAILS? COUNTRY_SUB_ENTITY_DETAILS_GType? -
- POSTAL_IDENTIFICATION_CODE? string -
- COUNTRY_NAME_CODE? string -
edifact.d03a.services.mINSPRE: PARTY_IDENTIFICATION_DETAILS_GType
Fields
- Party_identifier string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.services.mINSPRE: PARTY_NAME_GType
Fields
- Party_name string -
- Party_name_1? string -
- Party_name_2? string -
- Party_name_3? string -
- Party_name_4? string -
- Party_name_format_code? string -
edifact.d03a.services.mINSPRE: PERCENTAGE_DETAILS_GType
Fields
- Percentage_type_code_qualifier string -
- Percentage? int? -
- Percentage_basis_identification_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.services.mINSPRE: Percentage_details_Type
Fields
- code string(default "PCD") -
- PERCENTAGE_DETAILS? PERCENTAGE_DETAILS_GType? -
- STATUS_DESCRIPTION_CODE? string -
edifact.d03a.services.mINSPRE: Recipient_GType
Fields
- id string -
- qualifier? string -
- internal_id? string -
- internal_sub_id? string -
edifact.d03a.services.mINSPRE: Recipient_reference_password_GType
Fields
- reference_password? string -
- qualifier? string -
edifact.d03a.services.mINSPRE: REFERENCE_GType
Fields
- Reference_code_qualifier string -
- Reference_identifier? string -
- Document_line_identifier? string -
- Reference_version_identifier? string -
- Revision_identifier? string -
edifact.d03a.services.mINSPRE: Reference_Type
Fields
- code string(default "RFF") -
- REFERENCE? REFERENCE_GType? -
edifact.d03a.services.mINSPRE: Sender_GType
Fields
- id string -
- qualifier? string -
- internal_id? string -
- internal_sub_id? string -
edifact.d03a.services.mINSPRE: STREET_GType
Fields
- Street_and_number_or_post_office_box_identifier string -
- Street_and_number_or_post_office_box_identifier_1? string -
- Street_and_number_or_post_office_box_identifier_2? string -
- Street_and_number_or_post_office_box_identifier_3? string -
edifact.d03a.services.mINSPRE: Syntax_identifier_GType
Fields
- syntax_id string -
- syntax_version string -
- service_code_list_directory_version? string -
- character_encoding? string -
edifact.d03a.services.mINSPRE: TEXT_LITERAL_GType
Fields
- Free_text string -
- Free_text_1? string -
- Free_text_2? string -
- Free_text_3? string -
- Free_text_4? string -
edifact.d03a.services.mINSPRE: TEXT_REFERENCE_GType
Fields
- Free_text_description_code string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
Import
import ballerinax/edifact.d03a.services.mINSPRE;Metadata
Released date: 3 days ago
Version: 1.0.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.0
GraalVM compatible: Yes
Pull count
Total: 30
Current verison: 0
Weekly downloads
Keywords
insurance
employment
healthcare
EDI
EDIFACT
D03A
B2B
Business Management/ERP
Cost/Free
Vendor/Other
Area/ERP & Business Operations
Type/Library
Name/EDIFACT D03A Services
Contributors
Dependencies