ISA
and GS
headers) and autogenerated control numbers.Data | Required | Description |
---|---|---|
API key | Yes | You must pass a Stedi API key in the Authorization header of every request. You can create an API key in the Stedi portal. |
partnershipId | Yes | Include this ID in the API route to identify the associated partnership. You can find this ID on the Trading partners page under Partnership identifier. |
transactionSettingId | Yes | Include this ID in the API route to identify the outbound transaction setting Stedi should use to validate the transaction data and generate the file. To find this ID, go to the partnership, find the outbound transaction setting, and copy its Transaction Setting ID. |
transaction | Yes | This payload contains the transaction data. Without a mapping, this transaction data must be < 5MB and the shape must match the Guide JSON format for the specified outbound transaction setting. With a mapping, this transaction data must be < 4MB and the shape must match the mapping’s source schema. |
filename | Specify the name of the generated EDI file. Stedi overwrites files with the same name, so we recommend making the filename unique by including a timestamp or other identifier. The filename you specify here takes precedence over the Filename expression (if present) set on the outbound transaction setting. If you do not specify a filename, and there isn’t one set on the outbound transaction setting, Stedi autogenerates a unique name using a UUID. | |
fragmentGroupIds | Specify which fragments Stedi should insert into the transaction. Visit outbound fragments for details. | |
mappingId | Specify the mapping Stedi should use to transform the transaction data to Guide JSON format. |
fileExecutionId
that you can use to locate the generated file.
ISA
and GS
segmentsHHMMSS
| The GS-05 time elementñ
are not included.
In order to be compliant with X12 HIPAA guidelines, all trading partners must support the Basic Character Set at a minimum.
The following special characters are included:
@
and #
.
X12 HIPAA guidelines state the following:
In the absence of a specific trading partner agreement to the contrary, trading partners will assume that the [HIPAA] extended character set is acceptable.The following additional special characters are included:
ñ
. The standard Extended Character Set is the most common character set outside of healthcare (for example, in retail and logistics).
According to HIPAA guidelines, the Standard Extended character set is not allowed in HIPAA-compliant transactions (see X12 RFI 2212).
The following additional language characters are included:
filename
field in your API request. If you don’t specify a filename, Stedi autogenerates one using a UUID.