|
@@ -192,7 +192,7 @@ public class ReceiptMYOBPoster : IMYOBPoster<Receipt, ReceiptMYOBPosterSettings>
|
|
|
var line = new CustomerPaymentLine();
|
|
|
// line.RowID = i + 1;
|
|
|
line.Number = invoice.InvoiceLink.Number.ToString().Truncate(8);
|
|
|
- line.AmountApplied = (decimal)invoice.Amount;
|
|
|
+ line.AmountApplied = Math.Round(Convert.ToDecimal(invoice.Amount), 2);
|
|
|
line.Type = CustomerPaymentLineType.Invoice;
|
|
|
|
|
|
if(Guid.TryParse(invoice.InvoiceLink.PostedReference, out var myobInvoiceID))
|