private JournalDto CreateJournalDto2()
        {
            JournalDto dto = new JournalDto();

            dto.Date               = DateTime.UtcNow.Date;
            dto.Summary            = "Summary";
            dto.Tags               = "Journal, MultiCcy";
            dto.AutoPopulateFXRate = true;
            dto.Ccy = "USD";

            JournalItemDto row1 = new JournalItemDto();

            row1.AccountUid = this.IncomeSubscription.Uid;
            row1.TaxCode    = TaxCode.SaleInclGst;
            row1.Type       = DebitCreditType.Credit;
            row1.Amount     = 100M;

            JournalItemDto row2 = new JournalItemDto();

            row2.AccountUid = this.IncomeShipping.Uid;
            row2.TaxCode    = TaxCode.SaleInclGst;
            row2.Type       = DebitCreditType.Credit;
            row2.Amount     = 50M;

            JournalItemDto row3 = new JournalItemDto();

            row3.AccountUid = this.Westpac.Uid;
            row3.Type       = DebitCreditType.Debit;
            row3.Amount     = 150M;

            dto.Items = new JournalItemDto[] { row1, row2, row3 };

            return(dto);
        }
        private JournalDto CreateJournalDto()
        {
            JournalDto dto = new JournalDto();

            dto.Date             = DateTime.UtcNow.Date;
            dto.Notes            = "Notes";
            dto.RequiresFollowUp = false;
            dto.Reference        = "#12345";
            dto.Summary          = "Summary";
            dto.Tags             = "ABC, DEF";
            dto.FCToBCFXRate     = 1M;

            JournalItemDto row1 = new JournalItemDto();

            row1.AccountUid = this.ExpenseOffice.Uid;
            row1.TaxCode    = TaxCode.ExpInclGst;
            row1.Type       = DebitCreditType.Credit;
            row1.Amount     = 123.45M;

            JournalItemDto row2 = new JournalItemDto();

            row2.AccountUid = this.ExpenseTelco.Uid;
            row2.TaxCode    = TaxCode.ExpInclGst;
            row2.Type       = DebitCreditType.Debit;
            row2.Amount     = 123.45M;

            dto.Items = new JournalItemDto[]
            {
                row1, row2
            };

            return(dto);
        }