ubl 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/lib/ubl/version.rb +1 -1
- data/lib/ubl.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7910f61d2fb9d3441defbd3a471c8dee214fcc2328430ddc74564e03839e02f
|
4
|
+
data.tar.gz: 94702d68716de735e38896e7c927fadb216917f422b1ed9cc58f8aac697541aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274419fa7cbf69522f8ba6ade35415aead6750e63efce27f623e136accb2705dd29fc339dfcdfea63f9a9a16fcf0bd3587ef07e46aa3d073048af2724ed6d19b
|
7
|
+
data.tar.gz: 52e29b3ecaa743ea11d525f743ec0de05207a4c0d2980509ee9ec53fd2ccffb8a6901ab4758ec9fcdc99713ca16411d483cd73fa63e05605dba5ac736a957496
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Ubl
|
4
4
|
|
5
|
-
Generate UBL invoices and credit notes
|
5
|
+
Generate UBL (Universal Business Language) documents, such as invoices and credit notes, compliant with the Peppol network.
|
6
6
|
|
7
7
|
## installation
|
8
8
|
|
@@ -25,10 +25,7 @@ require "ubl"
|
|
25
25
|
|
26
26
|
invoice = Ubl::Invoice.new
|
27
27
|
invoice.invoice_nr = "INV-2025-001"
|
28
|
-
invoice.
|
29
|
-
invoice.due_date = Date.new(2025, 7, 28)
|
30
|
-
invoice.currency = "EUR"
|
31
|
-
invoice.pdffile = __dir__ + "/invoice_test.pdf"
|
28
|
+
invoice.pdffile = "./invoice.pdf"
|
32
29
|
|
33
30
|
invoice.add_supplier(
|
34
31
|
name: "ACME Corp",
|
data/lib/ubl/version.rb
CHANGED
data/lib/ubl.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require_relative "ubl/builder"
|
2
2
|
|
3
3
|
##
|
4
|
-
#
|
5
|
-
#
|
4
|
+
# Generate UBL (Universal Business Language) documents,
|
5
|
+
# such as invoices and credit notes, compliant with the Peppol network.
|
6
6
|
module Ubl
|
7
7
|
class Invoice < UblBuilder
|
8
8
|
##
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ubl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- roel4d
|
@@ -37,7 +37,8 @@ dependencies:
|
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: 0.3.0
|
40
|
-
description: Generate UBL documents
|
40
|
+
description: Generate UBL (Universal Business Language) documents, such as invoices
|
41
|
+
and credit notes, compliant with the Peppol network.
|
41
42
|
email:
|
42
43
|
- roel4d@webding.org
|
43
44
|
executables: []
|
@@ -74,5 +75,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
75
|
requirements: []
|
75
76
|
rubygems_version: 3.6.7
|
76
77
|
specification_version: 4
|
77
|
-
summary: Generate UBL documents
|
78
|
+
summary: Generate UBL documents for Peppol
|
78
79
|
test_files: []
|