The outbound service was working correctly before my modifications. I added 3 fields to the intermediate tables (2 in header table, 1 in lines table) and updated the document service using Tools > Application Integration Framework > update document service.
I chose my service, checked “Regenerate data object classes”, “update AxBC” classes" and clicked OK.
After updating the document service I created an Outbound port for this service and exported XSD files.
Also exported CSV file. In XSD and CSV files the added 3 fields are missing. Did I miss something? Wasn’t updating the document service enough?