Service1


Click here for a complete list of operations.

XuatHoaDonDienTu

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /XuatHoaDonService.asmx HTTP/1.1
Host: 691936.bchiv489.asia
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://thaison.vn/inv/XuatHoaDonDienTu"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <Authentication xmlns="http://thaison.vn/inv">
      <userName>string</userName>
      <password>string</password>
    </Authentication>
  </soap:Header>
  <soap:Body>
    <XuatHoaDonDienTu xmlns="http://thaison.vn/inv">
      <hoaDonEntity>
        <MsgError>
          <Code>string</Code>
          <Message>string</Message>
          <EMessage>string</EMessage>
          <Description>string</Description>
          <EDescription>string</EDescription>
        </MsgError>
        <MaChiNhanh>string</MaChiNhanh>
        <MaLoaiHoaDon>string</MaLoaiHoaDon>
        <TenLoaiHoaDon>string</TenLoaiHoaDon>
        <dhoadonid>decimal</dhoadonid>
        <MauSo>string</MauSo>
        <KyHieu>string</KyHieu>
        <SoHoaDon>string</SoHoaDon>
        <MauSoGoc>string</MauSoGoc>
        <KyHieuGoc>string</KyHieuGoc>
        <NamSinh>string</NamSinh>
        <NgayNhapVien>dateTime</NgayNhapVien>
        <SoNhapVien>string</SoNhapVien>
        <PCName>string</PCName>
        <NgayTaoHoaDon>dateTime</NgayTaoHoaDon>
        <NgayXuatHoaDon>dateTime</NgayXuatHoaDon>
        <BenBanMaDonVi>string</BenBanMaDonVi>
        <BenBanMaSoThue>string</BenBanMaSoThue>
        <BenBanTenDonVi>string</BenBanTenDonVi>
        <BenBanDiaChi>string</BenBanDiaChi>
        <BenBanDienThoai>string</BenBanDienThoai>
        <BenBanFax>string</BenBanFax>
        <BenBanTaiKhoanNganHang>string</BenBanTaiKhoanNganHang>
        <BenBanTenNganHang>string</BenBanTenNganHang>
        <BenBanNganHangDiaChi>string</BenBanNganHangDiaChi>
        <BenMuaMaDonVi>string</BenMuaMaDonVi>
        <BenMuaMaSoThue>string</BenMuaMaSoThue>
        <BenMuaTenDonVi>string</BenMuaTenDonVi>
        <BenMuaHoTen>string</BenMuaHoTen>
        <BenMuaDiaChi>string</BenMuaDiaChi>
        <BenMuaDienThoai>string</BenMuaDienThoai>
        <BenMuaDienThoaiNhanHoaDon>string</BenMuaDienThoaiNhanHoaDon>
        <BenMuaFax>string</BenMuaFax>
        <BenMuaEmail>string</BenMuaEmail>
        <IsSendMail>int</IsSendMail>
        <BenMuaTaiKhoanNganHang>string</BenMuaTaiKhoanNganHang>
        <BenMuaTenNganHang>string</BenMuaTenNganHang>
        <TienThueVat>decimal</TienThueVat>
        <TongTienGTGT>decimal</TongTienGTGT>
        <TongTienHang>decimal</TongTienHang>
        <TongTienThanhToan>decimal</TongTienThanhToan>
        <TienChietKhau>decimal</TienChietKhau>
        <DiaDiemGiaoHang>string</DiaDiemGiaoHang>
        <TongTienThanhToanBangChu>string</TongTienThanhToanBangChu>
        <DongTienThanhToan>string</DongTienThanhToan>
        <HinhThucThanhToan>string</HinhThucThanhToan>
        <TyGia>decimal</TyGia>
        <SoBienLai>string</SoBienLai>
        <SoBienLaiGoc>string</SoBienLaiGoc>
        <OutputVoucherId>string</OutputVoucherId>
        <QuyenSo>string</QuyenSo>
        <NguoiXuatHoaDon>string</NguoiXuatHoaDon>
        <TamUng>decimal</TamUng>
        <GhiChu>string</GhiChu>
        <GhiChuNB>string</GhiChuNB>
        <RECEITP>string</RECEITP>
        <GhiChuGH>string</GhiChuGH>
        <NoiXuatHoaDon>string</NoiXuatHoaDon>
        <KyHoc>string</KyHoc>
        <NamHoc>int</NamHoc>
        <Nhom>string</Nhom>
        <Lop>string</Lop>
        <IsSign>boolean</IsSign>
        <NguoiLienHeGuiHoaDon>string</NguoiLienHeGuiHoaDon>
        <TermOfPayment>string</TermOfPayment>
        <DATECLOSEDBILL>dateTime</DATECLOSEDBILL>
        <LinkDownloadfile>string</LinkDownloadfile>
        <TrangThaiDieuChinh>int</TrangThaiDieuChinh>
        <LoaiBangKe>int</LoaiBangKe>
        <NoiDungBangKe>string</NoiDungBangKe>
        <HangHoas>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
        </HangHoas>
        <dataExtension>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
        </dataExtension>
        <isSuDungBangKe>boolean</isSuDungBangKe>
        <ThongTinChung>string</ThongTinChung>
        <MaEinvoice>string</MaEinvoice>
        <MaXacThuc>string</MaXacThuc>
        <mst>string</mst>
        <SoXacThuc>string</SoXacThuc>
        <SoXacThucGoc>string</SoXacThucGoc>
        <SoThamChieu>string</SoThamChieu>
        <SoHoaDonGoc>string</SoHoaDonGoc>
        <SoHoaDonGocId>string</SoHoaDonGocId>
        <LoaiHang>string</LoaiHang>
        <NoiDungDieuChinh>string</NoiDungDieuChinh>
        <NgayDieuChinh>dateTime</NgayDieuChinh>
        <SoHopDong>string</SoHopDong>
        <NgayHopDong>dateTime</NgayHopDong>
        <ReferenceId>string</ReferenceId>
        <RefNo>string</RefNo>
        <InvoiceSubject>string</InvoiceSubject>
        <SwiftCode>string</SwiftCode>
        <ProjectCode>string</ProjectCode>
        <PaymentTypeInWords>string</PaymentTypeInWords>
        <PaymentToType>string</PaymentToType>
        <PaymentNote>string</PaymentNote>
        <ApplicateName>string</ApplicateName>
        <BeneficaiaryName>string</BeneficaiaryName>
        <InvoiceSubType>string</InvoiceSubType>
        <InvoiceId>string</InvoiceId>
        <ProjectPhone>string</ProjectPhone>
        <InvoiceDueDate>dateTime</InvoiceDueDate>
        <MaNhanHoaDon>string</MaNhanHoaDon>
        <Rescode>string</Rescode>
        <NgayTao>string</NgayTao>
        <vendorCode>string</vendorCode>
        <TransDate>dateTime</TransDate>
        <KieuHoaDon>int</KieuHoaDon>
        <MaKho>string</MaKho>
        <SoDonHang>string</SoDonHang>
        <TranIndex>string</TranIndex>
        <ReceiptType>string</ReceiptType>
        <ReceiptRefundNo>string</ReceiptRefundNo>
        <ReceiptVoidNo>string</ReceiptVoidNo>
        <TenDonViVanChuyen>string</TenDonViVanChuyen>
        <MaPhuongTienVanChuyen>string</MaPhuongTienVanChuyen>
        <SoHopDongVanChuyen>string</SoHopDongVanChuyen>
        <LenhDieuDongSo>string</LenhDieuDongSo>
        <LenhDieuDongNgay>dateTime</LenhDieuDongNgay>
        <LenhDieuDongCua>string</LenhDieuDongCua>
        <LenhDieuDongVeViec>string</LenhDieuDongVeViec>
        <HoTenNguoiVanChuyen>string</HoTenNguoiVanChuyen>
        <MaKhoXuat>string</MaKhoXuat>
        <NgayNhapKho>dateTime</NgayNhapKho>
        <PlantCode>string</PlantCode>
        <DocType>string</DocType>
        <StorageLocationCode>string</StorageLocationCode>
        <SalesOrder>string</SalesOrder>
        <DeliveryOrder>string</DeliveryOrder>
        <OriginalBilling>string</OriginalBilling>
        <OriginalDoc>string</OriginalDoc>
        <CrDrMemo>string</CrDrMemo>
        <AdjustBilling>string</AdjustBilling>
        <LoaiHoaDon>string</LoaiHoaDon>
        <PaymentTerm>dateTime</PaymentTerm>
        <NoVatAmount>decimal</NoVatAmount>
        <TTamtNoTax>decimal</TTamtNoTax>
        <TTvatNoTax>decimal</TTvatNoTax>
        <TTnetNoTax>decimal</TTnetNoTax>
        <TTamt0Tax>decimal</TTamt0Tax>
        <TTvat0Tax>decimal</TTvat0Tax>
        <TTnet0Tax>decimal</TTnet0Tax>
        <TTamt5Tax>decimal</TTamt5Tax>
        <TTvat5Tax>decimal</TTvat5Tax>
        <TTnet5Tax>decimal</TTnet5Tax>
        <TTamt10Tax>decimal</TTamt10Tax>
        <TTvat10Tax>decimal</TTvat10Tax>
        <TTnet10Tax>decimal</TTnet10Tax>
        <OrigPurStore>string</OrigPurStore>
        <OrigPurDate>dateTime</OrigPurDate>
        <OrigPurDocNo>string</OrigPurDocNo>
        <MaCN>string</MaCN>
        <NgayHoaDonStr>string</NgayHoaDonStr>
        <IsGiuLai>boolean</IsGiuLai>
        <DiaDiemNhanHang>string</DiaDiemNhanHang>
        <PrintAuto>string</PrintAuto>
        <DiemPointTichLuy>decimal</DiemPointTichLuy>
        <ThanhToanDiemPointTichLuy>decimal</ThanhToanDiemPointTichLuy>
        <Emptys>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
        </Emptys>
        <BenMuaDiaChiStreet1>string</BenMuaDiaChiStreet1>
        <BenMuaDiaChiStreet2>string</BenMuaDiaChiStreet2>
        <BenMuaDiaChiStreet3>string</BenMuaDiaChiStreet3>
        <BenMuaDiaChiStreet4>string</BenMuaDiaChiStreet4>
        <BenMuaDiaChiCity>string</BenMuaDiaChiCity>
        <BenMuaDiaChiCountry>string</BenMuaDiaChiCountry>
      </hoaDonEntity>
    </XuatHoaDonDienTu>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <XuatHoaDonDienTuResponse xmlns="http://thaison.vn/inv">
      <XuatHoaDonDienTuResult>
        <MsgError>
          <Code>string</Code>
          <Message>string</Message>
          <EMessage>string</EMessage>
          <Description>string</Description>
          <EDescription>string</EDescription>
        </MsgError>
        <MaChiNhanh>string</MaChiNhanh>
        <MaLoaiHoaDon>string</MaLoaiHoaDon>
        <TenLoaiHoaDon>string</TenLoaiHoaDon>
        <dhoadonid>decimal</dhoadonid>
        <MauSo>string</MauSo>
        <KyHieu>string</KyHieu>
        <SoHoaDon>string</SoHoaDon>
        <MauSoGoc>string</MauSoGoc>
        <KyHieuGoc>string</KyHieuGoc>
        <NamSinh>string</NamSinh>
        <NgayNhapVien>dateTime</NgayNhapVien>
        <SoNhapVien>string</SoNhapVien>
        <PCName>string</PCName>
        <NgayTaoHoaDon>dateTime</NgayTaoHoaDon>
        <NgayXuatHoaDon>dateTime</NgayXuatHoaDon>
        <BenBanMaDonVi>string</BenBanMaDonVi>
        <BenBanMaSoThue>string</BenBanMaSoThue>
        <BenBanTenDonVi>string</BenBanTenDonVi>
        <BenBanDiaChi>string</BenBanDiaChi>
        <BenBanDienThoai>string</BenBanDienThoai>
        <BenBanFax>string</BenBanFax>
        <BenBanTaiKhoanNganHang>string</BenBanTaiKhoanNganHang>
        <BenBanTenNganHang>string</BenBanTenNganHang>
        <BenBanNganHangDiaChi>string</BenBanNganHangDiaChi>
        <BenMuaMaDonVi>string</BenMuaMaDonVi>
        <BenMuaMaSoThue>string</BenMuaMaSoThue>
        <BenMuaTenDonVi>string</BenMuaTenDonVi>
        <BenMuaHoTen>string</BenMuaHoTen>
        <BenMuaDiaChi>string</BenMuaDiaChi>
        <BenMuaDienThoai>string</BenMuaDienThoai>
        <BenMuaDienThoaiNhanHoaDon>string</BenMuaDienThoaiNhanHoaDon>
        <BenMuaFax>string</BenMuaFax>
        <BenMuaEmail>string</BenMuaEmail>
        <IsSendMail>int</IsSendMail>
        <BenMuaTaiKhoanNganHang>string</BenMuaTaiKhoanNganHang>
        <BenMuaTenNganHang>string</BenMuaTenNganHang>
        <TienThueVat>decimal</TienThueVat>
        <TongTienGTGT>decimal</TongTienGTGT>
        <TongTienHang>decimal</TongTienHang>
        <TongTienThanhToan>decimal</TongTienThanhToan>
        <TienChietKhau>decimal</TienChietKhau>
        <DiaDiemGiaoHang>string</DiaDiemGiaoHang>
        <TongTienThanhToanBangChu>string</TongTienThanhToanBangChu>
        <DongTienThanhToan>string</DongTienThanhToan>
        <HinhThucThanhToan>string</HinhThucThanhToan>
        <TyGia>decimal</TyGia>
        <SoBienLai>string</SoBienLai>
        <SoBienLaiGoc>string</SoBienLaiGoc>
        <OutputVoucherId>string</OutputVoucherId>
        <QuyenSo>string</QuyenSo>
        <NguoiXuatHoaDon>string</NguoiXuatHoaDon>
        <TamUng>decimal</TamUng>
        <GhiChu>string</GhiChu>
        <GhiChuNB>string</GhiChuNB>
        <RECEITP>string</RECEITP>
        <GhiChuGH>string</GhiChuGH>
        <NoiXuatHoaDon>string</NoiXuatHoaDon>
        <KyHoc>string</KyHoc>
        <NamHoc>int</NamHoc>
        <Nhom>string</Nhom>
        <Lop>string</Lop>
        <IsSign>boolean</IsSign>
        <NguoiLienHeGuiHoaDon>string</NguoiLienHeGuiHoaDon>
        <TermOfPayment>string</TermOfPayment>
        <DATECLOSEDBILL>dateTime</DATECLOSEDBILL>
        <LinkDownloadfile>string</LinkDownloadfile>
        <TrangThaiDieuChinh>int</TrangThaiDieuChinh>
        <LoaiBangKe>int</LoaiBangKe>
        <NoiDungBangKe>string</NoiDungBangKe>
        <HangHoas>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
        </HangHoas>
        <dataExtension>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
        </dataExtension>
        <isSuDungBangKe>boolean</isSuDungBangKe>
        <ThongTinChung>string</ThongTinChung>
        <MaEinvoice>string</MaEinvoice>
        <MaXacThuc>string</MaXacThuc>
        <mst>string</mst>
        <SoXacThuc>string</SoXacThuc>
        <SoXacThucGoc>string</SoXacThucGoc>
        <SoThamChieu>string</SoThamChieu>
        <SoHoaDonGoc>string</SoHoaDonGoc>
        <SoHoaDonGocId>string</SoHoaDonGocId>
        <LoaiHang>string</LoaiHang>
        <NoiDungDieuChinh>string</NoiDungDieuChinh>
        <NgayDieuChinh>dateTime</NgayDieuChinh>
        <SoHopDong>string</SoHopDong>
        <NgayHopDong>dateTime</NgayHopDong>
        <ReferenceId>string</ReferenceId>
        <RefNo>string</RefNo>
        <InvoiceSubject>string</InvoiceSubject>
        <SwiftCode>string</SwiftCode>
        <ProjectCode>string</ProjectCode>
        <PaymentTypeInWords>string</PaymentTypeInWords>
        <PaymentToType>string</PaymentToType>
        <PaymentNote>string</PaymentNote>
        <ApplicateName>string</ApplicateName>
        <BeneficaiaryName>string</BeneficaiaryName>
        <InvoiceSubType>string</InvoiceSubType>
        <InvoiceId>string</InvoiceId>
        <ProjectPhone>string</ProjectPhone>
        <InvoiceDueDate>dateTime</InvoiceDueDate>
        <MaNhanHoaDon>string</MaNhanHoaDon>
        <Rescode>string</Rescode>
        <NgayTao>string</NgayTao>
        <vendorCode>string</vendorCode>
        <TransDate>dateTime</TransDate>
        <KieuHoaDon>int</KieuHoaDon>
        <MaKho>string</MaKho>
        <SoDonHang>string</SoDonHang>
        <TranIndex>string</TranIndex>
        <ReceiptType>string</ReceiptType>
        <ReceiptRefundNo>string</ReceiptRefundNo>
        <ReceiptVoidNo>string</ReceiptVoidNo>
        <TenDonViVanChuyen>string</TenDonViVanChuyen>
        <MaPhuongTienVanChuyen>string</MaPhuongTienVanChuyen>
        <SoHopDongVanChuyen>string</SoHopDongVanChuyen>
        <LenhDieuDongSo>string</LenhDieuDongSo>
        <LenhDieuDongNgay>dateTime</LenhDieuDongNgay>
        <LenhDieuDongCua>string</LenhDieuDongCua>
        <LenhDieuDongVeViec>string</LenhDieuDongVeViec>
        <HoTenNguoiVanChuyen>string</HoTenNguoiVanChuyen>
        <MaKhoXuat>string</MaKhoXuat>
        <NgayNhapKho>dateTime</NgayNhapKho>
        <PlantCode>string</PlantCode>
        <DocType>string</DocType>
        <StorageLocationCode>string</StorageLocationCode>
        <SalesOrder>string</SalesOrder>
        <DeliveryOrder>string</DeliveryOrder>
        <OriginalBilling>string</OriginalBilling>
        <OriginalDoc>string</OriginalDoc>
        <CrDrMemo>string</CrDrMemo>
        <AdjustBilling>string</AdjustBilling>
        <LoaiHoaDon>string</LoaiHoaDon>
        <PaymentTerm>dateTime</PaymentTerm>
        <NoVatAmount>decimal</NoVatAmount>
        <TTamtNoTax>decimal</TTamtNoTax>
        <TTvatNoTax>decimal</TTvatNoTax>
        <TTnetNoTax>decimal</TTnetNoTax>
        <TTamt0Tax>decimal</TTamt0Tax>
        <TTvat0Tax>decimal</TTvat0Tax>
        <TTnet0Tax>decimal</TTnet0Tax>
        <TTamt5Tax>decimal</TTamt5Tax>
        <TTvat5Tax>decimal</TTvat5Tax>
        <TTnet5Tax>decimal</TTnet5Tax>
        <TTamt10Tax>decimal</TTamt10Tax>
        <TTvat10Tax>decimal</TTvat10Tax>
        <TTnet10Tax>decimal</TTnet10Tax>
        <OrigPurStore>string</OrigPurStore>
        <OrigPurDate>dateTime</OrigPurDate>
        <OrigPurDocNo>string</OrigPurDocNo>
        <MaCN>string</MaCN>
        <NgayHoaDonStr>string</NgayHoaDonStr>
        <IsGiuLai>boolean</IsGiuLai>
        <DiaDiemNhanHang>string</DiaDiemNhanHang>
        <PrintAuto>string</PrintAuto>
        <DiemPointTichLuy>decimal</DiemPointTichLuy>
        <ThanhToanDiemPointTichLuy>decimal</ThanhToanDiemPointTichLuy>
        <Emptys>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
        </Emptys>
        <BenMuaDiaChiStreet1>string</BenMuaDiaChiStreet1>
        <BenMuaDiaChiStreet2>string</BenMuaDiaChiStreet2>
        <BenMuaDiaChiStreet3>string</BenMuaDiaChiStreet3>
        <BenMuaDiaChiStreet4>string</BenMuaDiaChiStreet4>
        <BenMuaDiaChiCity>string</BenMuaDiaChiCity>
        <BenMuaDiaChiCountry>string</BenMuaDiaChiCountry>
      </XuatHoaDonDienTuResult>
    </XuatHoaDonDienTuResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /XuatHoaDonService.asmx HTTP/1.1
