# Reference Invoice ID Reference Invoice ID is an invoice-issuer-assigned identifier for an invoice that affects charges as stated on a previous invoice. This occurs typically in the context of credits, refunds, or corrections where an adjustment is applied to a specific previously-issued billing document. This ID allows for direct lineage between adjustments and the original billing records. ## Requirements ReferenceInvoiceId MUST adhere to the following requirements: * ReferenceInvoiceId MUST be of type String. * ReferenceInvoiceId MUST conform to [StringHandling](#attributes.stringhandling) requirements. * ReferenceInvoiceId MUST NOT be null. * ReferenceInvoiceId MUST match the [InvoiceId](#datasets.invoicedetail.invoiceid) of the original [*invoice*](#glossary:invoice) when it adjusts another invoice. * ReferenceInvoiceId MUST match the InvoiceId of the current invoice when it does not adjust another invoice. ## Column ID ReferenceInvoiceId ## Display Name Reference Invoice ID ## Description The invoice-issuer-assigned identifier for an invoice that affects charges as stated on a previous invoice. ## Content Constraints | Constraint | Value | |:----------------|:--------------------------------| | Dataset | [Invoice Detail](#datasets.invoicedetail) | | Column type | Dimension | | Feature level | Mandatory | | Allows nulls | False | | Data type | String | | Value format | \ | ## Version Introduced 1.4