/*
 * ac_taxinv_query_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_taxinv_query_dbio, part of libacdbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 */
#ifndef AC_TAXINV_QUERY_DBIO_H
#define AC_TAXINV_QUERY_DBIO_H

typedef struct { long inv_id; char merchant_id[64]; long supply; long vat; } ac_taxinv_q_rec_t;

long acdb_taxinv_vat_total(const char *bizdate);
long acdb_taxinv_merchant_count(const char *merch, const char *bizdate);

#endif /* AC_TAXINV_QUERY_DBIO_H */
