public Reference getAccount() { 
      if (this.account == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create Invoice.account");
        else if (Configuration.doAutoCreate())
          this.account = new Reference(); // cc
      return this.account;
    }
public Reference getAccount ( ) { if ( this . account == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create Invoice.account" ) ; else if ( Configuration . doAutoCreate ( ) ) this . account = new Reference ( ) ; return this . account ; }
@return {@link #account} (Account which is supposed to be balanced with this Invoice.)