Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/eu-en16931-v2017.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ exemption note covering it.
| Field | Test | Validation Code / Message |
| ----- | ---- | ------------------------- |
| `inboxes` | <ul class="gobl-test"><li>Length between 0 and 1</li></ul> | `GOBL-EU-EN16931-ORG-PARTY-01`<br />Cannot have more than one inbox (BT-34, BT-49) |
| `identities` | <ul class="gobl-test"><li>Single legal-scope identity</li></ul> | `GOBL-EU-EN16931-ORG-PARTY-02`<br />Only one identity may have the legal scope (BT-30, BT-47) |
| `identities` | <ul class="gobl-test"><li>Single tax-scope identity</li></ul> | `GOBL-EU-EN16931-ORG-PARTY-03`<br />Only one identity may have the tax scope (BT-31, BT-48) |
</Accordion>
<Accordion title="org.Inbox">

Expand Down
40 changes: 25 additions & 15 deletions addons/fr-ctc-flow10-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,17 @@ The numeric suffix indicates the payment type (1=deposit,

| Code | Name |
| ---- | ---- |
| `B1` | Goods - Deposit invoice |
| `B1` | Goods - Standard invoice |
| `B2` | Goods - Already paid invoice |
| `B4` | Goods - Final invoice (after down payment) |
| `B7` | Goods - E-reporting (VAT already collected) |
| `S1` | Services - Deposit invoice |
| `S1` | Services - Standard invoice |
| `S2` | Services - Already paid invoice |
Comment thread
alvarolivie marked this conversation as resolved.
| `S4` | Services - Final invoice (after down payment) |
| `S5` | Services - Subcontractor invoice |
| `S6` | Services - Co-contractor invoice |
| `S7` | Services - E-reporting (VAT already collected) |
| `M1` | Mixed - Deposit invoice |
| `M1` | Mixed - Standard invoice |
| `M2` | Mixed - Already paid invoice |
| `M4` | Mixed - Final invoice (after down payment) |
</Accordion>
Expand All @@ -133,21 +133,21 @@ The numeric suffix indicates the payment type (1=deposit,
| <small>Invoice</small> | <ul class="gobl-test"><li>Can convert to [EUR]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-01`<br />Invoice must be in EUR or provide an exchange rate to EUR |
| `supplier.addresses[*].country` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-02`<br />Invoice supplier address country is required |
| `customer.addresses[*].country` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-03`<br />Invoice customer address country is required |
| <small>Invoice</small> | <ul class="gobl-test"><li>Invoice is B2C (no customer)</li><li>Allowed Flow 10 VAT percents</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-07`<br />Invoice VAT line percent must be one of the Flow 10 permitted values 0%, 0.9%, 1.05%, 1.75%, 2.1%, 5.5%, 7%, 8.5%, 9.2%, 9.6%, 10%, 13%, 19.6%, 20%, 20.6% (G1.24) |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2C (no customer)</li><li>Ext require [fr-ctc-flow10-b2c-category]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-04`<br />Invoice tax ext fr-ctc-flow10-b2c-category is required on B2C invoices (G1.68) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2C (no customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-05`<br />Invoice supplier is required on B2C invoices |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2C (no customer)</li><li>Party has SIREN</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-06`<br />Invoice supplier must have a SIREN identity (ISO/IEC 6523 scheme 0002) on a B2C invoice |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Ext 'untdid-document-type' in [380, 386, 384, 381, 503]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-08`<br />Invoice tax ext untdid-document-type must be one of the Flow 10 permitted UNTDID 1001 codes |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Ext require [fr-ctc-billing-mode]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-09`<br />Invoice tax ext fr-ctc-billing-mode is required (G1.02) |
| <small>Invoice</small> | <ul class="gobl-test"><li>Invoice is B2C (no legal customer)</li><li>Allowed Flow 10 VAT percents</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-07`<br />Invoice VAT line percent must be one of the Flow 10 permitted values 0%, 0.9%, 1.05%, 1.75%, 2.1%, 5.5%, 7%, 8.5%, 9.2%, 9.6%, 10%, 13%, 19.6%, 20%, 20.6% (G1.24) |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2C (no legal customer)</li><li>Ext require [fr-ctc-flow10-b2c-category]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-04`<br />Invoice tax ext fr-ctc-flow10-b2c-category is required on B2C invoices (G1.68) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2C (no legal customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-05`<br />Invoice supplier is required on B2C invoices |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2C (no legal customer)</li><li>Party has SIREN</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-06`<br />Invoice supplier must have a SIREN identity (ISO/IEC 6523 scheme 0002) on a B2C invoice |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Ext 'untdid-document-type' in [380, 386, 384, 381, 503]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-08`<br />Invoice tax ext untdid-document-type must be one of the Flow 10 permitted UNTDID 1001 codes |
| `tax.ext` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Ext require [fr-ctc-billing-mode]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-09`<br />Invoice tax ext fr-ctc-billing-mode is required (G1.02) |
| `tax.ext` | <ul class="gobl-test"><li>Invoice tax ext fr-ctc-billing-mode in [B4, S4, M4]</li><li>Ext 'untdid-document-type' not in [386, 500, 503]</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-10`<br />Invoice tax ext untdid-document-type must not be an advance-payment code (386, 500, 503) when billing mode is final-after-advance (B4, S4, M4) (G1.60) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-11`<br />Invoice supplier is required for Flow 10 B2B invoices (G2.19) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Party has allowed legal scheme</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-12`<br />Invoice supplier must declare a legal identity with an allowed ICD 6523 scheme (0002, 0223, 0227, 0228 or 0229) (G2.19) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Party has TaxID when required</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-13`<br />Invoice supplier tax_id is required when legal identity scheme is SIREN (0002) or EU VAT (0223) (G2.33) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-11`<br />Invoice supplier is required for Flow 10 B2B invoices (G2.19) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Party has allowed legal scheme</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-12`<br />Invoice supplier must declare a legal identity with an allowed ICD 6523 scheme (0002, 0223, 0227, 0228 or 0229) (G2.19) |
| `supplier` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Party has TaxID when required</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-13`<br />Invoice supplier tax_id is required when legal identity scheme is SIREN (0002) or EU VAT (0223) (G2.33) |
| <small>Invoice</small> | <ul class="gobl-test"><li>Invoice has exempt (E) VAT category</li><li>Supplier or tax rep has VAT ID</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-14`<br />Invoice supplier tax_id or ordering.seller tax_id is required when the VAT breakdown contains an exempt (E) category |
| <small>Invoice</small> | <ul class="gobl-test"><li>Invoice has exempt (E) VAT category</li><li>Has exempt tax note</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-15`<br />Invoice tax.notes must include an exempt-reason entry (key=exempt with non-empty text) when the VAT breakdown contains an exempt (E) category |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-16`<br />Invoice customer is required for Flow 10 B2B invoices (G2.19) |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Party has allowed legal scheme</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-17`<br />Invoice customer must declare a legal identity with an allowed ICD 6523 scheme (0002, 0223, 0227, 0228 or 0229) (G2.19) |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (has customer)</li><li>Party has TaxID when required</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-18`<br />Invoice customer tax_id is required when legal identity scheme is SIREN (0002) or EU VAT (0223) (G2.33) |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-16`<br />Invoice customer is required for Flow 10 B2B invoices (G2.19) |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Party has allowed legal scheme</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-17`<br />Invoice customer must declare a legal identity with an allowed ICD 6523 scheme (0002, 0223, 0227, 0228 or 0229) (G2.19) |
| `customer` | <ul class="gobl-test"><li>Invoice is B2B (legal customer)</li><li>Party has TaxID when required</li></ul> | `GOBL-FR-CTC-FLOW10-BILL-INVOICE-18`<br />Invoice customer tax_id is required when legal identity scheme is SIREN (0002) or EU VAT (0223) (G2.33) |
</Accordion>
<Accordion title="bill.Payment">

Expand All @@ -167,6 +167,16 @@ The numeric suffix indicates the payment type (1=deposit,
| Field | Test | Validation Code / Message |
| ----- | ---- | ------------------------- |
| `identities` | <ul class="gobl-test"><li>Unique iso-scheme-id</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-PARTY-01`<br />Party identities must not duplicate iso-scheme-id values (BR-FR-CO-10) |
| `identities` | <ul class="gobl-test"><li>Single legal-scope identity</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-PARTY-03`<br />Only one identity may have the legal scope |
| `identities[*].ext` | <ul class="gobl-test"><li>Ext require [iso-scheme-id]</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-PARTY-02`<br />Party identity ext iso-scheme-id is required (BR-FR-CO-10) |
</Accordion>
<Accordion title="org.Identity">

| Field | Test | Validation Code / Message |
| ----- | ---- | ------------------------- |
| `code` | <ul class="gobl-test"><li>Scheme 0227</li><li>Length between 0 and 18</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-IDENTITY-01`<br />HORS_UE (0227) identity must be no more than 18 characters (G1.73) |
| `code` | <ul class="gobl-test"><li>Scheme 0227</li><li>Matches ^[A-Z0-9]+$</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-IDENTITY-02`<br />HORS_UE (0227) identity must be uppercase alphanumeric (G1.73) |
| `code` | <ul class="gobl-test"><li>Scheme 0228</li><li>Length between 9 and 10</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-IDENTITY-03`<br />RIDET (0228) identity must be 9 or 10 characters (G1.73) |
| `code` | <ul class="gobl-test"><li>Scheme 0229</li><li>Length between 9 and 9</li></ul> | `GOBL-FR-CTC-FLOW10-ORG-IDENTITY-04`<br />TAHITI (0229) identity must be 9 characters (G1.73) |
</Accordion>
</AccordionGroup>
10 changes: 5 additions & 5 deletions addons/fr-ctc-flow2-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,17 @@ The numeric suffix indicates the payment type (1=deposit,

| Code | Name |
| ---- | ---- |
| `B1` | Goods - Deposit invoice |
| `B1` | Goods - Standard invoice |
| `B2` | Goods - Already paid invoice |
| `B4` | Goods - Final invoice (after down payment) |
| `B7` | Goods - E-reporting (VAT already collected) |
| `S1` | Services - Deposit invoice |
| `S1` | Services - Standard invoice |
Comment thread
alvarolivie marked this conversation as resolved.
| `S2` | Services - Already paid invoice |
| `S4` | Services - Final invoice (after down payment) |
| `S5` | Services - Subcontractor invoice |
| `S6` | Services - Co-contractor invoice |
| `S7` | Services - E-reporting (VAT already collected) |
| `M1` | Mixed - Deposit invoice |
| `M1` | Mixed - Standard invoice |
| `M2` | Mixed - Already paid invoice |
| `M4` | Mixed - Final invoice (after down payment) |
</Accordion>
Expand All @@ -220,10 +220,10 @@ The numeric suffix indicates the payment type (1=deposit,
| `tax.ext` | <ul class="gobl-test"><li>Ext require [fr-ctc-billing-mode]</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-09`<br />Invoice tax ext fr-ctc-billing-mode is required |
| `tax.ext` | <ul class="gobl-test"><li>Invoice tax ext fr-ctc-billing-mode in [B4, S4, M4]</li><li>Ext 'untdid-document-type' not in [386, 500, 503]</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-10`<br />Invoice tax ext untdid-document-type must not be an advance-payment code (386, 500, 503) when billing mode is factoring (B4, S4, M4) (BR-FR-CO-08) |
| `supplier.inboxes` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-11`<br />Invoice supplier inboxes are required for French B2B invoices (BR-FR-13) |
| `supplier.identities` | <ul class="gobl-test"><li>Has SIREN (legal scope)</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-12`<br />Invoice supplier identities must include a SIREN identity with iso-scheme-id 0002 and scope legal (BR-FR-10/11) |
| `supplier.identities` | <ul class="gobl-test"><li>Legal identity is SIREN</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-12`<br />Invoice supplier legal identity must be a SIREN with iso-scheme-id 0002 (BR-FR-10/11) |
| `supplier` | <ul class="gobl-test"><li>Invoice tax ext untdid-document-type not in [389, 501, 500, 471, 473, 261, 502]</li><li>Has SIREN inbox</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-13`<br />Invoice supplier must have an inbox with scheme 0225 matching the SIREN code (BR-FR-21/22) |
| `customer.inboxes` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-14`<br />Invoice customer inboxes are required for French B2B invoices (BR-FR-13) |
| `customer.identities` | <ul class="gobl-test"><li>Has SIREN (legal scope)</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-15`<br />Invoice customer identities must include a SIREN identity with iso-scheme-id 0002 and scope legal (BR-FR-10/11) |
| `customer.identities` | <ul class="gobl-test"><li>Legal identity is SIREN</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-15`<br />Invoice customer legal identity must be a SIREN with iso-scheme-id 0002 (BR-FR-10/11) |
| `customer` | <ul class="gobl-test"><li>Invoice tax ext untdid-document-type in [389, 501, 500, 471, 473, 261, 502]</li><li>Has SIREN inbox</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-16`<br />Invoice customer must have an inbox with scheme 0225 matching the SIREN code (BR-FR-21/22) |
| `ordering.identities` | <ul class="gobl-test"><li>Identities have at most one ext untdid-reference=AFL</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-17`<br />Invoice ordering identities must not contain more than one entry with UNTDID reference 'AFL' (BR-FR-30) |
| `ordering.identities` | <ul class="gobl-test"><li>Identities have at most one ext untdid-reference=AWW</li></ul> | `GOBL-FR-CTC-FLOW2-BILL-INVOICE-18`<br />Invoice ordering identities must not contain more than one entry with UNTDID reference 'AWW' (BR-FR-30) |
Expand Down
3 changes: 3 additions & 0 deletions addons/fr-ctc-flow6-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ round-tripping a parsed CDV.
| `customer.identities` | <ul class="gobl-test"><li>Has a ext [iso-scheme-id] in [0002, 0009, 0223, 0224, 0226, 0227, 0228, 0229, 0238]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-10`<br />Status customer must have at least one identity with an iso-scheme-id in the Flow 6 allow-list; STC 0231 is a Flow 2 invoice concept |
| `lines` | <ul class="gobl-test"><li class="gobl-test-present">Present</li><li>Length between 1 and 1</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-11`<br />Status lines must contain exactly one entry |
| `lines[*].doc` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-12`<br />Status line doc is required (BR-FR-CDV-10) |
| `lines[*].doc` | <ul class="gobl-test"><li>Valid untdid-document-type</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-25`<br />Status line doc must carry the untdid-document-type extension (MDT-91) with a valid invoice type code |
| `lines[*].doc.code` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-13`<br />Status line doc code is required (BR-FR-CDV-10) |
| `lines[*].doc.issue_date` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-14`<br />Status line doc issue_date is required (BR-FR-CDV-11) |
| `lines[*].key` | <ul class="gobl-test"><li>One of [issued, acknowledged, processing, accepted, querying, rejected, error, other]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-STATUS-15`<br />Status line key must be a recognised Flow 6 event |
Expand Down Expand Up @@ -253,8 +254,10 @@ round-tripping a parsed CDV.
| `payee.identities[*].ext` | <ul class="gobl-test"><li>Ext 'iso-scheme-id' in [0002, 0009, 0223, 0224, 0226, 0227, 0228, 0229, 0238]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-08`<br />Payment payee identity ext iso-scheme-id must be in the Flow 6 allow-list; STC 0231 is a Flow 2 invoice concept |
| `lines` | <ul class="gobl-test"><li>Exactly one line</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-09`<br />Payment lines must contain exactly one entry (a CDV references a single invoice) |
| `lines[*].document` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-10`<br />Payment line document is required (BR-FR-CDV-10) |
| `lines[*].document` | <ul class="gobl-test"><li>Valid untdid-document-type</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-17`<br />Payment line document must carry the untdid-document-type extension (MDT-91) with a valid invoice type code |
| `lines[*].document.code` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-11`<br />Payment line document code is required (BR-FR-CDV-10) |
| `lines[*].document.issue_date` | <ul class="gobl-test"><li class="gobl-test-present">Present</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-12`<br />Payment line document issue_date is required (BR-FR-CDV-11) |
| `lines` | <ul class="gobl-test"><li>Payment type in [receipt]</li><li>Line has VAT tax breakdown</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-18`<br />A payment receipt must show the applicable VAT rate; the rate may be exempt |
| `ext` | <ul class="gobl-test"><li>Ext 'fr-ctc-flow6-status' in [211, 212]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-13`<br />Payment ext fr-ctc-flow6-status must be a Payment-applicable ProcessConditionCode (211 advice or 212 receipt); codes 200-210, 213 belong on bill.Status |
| `ext` | <ul class="gobl-test"><li>Ext 'fr-ctc-flow6-condition' in [MEN, MPA, RAP]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-14`<br />Payment ext fr-ctc-flow6-condition must be a Payment-applicable CharacteristicTypeCode (MEN, MPA, RAP); status-only codes (CBB, DIV, DVA, MAJ, MAP, MAPTTC, MNA, MNATTC, ESC, RAB, REM) belong on a bill.Reason under bill.Status |
| `ext` | <ul class="gobl-test"><li>Payment type in [advice]</li><li>Ext 'fr-ctc-flow6-status' in [211]</li></ul> | `GOBL-FR-CTC-FLOW6-BILL-PAYMENT-15`<br />Payment ext fr-ctc-flow6-status for an advice payment must be ProcessConditionCode 211 (Paiement transmis) |
Expand Down
6 changes: 6 additions & 0 deletions addons/it-sdi-v1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,12 @@ field.
| `code` | <ul class="gobl-test"><li>Italian address</li><li class="gobl-test-present">Present</li></ul> | `GOBL-IT-SDI-ORG-ADDRESS-07`<br />Italian address code is required |
| `code` | <ul class="gobl-test"><li>Italian address</li><li>Matches ^\d{5}$</li></ul> | `GOBL-IT-SDI-ORG-ADDRESS-08`<br />Italian address code must be 5 digits |
</Accordion>
<Accordion title="org.Attribute">

| Field | Test | Validation Code / Message |
| ----- | ---- | ------------------------- |
| `type` | <ul class="gobl-test"><li>Length between 0 and 10</li></ul> | `GOBL-IT-SDI-ORG-ATTRIBUTE-01`<br />Attribute type cannot be longer than 10 characters (TipoDato) |
</Accordion>
<Accordion title="tax.Combo">

| Field | Test | Validation Code / Message |
Expand Down
Loading