Change Updates

Do not miss any Declaration API changes, ever again

Subscribe to the Declaration API changelog to be up to date on recent changes.

RSS

Changelog

Last update:
Compare
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • items property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • items property Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
6 structure changes including:
6 Modifications
Modified 6
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • inspected_at property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • inspected_at property Added
POST /declarations
  • Response
  • 201 response Modified
    • application/json content type Modified
      • inspected_at property Added
POST /waybills
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • inspected_at property Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • inspected_at property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • inspected_at property Added
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • cleared_at property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • finalized_at property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • cleared_at property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • finalized_at property Added
POST /declarations
  • Response
  • 201 response Modified
    • application/json content type Modified
      • cleared_at property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • finalized_at property Added
POST /waybills
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • cleared_at property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • finalized_at property Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • cleared_at property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • finalized_at property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • cleared_at property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • finalized_at property Added
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • base_amount_cents, deduct_amount_cents, amount_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • base_amount_cents, deduct_amount_cents, amount_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • tax_lines property Modified
        • TaxLine property Modified
    • tax_lines property Modified
      • TaxLine property Modified
        • type_code, category, regime_code, rate, currency, base_amount_cents, deduct_amount_cents, amount_cents, base_amount, deduct_amount, amount properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • base_amount_cents, deduct_amount_cents, amount_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • TaxLine property Modified
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items, tax_lines properties Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • base_amount_cents, deduct_amount_cents, amount_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • tax_lines property Modified
      • tax_lines property Modified
        • base_amount_cents, deduct_amount_cents, amount_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
2 structure changes including:
2 Modifications
Modified 2
POST /declarations
  • Body
  • application/json content type Modified
    • lrn property Added
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • lrn property Added
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • intrinsic_value property Modified
        • Type went from number(float) to decimal
          Breaking
      • freight_cost, insurance_cost properties Modified
        • Type went from number(float) to integer
          Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from number(float) to decimal
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from number(float) to integer
            Breaking
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • intrinsic_value property Modified
        • Type went from decimal to number(float)
          Breaking
      • freight_cost, insurance_cost properties Modified
        • Type went from integer to number(float)
          Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value property Modified
          • Type went from decimal to number(float)
            Breaking
        • freight_cost, insurance_cost properties Modified
          • Type went from integer to number(float)
            Breaking
6 structure changes including:
6 Modifications
Modified 6
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_assessment_notice_url property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_assessment_notice_url property Added
POST /declarations
  • Response
  • 201 response Modified
    • application/json content type Modified
      • tax_assessment_notice_url property Added
POST /waybills
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • tax_assessment_notice_url property Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_assessment_notice_url property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_assessment_notice_url property Added
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • taxes property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • tax_lines property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • taxes property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • tax_lines property Added
6 structure changes including:
6 Modifications
Modified 6
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_lines property Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_lines property Added
POST /declarations
  • Body
  • application/json content type Modified
    • tax_lines property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • tax_lines property Added
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • tax_lines property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • tax_lines property Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_lines property Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • tax_lines property Added
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • gross_weight_in_grams, net_weight_in_grams properties Modified
        • Properties are now required
          Breaking
      • gross_weight_in_kg, net_weight_in_kg properties Modified
        • Properties are no longer required
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • gross_weight_in_grams, net_weight_in_grams properties Modified
          • Properties are now required
            Breaking
        • gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are no longer required
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
        • Properties are now required
          Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • line_items property Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value, gross_weight_in_kg, net_weight_in_kg properties Modified
          • Properties are now required
            Breaking
6 structure changes including:
6 Modifications
Modified 6 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
POST /declarations
  • Body
  • application/json content type Modified
    • importer property Modified
      • street_address property Modified
        • Property is now required
          Breaking
      • company, street1, street2, street3 properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
    • exporter property Modified
      • street_address property Modified
        • Property is now required
          Breaking
      • company, street1, street2, street3 properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
    • declarant property Modified
      • street_address property Modified
        • Property is now required
          Breaking
      • company, street1, street2, street3 properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
    • representative property Modified
      • street_address property Modified
        • Property is now required
          Breaking
      • company, street1, street2, street3 properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
    • documents property Modified
      • type_code, reference_number, valid_from properties Modified
        • Properties are now required
          Breaking
    • line_items property Modified
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
POST /waybills
  • Body
  • application/json content type Modified
    • declarations property Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
  • Response
  • 201 response Modified
    • application/json content type Modified
      • declarations property Modified
        • importer, exporter, declarant, representative, documents, line_items properties Modified
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • importer property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • exporter property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • declarant property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • representative property Modified
        • street_address property Modified
          • Property is now required
            Breaking
        • company, street1, street2, street3 properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
      • documents property Modified
        • type_code, reference_number, valid_from properties Modified
          • Properties are now required
            Breaking
      • line_items property Modified
        • documents property Modified
4 structure changes including:
4 Modifications
Modified 4
GET /declarations
  • Query
  • page, per_page, since query parameters Added
GET /declarations/{client_ref}
  • Path
  • client_ref path parameter Added
PUT /declarations/{client_ref}/cancel
  • Path
  • client_ref path parameter Added
PUT /declarations/{client_ref}/present
  • Path
  • client_ref path parameter Added
5 structure changes including:
5 Additions
Added 5
GET /declarations
GET /declarations/{client_ref}
POST /declarations
PUT /declarations/{client_ref}/cancel
PUT /declarations/{client_ref}/present
6 structure changes including:
5 Breaking changes
1 Addition
5 Removals
Removed 5 Breaking
GET /declarations
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /declarations/{client_ref}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
POST /declarations
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
PUT /declarations/{client_ref}/cancel
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
PUT /declarations/{client_ref}/present
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
Added 1
POST /waybills
2 structure changes including:
2 Modifications
Modified 2 Breaking
GET /declarations
  • Query
  • livemode query parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
PUT /declarations/{client_ref}/present
  • Body
  • application/json content type Modified
    • location_of_goods property Modified
      • Property is no longer required
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • template_code, declaration_office_code properties Modified
      • Properties are now required
        Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • template_code, declaration_office_code properties Modified
        • Properties are now required
          Breaking
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
POST /declarations
  • Body
  • application/json content type Modified
    • line_items property Modified
      • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • intrinsic_value, freight_cost, insurance_cost properties Added
    • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, waybill_client_ref, tags, authorizations, guarantees, additional_information properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
  • Response
  • 201 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • line_items property Modified
        • intrinsic_value_cents, freight_cost_cents, insurance_cost_cents, customs_value_cents properties Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • intrinsic_value, freight_cost, insurance_cost properties Added
      • total_intrinsic_value_cents, total_freight_cost_cents, total_insurance_cost_cents, total_invoice_value_cents, livemode, waybill_client_ref, tags, searchable, authorizations, guarantees, additional_information, last_fetched_at, correlation_id properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
5 structure changes including:
5 Modifications
Modified 5 Breaking
GET /declarations
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
GET /declarations/{client_ref}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
POST /declarations
  • Body
  • application/json content type Modified
    • total_packages property Modified
      • Property is now required
        Breaking
    • tags property Added
  • Response
  • 201 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
PUT /declarations/{client_ref}/cancel
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added
PUT /declarations/{client_ref}/present
  • Response
  • 200 response Modified
    • application/json content type Modified
      • total_packages property Modified
        • Property is now required
          Breaking
      • tags, searchable, goods_presentation_effective_date, cancellation_requested_at, rejected_at, last_fetched_at, correlation_id properties Added