# 📄 Get details of a draft invoice Get the details of a specific draft invoice. Returns the complete draft data including all fields and their current values. This is useful for retrieving draft state before making updates. Endpoint: GET /drafts/{draft_id} Version: 1.0.0 ## Path parameters: - `draft_id` (string, required) ## Header parameters: - `X-PDP-Client-Id` (string, required) ID of the PDP Client for which the operation is performed ## Response 200 fields (application/json): - `specification_identifier` (string) Specification identifier (BT-24) - `issue_date` (string, required) Invoice issue date (BT-2) - `due_date` (any) Payment due date (BT-9) - `type_code` (string, required) Invoice type code (BT-3) Enum: "380", "381", "383", "384" - `currency_code` (string, required) Invoice currency code (BT-5) - ISO 4217 - `tax_point_date` (any) Tax point date (BT-7) - `value_added_tax_point_date` (any) Value added tax point date (BT-8) - `business_process_type` (any) Business process type (BT-23) - `purchase_order_reference` (any) Purchase order reference (BT-13) - `sales_order_reference` (any) Sales order reference (BT-14) - `receiving_advice_reference` (any) Receiving advice reference (BT-15) - `despatch_advice_reference` (any) Despatch advice reference (BT-16) - `tender_or_lot_reference` (any) Tender or lot reference (BT-17) - `invoice_object_identifier` (any) Invoiced object identifier (BT-18) - `buyer_accounting_reference` (any) Buyer accounting reference (BT-19) - `project_reference` (any) Project reference (BT-11) - `contract_reference` (any) Contract reference (BT-12) - `seller` (object, required) Seller party information (BG-4) - `seller.name` (string, required) Party name - `seller.postal_address` (object, required) - `seller.postal_address.street_name` (any) - `seller.postal_address.additional_street_name` (any) - `seller.postal_address.city_name` (string, required) - `seller.postal_address.postal_zone` (any) - `seller.postal_address.country_subdivision` (any) - `seller.postal_address.country_code` (string, required) ISO 3166-1 alpha-2 country code - `seller.electronic_address` (any) - `seller.tax_registrations` (any) - `seller.legal_registration_name` (any) - `seller.trading_name` (any) - `seller.party_identifier` (any) Party identifier - `seller.party_identifier_scheme` (any) Party identifier scheme - `seller.seller_identifier` (any) Seller identifier (BT-29) - `seller.seller_identifier_scheme` (any) Seller identifier scheme (BT-30) - `seller.seller_vat_identifier` (any) Seller VAT identifier (BT-31) - `seller.seller_tax_registration_identifier` (any) Seller tax registration identifier (BT-32) - `seller.seller_additional_legal_information` (any) Seller additional legal information (BT-33) - `buyer` (object, required) Buyer party information (BG-7) - `buyer.buyer_identifier` (any) Buyer identifier (BT-46) - `buyer.buyer_identifier_scheme` (any) Buyer identifier scheme (BT-47) - `buyer.buyer_legal_registration_identifier` (any) Buyer legal registration identifier (BT-47) - `buyer.buyer_vat_identifier` (any) Buyer VAT identifier (BT-48) - `invoice_lines` (array, required) Invoice lines (BG-25) - `invoice_lines.line_id` (string, required) Invoice line identifier - `invoice_lines.invoiced_quantity` (string, required) Invoiced quantity - `invoice_lines.unit_of_measure` (string, required) Unit of measure code - `invoice_lines.line_net_amount` (string, required) Invoice line net amount - `invoice_lines.item_name` (string, required) Item name - `invoice_lines.item_description` (any) - `invoice_lines.item_price` (string, required) Item net price - `invoice_lines.vat_category_code` (string, required) Enum: "S", "Z", "E", "AE", "K", "O" - `invoice_lines.vat_rate` (any) VAT rate as percentage - `vat_breakdowns` (array, required) VAT breakdown (BG-23) - `vat_breakdowns.category_code` (string, required) Enum: "S", "Z", "E", "AE", "K", "O" - `vat_breakdowns.rate` (any) VAT rate as percentage - `vat_breakdowns.taxable_amount` (string, required) VAT taxable amount - `vat_breakdowns.tax_amount` (string, required) VAT amount - `vat_breakdowns.exemption_reason` (any) - `document_totals` (object, required) Document level totals (BG-22) - `document_totals.sum_of_line_net_amounts` (string, required) Sum of Invoice line net amount (BT-106) - `document_totals.sum_of_allowances` (any) Sum of allowances on document level - `document_totals.sum_of_charges` (any) Sum of charges on document level - `document_totals.invoice_total_without_vat` (string, required) Invoice total amount without VAT (BT-109) - `document_totals.invoice_total_vat_amount` (string, required) Invoice total VAT amount (BT-110) - `document_totals.invoice_total_with_vat` (string, required) Invoice total amount with VAT (BT-112) - `document_totals.paid_amount` (any) Paid amount - `document_totals.rounding_amount` (any) Rounding amount - `document_totals.amount_due_for_payment` (string, required) Amount due for payment (BT-115) - `payment_terms` (any) Payment instructions (BG-16) - `order_reference` (any) Deprecated: use purchase_order_reference instead - `invoice_note` (any) Invoice note (BT-22) - `preceding_invoice_reference` (any) For credit notes - reference to original invoice (BT-25) ## Response 401 fields (application/json): - `error` (string, required) - `code` (integer, required) - `trace_id` (string, required) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required) ## Response 404 fields