This Help Center is a preview of a future release. The final Help Center will be available on the Validation date.
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = Solution Partner,; Orchestration = Manufacturing,; Function = IT,
Credit and debit adjustment transactions
Credit and debit adjustments are bi-directional transactions that allows buyers and sellers to ensure the accuracy of financial records and reconcile discrepancies between invoices, payments, and inventory. These adjustments ensure accurate financial records and proper inventory management, reflecting true transaction values between MAH, wholesalers, distributors, and retailers. Use the credit and debit adjustment transactions to correct errors or adjust previously recorded financial transactions. In both cases, adjustments are made to the accounts receivable or payable ledger to reflect the corrected balances. For example, if the manufacturer detects an undercharge on products shipped to the wholesaler for a specific purchase order, they send a credit and debit adjustment memo to the wholesaler, debiting them for the missing charge. Conversely, if the wholesaler finds an overcharge for products listed on a purchase order that were not received, they send a credit and debit adjustment memo to the manufacturer, debiting them for the overcharged amount.
Users can configure post-transformation logic to classify a sent or received credit and debit adjustment transaction as a client credit and debit adjustment or provider credit and debit adjustment. For example, if the controlFileHeader/fileSenderNumber attribute in the canonical matches the companyIdentifierType and companyIdentifierValue within the thirdPartyLogisticsInformation attribute in the canonical, the system should create the transaction subtype as Provider Credit Debit Adjustments. If no match is found, the system should instead create the transaction subtype as Client Credit Debit Adjustments.
Both credit and debit adjustments directly impact the accounts receivable or payable ledger, ensuring that it accurately reflects the current financial status. The following adjustments are recorded in the ledger to update the balances:
- Credit Adjustments - Decreases the amount a buyer (such as a pharmacy, hospital, or wholesaler) or a customer owes. It typically occurs in scenarios such as the return of goods, pricing errors, promotional discounts or rebates, and short shipments.
- Debit Adjustments - Increases the amount a buyer (such as a pharmacy, hospital, or wholesaler) or a customer owes. It may occur when applying additional charges, correcting undercharged amounts, or invoicing previously unpaid fees, under-billed shipments, price increases, additional charges, damage or loss during shipment.
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT),;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce,; Function = Supply Chain, IT, Procurement,
Credit and debit adjustments (X12)
Buyers or sellers use credit and debit adjustments to ensure the accuracy of financial records and reconcile discrepancies between invoices, payments, and inventory.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_CREDIT_DEBIT_ADJUSTMENT
- X12 Format: 812
- Transform Names:
- B2B_EDI_X12_812_CreditDebitAdjustment_IB_V4
B2B_EDI_X12_812_CreditDebitAdjustment_OB_V2
| Input Element | Occurs | Length | Description | Example | |||
|---|---|---|---|---|---|---|---|
| ISA | 1…1 |
– | Required.ISA interchange envelope. | – | |||
| ISA01 | 1…1 |
2/2 |
Required.Authorization information qualifier identifying the type of identifier in ISA02. Valid values:
Typically this value is |
00 | |||
| ISA02 | 1…1 |
10/10 |
Required.Authorization identifier value used for additional identification or authorization of the interchange sender or the data in the interchange.
|
– | |||
| ISA03 | 1…1 |
2/2 |
Required.Qualifier for security information in ISA04. Valid values:
Typically this value is |
00 | |||
| ISA04 | 1…1 |
10/10 |
Required.Security information identifying for the interchange sender or data.
|
– | |||
| ISA05 | 1…1 |
2/2 |
Required.Interchange sender partner ID qualifier. All X12 sender identifier type qualifiers in ISA05 are supported. |
07 | |||
| ISA06 | 1…1 |
15/15 | Required.ISA interchange sender identifier. | 7777776067344 | |||
| ISA07 | 1…1 |
2/2 |
Required.Interchange receiver partner ID qualifier. All X12 receiver identifier type qualifiers in ISA07 are supported. |
01 | |||
| ISA08 | 1…1 |
15/15 | Required.ISA interchange receiver ID. | 888888404358877 | |||
| ISA09 | 1…1 |
6/6 | Required.Interchange date in 6 char YYMMDD format. | 241028 | |||
| ISA10 | 1…1 |
4/4 | Required.Interchange time in 4 char HHMM format. | 1420 | |||
| ISA11 | 1…1 |
1/1 |
Required.This value is dependent on X12 version.
|
^ | |||
| ISA12 | 1…1 |
5/5 | Required.Interchange control version number. This could be any X12 version. | 00501 | |||
| ISA13 | 1…1 |
9/9 |
Required.Interchange Control Number mapping to file control header. |
0000000000619827 | |||
| ISA14 | 1…1 |
1/1 |
Required.Interchange level acknowledgment requested. Valid values:
|
0 | |||
| ISA15 | 1…1 |
1/1 |
Required.Indicates whether the interchange is for production, test, or information purposes. Valid values:
|
P | |||
| ISA16 | 1…1 |
1/1 |
Required.Component element separator. Delimiter that separates data elements within a composite data structure. Must be different than the data element separator and segment terminator. |
> | |||
| GS | 1…* |
– | GS group functional envelope. Child of ISA. Only one GS group expected per interchange. | – | |||
| GS01 | 1…1 |
2/2 |
Required.GS group function code. The valid
value is |
CD | |||
| GS02 | 1…1 |
2/15 | Required.Application sender's code. | 2222224043588 | |||
| GS03 | 1…1 |
2/15 | Required.Application receiver's code. | TRACELINK | |||
| GS04 | 1…1 |
8/8 | Required.Current date stamp in 8 char X12 date format YYYYMMDD. | 20241028 | |||
| GS05 | 1…1 |
4/8 | Required.Current time stamp in 6 char X12 time format HHMMSS. | 142000 | |||
| GS06 | 1…1 |
1/9 | Required.Group Control ID Number. | 619827 | |||
| GS07 | 1…1 |
1/2 |
Required.Responsible Agency Code. Valid values:
|
X | |||
| GS08 | 1…1 |
1/12 | Required.X12 message version code. This could be any X12 version. | 005010 | |||
| ST | 1…* |
– | ST transaction set envelope. Child of GS group. Only one ST transaction expected. | – | |||
| ST01 | 1…1 |
3/3 | Required.Transaction set identifier code. | 812 | |||
| ST02 | 1…1 |
4/9 | Required.Transaction set ID number. Counter for each ST segment beginning with 1. | 0001 | |||
| BCD | 1…1 |
– | Required.Credit or debit adjustment beginning segment BCD. | – | |||
| BCD01 | 1…1 |
8/8 | Required.Date of credit or debit adjustment in string date format YYYYMMDD mapping to canonical header. | 20241028 | |||
| BCD02 | 1…1 |
1/22 |
Required.Credit or debit adjustment number mapping to canonical header. Reference document identifier for the credit or debit adjustment transaction. Required value for all three formats. |
0000458795 | |||
| BCD03 | 1…1 |
1/2 |
Required.Code identifying action to be taken by all parties, concerning the credit or debit recorded in the message.
|
DEBITCREDIT | |||
| BCD04 | 1…1 |
1/15 |
Required.Total amount of the credit or debit adjustment for the complete transaction. Note: Amount includes two digits implicit decimals.(24589.23 treated as 2458923 ) |
2458923 | |||
| BCD05 | 0…1 |
1/1 |
Credit or debit flag code. Indicates if the amount is a credit or a debit. Valid values:
|
C | |||
| BCD06 | 0…1 |
8/8 | Date of credit memo in date format YYYYMMDD. HDA guideline identify BCD06 and BCD07 as the credit memo date and number. We're following the HDA guidelines here. | 20241028 | |||
| BCD07 | 0…1 |
1/22 |
Credit memo identifier. HDA guideline identify BCD06 and BCD07 as the credit memo date and number. Standard X12 uses this for the invoice identifier. We're following the HDA guidelines. If this field is populated we treat it as a credit memo.
|
002356874148 | |||
| BCD08 | 0…1 |
1/22 |
Vendor order number, Number assigned by a vendor referencing a particular customer purchase order as per HAD guideline. |
0085697458 | |||
| BCD09 | 0…1 |
8/8 | Purchase order date in date format YYYYMMDD. HDA guideline. | 20241028 | |||
| BCD10 | 0…1 |
1/22 | Purchase order identifier. HDA guideline. | 0000458795 | |||
| BCD11 | 0…1 |
2/2 |
Transaction set purpose code. Valid values:
|
00 | |||
| BCD12 | 0…1 |
2/2 |
Code specifying the type of transaction document supporting the message. Valid values include:
|
CG | |||
| BCD13 | 0…1 |
2/3 |
Reference identification qualifier for the reference identifier in BCD14. Valid values:
If either BCD13 or BCD14 is present, then the other is required. |
CK | |||
| BCD14 | 0…1 |
1/80 | Reference identifier as qualified by BCD13 instance. | 0000458795 | |||
| N9 | 0…* |
– |
Extended reference information segment. Used to transmit identifying information specified by the reference identification qualifier. |
– | |||
| N901 | 1…1 |
2/3 |
Required.Reference identification qualifier. Valid values:
If CREDIMEMO is provided in both BCD07 and N901, BCD07 will be considered Credit memo identifier. If BATCH is provided in both BCD14 and N901, BCD14 will be considered as batch identifier. |
BT | |||
| N902 | 0…1 |
1/80 |
Reference identifier. Reference information as specified by the reference identification qualifier in N901. Required if N901 is present. |
002621337 | |||
| N904 | 0…1 |
8/8 | Date for reference identifier in date format YYYYMMDD. | 20241028 | |||
| ITD | 0…1 |
– | Terms of sale or deferred terms of sale. | – | |||
| ITD01 | 1…1 |
2/2 |
Required.Terms of payment type code. Valid values:
|
01 | |||
| ITD02 | 0…1 |
1/2 |
Terms of payment basis date code. Identifies the beginning of the terms period. Valid values:
|
1 | |||
| ITD03 | 0…1 |
1/6 | Terms of payment discount percent available to the purchaser if an invoice is paid on or before the terms discount due date. | 10 | |||
| ITD04 | 0…1 |
8/8 | Terms of payment discount due date in date format YYYYMMDD. | 20241128 | |||
| ITD05 | 0…1 |
1/3 |
Terms of payment discount days due. Number of days in the terms discount period by which payment is due if terms discount is earned. |
15 | |||
| ITD06 | 0…1 |
8/8 | Terms of payment net due date in date format YYYYMMDD. Date when the total invoice amount becomes due. | 20241128 | |||
| ITD07 | 0…1 |
1/3 |
Terms of payment net days. Number of days until the total invoice amount is due. The discount not applicable. |
15 | |||
| ITD08 | 0…1 |
1/10 | Total amount of the terms of payment discount. | 25.00 | |||
| ITD09 | 0…1 |
8/8 |
Terms of payment deferred due date. Date deferred payment or percent of invoice payable is due. |
20241128 | |||
| ITD10 | 0…1 |
1/10 | Deferred amount due for payment. | 10.00 | |||
| ITD11 | 0…1 |
1/5 |
Percentage of invoice payable. Amount of invoice payable expressed as a percentage. |
15 | |||
| ITD12 | 0…1 |
1/80 | Free form description for terms of payment information. | ||||
| ITD13 | 0…1 |
1/2 |
Day of month. The numeric value of the day of the month between 1 and the maximum day of the month being referenced. |
19 | |||
| DTM | 0…* |
– | DTM date segment for credit/debit adjustment at the header level. | – | |||
| DTM01 | 1…1 |
3/3 |
Required.Date type at header level relevant for credit debit adjustment. Valid values:
|
009 | |||
| DTM02 | 0…1 |
8/8 | Processing date in date format YYYYMMDD - Rquired if DTM01 is valid. | 20241028 | |||
| DTM03 | 0…1 |
4/8 |
Processing time in time format HHMMSS. |
123422 | |||
| SAC | 0…25 |
– |
Service, promotion, allowance or charge information. Used to request or identify a service, promotion, allowance, or charge and/or to specify the amount or percentage for the service, promotion, allowance, or charge. |
– | |||
| SAC01 | 1…1 |
1/1 |
Required.Indicator that specifies the amount in SAC05 as an allowance or a charge. Valid values:
|
A | |||
| SAC02 | 0…1 |
4/4 |
Code representing type of credit or charge. (HDA and other company guidelines):
|
A170 | |||
| SAC05 | 0…1 |
1/15 |
Total amount for the service, promotion, allowance, or charge. Note: Amount includes two digits implicit decimals(125.25 treated as 12525) |
12525 | |||
| SAC09 | 0…1 |
2/2 |
Unit or Basis for Measurement Code.
Required if SAC10 is present. |
EA | |||
| SAC10 | 0…1 |
1/15 | Total number of units for credit or debit adjustment. Required if SAC09 is present | 100 | |||
| SAC15 | 0…1 |
1/80 | Free form description. HDA: Used to further describe the adjustment, ie, may be used to explain a quantity difference. | Discounted | |||
| N1 | 1…200 |
– | Party data information. | – | |||
| N101 | 1…1 |
2/3 |
Required.Entity qualifier for the party identifier and address information. Valid value:
|
BT | |||
| N102 | 1…1 |
1/60 | Required.Name. | Pharma customer | |||
| N103 | 1…1 |
1/2 |
Required.Identifier code qualifier. Valid values:
|
UL | |||
| N104 | 1…1 |
2/80 | Required.Party identifier as qualified by N103 mapping to companyIdentifierValue. | 3333331013655 | |||
| N3 | 0…1 |
– | N3: Address: Child of party N1 name segment. | – | |||
| N301 | 1…1 |
1/55 | Required.Street address 1. | 555 Neelan Road | |||
| N302 | 0…1 |
1/55 | Street address 2. | Suite 123 | |||
| N4 | 0…1 |
– | N4: Geographic Location. Child of party N1 name segment. | – | |||
| N401 | 1…1 |
2/30 | Required.City name. | Sacramento | |||
| N402 | 1…1 |
2/2 |
Required.State or province code. Code (Standard state/province) as defined by appropriate government agency. |
CA | |||
| N403 | 1…1 |
3/15 | Required.Postal code. Code defining international postal zone code excluding punctuation and blanks. | 95833 | |||
| N404 | 1…1 |
2/3 | Required.Country code. | US | |||
| PER | 0…6 |
– | Contact Information. | – | |||
| PER01 | 1…1 |
2/2 | Required.Contact function code
identifying major duty or responsibility of person or group named as contact.
The valid value is AJ - Primary contact. |
AJ | |||
| PER02 | 0…1 |
1/60 | Name of the contact person responsible for authenticating the pedigree information. | John Smith | |||
| PER03 | 0…1 |
2/2 |
Communication Number Qualifier identifying the contact person's telephone number or email address. Valid values:
If either PER03 or PER04 is present, then the other is required. |
TE | |||
| PER04 | 0…1 |
1/2048 | Telephone number or email address of the contact person expected in this field. | +1.516.747.6849 | |||
| PER05 | 0…1 |
2/2 |
Communication Number Qualifier identifying the contact person's telephone number or email address. Valid values:
If either PER05 or PER06 is present, then the other is required. |
EM | |||
| PER06 | 0…1 |
1/2048 | Telephone number or email address of the contact person expected in this field. | jsmith@manufac.com | |||
| CDD | 0…* |
– | Credit or debit adjustment details loop. | – | |||
| CDD01 | 1…1 |
2/2 |
Required.Adjustment reason code specifying the reason for a debit or credit memo, an adjustment to an invoice, or a payment.
|
01 | |||
| CDD02 | 1…1 |
1/1 |
Required.Credit or debit flag code. Indicates if the amount is a credit or a debit. Valid values:
|
C | |||
| CDD03 | 0…1 |
1/20 |
Assigned identification. Alphanumeric characters assigned for differentiation within a transaction set. HDA specifies line item number. |
000010 | |||
| CDD04 | 0…1 |
1/15 |
Monetary amount of credit or debit adjustment. Note: source amount includes two digits implicit decimals(125.50 shown as 12550) - At least one of CDD04 or CDD07 is required. |
12550 | |||
| CDD07 | 0…1 |
1/10 |
Quantity of supplier units to be credited or debited. May use a decimal to indicate a quantity variance, fractions or partials. At least one of CDD04 or CDD07 is required. |
25 | |||
| CDD08 | 0…1 |
2/2 |
Unit or Basis for Measurement Code.
Required if CDD07 is present. |
EA | |||
| CDD10 | 0…1 |
3/3 |
Code identifying pricing specification. Qualifiers are from consulted HDA and company guidelines. Valid values:
If either CDD10 or CDD11 is present, then the other is required. |
UCP | |||
| CDD11 | 0…1 |
1/17 |
Unit price. Price per unit of product, service, commodity, etc. If either CDD10 or CDD11 is present, then the other is required. |
1.25 | |||
| LIN | 0…1 |
– | Item identification. | – | |||
| LIN02 | 1…1 |
2/2 |
Required.Code to qualify product identifier type.
|
IN | |||
| LIN03 | 1…1 |
1/80 | Required.Product identifier value as qualified by LIN02. | 00002541789536 | |||
| LIN04 | 0…1 |
2/2 |
Code to qualify product identifier type. If either LIN04 or LIN05 is present, then the other is required
|
UK | |||
| LIN05 | 0…1 |
1/80 |
Product identifier value as qualified by LIN04. If either LIN04 or LIN05 is present, then the other is required. |
00002541789536 | |||
| SAC | 0…25 |
– |
Service, promotion, allowance or charge information at line item details level. Used to request or identify a service, promotion, allowance, or charge and/or to specify the amount or percentage for the service, promotion, allowance, or charge. |
– | |||
| SAC01 | 1…1 |
1/1 |
Required.Indicator that specifies the amount in SAC05 as an allowance or a charge. Valid values:
|
A | |||
| SAC02 | 0…1 |
4/4 |
Code representing type of credit or charge.
|
A170 | |||
| SAC05 | 0…1 |
1/15 |
Total amount for the service, promotion, allowance, or charge. Note: source amount includes two digits implicit decimals(125.50 shown as 12550) |
12550 | |||
| SAC09 | 0…1 |
2/2 |
Unit or Basis for Measurement Code.
Required if SAC10 is present. |
EA | |||
| SAC10 | 0…1 |
1/15 | Total number of units for credit or debit adjustment. - Required if SAC09 is present. | 100 | |||
| SAC15 | 0…1 |
1/80 | Free form description. HDA: Used to further describe the adjustment, ie, may be used to explain a quantity difference. | Discounted | |||
| N9 | 0…* |
– | Extended reference information segment. Used to transmit identifying information specified by the reference identification qualifier. | – | |||
| N901 | 1…1 |
2/3 |
Required.Reference identification qualifier. Valid values:
|
LT | |||
| N902 | 0…1 |
1/80 |
Reference identifier. Reference information as specified by the reference identification qualifier in N901. If N901 = TD, N902 will map to any of the valid adjustment reason codes in CDD01, for an additiional reason code for adjustment. Map will not enforce validity of code. Required if N901 is valid. |
002621337 | |||
| N903 | 0…1 |
1/45 | Free form description. HDA: Used to further describe the adjustment, ie, may be used to explain a quantity difference. | Credit or debit adjustment | |||
| N904 | 0…1 |
8/8 | Date for reference identifier in date format YYYYMMDD. | 20241028 | |||
| DTM | 0…5 |
– | DTM date segment at line item details level of credit or debit adjustment. | – | |||
| DTM01 | 1…1 |
3/3 |
Required.Date type at header level relevant for credit debit adjustment. Valid values:
|
011 | |||
| DTM02 | 0…1 |
8/8 | Processing date in date format YYYYMMDD - Required if DTM01 is valid. | 20241028 | |||
| DTM03 | 0…1 |
4/8 | Processing time in time format HHMMSS | 123422 | |||
| SE | 1…1 |
– | Required.ST … SE transaction set trailer envelope. Child of GS group. Only one ST transaction expected. | – | |||
| SE01 | 1…1 |
1/10 | Required.Total count of segments in ST … SE transaction set including ST and SE segments. | 10 | |||
| SE02 | 1…1 |
4/9 | Required.Transaction set control number. | 0001 | |||
| GE | 1…1 |
– | Required.GS … GE functional group trailer envelope. Child of ISA interchange. Only one GS group expected. | – | |||
| GE01 | 1…1 |
1/6 | Required.Number of transaction sets in functional group. | 5 | |||
| GE02 | 1…1 |
1/9 | Required.Functional group control number. | 619827 | |||
| IEA | 1…1 |
– | Required.ISA … IEA interchange control trailer envelope. Only one interchange expected per transmission. | – | |||
| IEA01 | 1…1 |
1/5 | Required.Number of functional groups in interchange. | 1 | |||
| IEA02 | 1…1 |
9/9 | Required.Interchange control number. | 0000000000619827 | |||
ISA*01*pnande1234*01*welcome123*01*777777606734412*01*888888404358877*240711*170
9*^*00501*000619827*0*T*:~
GS*CD*2222224043588*TRACELINK*20240807*170923*000619827*X*005010~
ST*812*0001~
BCD*20240807*0000458795*B*2458923*D*20240811**0085697458*20240811*0000458795*07*
74*CK*000045879501~
N9*BT*N9-002621999*BatchNumber*20240807~
ITD*02*2*.5*20240811*15*20240811*15*25*20240811*10*15*Sales Terms And
Conditions*05~
DTM*011*20240811*17092324~
SAC*A*A170*10*121*12525*1*.5*10*01*100*100*10*1234*1*Paracaetamol 20 MG~
N1*BT*Customer*1*BILL_TO_CUSTOMER~
N3*5th Cross*High Street Lane~
N4*Pune*MH*411057*IN~
PER*AJ*Kedar Urunkar*TE*9039943781~
PER*AJ*Kedar Urunkar*EM*kedar_pharma@abc.com~
N1*L8*HO_Customer*9*DUNS4-3333331013666~
N3*10th Cross Lane*Market Yard~
N4*Bangalore*KA*411088*IN~
PER*AJ*HO_Officer*TE*9039943782~
PER*AJ*HO_Officer*EM*headOffice_pharma@abc.com~
N1*QA*Pharmacy Customer*11*56889785~
N3*Royal Road*Yamuna Nagar~
N4*Pune*MH*496001*IN~
PER*AJ*pharmacy_Name*EM*pharmacy@QA1.com*TE*12345678901235~
PER*AJ*pharmacy_Name*TE*222222*EM*pharmacy@QA2.com~
N1*SU*Supplier*21*HIN-3333331013655~
N3*555 Neelan Road*suite 123~
N4*Sacramento*CA*95833*US~
PER*AJ*John Smith*TE*9039943784*EM*jsmith@manufac.com*~
N1*YE*PharmaSupplier_3PL*91*COMP-3333331013655~
N3*Sacramento*suite 123~
N4*Sacramento*CA*95833*US~
PER*AJ*JacobBarner*TE*12345888888267*EM*JB3PL@abc.com~
N1*XI*OriginalPharmaSupplier*92*CO-SITE-3333331013655~
N3*OrigPharmaSupp_Add_1*OrigPharmaSupp_Add_2~
N4*Sacramento*CA*95833*US~
PER*AJ*Peter Park*TE*123456789*EM*ppOrigSup@abc.com~
N1*RI*remitTo_Customer*UL*GLN-3333331013655~
N3*Remit_Add_1*Remit_Add_2~
N4*Sacramento*CA*95833*US~
PER*AJ*Alfred T*TE*123456789015438*EM*atRemit@abc.com~
N1*ST*shipTo_Customer*1*4547682202~
N3*Shipment_Address_1*Shipment_Addrss_2~
N4*Mumbai*MH*496771*IN~
PER*AJ*Ajay Mohanan*TE*12344453968*EM*ajayM@abc.com~
N1*DS*DistributionCust*1*3333331013655~
N3*Distrubitor_Add1*Distributor_Add2~
N4*Pune*MH*411057*IN~
PER*AJ*Chemist Lab*TE*1234567890*EM*chemistL@abc.com~
N1*DB*Distributor_Branch*1*45464212~
N3*Dist_Branch_Add1*Dist_Branch_Add2~
N4*Pune*MH*411057*IN~
PER*AJ*Apollo Pharmacy*TE*9876543211*EM*apolloPharmacy@abc.com~
CDD*01*C*000010*12550*N*DAM*25*EA*.5*UCP*1.25~
LIN*1*IN*Buyer*NH*559833663~
N9*LT*LOT-002621337*lot*20240807~
SAC*A*E063***12525****01*100*****Discounted_A~
DTM*036*20260711*170923~
SE*55*0001~
GE*1*000619827~
IEA*1*000619827~
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT), Transforms,;Persona = TraceLink Administrator, User, Solution Partner,; Orchestration = Manufacturing, Commerce,; Function = Supply Chain, IT, Procurement,
Credit and debit adjustments (IDoc)
Buyers or sellers use Credit and debit adjustment transactions to ensure the accuracy of financial records and reconcile discrepancies between invoices, payments, and inventory.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_CREDIT_DEBIT_ADJUSTMENT
- X12 Format: PEXR2002
- Transform Names:
- IDoc (outbound)
- B2B_IDoc_CREADV_PEXR2002_CreditDebitAdjustment_OB_V1
- IDoc (outbound)
Tag end
Type = API Reference,; Topic = Multienterprise Information Network Tower (MINT),;Persona = TraceLink Administrator, User,; Orchestration = Manufacturing, Logistics, Commerce,; Function = Supply Chain, IT, Procurement,
Credit and debit adjustments (TRADACOMS)
Buyers or sellers use Credit and debit adjustment transactions to ensure the accuracy of financial records and reconcile discrepancies between invoices, payments, and inventory.
Contact your TraceLink Services representative for more information about integrating with this message.
- Message Type: MPC_CREDIT_DEBIT_ADJUSTMENT
- X12 Format: TRADACOMS
- Transform Names:
- IDoc (outbound)
B2B_EDI_TRADACOMS_CREADV_CreditDebitAdjustment_IB_V1
B2B_EDI_TRADACOMS_CREADV_CreditDebitAdjustment_OB_V1
- IDoc (outbound)
| Input Element | Occurs | Length | Description | Example | |||||
|---|---|---|---|---|---|---|---|---|---|
| CRENOT | 1…1 | – | Tradacoms CRENOT credit/debit adjustment. | – | |||||
| STX | 1…1 | – | STX Interchange Header. | STX=ANA:1+SUPPLIERGLN+5010645000007+260628:115411+134++CREHDR+B' | |||||
| STX | 1…1 | – | Header Start of Transmission. | – | |||||
| STX01 | 1…1 | – |
Information used for additional identification or authorization of the interchange sender or the data in the interchange/ 10 spaces a valid entry. |
– | |||||
| STX01.1 | 1…1 | 1/4 | Identifier | ANA | |||||
| STX01.2 | 1…1 | 0/1 | Version | 1 | |||||
| STX02 | 1…1 | – | Identification of Transmission Sender. | – | |||||
| STX02.1 | 0…1 | 1/14 | Sender Identifier (often a GLN/EAN location number). | SUPPLIERGLN | |||||
| STX02.2 | 0…1 | 1/35 | Sender Name. | – | |||||
| STX03 | 1…1 | – | Identification of Transmission Receiver. | – | |||||
| STX03.1 | 0…1 | 1/14 | Receiver Identifier (often a GLN/EAN location number). | 5010645000007 | |||||
| STX03.2 | 0…1 | 1/35 | Receiver Name. | – | |||||
| STX04 | 1…1 | – | Date and Time of Transmission . | – | |||||
| STX04.1 | 1…1 | 0/6 | Date of preparation in YYMMDD format. | 260628 | |||||
| STX04.2 | 0…1 | 0/6 | Time of preparation in HHMMSS format. | 115411 | |||||
| STX05 | 1…1 | 1/14 | Unique Transmission Reference/Message Reference Number | '134 | |||||
| STX06 | 0…1 | 1/14 | Recipient's Transmission Reference | – | |||||
| STX07 | 0…1 | 1/14 | Application Reference | CREHDR | |||||
| STX08 | 0…1 | 1/1 | Transmission Priority Code | B | |||||
| MHD | 1…1 | – | Message Header for Credit Note | – | |||||
| MHD | 1…1 | – | Message Header for Credit Note. | MHD=1+CREHDR:9' | |||||
| MHD01 | 1…1 | 0/12 | Message Reference Number, consecutive count of messages within the transmission MSRF | 1 | |||||
| MHD02.1 | 1…1 | 6/6 |
Credit Note type code. Valid value: CREHDR |
CREHDR | |||||
| MHD02.2 | 1…1 | 1/1 | Credit Note version number | 9 | |||||
| TYP | 1…1 | – | Transaction Type Details. | TYP=740 | |||||
| TYP01 | 1…1 | 4/4 | Type 0740 – Credit Notes Only | 740 | |||||
| TYP02 | 0…1 | 1/12 | Version Number | – | |||||
| SDT | 1…1 | – | Supplier details. | SDT=5031676000006:00326+.' | |||||
| SDT01 | 1…1 | – | Supplier's Identity | – | |||||
| SDT01.1 | 0…1 | 0/13 | Supplier's EAN Location Number | 5031676000006 | |||||
| SDT01.2 | 0…1 | 1/17 | Supplier's Identity Allocated by Customer | 00326 | |||||
| SDT02 | 0…1 | 1/40 | Supplier's Name | – | |||||
| SDT03 | 0…1 | – | Supplier's Address. | – | |||||
| SDT03.1 | 0…1 | 1/35 | Supplier address line 1 | – | |||||
| SDT03.2 | 0…1 | 1/35 | Supplier address line 2 | – | |||||
| SDT03.3 | 0…1 | 1/35 | Supplier address line 3 | – | |||||
| SDT03.4 | 0…1 | 1/35 | Supplier address line 4 | – | |||||
| SDT03.5 | 0…1 | 1/8 | Supplier's postal code. | – | |||||
| SDT04 | 0…1 | – | Supplier's VAT Registration Number | – | |||||
| SDT04.1 | 0…1 | 0/9 | Numeric VAT Registration Number | – | |||||
| SDT04.2 | 0…1 | 1/17 | Alphanumeric VAT RegistrationNumber | – | |||||
| CDT | 1…1 | – | Customer details. | CDT=5010645000007+ALLIANCE HEALTHCARE LTD' | |||||
| CDT01 | 1…1 | – | Customer's Identity | – | |||||
| CDT01.1 | 0…1 | 0/13 | Customer's EAN Location Number | 5010645000007 | |||||
| CDT01.2 | 0…1 | 1/17 | Customer''s Identity Allocated by Customer | – | |||||
| CDT02 | 0…1 | 1/40 | Customer''s Name | ALLIANCE HEALTHCARE LTD' | |||||
| CDT03 | 0…1 | – | Customer''s Address. | – | |||||
| CDT03.1 | 0…1 | 1/35 | Customer address line 1 | – | |||||
| CDT03.2 | 0…1 | 1/35 | Customer address line 2 | – | |||||
| CDT03.3 | 0…1 | 1/35 | Customer address line 3 | – | |||||
| CDT03.4 | 0…1 | 1/35 | Customer address line 4 | – | |||||
| CDT03.5 | 0…1 | 1/8 | Supplier's postal code. | – | |||||
| CDT04 | 0…1 | – | Customer's VAT Registration Number | – | |||||
| CDT04.1 | 0…1 | 0/9 | Numeric VAT Registration Number | – | |||||
| CDT04.2 | 0…1 | 1/17 | Alphanumeric VAT RegistrationNumber | – | |||||
| FIL | 1…1 | – | File Details. | FIL=2075+1+260414' | |||||
| FIL01 | 1…1 | 0/4 | File Generation Number | 2075 | |||||
| FIL02 | 1…1 | 0/4 | File Version Number | 1 | |||||
| FIL03 | 1…1 | 0/6 | File Creation Date | 260414 | |||||
| FIL04 | 0…1 | 1/6 | File (Reel) Identification | – | |||||
| MTR | 1…1 | – | CREHDR Message Trailer. | MTR=6' | |||||
| MTR01 | 1…1 | 0/10 |
Number of Segments. Control count of the number of segments in the CREHDR message. The count includes the MHD and MTR segments surrounding the Message. |
6 | |||||
| MHD | 1…1 | – | Message Credit Note (CREDIT) Details. | MHD=2+CREDIT:9' | |||||
| MHD | 1…1 | – | Message Details for Credit Note. | MHD=2+CREDIT:9' | |||||
| MHD01 | 1…1 | 0/12 | Message Reference Number, consecutive count of messages in the CREDIT group within the transmission (MSRF) | 2 | |||||
| MHD02.1 | 1…1 | 6/6 | Type of Message. Valid value: CREDIT | CREDIT | |||||
| MHD02.2 | 1…1 | 1/1 | Credit Note version number | 9 | |||||
| CLO | 1…1 | – | Customer's Location. | CLO=5010645000049:04+LETCHWORTH+Avenue 1:Letchworth Business Park:LETCHWORTH::SG6 2HB' | |||||
| CLO01 | 1…1 | – | Customer's Identity | – | |||||
| CLO1.1 | 0…1 | 0/13 | Customer's EAN Location Number | 5010645000049 | |||||
| CLO01.2 | 0…1 | 1/17 | Customer''s Identity Allocated by Customer | – | |||||
| CLO01.3 | 0…1 | 1/17 | Supplier's Identification of Customer'sLocation | – | |||||
| CLO02 | 0…1 | 1/40 | Customer''s Name | LETCHWORTH | |||||
| CLO03 | 0…1 | – | Customer''s Address. | – | |||||
| CLO03.1 | 1…1 | 1/35 | Customer address line 1 | Avenue 1 | |||||
| CLO03.2 | 0…1 | 1/35 | Customer address line 2 | Letchworth Business Park | |||||
| CLO03.3 | 0…1 | 1/35 | Customer address line 3 | LETCHWORTH | |||||
| CLO03.4 | 0…1 | 1/35 | Customer address line 4 | – | |||||
| CLO03.5 | 0…1 | 1/8 | Customer's postal code. | SG6 2HB | |||||
| CRF | 1…1 | – | Credit Note References | CRF=926868+240620+240205' | |||||
| CRF01 | 1…1 | 1/17 | Credit Note Number | 926868 | |||||
| CRF02 | 1…1 | 0/6 | Credit Note Date | – | |||||
| CRF03 | 1…1 | 0/6 | Tax-point Date | – | |||||
| CRF04 | 0…1 | 1/17 | Debit Note Number | – | |||||
| CRF05 | 0…1 | 0/6 | Debit Note Date | – | |||||
| CRF06 | 0…1 | 1/17 | Collection Note Number | – | |||||
| CRF07 | 0…1 | 0/6 | Collection Note Date | – | |||||
| PYT | 0…1 | – | Settlement Terms | PYT=1++260720:0000+30' | |||||
| PYT01 | 1…1 | 0/10 | First Level Sequence Number | 1 | |||||
| PYT02 | 0…1 | 1/40 | Terms of Payment | – | |||||
| PYT03 | 0…1 | – | Payment Date and Terms | – | |||||
| PYT03.1 | 1…1 | 0/6 | Payment Date | 260720 | |||||
| PYT03.2 | 1…1 | 3/6 | Settlement Discount Percentage | 0000 | |||||
| PYT04 | 0…1 | – | Settlement Terms | – | |||||
| PYT04.1 | 1…1 | 0/3 | Number of days | 30 | |||||
| PYT04.2 | 0…1 | 3/6 | Settlement Discount Percentage | – | |||||
| PYT04.3 | 0…1 | 1/3 | Settlement Code | – | |||||
| OIR | 0…1 | – | Original Invoice References | OIR=1+817587+260205+260205+123785:SUP123:260620:260620' | |||||
| OIR01 | 1…1 | 0/10 | First Level Sequence Number | 1 | |||||
| OIR02 | 0…1 | 1/17 | Invoice Number | 817587 | |||||
| OIR03 | 0…1 | 0/6 | Date of Invoice | 260205 | |||||
| OIR04 | 0…1 | 0/6 | Tax-point Date | – | |||||
| OIR05 | 0…1 | – | Order Number and Date | – | |||||
| OIR05.1 | 0…1 | 1/17 | Customer's Order Number | 123785 | |||||
| OIR05.2 | 0…1 | 1/17 | Supplier's Order Number | SUP123 | |||||
| OIR05.3 | 0…1 | 0/6 | Date Order Placed by Customer | 260205 | |||||
| OIR05.4 | 0…1 | 0/6 | Date Order Received by Supplier | – | |||||
| OIR06 | 0…1 | – | Specification/Contract References | – | |||||
| OIR06.1 | 0…1 | 1/17 | Specification Number | – | |||||
| OIR06.2 | 0…1 | 1/17 | Contract Number | – | |||||
| CLD | 1…1 | – | Credit Note Line Details | CLD=1+5060119660019:116-0928:00000000000000++:5060119660019+1+3000+04500+13500000+S+20000+03::PRICE+++CARBOMER GEL EYE DROPS MEDICOM:10GM+04500' | |||||
| CLD01 | 1…1 | 0/10 | First Level Sequence Number | 1 | |||||
| CLD02 | 1…1 | – | Supplier's Product Number | – | |||||
| CLD02.1 | 0…1 | 0/13 | Manufacturer's EAN-13 Article Number | 5060119660019 | |||||
| CLD02.2 | 0…1 | 1/30 | Supplier's code. | 116-0928 | |||||
| CLD02.3 | 0…1 | 0/14 | DUN-14 Code | 00000000000000 | |||||
| CLD03 | 0…1 | 0/13 | Supplier's EAN Article Number for the Designated Consumer Unit | – | |||||
| CLD04 | 0…1 | – | Customer's Product Number | – | |||||
| CLD04.1 | 0…1 | 0/15 | Customer's Own Brand | – | |||||
| CLD04.2 | 0…1 | 1/30 | Customer's Item Code | 5060119660019 | |||||
| CLD05 | 0…1 | – | Unit of Ordering | – | |||||
| CLD05.1 | 0…1 | 0/15 | Consumer Units in Traded Unit | 1 | |||||
| CLD05.2 | 0…1 | 3/13 | Ordering Measure | – | |||||
| CLD05.3 | 0…1 | 1/6 | Measure Indicator | – | |||||
| CLD06 | 0…1 | – | Quantity Credited | – | |||||
| CLD06.1 | 0…1 | 0/15 | Number of Traded Units Credited | 3000 | |||||
| CLD06.2 | 0…1 | 3/13 | Total Measure Credited | – | |||||
| CLD06.3 | 0…1 | 1/6 | Measure Indicator | – | |||||
| CLD07 | 0…1 | – | Unit Credit Value (before VAT) | – | |||||
| CLD07.1 | 1…1 | 4/14 | Credit Value (before VAT) | 04500 | |||||
| CLD07.2 | 0…1 | 1/6 | Measure Indicator | – | |||||
| CLD08 | 1…1 | 4/14 | Net Credit Value (before VAT) | 13500000 | |||||
| CLD09 | 1…1 | 1/1 | VAT Rate Category Code. Valid values include: S = Standard E = Exempt R = Reduced Z = Zero Rate | – | |||||
| CLD10 | 1…1 | 3/6 | VAT Rate Percentage | 20000 | |||||
| CLD11 | 0…1 | – | Reason for Credit | – | |||||
| CLD11.1 | 0…1 | 2/2 | ANA Credit Reason Code | – | |||||
| CLD11.2 | 0…1 | 1/2 | Trading Partner's Own Code | – | |||||
| CLD11.3 | 0…1 | 1/40 | Credit Reason Description | – | |||||
| CLD12 | 0…1 | 0/1 | Mixed VAT Rate Product Indicator | – | |||||
| CLD13 | 0…1 | 1/4 | Debit Line Indicator | – | |||||
| CLD14 | 0…1 | – | Traded Unit Description | – | |||||
| CLD14.1 | 0…1 | 1/40 | Line 1 | CARBOMER GEL EYE DROPS MEDICOM | |||||
| CLD14.2 | 0…1 | 1/40 | Line 2 | 10GM | |||||
| CLD15 | 0…1 | 4/14 | Unit Credit Value Before Discount and VAT | 04500 | |||||
| CLD16 | 0…1 | 4/14 | Credit Discount Value | – | |||||
| CLD17 | 0…1 | 04-Jan | Item Group Identifier | – | |||||
| CLD18 | 0…1 | – | Specification/Contract References. | – | |||||
| CLD18.1 | 0…1 | 1/17 | Specification Number. | – | |||||
| CLD18.2 | 0…1 | 1/17 | Contract Number. | – | |||||
| CST | 0…1 | – | VAT RATE CREDIT SUB-TRAILER. | – | |||||
| CST01 | 1…1 | 1/10 | First Level Sequence Number. | – | |||||
| CST02 | 1…1 | 1/1 | VAT Rate Category Code. | – | |||||
| CST03 | 1…1 | 3/6 | VAT Rate Percentage. | – | |||||
| CST04 | 1…1 | 0/10 | Number of Item Lines. | – | |||||
| CST05 | 1…1 | 2/12 |
Line Sub-Total Amount (before VAT) Note:This is the same as the CLD08, and thus is already mapped to the detail adjustmentAmount |
– | |||||
| CST06 | 0…1 | 2/12 | Discount Reclaimed for Credit Quantity. | – | |||||
| CST07 | 0…1 | 2/12 | Discount Reclaimed for Credit Value. | – | |||||
| CST08 | 1…1 | 2/12 |
Extended Sub-Total Amount (before settlement discount has been applied) Note:This is the same as the CLD08, and thus is already mapped to the detail adjustmentAmount |
– | |||||
| CST09 | 0…1 | 2/12 | Sub-Total Settlement Discount Amount. | – | |||||
| CST10 | 1…1 | 2/12 |
Extended Sub-Total Amount (after settlement discount has been applied) Note:This is the same as the CLD08, and thus is already mapped to the detail adjustmentAmount. |
– | |||||
| CST11 | 1…1 | 2/12 | VAT Amount Payable. | – | |||||
| CST12 | 0…1 | 2/12 | Payable Sub-Total Amount (before settlement discount). | – | |||||
| CST13 | 1…1 | 2/12 | Payable Sub-Total Amount (after settlement discount has been applied). | – | |||||
| CTR | 0…1 | – | Credit Trailer. | – | |||||
| CTR01 | 1…1 | 0/10 | Number of Total Segments. | – | |||||
| CTR02 | 1…1 | 2/12 | Lines Total Amount (before settlement discount has been applied). | – | |||||
| CTR03 | 0…1 | 2/12 | Total Discount Reclaimed for Credit Quantity. | – | |||||
| CTR04 | 0…1 | 2/12 | Total Discount Reclaimed for Credit Value. | – | |||||
| CTR05 | 1…1 | 2/12 | Total Extended Amount (before settlement discount has been applied). | – | |||||
| CTR06 | 0…1 | 2/12 | Total Settlement Discount Amount. | – | |||||
| CTR07 | 1…1 | 2/12 | Total Amount (after settlement discount has been applied). | – | |||||
| CTR08 | 1…1 | 2/12 | Total VAT Amount Payable. | – | |||||
| CTR09 | 0…1 | 2/12 | Total payable (before settlement discount). | – | |||||
| CTR10 | 1…1 | 2/12 | Total payable (after settlement discount). | – | |||||
| MTR | 1…1 | – | Message Trailer. | MTR=6' | |||||
| MTR01 | 1…1 | 0/10 |
Number of Segments. Control count of the number of segments in the CREDIT message. The count includes the MHD and MTR segments surrounding the Message. |
6 | |||||
| MHD | 1…1 | – | File VAT Trailer. | – | |||||
| MHD | 1…1 | – | Message Order Trailer for Credit Note. | MHD=3+VATLR:9' | |||||
| MHD01 | 1…1 | 0/12 | Message Reference Number, consecutive count of messages within the transmission (MSRF). | 3 | |||||
| MHD02.1 | 1…1 | 6/6 |
Type of Message. Valid value: VATTLR |
VATTLR | |||||
| MHD02.2 | 1…1 | 1/1 | Credit Note version number. | 9 | |||||
| VRS | 0…1 | – | VAT Rate Summary. | – | |||||
| VRS01 | 1…1 | 0/10 | First Level Sequence Number. | – | |||||
| VRS02 | 1…1 | 1/1 | VAT Rate Category Code. | – | |||||
| VRS03 | 1…1 | 3/6 | VAT Rate Percentage. | – | |||||
| VRS04 | 1…1 | 2/12 | File Sub-Total Amount (before settlement discount). | – | |||||
| VRS05 | 1…1 | 2/12 | File Sub-Total Amount (after settlement discount). | – | |||||
| VRS06 | 1…1 | 2/12 | File VAT Sub-Total. | – | |||||
| VRS07 | 0…1 | 2/12 | File Sub-Total Payable (before settlement discount). | – | |||||
| VRS08 | 1…1 | 2/12 | File Sub-Total Payable (after settlement discount). | – | |||||
| MTR | 1…1 | – | Message Trailer. | MTR=3' | |||||
| MTR01 | 1…1 | 0/10 |
Number of Segments. Control count of the number of segments in the ORDTLR message. The count includes the MHD and MTR segments surrounding the Message. |
4 | |||||
| MHD | 1…1 | – | Message Order Trailer. | – | |||||
| MHD | 1…1 | – | Message Order Trailer for Credit Note. | MHD=4+CRETLR:9' | |||||
| MHD01 | 1…1 | 0/12 | Message Reference Number, consecutive count of messages within the transmission (MSRF). | 3 | |||||
| MHD02.1 | 1…1 | 6/6 |
Type of Message. Valid value: CRETLR |
CRETLR | |||||
| MHD02.2 | 1…1 | 1/1 | Credit Note version number. | 9 | |||||
| TOT | 0…1 | – | File Totals. | – | |||||
| TOT01 | 1…1 | 2/12 | File Total Amount (before VAT and settlement discount). | – | |||||
| TOT02 | 1…1 | 2/12 | File Total Amount (before VAT but after settlement discount has been applied). | – | |||||
| TOT03 | 1…1 | 2/12 | File Total VAT Amount. | – | |||||
| TOT04 | 0…1 | 2/12 | File Total Payable (before settlement discount). | – | |||||
| TOT05 | 1…1 | 2/12 | File Total Payable (after settlement discount has been applied). | – | |||||
| TOT06 | 1…1 | 0/10 | File Total Number of Invoice Messages. | – | |||||
| MTR | 1…1 | – | Message Trailer. | MTR=3' | |||||
| MTR01 | 1…1 | 0/10 |
Number of Segments. Control count of the number of segments in the CRETLR message. The count includes the MHD and MTR segments surrounding the Message. |
4 | |||||
| END | 1…1 | – | End of Transmission | END=4' | |||||
| END01 | 1…1 | 0/5 | Number of Messages in Transmission, counting CREHDR,CREDIT,CRETLR. | 4 | |||||
| eof_Field | 1…1 | 1/1 | End of File. | – | |||||
Tag end


