//
//  MCReportDocument+InvoicesAndEstimates.h
//  MCReporting
//
//  Created by Mark Onyschuk on 13/04/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <MCReporting/MCReportDocument.h>

@interface MCReportDocument (InvoicesAndEstimates)

// Invoice/Estimate Support
- (BOOL)isInvoice;
- (BOOL)isEstimate;

- (BOOL)convertToEstimate;
- (BOOL)convertToStatement;

// ***** Conversion from Billings 2.x to 3.x

// returns warnings if there is some suspect stuff
- (NSArray *)convertTo3xAndRefreshWindows:(BOOL)flag;
- (NSArray *)convertTo3x;


// ***** Conversion from Billings 3.x to Billings Pro 1.x

- (NSArray *)convertFromBI3xToBP1xAndRefreshWindows:(BOOL)flag;
- (NSArray *)convertFromBI3xToBP1xAndRefreshWindows;
- (NSArray *)convertFromBI3xToBP1xWithoutRefreshingWindows;




@end
