CREATE TABLE jg_zz_vat_upg_stg (
    VAT_HEADER_ID              NUMBER(18, 0),
    ORGANIZATION_ID            NUMBER(18, 0)    NOT NULL,
    LEDGER_ID                  NUMBER(18, 0),
    LEGAL_ENTITY_ID            NUMBER(18, 0),
    COUNTRY_CODE               VARCHAR2(8)      NOT NULL,
    LOCATION_ID                NUMBER(18, 0)    NOT NULL,
    GEOGRAPHY_ID               NUMBER(18, 0)    NOT NULL,
    PARTY_ID                   NUMBER(18, 0),
    TAX_REGISTRATION_NUMBER    VARCHAR2(200),
    TAX_CALENDER               VARCHAR2(120),
    REPORT_SEQUENCE_FLAG       VARCHAR2(4)  ,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    VAT_HEADER_ID              NUMBER(18, 0),
    ORGANIZATION_ID            NUMBER(18, 0)    NOT NULL,
    LEDGER_ID                  NUMBER(18, 0),
    LEGAL_ENTITY_ID            NUMBER(18, 0),
    COUNTRY_CODE               VARCHAR2(8)      NOT NULL,
    LOCATION_ID                NUMBER(18, 0)    NOT NULL,
    GEOGRAPHY_ID               NUMBER(18, 0)    NOT NULL,
    PARTY_ID                   NUMBER(18, 0),
    TAX_REGISTRATION_NUMBER    VARCHAR2(200),
    TAX_CALENDER               VARCHAR2(120),
    REPORT_SEQUENCE_FLAG       VARCHAR2(4)  ,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_jg_zz_vat_upg_stg PRIMARY KEY (VAT_HEADER_ID, VAT_HEADER_ID)
);
