carrierInvoiceLineMatch
Link an open, unlinked carrier invoice line to a shipment, a client or a carrier claim. The link survives reprocessing.
Arguments
idID!ID of the carrier invoice line.
businessUnitIdIDBusiness unit the line is billed from. Required with a client; overrides the shipment's own business unit when that has none.
clientIdIDClient the line belongs to when there is no shipment. Requires a business unit.
creditIdIDCarrier claim (credit) of the same carrier that this line repays. The line takes the claim's shipment and client; its carrier credits are booked as recovery on the claim and not billed to the client.
shipmentIdIDShipment the line belongs to. Give exactly one of shipment, client or claim.
Returns
createdAtDateTimeTz!When the carrier invoice line was created.
excludedReasonStringWhy the line is excluded, in the request language.
idID!Unique primary key.
isMatchedManuallyBoolean!Whether the line was linked to a shipment or client by hand instead of by the barcode match.
lineNumberInt!Line number of the carrier invoice line.
matchStatusCarrierInvoiceLineMatchStatus!Match status of the carrier invoice line.
AMBIGUOUSEXCLUDEDMATCHEDPENDINGUNMATCHEDpieceBarcodeStringPiece barcode of the carrier invoice line.
processedAtDateTimeTzWhen the carrier invoice line was processed.
reviewReasonStringWhy the line needs review, in the request language.
updatedAtDateTimeTz!When the carrier invoice line was last updated.
field[String!]messageString!