Host: 691936.bchiv489.asia
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <Authentication xmlns="http://thaison.vn/inv">
      <userName>string</userName>
      <password>string</password>
    </Authentication>
  </soap12:Header>
  <soap12:Body>
    <XuatHoaDonDienTu xmlns="http://thaison.vn/inv">
      <hoaDonEntity>
        <MsgError>
          <Code>string</Code>
          <Message>string</Message>
          <EMessage>string</EMessage>
          <Description>string</Description>
          <EDescription>string</EDescription>
        </MsgError>
        <MaChiNhanh>string</MaChiNhanh>
        <MaLoaiHoaDon>string</MaLoaiHoaDon>
        <TenLoaiHoaDon>string</TenLoaiHoaDon>
        <dhoadonid>decimal</dhoadonid>
        <MauSo>string</MauSo>
        <KyHieu>string</KyHieu>
        <SoHoaDon>string</SoHoaDon>
        <MauSoGoc>string</MauSoGoc>
        <KyHieuGoc>string</KyHieuGoc>
        <NamSinh>string</NamSinh>
        <NgayNhapVien>dateTime</NgayNhapVien>
        <SoNhapVien>string</SoNhapVien>
        <PCName>string</PCName>
        <NgayTaoHoaDon>dateTime</NgayTaoHoaDon>
        <NgayXuatHoaDon>dateTime</NgayXuatHoaDon>
        <BenBanMaDonVi>string</BenBanMaDonVi>
        <BenBanMaSoThue>string</BenBanMaSoThue>
        <BenBanTenDonVi>string</BenBanTenDonVi>
        <BenBanDiaChi>string</BenBanDiaChi>
        <BenBanDienThoai>string</BenBanDienThoai>
        <BenBanFax>string</BenBanFax>
        <BenBanTaiKhoanNganHang>string</BenBanTaiKhoanNganHang>
        <BenBanTenNganHang>string</BenBanTenNganHang>
        <BenBanNganHangDiaChi>string</BenBanNganHangDiaChi>
        <BenMuaMaDonVi>string</BenMuaMaDonVi>
        <BenMuaMaSoThue>string</BenMuaMaSoThue>
        <BenMuaTenDonVi>string</BenMuaTenDonVi>
        <BenMuaHoTen>string</BenMuaHoTen>
        <BenMuaDiaChi>string</BenMuaDiaChi>
        <BenMuaDienThoai>string</BenMuaDienThoai>
        <BenMuaDienThoaiNhanHoaDon>string</BenMuaDienThoaiNhanHoaDon>
        <BenMuaFax>string</BenMuaFax>
        <BenMuaEmail>string</BenMuaEmail>
        <IsSendMail>int</IsSendMail>
        <BenMuaTaiKhoanNganHang>string</BenMuaTaiKhoanNganHang>
        <BenMuaTenNganHang>string</BenMuaTenNganHang>
        <TienThueVat>decimal</TienThueVat>
        <TongTienGTGT>decimal</TongTienGTGT>
        <TongTienHang>decimal</TongTienHang>
        <TongTienThanhToan>decimal</TongTienThanhToan>
        <TienChietKhau>decimal</TienChietKhau>
        <DiaDiemGiaoHang>string</DiaDiemGiaoHang>
        <TongTienThanhToanBangChu>string</TongTienThanhToanBangChu>
        <DongTienThanhToan>string</DongTienThanhToan>
        <HinhThucThanhToan>string</HinhThucThanhToan>
        <TyGia>decimal</TyGia>
        <SoBienLai>string</SoBienLai>
        <SoBienLaiGoc>string</SoBienLaiGoc>
        <OutputVoucherId>string</OutputVoucherId>
        <QuyenSo>string</QuyenSo>
        <NguoiXuatHoaDon>string</NguoiXuatHoaDon>
        <TamUng>decimal</TamUng>
        <GhiChu>string</GhiChu>
        <GhiChuNB>string</GhiChuNB>
        <RECEITP>string</RECEITP>
        <GhiChuGH>string</GhiChuGH>
        <NoiXuatHoaDon>string</NoiXuatHoaDon>
        <KyHoc>string</KyHoc>
        <NamHoc>int</NamHoc>
        <Nhom>string</Nhom>
        <Lop>string</Lop>
        <IsSign>boolean</IsSign>
        <NguoiLienHeGuiHoaDon>string</NguoiLienHeGuiHoaDon>
        <TermOfPayment>string</TermOfPayment>
        <DATECLOSEDBILL>dateTime</DATECLOSEDBILL>
        <LinkDownloadfile>string</LinkDownloadfile>
        <TrangThaiDieuChinh>int</TrangThaiDieuChinh>
        <LoaiBangKe>int</LoaiBangKe>
        <NoiDungBangKe>string</NoiDungBangKe>
        <HangHoas>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
        </HangHoas>
        <dataExtension>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
        </dataExtension>
        <isSuDungBangKe>boolean</isSuDungBangKe>
        <ThongTinChung>string</ThongTinChung>
        <MaEinvoice>string</MaEinvoice>
        <MaXacThuc>string</MaXacThuc>
        <mst>string</mst>
        <SoXacThuc>string</SoXacThuc>
        <SoXacThucGoc>string</SoXacThucGoc>
        <SoThamChieu>string</SoThamChieu>
        <SoHoaDonGoc>string</SoHoaDonGoc>
        <SoHoaDonGocId>string</SoHoaDonGocId>
        <LoaiHang>string</LoaiHang>
        <NoiDungDieuChinh>string</NoiDungDieuChinh>
        <NgayDieuChinh>dateTime</NgayDieuChinh>
        <SoHopDong>string</SoHopDong>
        <NgayHopDong>dateTime</NgayHopDong>
        <ReferenceId>string</ReferenceId>
        <RefNo>string</RefNo>
        <InvoiceSubject>string</InvoiceSubject>
        <SwiftCode>string</SwiftCode>
        <ProjectCode>string</ProjectCode>
        <PaymentTypeInWords>string</PaymentTypeInWords>
        <PaymentToType>string</PaymentToType>
        <PaymentNote>string</PaymentNote>
        <ApplicateName>string</ApplicateName>
        <BeneficaiaryName>string</BeneficaiaryName>
        <InvoiceSubType>string</InvoiceSubType>
        <InvoiceId>string</InvoiceId>
        <ProjectPhone>string</ProjectPhone>
        <InvoiceDueDate>dateTime</InvoiceDueDate>
        <MaNhanHoaDon>string</MaNhanHoaDon>
        <Rescode>string</Rescode>
        <NgayTao>string</NgayTao>
        <vendorCode>string</vendorCode>
        <TransDate>dateTime</TransDate>
        <KieuHoaDon>int</KieuHoaDon>
        <MaKho>string</MaKho>
        <SoDonHang>string</SoDonHang>
        <TranIndex>string</TranIndex>
        <ReceiptType>string</ReceiptType>
        <ReceiptRefundNo>string</ReceiptRefundNo>
        <ReceiptVoidNo>string</ReceiptVoidNo>
        <TenDonViVanChuyen>string</TenDonViVanChuyen>
        <MaPhuongTienVanChuyen>string</MaPhuongTienVanChuyen>
        <SoHopDongVanChuyen>string</SoHopDongVanChuyen>
        <LenhDieuDongSo>string</LenhDieuDongSo>
        <LenhDieuDongNgay>dateTime</LenhDieuDongNgay>
        <LenhDieuDongCua>string</LenhDieuDongCua>
        <LenhDieuDongVeViec>string</LenhDieuDongVeViec>
        <HoTenNguoiVanChuyen>string</HoTenNguoiVanChuyen>
        <MaKhoXuat>string</MaKhoXuat>
        <NgayNhapKho>dateTime</NgayNhapKho>
        <PlantCode>string</PlantCode>
        <DocType>string</DocType>
        <StorageLocationCode>string</StorageLocationCode>
        <SalesOrder>string</SalesOrder>
        <DeliveryOrder>string</DeliveryOrder>
        <OriginalBilling>string</OriginalBilling>
        <OriginalDoc>string</OriginalDoc>
        <CrDrMemo>string</CrDrMemo>
        <AdjustBilling>string</AdjustBilling>
        <LoaiHoaDon>string</LoaiHoaDon>
        <PaymentTerm>dateTime</PaymentTerm>
        <NoVatAmount>decimal</NoVatAmount>
        <TTamtNoTax>decimal</TTamtNoTax>
        <TTvatNoTax>decimal</TTvatNoTax>
        <TTnetNoTax>decimal</TTnetNoTax>
        <TTamt0Tax>decimal</TTamt0Tax>
        <TTvat0Tax>decimal</TTvat0Tax>
        <TTnet0Tax>decimal</TTnet0Tax>
        <TTamt5Tax>decimal</TTamt5Tax>
        <TTvat5Tax>decimal</TTvat5Tax>
        <TTnet5Tax>decimal</TTnet5Tax>
        <TTamt10Tax>decimal</TTamt10Tax>
        <TTvat10Tax>decimal</TTvat10Tax>
        <TTnet10Tax>decimal</TTnet10Tax>
        <OrigPurStore>string</OrigPurStore>
        <OrigPurDate>dateTime</OrigPurDate>
        <OrigPurDocNo>string</OrigPurDocNo>
        <MaCN>string</MaCN>
        <NgayHoaDonStr>string</NgayHoaDonStr>
        <IsGiuLai>boolean</IsGiuLai>
        <DiaDiemNhanHang>string</DiaDiemNhanHang>
        <PrintAuto>string</PrintAuto>
        <DiemPointTichLuy>decimal</DiemPointTichLuy>
        <ThanhToanDiemPointTichLuy>decimal</ThanhToanDiemPointTichLuy>
        <Emptys>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
        </Emptys>
        <BenMuaDiaChiStreet1>string</BenMuaDiaChiStreet1>
        <BenMuaDiaChiStreet2>string</BenMuaDiaChiStreet2>
        <BenMuaDiaChiStreet3>string</BenMuaDiaChiStreet3>
        <BenMuaDiaChiStreet4>string</BenMuaDiaChiStreet4>
        <BenMuaDiaChiCity>string</BenMuaDiaChiCity>
        <BenMuaDiaChiCountry>string</BenMuaDiaChiCountry>
      </hoaDonEntity>
    </XuatHoaDonDienTu>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <XuatHoaDonDienTuResponse xmlns="http://thaison.vn/inv">
      <XuatHoaDonDienTuResult>
        <MsgError>
          <Code>string</Code>
          <Message>string</Message>
          <EMessage>string</EMessage>
          <Description>string</Description>
          <EDescription>string</EDescription>
        </MsgError>
        <MaChiNhanh>string</MaChiNhanh>
        <MaLoaiHoaDon>string</MaLoaiHoaDon>
        <TenLoaiHoaDon>string</TenLoaiHoaDon>
        <dhoadonid>decimal</dhoadonid>
        <MauSo>string</MauSo>
        <KyHieu>string</KyHieu>
        <SoHoaDon>string</SoHoaDon>
        <MauSoGoc>string</MauSoGoc>
        <KyHieuGoc>string</KyHieuGoc>
        <NamSinh>string</NamSinh>
        <NgayNhapVien>dateTime</NgayNhapVien>
        <SoNhapVien>string</SoNhapVien>
        <PCName>string</PCName>
        <NgayTaoHoaDon>dateTime</NgayTaoHoaDon>
        <NgayXuatHoaDon>dateTime</NgayXuatHoaDon>
        <BenBanMaDonVi>string</BenBanMaDonVi>
        <BenBanMaSoThue>string</BenBanMaSoThue>
        <BenBanTenDonVi>string</BenBanTenDonVi>
        <BenBanDiaChi>string</BenBanDiaChi>
        <BenBanDienThoai>string</BenBanDienThoai>
        <BenBanFax>string</BenBanFax>
        <BenBanTaiKhoanNganHang>string</BenBanTaiKhoanNganHang>
        <BenBanTenNganHang>string</BenBanTenNganHang>
        <BenBanNganHangDiaChi>string</BenBanNganHangDiaChi>
        <BenMuaMaDonVi>string</BenMuaMaDonVi>
        <BenMuaMaSoThue>string</BenMuaMaSoThue>
        <BenMuaTenDonVi>string</BenMuaTenDonVi>
        <BenMuaHoTen>string</BenMuaHoTen>
        <BenMuaDiaChi>string</BenMuaDiaChi>
        <BenMuaDienThoai>string</BenMuaDienThoai>
        <BenMuaDienThoaiNhanHoaDon>string</BenMuaDienThoaiNhanHoaDon>
        <BenMuaFax>string</BenMuaFax>
        <BenMuaEmail>string</BenMuaEmail>
        <IsSendMail>int</IsSendMail>
        <BenMuaTaiKhoanNganHang>string</BenMuaTaiKhoanNganHang>
        <BenMuaTenNganHang>string</BenMuaTenNganHang>
        <TienThueVat>decimal</TienThueVat>
        <TongTienGTGT>decimal</TongTienGTGT>
        <TongTienHang>decimal</TongTienHang>
        <TongTienThanhToan>decimal</TongTienThanhToan>
        <TienChietKhau>decimal</TienChietKhau>
        <DiaDiemGiaoHang>string</DiaDiemGiaoHang>
        <TongTienThanhToanBangChu>string</TongTienThanhToanBangChu>
        <DongTienThanhToan>string</DongTienThanhToan>
        <HinhThucThanhToan>string</HinhThucThanhToan>
        <TyGia>decimal</TyGia>
        <SoBienLai>string</SoBienLai>
        <SoBienLaiGoc>string</SoBienLaiGoc>
        <OutputVoucherId>string</OutputVoucherId>
        <QuyenSo>string</QuyenSo>
        <NguoiXuatHoaDon>string</NguoiXuatHoaDon>
        <TamUng>decimal</TamUng>
        <GhiChu>string</GhiChu>
        <GhiChuNB>string</GhiChuNB>
        <RECEITP>string</RECEITP>
        <GhiChuGH>string</GhiChuGH>
        <NoiXuatHoaDon>string</NoiXuatHoaDon>
        <KyHoc>string</KyHoc>
        <NamHoc>int</NamHoc>
        <Nhom>string</Nhom>
        <Lop>string</Lop>
        <IsSign>boolean</IsSign>
        <NguoiLienHeGuiHoaDon>string</NguoiLienHeGuiHoaDon>
        <TermOfPayment>string</TermOfPayment>
        <DATECLOSEDBILL>dateTime</DATECLOSEDBILL>
        <LinkDownloadfile>string</LinkDownloadfile>
        <TrangThaiDieuChinh>int</TrangThaiDieuChinh>
        <LoaiBangKe>int</LoaiBangKe>
        <NoiDungBangKe>string</NoiDungBangKe>
        <HangHoas>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
          <HangHoaEntity>
            <SoThuTu>unsignedInt</SoThuTu>
            <MaHang>string</MaHang>
            <TenHang>string</TenHang>
            <DonViTinh>string</DonViTinh>
            <SoLuong>decimal</SoLuong>
            <DonGia>decimal</DonGia>
            <ThanhTien>decimal</ThanhTien>
            <Vat>int</Vat>
            <Vat_CODE>string</Vat_CODE>
            <TienVat>decimal</TienVat>
            <ThanhTienSauThue>decimal</ThanhTienSauThue>
            <SoLuongGoc>decimal</SoLuongGoc>
            <DonGiaGoc>decimal</DonGiaGoc>
            <ThanhTienGoc>decimal</ThanhTienGoc>
            <VatGoc>int</VatGoc>
            <TienVatGoc>decimal</TienVatGoc>
            <MaNhom>string</MaNhom>
            <TenNhom>string</TenNhom>
            <LoaiHang>string</LoaiHang>
            <MaDoiTuong>string</MaDoiTuong>
            <TenDoiTuong>string</TenDoiTuong>
            <GhiChu>string</GhiChu>
            <SoLo>string</SoLo>
            <HeSoMon>decimal</HeSoMon>
            <HeSo>decimal</HeSo>
            <DonViPhi>decimal</DonViPhi>
            <DieuChinh>int</DieuChinh>
            <khuyenMai>boolean</khuyenMai>
            <Sct>int</Sct>
            <SctTien>decimal</SctTien>
            <ChietKhauTien>decimal</ChietKhauTien>
            <dataExtension xsi:nil="true" />
            <SoLuongNhap>decimal</SoLuongNhap>
            <MaKho>string</MaKho>
            <TenHang_Text1>string</TenHang_Text1>
            <TenHang_Text2>string</TenHang_Text2>
            <TenHang_Text3>string</TenHang_Text3>
            <TenHang_Text4>string</TenHang_Text4>
          </HangHoaEntity>
        </HangHoas>
        <dataExtension>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
          <ExtensionEntity>
            <Keys>string</Keys>
            <Values>string</Values>
          </ExtensionEntity>
        </dataExtension>
        <isSuDungBangKe>boolean</isSuDungBangKe>
        <ThongTinChung>string</ThongTinChung>
        <MaEinvoice>string</MaEinvoice>
        <MaXacThuc>string</MaXacThuc>
        <mst>string</mst>
        <SoXacThuc>string</SoXacThuc>
        <SoXacThucGoc>string</SoXacThucGoc>
        <SoThamChieu>string</SoThamChieu>
        <SoHoaDonGoc>string</SoHoaDonGoc>
        <SoHoaDonGocId>string</SoHoaDonGocId>
        <LoaiHang>string</LoaiHang>
        <NoiDungDieuChinh>string</NoiDungDieuChinh>
        <NgayDieuChinh>dateTime</NgayDieuChinh>
        <SoHopDong>string</SoHopDong>
        <NgayHopDong>dateTime</NgayHopDong>
        <ReferenceId>string</ReferenceId>
        <RefNo>string</RefNo>
        <InvoiceSubject>string</InvoiceSubject>
        <SwiftCode>string</SwiftCode>
        <ProjectCode>string</ProjectCode>
        <PaymentTypeInWords>string</PaymentTypeInWords>
        <PaymentToType>string</PaymentToType>
        <PaymentNote>string</PaymentNote>
        <ApplicateName>string</ApplicateName>
        <BeneficaiaryName>string</BeneficaiaryName>
        <InvoiceSubType>string</InvoiceSubType>
        <InvoiceId>string</InvoiceId>
        <ProjectPhone>string</ProjectPhone>
        <InvoiceDueDate>dateTime</InvoiceDueDate>
        <MaNhanHoaDon>string</MaNhanHoaDon>
        <Rescode>string</Rescode>
        <NgayTao>string</NgayTao>
        <vendorCode>string</vendorCode>
        <TransDate>dateTime</TransDate>
        <KieuHoaDon>int</KieuHoaDon>
        <MaKho>string</MaKho>
        <SoDonHang>string</SoDonHang>
        <TranIndex>string</TranIndex>
        <ReceiptType>string</ReceiptType>
        <ReceiptRefundNo>string</ReceiptRefundNo>
        <ReceiptVoidNo>string</ReceiptVoidNo>
        <TenDonViVanChuyen>string</TenDonViVanChuyen>
        <MaPhuongTienVanChuyen>string</MaPhuongTienVanChuyen>
        <SoHopDongVanChuyen>string</SoHopDongVanChuyen>
        <LenhDieuDongSo>string</LenhDieuDongSo>
        <LenhDieuDongNgay>dateTime</LenhDieuDongNgay>
        <LenhDieuDongCua>string</LenhDieuDongCua>
        <LenhDieuDongVeViec>string</LenhDieuDongVeViec>
        <HoTenNguoiVanChuyen>string</HoTenNguoiVanChuyen>
        <MaKhoXuat>string</MaKhoXuat>
        <NgayNhapKho>dateTime</NgayNhapKho>
        <PlantCode>string</PlantCode>
        <DocType>string</DocType>
        <StorageLocationCode>string</StorageLocationCode>
        <SalesOrder>string</SalesOrder>
        <DeliveryOrder>string</DeliveryOrder>
        <OriginalBilling>string</OriginalBilling>
        <OriginalDoc>string</OriginalDoc>
        <CrDrMemo>string</CrDrMemo>
        <AdjustBilling>string</AdjustBilling>
        <LoaiHoaDon>string</LoaiHoaDon>
        <PaymentTerm>dateTime</PaymentTerm>
        <NoVatAmount>decimal</NoVatAmount>
        <TTamtNoTax>decimal</TTamtNoTax>
        <TTvatNoTax>decimal</TTvatNoTax>
        <TTnetNoTax>decimal</TTnetNoTax>
        <TTamt0Tax>decimal</TTamt0Tax>
        <TTvat0Tax>decimal</TTvat0Tax>
        <TTnet0Tax>decimal</TTnet0Tax>
        <TTamt5Tax>decimal</TTamt5Tax>
        <TTvat5Tax>decimal</TTvat5Tax>
        <TTnet5Tax>decimal</TTnet5Tax>
        <TTamt10Tax>decimal</TTamt10Tax>
        <TTvat10Tax>decimal</TTvat10Tax>
        <TTnet10Tax>decimal</TTnet10Tax>
        <OrigPurStore>string</OrigPurStore>
        <OrigPurDate>dateTime</OrigPurDate>
        <OrigPurDocNo>string</OrigPurDocNo>
        <MaCN>string</MaCN>
        <NgayHoaDonStr>string</NgayHoaDonStr>
        <IsGiuLai>boolean</IsGiuLai>
        <DiaDiemNhanHang>string</DiaDiemNhanHang>
        <PrintAuto>string</PrintAuto>
        <DiemPointTichLuy>decimal</DiemPointTichLuy>
        <ThanhToanDiemPointTichLuy>decimal</ThanhToanDiemPointTichLuy>
        <Emptys>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
          <EmptyEntity>
            <EmptyCode>string</EmptyCode>
            <EmptyName>string</EmptyName>
            <EmptyCount>decimal</EmptyCount>
            <EmptyPrice>decimal</EmptyPrice>
          </EmptyEntity>
        </Emptys>
        <BenMuaDiaChiStreet1>string</BenMuaDiaChiStreet1>
        <BenMuaDiaChiStreet2>string</BenMuaDiaChiStreet2>
        <BenMuaDiaChiStreet3>string</BenMuaDiaChiStreet3>
        <BenMuaDiaChiStreet4>string</BenMuaDiaChiStreet4>
        <BenMuaDiaChiCity>string</BenMuaDiaChiCity>
        <BenMuaDiaChiCountry>string</BenMuaDiaChiCountry>
      </XuatHoaDonDienTuResult>
    </XuatHoaDonDienTuResponse>
  </soap12:Body>
</soap12:Envelope>