MAP-INV-ERP-CREDITNOTE · version 1.0
ERP Customer Credit Note → Invoice
Direct · Business object
Source
ERP · erp_customer_credit_note
Field mappings
| Source field | Canonical field | Contribution | Survivorship |
|---|---|---|---|
| amount | amount | Direct | |
| customer_id | counterparty_entity_id | Direct | |
| currency_code | currency_code | Direct | |
| credit_note_no | display_key | Direct | |
| (constant) | document_kind | Constant | |
| credit_date | posting_date | Direct | |
| status_code | status | Direct |
Canonical records produced (1)
- CN-2026-000001 Invoice · trace
Rule definition
{
"subtype": {
"table": "canonical.invoice",
"fields": {
"amount": {
"from": "amount",
"kind": "numeric"
},
"posting_date": {
"from": "credit_date",
"kind": "date"
},
"currency_code": {
"from": "currency_code",
"kind": "text"
},
"document_kind": {
"kind": "text",
"const": "CUSTOMER_CREDIT_NOTE"
}
},
"entity_references": {
"counterparty_entity_id": {
"source_field": "customer_id",
"target_object": "erp_customer",
"target_system": "ERP"
}
}
},
"attributes": {
"status": {
"from": [
"status_code"
],
"classification": "INTERNAL"
},
"display_key": {
"from": [
"credit_note_no"
],
"classification": "INTERNAL"
}
},
"business_key": "credit_note_no"
}