Skip to main content

x12/
gs.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
4#[serde(tag = "code", rename = "GS")]
5pub struct FunctionalGroupHeader {
6    pub identifier_code: String,
7    pub sender_code: String,
8    pub receiver_code: String,
9    pub date: String,
10    pub time: String,
11    pub control_number: String,
12    pub responsible_agency_code: String,
13    pub version: String,
14}