Skip to content

Add UPS Paperless Document API support#2

Open
mustafayuce33 wants to merge 1 commit into
ups-oauthfrom
feature/attach-invoice-to-shipment
Open

Add UPS Paperless Document API support#2
mustafayuce33 wants to merge 1 commit into
ups-oauthfrom
feature/attach-invoice-to-shipment

Conversation

@mustafayuce33

Copy link
Copy Markdown
  • Connection#paperless_document_upload uploads a document (e.g. commercial invoice) to the Paperless Document API and returns the Forms History DocumentID; get_response now accepts extra headers (ShipperNumber).
  • PaperlessDocumentBuilder builds the UploadRequest (base64 file, doc type).
  • PaperlessDocumentParser extracts the returned DocumentID.
  • InternationalInvoiceBuilder supports FormType override and a UserCreatedForm.DocumentID (attach an uploaded invoice), and only emits FreightCharges/Discount when provided.

- Connection#paperless_document_upload uploads a document (e.g. commercial
  invoice) to the Paperless Document API and returns the Forms History
  DocumentID; get_response now accepts extra headers (ShipperNumber).
- PaperlessDocumentBuilder builds the UploadRequest (base64 file, doc type).
- PaperlessDocumentParser extracts the returned DocumentID.
- InternationalInvoiceBuilder supports FormType override and a
  UserCreatedForm.DocumentID (attach an uploaded invoice), and only emits
  FreightCharges/Discount when provided.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant