<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <GetTransactionRequest xmlns="http://htng.org/PWS/2008B/FoodBevOrdering">
            <Request ReturnFacsimile="false">
                <LocationRef>{{ property_number|default("1") }}</LocationRef>
                <RevenueCenterRef>{{ revenue_center|default("1") }}</RevenueCenterRef>
                <RequestHeader>
                    <ApplicationName>{{ application_name|default("3") }}</ApplicationName>
                    <InterfaceVersion>1.0</InterfaceVersion>
                </RequestHeader>
                <Extensions>
                    <TransactionType>{{ "OPEN" if open else "CLOSED" }}</TransactionType>
                    {% if not open %}
                    <ClosedDays>{{ closed_days }}</ClosedDays>
                    {% endif %}
                </Extensions>
            </Request>
        </GetTransactionRequest>
    </soap:Body>
</soap:Envelope>