Commit Graph

147 Commits

Author SHA1 Message Date
jstaerk
34ee9b6267 corrected profile for order-x 2021-12-04 15:25:00 +01:00
jstaerk
24363725ac Revert "added first order-x experiments"
This reverts commit 485c96b9b6.
2021-12-02 11:43:05 +01:00
jstaerk
485c96b9b6 added first order-x experiments 2021-11-29 16:57:37 +01:00
jstaerk
099ce840d1 count patterns as fired rules->testing UBL positive 2021-11-13 17:51:11 +01:00
jstaerk
f56e37bda9 - Fixed an error validation UBL files
- unknown root elements will now throw type 3 errors
- added some tests
2021-11-13 17:34:24 +01:00
jstaerk
dbfe0baeea insufficient test data 2021-10-25 18:29:49 +02:00
jstaerk
032629ab44 some git checkouts may convert to crlm 2021-10-25 12:52:51 +02:00
Jochen Staerk
1157ea5086 Merge pull request #252 from weclapp-dev/master
Add a document type and additional fields
2021-10-21 14:14:37 +02:00
Sebastian Sieber
6a34668265 Merge remote-tracking branch 'remotes/mustang-origin/master' into fork-master
# Conflicts:
#	validator/src/main/java/org/mustangproject/validator/PDFValidator.java
2021-10-19 14:50:22 +02:00
jstaerk
8094504fa5 make invoiceimporters namespace aware to be able to properly ignore namespaces 2021-10-18 15:27:50 +02:00
LAPTOP-MS3A4HDC\Asim khan
c7093a20c1 closiong #247 2021-08-09 10:50:35 +02:00
Sebastian Sieber
b69aef624d WECLAPP-31713 Add PARTIAL_BILLING
Fix line ending problem in UTLTest
Fix typo
2021-03-02 12:43:55 +01:00
jstaerk
da35a78ff2 remove debug output 2021-02-14 15:49:43 +01:00
jstaerk
a6a7f50206 attempt to have visualization tests passed 2021-02-09 13:18:06 +01:00
Daniel Murygin
2739411424 Add a test that generates invoices with a recipient without a street
resolves #222

Add a test that generates invoices with a recipient without a street in the address.
Extract a method in the test to create the invoice with recipient as parameter.
2021-02-08 10:15:37 +01:00
jstaerk
e142a81959 have tests for visualization and ubl convert. Insist in UTF-8 as charset in more cases. 2021-02-02 08:05:10 +01:00
jstaerk
44a464bee3 closes #212 2020-12-26 11:37:58 +01:00
jstaerk
b3846b806a support credit notes, automatically switch from XR 1.2.2 to XR 2.0 on 2021-01-01 2020-12-05 18:11:42 +01:00
jstaerk
08b6d8b5fb making Transaction calculators getGrandTotal public 2020-11-28 10:59:50 +01:00
jstaerk
d764fb4784 closes #201 2020-11-26 09:39:47 +01:00
jstaerk
e7e2141c04 support reverse charge 2020-11-25 18:34:48 +01:00
jstaerk
04bb87ad2b resources for new sample invoice 2020-11-21 20:53:41 +01:00
jstaerk
a79a48095e support account holders, new sample invoice 2020-11-21 20:46:05 +01:00
jstaerk
3ff25bc9fe correction zf2 edge test case (interface based) 2020-11-21 13:05:14 +01:00
jstaerk
39d98d1e9d added item delivery periods 2020-11-21 12:50:55 +01:00
Sebastian Sieber
12fdf01c5c Merge remote-tracking branch 'remotes/origin/master' into master 2020-11-20 11:45:38 +01:00
jstaerk
231a7999ee don't mention tax numbers for shiptotradeparties 2020-11-19 14:37:42 +01:00
jstaerk
dff6334185 do not expect dueDate for corrected invoices 2020-11-19 12:12:27 +01:00
Sebastian Sieber
f29c452a04 Remove LineCalculator.getItemTotalGrossAmount() to prevent confusion 2020-11-18 15:00:19 +01:00
Sebastian Sieber
4ba099c86d Correct and simplify calculation
In the test case with allowance the VAT amount was calculated 1 ct too high.
2020-11-17 18:07:16 +01:00
Jochen Staerk
1740c6891a Merge pull request #193 from mr-stephan/preserving-metadata
Preserving metadata
2020-11-17 14:49:25 +01:00
jstaerk
0ce0d98c46 Merge branch 'master' of https://github.com/weclapp-dev/mustangproject into weclapp-dev-master
# Conflicts:
#	library/src/main/java/org/mustangproject/ZUGFeRD/TransactionCalculator.java
#	library/src/test/java/org/mustangproject/ZUGFeRD/XRTest.java
2020-11-17 12:06:05 +01:00
jstaerk
48dc209f94 closes #172, fixes zero rated products, added some lines to the test of the XRechnung, have the XRechnung test actually wriote to file and have the XR test file validated automatically 2020-11-17 11:49:20 +01:00
Stefan Klinke
510198884c Added a test to validate the exported PDF is identified as A3 2020-11-16 18:23:59 +01:00
Sebastian Sieber
1387d09044 BigDecimal specific refactoring
Use BigDecimal.stripTrailingZeros() as key for getVATPercentMap and in consequence use compareTo... == 0 instead of equals
Use BigDecimal.ZERO instead of new BigDecimal(0)
These changes result in improvements in enumeration of the <ram:SpecifiedTradeAllowanceCharge> tags and the calculation of tag <ram:SpecifiedTradeSettlementHeaderMonetarySummation>.
2020-11-16 15:40:23 +01:00
jstaerk
b6aad03da2 updated some javadoc 2020-11-12 08:06:53 +01:00
jstaerk
bb42381c67 test for customer IDs 2020-11-12 06:50:17 +01:00
jstaerk
5b8d1c9c54 support document level charges/allowances in invoiceimporter 2020-11-10 12:03:38 +01:00
jstaerk
71379627c6 corrected release notes and history, zf1 test 2020-11-08 20:15:41 +01:00
jstaerk
ffe6fd9e1a Also list item level charge/allowance reason in according profile (i.e., extended) 2020-11-05 22:52:42 +01:00
jstaerk
0f98ecb8f0 allow custom ram:reasons (previously ignored) 2020-11-05 10:42:50 +01:00
jstaerk
b80432903c corrected taxrate issue in rateApplicablePercent 2020-11-04 21:23:46 +01:00
jstaerk
1243863368 support included notes 2020-11-04 20:51:22 +01:00
jstaerk
9efb2204d5 minor corrections 2020-11-03 08:36:41 +01:00
jstaerk
ede19a6b74 refactoring Transactioncalculator 2020-10-31 18:16:10 +01:00
jstaerk
aaa106f09a import seller and buyer correctly 2020-10-31 16:43:04 +01:00
jstaerk
45cccee02f parsing invoice dates 2020-10-31 16:19:34 +01:00
jstaerk
0ac9ac6cac parse item attributes 2020-10-31 13:57:33 +01:00
Jochen Stärk
2bb906df3a add fax number to contact. Allow access to lineTwo(additionaladdress) 2020-10-27 10:18:28 +01:00
Jochen Stärk
0f351a2c3c invoiceimporter to parse quantities 2020-10-13 17:52:31 +02:00