Using the 997 transaction set

An ANSI X12 functional acknowledgment (#997 transaction set) acknowledges the receipt of valid and invalid functional groups within an ANSI X12 interchange.

The ANSI X12 functional acknowledgment (#997 transaction set) may also be used to acknowledge the receipt of valid and/or invalid transaction sets within a functional group.