Skip to content

Commit

Permalink
Merge pull request #217 from invopop/inbox-defs
Browse files Browse the repository at this point in the history
Adding it inbox key definitions
  • Loading branch information
samlown authored Nov 20, 2023
2 parents a51167c + 4a14905 commit 8787541
Show file tree
Hide file tree
Showing 57 changed files with 132 additions and 56 deletions.
16 changes: 16 additions & 0 deletions data/regimes/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,22 @@
}
}
],
"inbox_keys": [
{
"key": "it-sdi-code",
"name": {
"en": "SDI Destination Code",
"it": "Codice Destinatario SDI"
}
},
{
"key": "it-sdi-pec",
"name": {
"en": "SDI PEC Destination",
"it": "PEC Destinatario SDI"
}
}
],
"scenarios": [
{
"schema": "bill/invoice",
Expand Down
2 changes: 1 addition & 1 deletion data/schemas/bill/correction-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
"description": "CorrectionOptions defines a structure used to pass configuration options to correct a previous invoice."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/bill/invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -818,5 +818,5 @@
"description": "Totals contains the summaries of all calculations for the invoice."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cal/date-time.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Civil date time in simplified ISO format with no time zone\ninformation, for example: 2021-05-26T13:45:00"
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cal/date.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Civil date in simplified ISO format, like 2021-05-26"
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cal/period.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"description": "Period represents two dates with a start and finish."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cbc/code-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"description": "CodeMap is a map of keys to specific codes, useful to determine regime specific codes from their key counterparts."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cbc/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"description": "Alphanumerical text identifier with upper-case letters, no whitespace, nor symbols."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cbc/key.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"description": "Text identifier to be used instead of a code for a more verbose but readable identifier."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cbc/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"description": "Meta defines a structure for data about the data being defined."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/cbc/note.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,5 @@
"description": "Note represents a free text of additional information that may be added to a document."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/currency/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -675,5 +675,5 @@
"description": "ISO Currency Code"
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/currency/exchange-rate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"description": "ExchangeRate contains data on the rate to be used when converting amounts from the document's base currency to whatever is defined."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/dsig/digest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"description": "Digest defines a structure to hold a digest value including the algorithm used to generate it."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/dsig/signature.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"description": "JSON Web Signature in compact form."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/envelope.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"description": "Envelope wraps around a document adding headers and digital signatures."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/head/header.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
"description": "Header defines the metadata of the body."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/head/stamp.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"description": "Stamp defines an official seal of approval from a third party like a governmental agency or intermediary and should thus be included in any official envelopes."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/i18n/string.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"description": "Map of 2-Letter language codes to their translations."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/l10n/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Code is used for short identifies like country or state codes."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/l10n/country-code.json
Original file line number Diff line number Diff line change
Expand Up @@ -1007,5 +1007,5 @@
"description": "Defines an ISO 3166-2 country code"
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/note/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
]
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/num/amount.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Quantity with optional decimal places that determine accuracy."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/num/percentage.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"description": "Similar to an Amount, but designed for percentages and includes % symbol in JSON output."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/address.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@
"description": "Address defines a globally acceptable set of attributes that describes a postal or fiscal address."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/coordinates.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
"description": "Coordinates describes an exact geographical location in the world."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/email.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"description": "Email describes the electronic mailing details."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/identity.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"description": "Identity is used to define a code for a specific context."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
7 changes: 6 additions & 1 deletion data/schemas/org/image.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,16 @@
"$ref": "https://gobl.org/draft-0/dsig/digest",
"title": "Digest",
"description": "Digest can be used to ensure the image contained at the URL\nis the same one as originally intended."
},
"meta": {
"$ref": "https://gobl.org/draft-0/cbc/meta",
"title": "Meta",
"description": "Meta contains additional information about the image."
}
},
"type": "object",
"description": "Image describes a logo or photo that represents an entity."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/inbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"description": "Inbox is used to store data about a connection with a service that is responsible for potentially receiving copies of GOBL envelopes or other document formats defined locally."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@
"description": "Item is used to describe a single product or service."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/name.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
"description": "Name represents what a human is called."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/party.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@
"description": "Party represents a person or business entity."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/person.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"description": "Person represents a human, and how to contact them electronically."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/registration.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@
"description": "Registration is used in countries that require additional information to be associated with a company usually related to a specific registration office."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/telephone.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"description": "Telephone describes what is expected for a telephone number."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/unit.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,5 @@
"description": "Unit describes how the quantity of the product should be interpreted."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/org/website.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
"description": "Website describes what is expected for a web address."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/pay/advance.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@
"description": "Advance represents a single payment that has been made already, such as a deposit on an intent to purchase, or as credit from a previous invoice which was later corrected or cancelled."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/pay/instructions.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,5 @@
"description": "Online provides the details required to make a payment online using a website"
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/pay/terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@
"description": "Terms defines when we expect the customer to pay, or have paid, for the contents of the document."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/regimes/mx/food-vouchers.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@
"description": "FoodVouchersLine represents a single food voucher issued to the e-wallet of one of the customer's employees."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/regimes/mx/fuel-account-balance.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@
"description": "FuelAccountTax represents a single tax applied to a fuel purchase."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/schema/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"description": "Data object whose type is determined from the \u003ccode\u003e$schema\u003c/code\u003e property."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
2 changes: 1 addition & 1 deletion data/schemas/tax/identity.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
"description": "Identity stores the details required to identify an entity for tax purposes."
}
},
"$comment": "Generated with GOBL v0.62.0"
"$comment": "Generated with GOBL v0.62.1"
}
Loading

0 comments on commit 8787541

Please sign in to comment.