Skip to content

Commit

Permalink
Introducing CIG and CUP in Italian fiscalization tests (#248)
Browse files Browse the repository at this point in the history
* Introducing CIG and CUP in Italian fiscalization tests

* Refactoring sending cig and cup

---------

Co-authored-by: Abdallah Altrabeishi <[email protected]>
  • Loading branch information
inakiesteve and abdallahbeshi authored May 9, 2024
1 parent 16b6b2e commit d13c02f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Italy/Mews.Fiscalizations.Italy.Tests/UniwixClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,17 @@ private ElectronicInvoiceBody GetInvoiceBody(string invoiceNumber)
IssueDate = DateTime.UtcNow,
DocumentNumber = invoiceNumber,
TotalAmount = 100m
},
OrderData = new[]
{
new OrderData
{
DocumentId = invoiceNumber,
// cig
TenderCode = "A1B2C3D4E5",
// cup
ProjectCode = "A1B2C3D4E5F6G7H"
}
}
},
ServiceData = new ServiceData
Expand Down

0 comments on commit d13c02f

Please sign in to comment.