Key: ro-efactura-v1Module: github.com/invopop/gobl.ro.anafSupport for the Romanian national e-invoicing system,
RO e-Factura, operated by ANAF. The addon applies the
national rules (BR-RO) RO_CIUS adds to the EN 16931
semantic model: the document types ANAF files, the
ISO 3166-2:RO subdivisions and Bucharest sector codes
addresses have to carry, the VAT accounting currency,
the identifiers of the seller and the buyer, and the
length and count limits of every element.Built on the EU EN 16931 CIUS profile, declared as a
dependency.
Validation rules check each struct against a set of assertions and report any
failures with a unique code and message.
Read more about validation.
bill.Invoice
Field
Test
Validation Code / Message
Invoice
Invoice number has a digit
GOBL-RO-EFACTURA-BILL-INVOICE-01 Invoice number (with series when set) must include at least one digit (BR-RO-010)
Invoice
Invoice number within length
GOBL-RO-EFACTURA-BILL-INVOICE-02 Invoice number (with series when set) must be no more than 200 characters long (BR-RO-L200)
Invoice
Can convert to [RON]
GOBL-RO-EFACTURA-BILL-INVOICE-03 Invoice in a currency other than RON must provide an exchange rate to RON, so VAT can be stated in RON (BR-RO-030, BR-53)
Invoice
Currency within two subunits
GOBL-RO-EFACTURA-BILL-INVOICE-04 Invoice currency must state its amounts on no more than two decimals (BR-RO-Z2)
Invoice
Notes within count
GOBL-RO-EFACTURA-BILL-INVOICE-05 Invoice notes, with the autofactura mention the converter adds, must contain no more than 20 entries (BR-RO-A020)
Invoice
Seller is identified
GOBL-RO-EFACTURA-BILL-INVOICE-10 Invoice supplier must have a VAT identifier or a tax registration identifier, or its tax representative a VAT identifier (BR-RO-065)
Invoice
Outside scope stands alone
GOBL-RO-EFACTURA-BILL-INVOICE-36 An invoice not subject to VAT (category O) cannot carry other VAT categories (BR-O-11)
preceding
Length at most 500
GOBL-RO-EFACTURA-BILL-INVOICE-06 Invoice preceding must contain no more than 500 entries (BR-RO-A500)
preceding
Preceding numbers within length
GOBL-RO-EFACTURA-BILL-INVOICE-07 Preceding invoice number must be no more than 200 characters long (BR-RO-L200)
attachments
Length at most 50
GOBL-RO-EFACTURA-BILL-INVOICE-08 Invoice attachments must contain no more than 50 entries (BR-RO-A050)
ordering.cost
Rune length at most 100
GOBL-RO-EFACTURA-BILL-INVOICE-09 Buyer accounting reference must be no more than 100 characters long (BR-RO-L100)
ordering.seller
Tax representative address has a street
GOBL-RO-EFACTURA-BILL-INVOICE-16 Tax representative address line 1 is required (BR-RO-140)
ordering.seller
Tax representative address has a city
GOBL-RO-EFACTURA-BILL-INVOICE-17 Tax representative city is required (BR-RO-150)
supplier
Supplier address has a street
GOBL-RO-EFACTURA-BILL-INVOICE-11 Invoice supplier address line 1 is required (BR-RO-080)
supplier
Supplier address has a city
GOBL-RO-EFACTURA-BILL-INVOICE-12 Invoice supplier city is required (BR-RO-090)
customer
Customer is identified
GOBL-RO-EFACTURA-BILL-INVOICE-13 Invoice customer must have a legal registration identifier or a VAT identifier (BR-RO-120)
customer
Customer address has a street
GOBL-RO-EFACTURA-BILL-INVOICE-14 Invoice customer address line 1 is required (BR-RO-080)
customer
Customer address has a city
GOBL-RO-EFACTURA-BILL-INVOICE-15 Invoice customer city is required (BR-RO-090)
tax.notes
Exemption reasons within length
GOBL-RO-EFACTURA-BILL-INVOICE-20 VAT exemption reason must be no more than 100 characters long (BR-RO-L100)
tax.ext
Invoice type in [credit-note]
Ext ‘untdid-document-type’ in [381]
GOBL-RO-EFACTURA-BILL-INVOICE-21 Invoice tax ext untdid-document-type must be 381 for a credit note (BR-RO-020)
tax.ext
Invoice is not a credit note
Ext ‘untdid-document-type’ in [380, 384, 389, 751]
GOBL-RO-EFACTURA-BILL-INVOICE-22 Invoice tax ext untdid-document-type must be one of 380, 384, 389 or 751 (BR-RO-020)
Invoice
Invoice is issued in an enforcement procedure
Enforcement body identified
GOBL-RO-EFACTURA-BILL-INVOICE-35 An enforcement invoice must name the enforcement body as payee, with its name and its legal registration identifier (BR-RO-130)
bill.DeliveryDetails
Field
Test
Validation Code / Message
DeliveryDetails
Delivery has an address
Delivery address has a street
GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-01 Invoice delivery address line 1 is required when a delivery address is provided (BR-RO-180)
DeliveryDetails
Delivery has an address
Delivery address has a city
GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-02 Invoice delivery city is required when a delivery address is provided (BR-RO-200)
DeliveryDetails
Delivery has an address
Delivery address has a region
GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-03 Invoice delivery country subdivision is required when a delivery address is provided (BR-RO-210)
bill.Discount
Field
Test
Validation Code / Message
reason
Rune length at most 100
GOBL-RO-EFACTURA-BILL-DISCOUNT-01 Document level allowance reason must be no more than 100 characters long (BR-RO-L100)
bill.Charge
Field
Test
Validation Code / Message
reason
Rune length at most 100
GOBL-RO-EFACTURA-BILL-CHARGE-01 Document level charge reason must be no more than 100 characters long (BR-RO-L100)
bill.LineDiscount
Field
Test
Validation Code / Message
reason
Rune length at most 100
GOBL-RO-EFACTURA-BILL-LINEDISCOUNT-01 Invoice line allowance reason must be no more than 100 characters long (BR-RO-L100)
bill.LineCharge
Field
Test
Validation Code / Message
reason
Rune length at most 100
GOBL-RO-EFACTURA-BILL-LINECHARGE-01 Invoice line charge reason must be no more than 100 characters long (BR-RO-L100)
org.Party
Field
Test
Validation Code / Message
name
Rune length at most 200
GOBL-RO-EFACTURA-ORG-PARTY-01 Party name must be no more than 200 characters long (BR-RO-L200)
alias
Rune length at most 200
GOBL-RO-EFACTURA-ORG-PARTY-02 Party trading name must be no more than 200 characters long (BR-RO-L200)
people
Contact name within length
GOBL-RO-EFACTURA-ORG-PARTY-03 Contact point must be no more than 100 characters long (BR-RO-L100)
telephones
Telephone within length
GOBL-RO-EFACTURA-ORG-PARTY-04 Contact telephone number must be no more than 100 characters long (BR-RO-L100)
emails
Email within length
GOBL-RO-EFACTURA-ORG-PARTY-05 Contact email address must be no more than 100 characters long (BR-RO-L100)
addresses
Line one within length
GOBL-RO-EFACTURA-ORG-PARTY-06 Address line 1 must be no more than 150 characters long (BR-RO-L150)
addresses
Line two within length
GOBL-RO-EFACTURA-ORG-PARTY-07 Address line 2 must be no more than 100 characters long (BR-RO-L100)
addresses
Locality within length
GOBL-RO-EFACTURA-ORG-PARTY-08 City must be no more than 50 characters long (BR-RO-L050)
addresses
Post code within length
GOBL-RO-EFACTURA-ORG-PARTY-09 Post code must be no more than 20 characters long (BR-RO-L020)
addresses
ISO 3166-2:RO subdivision
GOBL-RO-EFACTURA-ORG-PARTY-10 Country subdivision must be an ISO 3166-2:RO code, such as RO-B or RO-AB (BR-RO-110, BR-RO-170, BR-RO-210)
addresses
SECTOR-RO code
GOBL-RO-EFACTURA-ORG-PARTY-11 City must be a Bucharest sector, such as SECTOR1, when the country subdivision is RO-B (BR-RO-100, BR-RO-160, BR-RO-200)
org.Item
Field
Test
Validation Code / Message
name
Rune length at most 100
GOBL-RO-EFACTURA-ORG-ITEM-01 Item name must be no more than 100 characters long (BR-RO-L100)
description
Rune length at most 200
GOBL-RO-EFACTURA-ORG-ITEM-02 Item description must be no more than 200 characters long (BR-RO-L200)
attributes
Length at most 50
GOBL-RO-EFACTURA-ORG-ITEM-03 Item attributes must contain no more than 50 entries (BR-RO-A050)
org.Attribute
Field
Test
Validation Code / Message
Attribute
Attribute value within length
GOBL-RO-EFACTURA-ORG-ATTRIBUTE-02 Item attribute value must be no more than 100 characters long (BR-RO-L100)
label
Rune length at most 50
GOBL-RO-EFACTURA-ORG-ATTRIBUTE-01 Item attribute name must be no more than 50 characters long (BR-RO-L050)
org.Note
Field
Test
Validation Code / Message
Note
Note within length
GOBL-RO-EFACTURA-ORG-NOTE-01 Note, with its subject qualifier when set, must be no more than 300 characters long (BR-RO-L300)
Note
Accounting reference within length
GOBL-RO-EFACTURA-ORG-NOTE-02 Invoice line buyer accounting reference must be no more than 100 characters long (BR-RO-L100)
org.Attachment
Field
Test
Validation Code / Message
description
Rune length at most 100
GOBL-RO-EFACTURA-ORG-ATTACHMENT-01 Supporting document description must be no more than 100 characters long (BR-RO-L100)
url
Rune length at most 200
GOBL-RO-EFACTURA-ORG-ATTACHMENT-02 External document location must be no more than 200 characters long (BR-RO-L200)
name
Rune length at most 200
GOBL-RO-EFACTURA-ORG-ATTACHMENT-03 Attached document filename must be no more than 200 characters long (BR-RO-L200)
pay.Terms
Field
Test
Validation Code / Message
notes
Rune length at most 300
GOBL-RO-EFACTURA-PAY-TERMS-01 Payment terms must be no more than 300 characters long (BR-RO-L300)
pay.Instructions
Field
Test
Validation Code / Message
detail
Rune length at most 100
GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-01 Payment means text must be no more than 100 characters long (BR-RO-L100)
credit_transfer
Account name within length
GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-02 Payment account name must be no more than 200 characters long (BR-RO-L200)
card.holder
Rune length at most 200
GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-03 Payment card holder name must be no more than 200 characters long (BR-RO-L200)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GOBL","colors":{"primary":"#15c6f6","light":"#24abd0","dark":"#15c6f6"},"logo":{"light":"https://mintcdn.com/gobl/HH7wt29PP-RYaWJs/static/logo_long_dark.svg?fit=max\u0026auto=format\u0026n=HH7wt29PP-RYaWJs\u0026q=85\u0026s=24a8072f8c9647555f43b93ae0bdba61","dark":"https://mintcdn.com/gobl/HH7wt29PP-RYaWJs/static/logo_long_light.svg?fit=max\u0026auto=format\u0026n=HH7wt29PP-RYaWJs\u0026q=85\u0026s=80ad4471ec5c4af8f0903de80398c931"},"favicon":"https://mintcdn.com/gobl/HH7wt29PP-RYaWJs/static/favicon.svg?fit=max\u0026auto=format\u0026n=HH7wt29PP-RYaWJs\u0026q=85\u0026s=1658c49daba2388f19fa72b7172942f1","navbar":{"primary":{"type":"github","href":"https://github.com/invopop/gobl"}},"footer":{"socials":{"github":"https://github.com/invopop/gobl","linkedin":"https://www.linkedin.com/company/invopop","twitter":"https://twitter.com/goInvopop"}},"styling":{"codeblocks":"system","latex":true},"integrations":{"plausible":{"domain":"docs.gobl.org"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Builder","icon":"gear","href":"https://build.gobl.org"},{"anchor":"GitHub","icon":"github","href":"https://github.com/invopop/gobl"},{"anchor":"Community","icon":"comments","href":"https://community.invopop.com/c/gobl/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gobl","hasAudioNarration":false,"actualSubdomain":"gobl","customDomains":["docs.gobl.org"],"gitSource":{"type":"github","owner":"invopop","repo":"gobl.docs","deployBranch":"main","contentDirectory":"","mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af49d60c8baa3557b0f702b","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":190},{"language":"default","tag":"Schemas (Draft 0)","count":104},{"language":"default","tag":"Tax Regimes","count":36},{"language":"default","tag":"Countries","count":35},{"language":"default","tag":"Definitions","count":31},{"language":"default","tag":"Addons","count":29},{"language":"default","tag":"Tax","count":24},{"language":"default","tag":"Bill","count":23},{"language":"default","tag":"Org","count":18},{"language":"default","tag":"API Reference","count":16}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".prose table tr td code{white-space:nowrap;display:inline-block;padding:0.2em 0.5em;margin:0 0 0.4em -0.5em}.prose table tr td code.code-block{display:block}.prose table tr td ul.gobl-test li{padding-left:1em!important}.prose table tr td ul.gobl-test li:before{top:calc(.6em);left:0;background-color:#aaa;width:.3em;height:.3em;box-shadow:0 0 0 2px #99999922}.prose table tr td ul.gobl-test li.gobl-test-present:only-child:before{background-color:#15c6f6;box-shadow:0 0 0 2px #15c6f622}.prose table tr td small{font-size:100%;color:#aaa}.prose table tr td small.gobl-field-calculated{color:#15c6f6;font-size:12px}.prose table tr td{min-width:120px!important}"}],"page":{"pagePath":"addons/ro-efactura-v1","slug":"/addons/ro-efactura-v1","pageMetadata":{"title":"Romania RO e-Factura v1.x","description":null,"href":"/addons/ro-efactura-v1"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Heading,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Key: `,_jsx(_components.code,{children:`ro-efactura-v1`})]}),`\n`,_jsxs(_components.p,{children:[`Module: `,_jsx(_components.a,{href:`https://github.com/invopop/gobl.ro.anaf`,children:`github.com/invopop/gobl.ro.anaf`})]}),`\n`,_jsx(_components.p,{children:`Support for the Romanian national e-invoicing system,\nRO e-Factura, operated by ANAF. The addon applies the\nnational rules (BR-RO) RO_CIUS adds to the EN 16931\nsemantic model: the document types ANAF files, the\nISO 3166-2:RO subdivisions and Bucharest sector codes\naddresses have to carry, the VAT accounting currency,\nthe identifiers of the seller and the buyer, and the\nlength and count limits of every element.`}),`\n`,_jsx(_components.p,{children:`Built on the EU EN 16931 CIUS profile, declared as a\ndependency.`}),`\n`,_jsx(Heading,{level:`2`,id:`sources`,children:`Sources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://static.anaf.ro/static/10/Anaf/legislatie/OMF_1366_2021.pdf`,children:`Order MF 1366/2021 approving RO_CIUS and the national operational rules`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://static.anaf.ro/static/10/Anaf/legislatie/OMF_4092_2022.pdf`,children:`Order MF 4092/2022 amending RO_CIUS (version 1.0.1, BR-RO table)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://mfinante.gov.ro/ro/web/efactura/informatii-tehnice`,children:`RO e-Factura technical information and schematron`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`scenarios`,children:`Scenarios`}),`\n`,_jsxs(_components.p,{children:[`Scenarios attach notes and extensions to a document when its filters match.\n`,_jsx(_components.a,{href:`/overview/scenarios`,children:`Read more about scenarios`}),`.`]}),`\n`,_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`bill/invoice`,id:`bill-invoice`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Tags`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Output`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`standard`})}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“ext”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“untdid-document-type”: “380”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`credit-note`})}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“ext”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“untdid-document-type”: “381”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`corrective`})}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“ext”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“untdid-document-type”: “384”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accounting`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`standard`})}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“ext”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“untdid-document-type”: “751”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`self-billed`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`standard`})}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“ext”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“untdid-document-type”: “389”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`self-billed`}),_jsx(`br`,{}),_jsx(_components.a,{href:`https://github.com/invopop/gobl.ro.anaf/blob/v0.7.0/addon/scenarios.go#L143`,children:`custom`})]}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:_jsxs(`code`,{class:`code-block`,children:[`{`,_jsx(`br`,{}),`\\xA0\\xA0“note”: {`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“key”: “self-billed”,`,_jsx(`br`,{}),`\\xA0\\xA0\\xA0\\xA0“text”: “Autofactură”`,_jsx(`br`,{}),`\\xA0\\xA0}`,_jsx(`br`,{}),`}`]})})]})]})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`validation-rules`,children:`Validation Rules`}),`\n`,_jsxs(_components.p,{children:[`Validation rules check each struct against a set of assertions and report any\nfailures with a unique code and message.\n`,_jsx(_components.a,{href:`/overview/validation`,children:`Read more about validation`}),`.`]}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`bill.Invoice`,id:`bill-invoice-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Invoice number has a digit`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-01`}),_jsx(`br`,{}),`Invoice number (with series when set) must include at least one digit (BR-RO-010)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Invoice number within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-02`}),_jsx(`br`,{}),`Invoice number (with series when set) must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Can convert to [RON]`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-03`}),_jsx(`br`,{}),`Invoice in a currency other than RON must provide an exchange rate to RON, so VAT can be stated in RON (BR-RO-030, BR-53)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Currency within two subunits`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-04`}),_jsx(`br`,{}),`Invoice currency must state its amounts on no more than two decimals (BR-RO-Z2)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Notes within count`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-05`}),_jsx(`br`,{}),`Invoice notes, with the autofactura mention the converter adds, must contain no more than 20 entries (BR-RO-A020)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Seller is identified`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-10`}),_jsx(`br`,{}),`Invoice supplier must have a VAT identifier or a tax registration identifier, or its tax representative a VAT identifier (BR-RO-065)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Outside scope stands alone`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-36`}),_jsx(`br`,{}),`An invoice not subject to VAT (category O) cannot carry other VAT categories (BR-O-11)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preceding`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Length at most 500`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-06`}),_jsx(`br`,{}),`Invoice preceding must contain no more than 500 entries (BR-RO-A500)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preceding`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Preceding numbers within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-07`}),_jsx(`br`,{}),`Preceding invoice number must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`attachments`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Length at most 50`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-08`}),_jsx(`br`,{}),`Invoice attachments must contain no more than 50 entries (BR-RO-A050)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ordering.cost`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-09`}),_jsx(`br`,{}),`Buyer accounting reference must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ordering.seller`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Tax representative address has a street`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-16`}),_jsx(`br`,{}),`Tax representative address line 1 is required (BR-RO-140)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ordering.seller`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Tax representative address has a city`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-17`}),_jsx(`br`,{}),`Tax representative city is required (BR-RO-150)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`supplier`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Supplier address has a street`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-11`}),_jsx(`br`,{}),`Invoice supplier address line 1 is required (BR-RO-080)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`supplier`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Supplier address has a city`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-12`}),_jsx(`br`,{}),`Invoice supplier city is required (BR-RO-090)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Customer is identified`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-13`}),_jsx(`br`,{}),`Invoice customer must have a legal registration identifier or a VAT identifier (BR-RO-120)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Customer address has a street`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-14`}),_jsx(`br`,{}),`Invoice customer address line 1 is required (BR-RO-080)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Customer address has a city`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-15`}),_jsx(`br`,{}),`Invoice customer city is required (BR-RO-090)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax.notes`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Exemption reasons within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-20`}),_jsx(`br`,{}),`VAT exemption reason must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax.ext`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Invoice type in [credit-note]`}),_jsx(`li`,{children:`Ext ‘untdid-document-type’ in [381]`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-21`}),_jsx(`br`,{}),`Invoice tax ext untdid-document-type must be 381 for a credit note (BR-RO-020)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax.ext`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Invoice is not a credit note`}),_jsx(`li`,{children:`Ext ‘untdid-document-type’ in [380, 384, 389, 751]`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-22`}),_jsx(`br`,{}),`Invoice tax ext untdid-document-type must be one of 380, 384, 389 or 751 (BR-RO-020)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Invoice`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Invoice is issued in an enforcement procedure`}),_jsx(`li`,{children:`Enforcement body identified`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-INVOICE-35`}),_jsx(`br`,{}),`An enforcement invoice must name the enforcement body as payee, with its name and its legal registration identifier (BR-RO-130)`]})]})]})]})}),_jsx(Accordion,{title:`bill.DeliveryDetails`,id:`bill-deliverydetails`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`DeliveryDetails`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Delivery has an address`}),_jsx(`li`,{children:`Delivery address has a street`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-01`}),_jsx(`br`,{}),`Invoice delivery address line 1 is required when a delivery address is provided (BR-RO-180)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`DeliveryDetails`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Delivery has an address`}),_jsx(`li`,{children:`Delivery address has a city`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-02`}),_jsx(`br`,{}),`Invoice delivery city is required when a delivery address is provided (BR-RO-200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`DeliveryDetails`})}),_jsx(_components.td,{children:_jsxs(`ul`,{class:`gobl-test`,children:[_jsx(`li`,{children:`Delivery has an address`}),_jsx(`li`,{children:`Delivery address has a region`})]})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-DELIVERYDETAILS-03`}),_jsx(`br`,{}),`Invoice delivery country subdivision is required when a delivery address is provided (BR-RO-210)`]})]})]})]})}),_jsx(Accordion,{title:`bill.Discount`,id:`bill-discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-DISCOUNT-01`}),_jsx(`br`,{}),`Document level allowance reason must be no more than 100 characters long (BR-RO-L100)`]})]})})]})}),_jsx(Accordion,{title:`bill.Charge`,id:`bill-charge`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-CHARGE-01`}),_jsx(`br`,{}),`Document level charge reason must be no more than 100 characters long (BR-RO-L100)`]})]})})]})}),_jsx(Accordion,{title:`bill.LineDiscount`,id:`bill-linediscount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-LINEDISCOUNT-01`}),_jsx(`br`,{}),`Invoice line allowance reason must be no more than 100 characters long (BR-RO-L100)`]})]})})]})}),_jsx(Accordion,{title:`bill.LineCharge`,id:`bill-linecharge`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-BILL-LINECHARGE-01`}),_jsx(`br`,{}),`Invoice line charge reason must be no more than 100 characters long (BR-RO-L100)`]})]})})]})}),_jsx(Accordion,{title:`org.Party`,id:`org-party`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-01`}),_jsx(`br`,{}),`Party name must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`alias`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-02`}),_jsx(`br`,{}),`Party trading name must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`people`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Contact name within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-03`}),_jsx(`br`,{}),`Contact point must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`telephones`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Telephone within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-04`}),_jsx(`br`,{}),`Contact telephone number must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emails`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Email within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-05`}),_jsx(`br`,{}),`Contact email address must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Line one within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-06`}),_jsx(`br`,{}),`Address line 1 must be no more than 150 characters long (BR-RO-L150)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Line two within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-07`}),_jsx(`br`,{}),`Address line 2 must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Locality within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-08`}),_jsx(`br`,{}),`City must be no more than 50 characters long (BR-RO-L050)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Post code within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-09`}),_jsx(`br`,{}),`Post code must be no more than 20 characters long (BR-RO-L020)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`ISO 3166-2:RO subdivision`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-10`}),_jsx(`br`,{}),`Country subdivision must be an ISO 3166-2:RO code, such as RO-B or RO-AB (BR-RO-110, BR-RO-170, BR-RO-210)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`SECTOR-RO code`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-PARTY-11`}),_jsx(`br`,{}),`City must be a Bucharest sector, such as SECTOR1, when the country subdivision is RO-B (BR-RO-100, BR-RO-160, BR-RO-200)`]})]})]})]})}),_jsx(Accordion,{title:`org.Item`,id:`org-item`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ITEM-01`}),_jsx(`br`,{}),`Item name must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ITEM-02`}),_jsx(`br`,{}),`Item description must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`attributes`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Length at most 50`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ITEM-03`}),_jsx(`br`,{}),`Item attributes must contain no more than 50 entries (BR-RO-A050)`]})]})]})]})}),_jsx(Accordion,{title:`org.Attribute`,id:`org-attribute`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Attribute`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Attribute value within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ATTRIBUTE-02`}),_jsx(`br`,{}),`Item attribute value must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`label`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 50`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ATTRIBUTE-01`}),_jsx(`br`,{}),`Item attribute name must be no more than 50 characters long (BR-RO-L050)`]})]})]})]})}),_jsx(Accordion,{title:`org.Note`,id:`org-note`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Note`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Note within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-NOTE-01`}),_jsx(`br`,{}),`Note, with its subject qualifier when set, must be no more than 300 characters long (BR-RO-L300)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(`small`,{children:`Note`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Accounting reference within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-NOTE-02`}),_jsx(`br`,{}),`Invoice line buyer accounting reference must be no more than 100 characters long (BR-RO-L100)`]})]})]})]})}),_jsx(Accordion,{title:`org.Attachment`,id:`org-attachment`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ATTACHMENT-01`}),_jsx(`br`,{}),`Supporting document description must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ATTACHMENT-02`}),_jsx(`br`,{}),`External document location must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-ORG-ATTACHMENT-03`}),_jsx(`br`,{}),`Attached document filename must be no more than 200 characters long (BR-RO-L200)`]})]})]})]})}),_jsx(Accordion,{title:`pay.Terms`,id:`pay-terms`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 300`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-PAY-TERMS-01`}),_jsx(`br`,{}),`Payment terms must be no more than 300 characters long (BR-RO-L300)`]})]})})]})}),_jsx(Accordion,{title:`pay.Instructions`,id:`pay-instructions`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Test`}),_jsx(_components.th,{children:`Validation Code / Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`detail`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 100`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-01`}),_jsx(`br`,{}),`Payment means text must be no more than 100 characters long (BR-RO-L100)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`credit_transfer`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Account name within length`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-02`}),_jsx(`br`,{}),`Payment account name must be no more than 200 characters long (BR-RO-L200)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card.holder`})}),_jsx(_components.td,{children:_jsx(`ul`,{class:`gobl-test`,children:_jsx(`li`,{children:`Rune length at most 200`})})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GOBL-RO-EFACTURA-PAY-INSTRUCTIONS-03`}),_jsx(`br`,{}),`Payment card holder name must be no more than 200 characters long (BR-RO-L200)`]})]})]})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Romania RO e-Factura v1.x","description":null,"href":"/addons/ro-efactura-v1"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Sources","slug":"sources","depth":2,"children":[]},{"title":"Scenarios","slug":"scenarios","depth":2,"children":[]},{"title":"Validation Rules","slug":"validation-rules","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gobl","siteName":"GOBL","title":"Romania RO e-Factura v1.x - GOBL","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T16:52:59.016Z","originalFileLocation":"addons/ro-efactura-v1.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"GOBL\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Romania RO e-Factura v1.x - GOBL\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GOBL\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gobl.org/addons/ro-efactura-v1\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gobl.mintlify.site/_mintlify/api/og/v2?division=Definitions\u0026amp;title=Romania+RO+e-Factura+v1.x\u0026amp;theme=9b200b20c69ad368da513485\u0026amp;signature=966324ef121c02e44a542c824ab4f497c10a53889f9de8cdd0cda1bd1da7db95\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Romania RO e-Factura v1.x - GOBL\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gobl.mintlify.site/_mintlify/api/og/v2?division=Definitions\u0026amp;title=Romania+RO+e-Factura+v1.x\u0026amp;theme=9b200b20c69ad368da513485\u0026amp;signature=966324ef121c02e44a542c824ab4f497c10a53889f9de8cdd0cda1bd1da7db95\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gobl/19kUIjr9Ab1ah01j/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GOBL\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#15c6f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gobl.org/addons/ro-efactura-v1\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/addons/ro-efactura-v1.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gobl.org/#organization\",\"name\":\"GOBL\",\"url\":\"https://docs.gobl.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gobl/HH7wt29PP-RYaWJs/static/logo_long_dark.svg?fit=max\u0026auto=format\u0026n=HH7wt29PP-RYaWJs\u0026q=85\u0026s=24a8072f8c9647555f43b93ae0bdba61\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gobl.org#website\",\"name\":\"GOBL\",\"url\":\"https://docs.gobl.org\",\"publisher\":{\"@id\":\"https://docs.gobl.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gobl.org/addons/ro-efactura-v1#webpage\",\"url\":\"https://docs.gobl.org/addons/ro-efactura-v1\",\"name\":\"Romania RO e-Factura v1.x\",\"dateModified\":\"2026-11-11T16:52:59.016Z\",\"isPartOf\":{\"@id\":\"https://docs.gobl.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gobl.org/addons/ro-efactura-v1#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gobl.org/addons/ro-efactura-v1#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Addons\",\"item\":\"https://docs.gobl.org/addons/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Definitions\",\"item\":\"https://docs.gobl.org/addons/ar-arca-v4\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Romania RO e-Factura v1.x\",\"item\":\"https://docs.gobl.org/addons/ro-efactura-v1\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gobl.org/addons/ro-efactura-v1#article\",\"headline\":\"Romania RO e-Factura v1.x\",\"name\":\"Romania RO e-Factura v1.x\",\"url\":\"https://docs.gobl.org/addons/ro-efactura-v1\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gobl.org/addons/ro-efactura-v1#webpage\"},\"dateModified\":\"2026-11-11T16:52:59.016Z\",\"publisher\":{\"@id\":\"https://docs.gobl.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gobl.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GOBL\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GOBL\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/addons/ro-efactura-v1.md","siteName":"GOBL","nav":{"global":{"anchors":[{"anchor":"Builder","icon":"gear","href":"https://build.gobl.org"},{"anchor":"GitHub","icon":"github","href":"https://github.com/invopop/gobl"},{"anchor":"Community","icon":"comments","href":"https://community.invopop.com/c/gobl/"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Overview","pages":[{"title":"What is GOBL?","href":"/introduction"},{"title":"Build with LLMs and agents","sidebarTitle":"LLMs and agents","href":"/llms"},{"title":"Components","href":"/overview/components"},{"title":"Tools","href":"/overview/tools"},{"title":"Versions","href":"/overview/versions"},{"title":"Schemas","href":"/overview/schemas"},{"title":"Numbers","href":"/overview/numbers"},{"title":"Rounding","href":"/overview/rounding"},{"title":"Canonicalization","href":"/overview/canonicalization"},{"title":"Support","href":"/overview/support"},{"title":"GOBL Inside","href":"/overview/inside"},{"title":"Scenarios","href":"/overview/scenarios"},{"title":"Validation Rules","href":"/overview/validation"}]},{"group":"Use Cases","pages":[{"title":"Invoicing","href":"/use-cases/invoicing"}]},{"group":"Quick Start","pages":[{"title":"Builder","href":"/quick-start/builder"},{"title":"CLI","href":"/quick-start/cli"},{"title":"Invoices","href":"/quick-start/invoices"}]},{"group":"Tax Regimes","pages":[{"title":"Overview","href":"/regimes/overview"},{"group":"Countries","pages":[{"title":"United Arab Emirates","href":"/regimes/ae"},{"title":"Argentina","href":"/regimes/ar"},{"title":"Austria","href":"/regimes/at"},{"title":"Australia","href":"/regimes/au"},{"title":"Belgium","href":"/regimes/be"},{"title":"Brazil","href":"/regimes/br"},{"title":"Commonwealth of The Bahamas","href":"/regimes/bs"},{"title":"Canada","href":"/regimes/ca"},{"title":"Switzerland","href":"/regimes/ch"},{"title":"Colombia","href":"/regimes/co"},{"title":"Costa Rica","href":"/regimes/cr"},{"title":"Czech Republic","href":"/regimes/cz"},{"title":"Germany","href":"/regimes/de"},{"title":"Denmark","href":"/regimes/dk"},{"title":"Greece","href":"/regimes/el"},{"title":"Spain","href":"/regimes/es"},{"title":"Finland","href":"/regimes/fi"},{"title":"France","href":"/regimes/fr"},{"title":"United Kingdom","href":"/regimes/gb"},{"title":"Ireland","href":"/regimes/ie"},{"title":"India","href":"/regimes/in"},{"title":"Italy","href":"/regimes/it"},{"title":"Mexico","href":"/regimes/mx"},{"title":"The Netherlands","href":"/regimes/nl"},{"title":"Norway","href":"/regimes/no"},{"title":"New Zealand","href":"/regimes/nz"},{"title":"Peru","href":"/regimes/pe"},{"title":"Poland","href":"/regimes/pl"},{"title":"Portugal","href":"/regimes/pt"},{"title":"Romania","href":"/regimes/ro"},{"title":"Kingdom of Saudi Arabia","href":"/regimes/sa"},{"title":"Sweden","href":"/regimes/se"},{"title":"Singapore","href":"/regimes/sg"},{"title":"Slovakia","href":"/regimes/sk"},{"title":"United States of America","href":"/regimes/us"}]}]},{"group":"Addons","pages":[{"title":"Overview","href":"/addons/overview"},{"group":"Definitions","pages":[{"title":"Argentina ARCA V4","href":"/addons/ar-arca-v4"},{"title":"Brazil NF-e 4.00","href":"/addons/br-nfe-v4"},{"title":"Brazil NFS-e 1.X","href":"/addons/br-nfse-v1"},{"title":"Colombia DIAN UBL 2.X","href":"/addons/co-dian-v2"},{"title":"German XRechnung 3.X","href":"/addons/de-xrechnung-v3"},{"title":"German ZUGFeRD 2.X","href":"/addons/de-zugferd-v2"},{"title":"Danish OIOUBL 2.1","href":"/addons/dk-oioubl-v2"},{"title":"Spain FacturaE","href":"/addons/es-facturae-v3"},{"title":"Spain SII V1.x","href":"/addons/es-sii-v1"},{"title":"Spain TicketBAI","href":"/addons/es-tbai-v1"},{"title":"Spain VERI*FACTU V1","href":"/addons/es-verifactu-v1"},{"title":"EN 16931-1:2017","href":"/addons/eu-en16931-v2017"},{"title":"Finland Finvoice 3.0","href":"/addons/fi-finvoice-v3"},{"title":"Chorus Pro","href":"/addons/fr-choruspro-v1"},{"title":"France CTC Flow 10 (E-Reporting)","href":"/addons/fr-ctc-flow10-v1"},{"title":"France CTC Flow 2 (B2B Clearance)","href":"/addons/fr-ctc-flow2-v1"},{"title":"France CTC Flow 6 (Cycle de Vie)","href":"/addons/fr-ctc-flow6-v1"},{"title":"French Factur-X v1","href":"/addons/fr-facturx-v1"},{"title":"Greece MyData v1.x","href":"/addons/gr-mydata-v1"},{"title":"Italy SDI FatturaPA v1.x","href":"/addons/it-sdi-v1"},{"title":"Italy AdE ticket v1.x","href":"/addons/it-ticket-v1"},{"title":"Mexican SAT CFDI v4.X","href":"/addons/mx-cfdi-v4"},{"title":"Peppol BIS Billing 3.0","href":"/addons/peppol-bis-v3"},{"title":"Peppol PINT","href":"/addons/peppol-pint-v1"},{"title":"Polish KSeF FA_VAT FA(3)","href":"/addons/pl-favat-v3"},{"title":"Portugal SAF-T","description":null,"href":"/addons/pt-saft-v1"},{"title":"Romania RO e-Factura v1.x","href":"/addons/ro-efactura-v1"},{"title":"Saudi Arabia ZATCA","description":null,"href":"/addons/sa-zatca-v1"}]}]},{"group":"Catalogues","pages":[{"title":"Overview","href":"/catalogues/overview"},{"group":"Definitions","pages":[{"title":"Connecting Europe Facility (CEF)","href":"/catalogues/cef"},{"title":"ISO/IEC Data Elements","href":"/catalogues/iso"},{"title":"UN/EDIFACT Data Elements","href":"/catalogues/untdid"}]}]},{"group":"Schemas (Draft 0)","pages":[{"title":"GOBL Draft 0","sidebarTitle":"Introduction","href":"/draft-0"},{"title":"Envelope","href":"/draft-0/envelope"},{"group":"Bill","pages":[{"title":"Action","href":"/draft-0/bill/action"},{"title":"Charge","href":"/draft-0/bill/charge"},{"title":"CorrectionOptions","href":"/draft-0/bill/correction_options"},{"title":"Delivery","href":"/draft-0/bill/delivery"},{"title":"DeliveryDetails","href":"/draft-0/bill/delivery_details"},{"title":"Discount","href":"/draft-0/bill/discount"},{"title":"Fault","href":"/draft-0/bill/fault"},{"title":"Invoice","href":"/draft-0/bill/invoice"},{"title":"Line","href":"/draft-0/bill/line"},{"title":"LineCharge","href":"/draft-0/bill/line_charge"},{"title":"LineDiscount","href":"/draft-0/bill/line_discount"},{"title":"Order","href":"/draft-0/bill/order"},{"title":"Ordering","href":"/draft-0/bill/ordering"},{"title":"Payment","href":"/draft-0/bill/payment"},{"title":"PaymentDetails","href":"/draft-0/bill/payment_details"},{"title":"PaymentLine","href":"/draft-0/bill/payment_line"},{"title":"Reason","href":"/draft-0/bill/reason"},{"title":"Status","href":"/draft-0/bill/status"},{"title":"StatusLine","href":"/draft-0/bill/status_line"},{"title":"SubLine","href":"/draft-0/bill/sub_line"},{"title":"Tax","href":"/draft-0/bill/tax"},{"title":"Totals","href":"/draft-0/bill/totals"},{"title":"Tracking","href":"/draft-0/bill/tracking"}]},{"group":"Cal","pages":[{"title":"Date","href":"/draft-0/cal/date"},{"title":"DateTime","href":"/draft-0/cal/date_time"},{"title":"Period","href":"/draft-0/cal/period"},{"title":"Time","href":"/draft-0/cal/time"},{"title":"Timestamp","href":"/draft-0/cal/timestamp"}]},{"group":"CBC","pages":[{"title":"Code","href":"/draft-0/cbc/code"},{"title":"CodeMap","href":"/draft-0/cbc/code_map"},{"title":"Definition","href":"/draft-0/cbc/definition"},{"title":"Key","href":"/draft-0/cbc/key"},{"title":"Meta","href":"/draft-0/cbc/meta"},{"title":"Source","href":"/draft-0/cbc/source"},{"title":"URI","href":"/draft-0/cbc/uri"},{"title":"Usage","href":"/draft-0/cbc/usage"}]},{"group":"Currency","pages":[{"title":"Amount","href":"/draft-0/currency/amount"},{"title":"Code","href":"/draft-0/currency/code"},{"title":"ExchangeRate","href":"/draft-0/currency/exchange_rate"}]},{"group":"DSig","pages":[{"title":"Digest","href":"/draft-0/dsig/digest"},{"title":"Signature","href":"/draft-0/dsig/signature"}]},{"group":"Head","pages":[{"title":"Header","href":"/draft-0/head/header"},{"title":"Link","href":"/draft-0/head/link"},{"title":"Stamp","href":"/draft-0/head/stamp"}]},{"group":"I18n","pages":[{"title":"String","href":"/draft-0/i18n/string"}]},{"group":"L10n","pages":[{"title":"Code","href":"/draft-0/l10n/code"},{"title":"ISOCountryCode","href":"/draft-0/l10n/iso_country_code"},{"title":"TaxCountryCode","href":"/draft-0/l10n/tax_country_code"}]},{"group":"Note","pages":[{"title":"Message","href":"/draft-0/note/message"}]},{"group":"Num","pages":[{"title":"Amount","href":"/draft-0/num/amount"},{"title":"Percentage","href":"/draft-0/num/percentage"}]},{"group":"Org","pages":[{"title":"Address","href":"/draft-0/org/address"},{"title":"Attachment","href":"/draft-0/org/attachment"},{"title":"Attribute","href":"/draft-0/org/attribute"},{"title":"Coordinates","href":"/draft-0/org/coordinates"},{"title":"DocumentRef","href":"/draft-0/org/document_ref"},{"title":"Email","href":"/draft-0/org/email"},{"title":"Endpoint","href":"/draft-0/org/endpoint"},{"title":"Identity","href":"/draft-0/org/identity"},{"title":"Image","href":"/draft-0/org/image"},{"title":"Inbox","href":"/draft-0/org/inbox"},{"title":"Item","href":"/draft-0/org/item"},{"title":"Name","href":"/draft-0/org/name"},{"title":"Note","href":"/draft-0/org/note"},{"title":"Party","href":"/draft-0/org/party"},{"title":"Person","href":"/draft-0/org/person"},{"title":"Registration","href":"/draft-0/org/registration"},{"title":"Telephone","href":"/draft-0/org/telephone"},{"title":"Website","href":"/draft-0/org/website"}]},{"group":"Pay","pages":[{"title":"Card","href":"/draft-0/pay/card"},{"title":"CreditTransfer","href":"/draft-0/pay/credit_transfer"},{"title":"DirectDebit","href":"/draft-0/pay/direct_debit"},{"title":"DueDate","href":"/draft-0/pay/due_date"},{"title":"Instructions","href":"/draft-0/pay/instructions"},{"title":"Online","href":"/draft-0/pay/online"},{"title":"Record","href":"/draft-0/pay/record"},{"title":"Terms","href":"/draft-0/pay/terms"}]},{"group":"Schema","pages":[{"title":"Object","href":"/draft-0/schema/object"}]},{"group":"Tax","pages":[{"title":"AddonDef","href":"/draft-0/tax/addon_def"},{"title":"AddonList","href":"/draft-0/tax/addon_list"},{"title":"CatalogueDef","href":"/draft-0/tax/catalogue_def"},{"title":"CategoryDef","href":"/draft-0/tax/category_def"},{"title":"CategoryTotal","href":"/draft-0/tax/category_total"},{"title":"Combo","href":"/draft-0/tax/combo"},{"title":"CorrectionDefinition","href":"/draft-0/tax/correction_definition"},{"title":"CorrectionSet","href":"/draft-0/tax/correction_set"},{"title":"Extensions","href":"/draft-0/tax/extensions"},{"title":"Filter","href":"/draft-0/tax/filter"},{"title":"Identity","href":"/draft-0/tax/identity"},{"title":"KeyDef","href":"/draft-0/tax/key_def"},{"title":"Note","href":"/draft-0/tax/note"},{"title":"RateDef","href":"/draft-0/tax/rate_def"},{"title":"RateTotal","href":"/draft-0/tax/rate_total"},{"title":"RateTotalSurcharge","href":"/draft-0/tax/rate_total_surcharge"},{"title":"RateValueDef","href":"/draft-0/tax/rate_value_def"},{"title":"RegimeCode","href":"/draft-0/tax/regime_code"},{"title":"RegimeDef","href":"/draft-0/tax/regime_def"},{"title":"Scenario","href":"/draft-0/tax/scenario"},{"title":"ScenarioSet","href":"/draft-0/tax/scenario_set"},{"title":"Set","href":"/draft-0/tax/set"},{"title":"TagSet","href":"/draft-0/tax/tag_set"},{"title":"Total","href":"/draft-0/tax/total"}]}]}]},{"anchor":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api/introduction"}]}]},"basePath":"","title":"Romania RO e-Factura v1.x - GOBL","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}