-- Create Table Statement for 'Paper Statement Detail'
DROP TABLE IF EXISTS `PAPER_STATEMENT_DETAIL`;
CREATE TABLE `PAPER_STATEMENT_DETAIL` (
	ID bigint(20) NOT NULL,
	AMOUNT int(11),
	DUE_DATE datetime,
	BILLING_DATE datetime,
	EXTERNAL_REFERENCE_CODE varchar,
	NOTE varchar,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	COLLECTIONS_TRANSACTION_FK bigint(20),
	PAPER_STATEMENT_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;