Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit 275435c

Browse files
committed
Added CISDeduction to invoice and credit note
1 parent f169b8e commit 275435c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Xero.Api/Core/Model/CreditNote.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@ public class CreditNote : HasUpdatedDate, IHasId, IHasAttachment
7878

7979
[DataMember(EmitDefaultValue = false)]
8080
public List<Payment> Payments { get; set; }
81+
82+
[DataMember(EmitDefaultValue = false, Name = "CISDeduction")]
83+
public decimal? CisDeduction { get; set; }
8184
}
8285
}

Xero.Api/Core/Model/Invoice.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ public List<LineItem> Items
104104
[DataMember(EmitDefaultValue = false)]
105105
public List<Overpayment> Overpayments { get; set; }
106106

107-
[DataMember(EmitDefaultValue = false)]
108-
public List<Payment> Payments { get; set; }
109-
107+
[DataMember(EmitDefaultValue = false)]
108+
public List<Payment> Payments { get; set; }
109+
110+
[DataMember(EmitDefaultValue = false, Name = "CISDeduction")]
111+
public decimal? CisDeduction { get; set; }
110112
}
111113
}

0 commit comments

Comments
 (0)