Skip to content

Commit

Permalink
Guides: add PEPPOL mapping configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Mar 5, 2024
1 parent 7c65ae5 commit 40316b0
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 1 deletion.
92 changes: 92 additions & 0 deletions docs/guides/peppol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
title: 'PEPPOL'
---

## PEPPOL BIS Billing 3.0

Basic configuration (works with the default Rossum.ai schema for invoices) and the following PEPPOL BIS Billing 3.0 example: https://github.com/OpenPEPPOL/peppol-bis-invoice-3/blob/0f63848fc46fe4ab87d1860a18bfe381c41e01ff/rules/examples/base-example.xml

```json
{
"configurations": [
{
"fields": [
{
"schema_id": "document_id",
"selectors": ["cbc:ID"]
},
{
"schema_id": "order_id",
"selectors": ["cbc:BuyerReference"]
},
{
"schema_id": "date_issue",
"selectors": ["cbc:IssueDate"]
},
{
"schema_id": "date_due",
"selectors": ["cbc:DueDate"]
},
{
"schema_id": "currency",
"selectors": ["cbc:DocumentCurrencyCode"]
},
{
"schema_id": "amount_due",
"selectors": ["cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount"]
},
{
"schema_id": "amount_total_base",
"selectors": ["cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount"]
},
{
"schema_id": "amount_total_tax",
"selectors": ["cac:TaxTotal/cbc:TaxAmount"]
},
{
"schema_id": "sender_name",
"selectors": ["cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name"]
},
{
"schema_id": "sender_address",
"selectors": ["cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:StreetName"]
},
{
"schema_id": "recipient_name",
"selectors": ["cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name"]
},
{
"schema_id": "recipient_address",
"selectors": ["cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:StreetName"]
},
{
"schema_id": "terms",
"selectors": ["cac:PaymentTerms/cbc:Note"]
},
{
"fields": [
{
"schema_id": "item_quantity",
"selectors": ["cbc:InvoicedQuantity"]
},
{
"schema_id": "item_code",
"selectors": ["cac:Item/cac:StandardItemIdentification/cbc:ID"]
},
{
"schema_id": "item_description",
"selectors": ["cac:Item/cbc:Description", "cac:Item/cbc:Name"]
},
{
"schema_id": "item_amount",
"selectors": ["cac:Price/cbc:PriceAmount"]
}
],
"schema_id": "line_items",
"selectors": ["cac:InvoiceLine"]
}
]
}
]
}
```
1 change: 0 additions & 1 deletion docs/guides/sso.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
sidebar_position: 1
title: 'Single Sign-On (SSO)'
---

Expand Down

0 comments on commit 40316b0

Please sign in to comment.