/*
 * ac_taxinv_spread_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_taxinv_spread_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.
 * Shape: max(vat)-min(vat) 스프레드.
 */
#ifndef AC_TAXINV_SPREAD_DBIO_H
#define AC_TAXINV_SPREAD_DBIO_H

typedef struct { long vat_max; long vat_min; long spread; } ac_taxinv_spread_rec_t;

long acdb_taxinv_vat_spread(const char *bizdate);
long acdb_taxinv_count(const char *bizdate);

#endif /* AC_TAXINV_SPREAD_DBIO_H */
